Commit Graph

136 Commits

Author SHA1 Message Date
HDVinnie
033e86149d PHP Style Change (Laravel Pint CI) 2023-11-08 00:34:31 +00:00
Roardom
88e0c4e1cb update: use foreign key constraints for forum and topics ids 2023-08-18 05:27:02 +00:00
Roardom
3b46c7819b refactor: use route model binding for user routes 2023-07-07 00:28:47 +00:00
Roardom
d2e36c368e refactor: reduce temporary variables passed to views 2023-06-19 23:25:40 +00:00
HDVinnie
fb35e4039d update: forums
Co-Authored-By: Roardom <78790963+Roardom@users.noreply.github.com>
2023-05-07 22:21:18 -04:00
Roardom
8824abd9d5 update: forums 2023-05-08 01:30:43 +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
Roardom
54220dcfc8 remove: slugs 2023-01-06 16:05:53 -06:00
HDVinnie
a3cfe30f13 PSR12 Linting 2022-12-27 01:51:28 +00:00
HDVinnie
35bfa41b97 refactor: user tagging
- simplify user tagging for posts and comments
2022-12-26 20:50:38 -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
HDVinnie
5414340e44 chore: code cleanup 2022-08-25 19:26:08 -04: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
bdd63aa816 update: controllers 2022-02-28 05:06:55 -05:00
StyleCI Bot
2cc3d2b2cb Apply fixes from StyleCI 2022-01-23 22:42:35 +00:00
HDVinnie
00d00024e5 chore: cleanup 2022-01-23 17:42:16 -05:00
HDVinnie
dd19889ee6 Merge branch '6.x.x' into Code-Style 2022-01-10 17:03:50 -05:00
HDVinnie
5e01a26c88 optimize: whereIn and whereNotIn queries 2022-01-10 16:25:26 -05:00
HDVinnie
d3abd28925 update: type hints 2022-01-08 15:35:53 -05:00
HDVinnie
d7cb337f5f chore: streamline query builder orderBy calls with asc and desc arguments 2022-01-08 03:34:17 -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
HDVinnie
8c96dae0de fix: forum/topic/post permissions
- this system to be cleaned up and refactored a bit
2021-10-26 13:06:26 -04:00
HDVinnie
bc41b36c88 fix: #1967 2021-10-26 12:43:31 -04:00
HDVinnie
2a53cea216 refactor: newline after statement 2021-09-28 12:49:46 -04: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
Spidi
c766c5b9ec fix: Keep Forum Search Params on Pagination 2021-01-08 20:49:28 +00:00
HDVinnie
d78c83ede7 refactor: forum controller 2020-12-30 01:28:50 -05:00
HDVinnie
467d31f10a refactor: constructor promotions 2020-12-17 23:25:50 -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
e7ccde0190 refactor: rename property to match type 2020-07-22 14:50:41 -04:00
Viktor Mazur
bdfa9b578a (Refactoring) Forum Controller: fix query n + 1 problem 2020-04-26 22:37:46 +03:00
HDVinnie
78608a4666 refactor: space after sole ! operators
-  There should be a space after sole `!` operators
2020-04-14 22:31:48 -04:00
HDVinnie
46aa876c06 refactor: add literal separator to numbers
- This is for PHP7.4 + only
- Adds an `_` as thousands separator in numbers
2020-04-14 20:25:07 -04:00
HDVinnie
6160c03ede refactor: change variable with read only status and default value to a constant 2020-03-06 09:04:22 -05:00
HDVinnie
4b9c006a05 chore: phpdoc blocks cleanup 2020-03-05 10:46:14 -05:00
HDVinnie
605c337204 refactor: encapsed strings to sprintf 2020-02-17 13:52:20 -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
9a893662de Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00