Commit Graph

36 Commits

Author SHA1 Message Date
Roardom
5f60ce6b77 refactor: enforce view filenames to use kebab case
Also had to use `@style` directives inside /resources/views/components/user-tag.blade.php. Prettier was erroring when the `@if` directive was inside the html attribute otherwise. Seems to have always been an issue, but the CI must only be formatting files that changed and because the file was only just changed now, it never discovered it until now.
2025-05-07 08:28:46 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
6e5b3d9e3b refactor: use scope for forum authorization 2024-02-25 10:23:56 +00:00
Roardom
686f1560ca update: separate forum categories into their own model 2024-02-12 07:39:52 +00:00
Roardom
f30dec4a0c update: remove show_forum permission
This permission is used the same as the `read_topic` permission.
2024-02-10 19:50:05 +00:00
Roardom
834d438281 update: normalize forums a little more
We already make most of these queries anyways, and we'll need these foriegn keys when implementing future forum features like 'catch up'.
2024-02-09 16:44:52 +00:00
Roardom
6024d7029a update: treat non existing permissions as denied
Otherwise, it causes 500 errors.
2024-02-02 01:05:39 +00:00
HDVinnie
3f03214e39 PHP Style Change (Laravel Pint CI) 2023-11-07 23:54:38 +00:00
Roardom
88e0c4e1cb update: use foreign key constraints for forum and topics ids 2023-08-18 05:27:02 +00:00
HDVinnie
c3315e6bb4 PHP Style Change (Laravel Pint CI) 2023-06-21 06:52:34 +00:00
HDVinnie
e3a6c22197 chore: linting 2023-02-08 21:15:39 -05:00
Roardom
f3297917bb update: use livewire for forums 2023-02-08 18:14:14 -06:00
HDVinnie
3650900c97 update: lint
- not_operator_with_space to false
2023-02-03 16:01:29 -05:00
HDVinnie
472c820f99 update: UNIT3D linting
- github action updated with new ruleset in pint.json
- codebase linted with new ruleset
- contributors can now run `./vendor/bin/pint`
- action workflow will auto correct any lint issues upon commit/opened pull request
2023-02-02 08:02:34 -05:00
HDVinnie
2ca429c4ce Revert "PSR12 Linting"
This reverts commit 7e65e1d589.
2022-09-11 19:51:58 -04:00
HDVinnie
7e65e1d589 PSR12 Linting 2022-09-11 23:50:41 +00:00
StyleCI Bot
2725397734 Apply fixes from StyleCI 2022-08-25 23:17:20 +00:00
HDVinnie
33494ca5ce refactor: simplify pointless boolean expressions in ifs 2022-08-25 19:17:06 -04:00
HDVinnie
594b7864d9 refactor: adopt new helpers in laravel 9 2022-03-06 17:20:05 -05:00
HDVinnie
d3abd28925 update: type hints 2022-01-08 15:35:53 -05:00
HDVinnie
77ec35bea5 chore: apply the laravel code style linter 2022-01-08 00:03:12 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
clandestine8
a737482e79 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-09-06 23:26:02 +00:00
HDVinnie
321847e067 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-05-16 02:41:53 +00:00
HDVinnie
3407075214 refactor: better php8 usage
- Change simple property init and assign to constructor promotion
- Remove unused variable in catch()
- Change docs types to union types, where possible
2021-05-15 22:41:28 -04:00
HDVinnie
25739675d7 refactor: forum category controller 2020-12-30 01:27:08 -05:00
HDVinnie
0733269867 update: phpdoc blocks 2020-07-22 16:57:13 -04:00
HDVinnie
a975116218 refactor: preslash simple functions
- Add pre-slash to short named functions to improve performance by almost 30%
-  @see https://stackoverflow.com/questions/55419673/php7-adding-a-slash-to-all-standard-php-functions-php-cs-fixer-rule
2020-07-22 15:09:37 -04:00
HDVinnie
4b9c006a05 chore: phpdoc blocks cleanup 2020-03-05 10:46:14 -05:00
HDVinnie
e47afe4ab4 chore: styleci 2020-02-12 14:51:22 -05:00
HDVinnie
80c842e39c chore: update license block
- make styleci happy
2020-02-12 14:49:18 -05:00
HDVinnie
dbb928f940 chore: update license block 2020-02-12 14:45:59 -05:00
HDVinnie
c8f2390c4d Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-06 15:38:43 +00:00
HDVinnie
d889971834 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
e9378b71fa (Update) Minor Cleanup 🚀 2019-11-05 17:05:39 -05:00
HDVinnie
46e1c434cf (Update) CRUDDY PT.9 🚀
- TODO: Finish Forums Refactor in CRUDDY PT.10
2019-10-30 16:50:20 -04:00