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
HDVinnie
c8f2390c4d
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-06 15:38:43 +00:00
HDVinnie
e77bf65da0
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-06 15:31:25 +00:00
HDVinnie
d889971834
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
46e1c434cf
(Update) CRUDDY PT.9 🚀
...
- TODO: Finish Forums Refactor in CRUDDY PT.10
2019-10-30 16:50:20 -04:00
HDVinnie
da30d2a706
(Update) CRUDDY PT.8 🚀
2019-10-29 20:26:54 -04:00
HDVinnie
eed3b51c92
(Update) CRUDDY PT.7 🚀
2019-10-25 17:35:14 -04:00
HDVinnie
2979750a8f
(Update) CRUDDY PT.4 🚀
2019-10-23 14:49:39 -04:00
HDVinnie
dc2cf66405
(Update) CRUDDY PT.3 🚀
2019-10-23 13:48:28 -04:00
HDVinnie
1423c6d5cd
(Fix) Delete Topic Message 🐛
2019-10-03 23:14:33 -04:00
HDVinnie
e1b7480893
(Update) Forums System 🚀
2019-09-25 11:22:26 -04:00
Laravel Shift
d9ddbe6159
Shift cleanup
2019-05-09 00:05:27 +00:00
Laravel Shift
4853105815
Shift to consistent, fluent response chains
2019-05-09 00:05:17 +00:00
Laravel Shift
97e88dd68b
Leverage injected request object
...
Laravel automatically injects the current Http [request object][1] to all Controller actions and Middleware. Leveraging this object improves consistency and testability.
[1]: https://laravel.com/docs/5.7/requests#accessing-the-request
2019-05-09 00:05:13 +00:00
Laravel Shift
b0732954c4
Shift deprecated helpers
...
Laravel recommends using the `Str` and `Arr` class methods directly instead of the respective helper functions. These helper functions are [deprecated in Laravel 5.8][1] and will be removed in a future version.
[1]: https://github.com/laravel/framework/pull/26898
2019-05-09 00:05:08 +00:00
HDVinnie
3da8fd97e5
(Update) Forums System 🚀
...
- closes #658
2019-04-03 13:47:18 -04:00
HDVinnie
c382aa5236
(Update) Refactor Validation Error/Info/Warning/Success Handeling 🚀
2019-03-25 13:53:41 -04:00
HDVinnie
ec897bb6de
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-03-19 19:33:47 +00:00
HDVinnie
b670bb7daa
(Fix) Forum Search 🐛
2019-03-14 18:56:59 -04:00
HDVinnie
3c87845e54
(Update) Namespace models under App\Models 🚀
2019-02-22 08:15:41 -05:00
Laravel Shift
12397c9e6a
Adopt PSR-2 coding style
...
The Laravel framework adopts the PSR-2 coding style in version 5.1.
Laravel apps *should* adopt this coding style as well. Read the
[PSR-2 coding style guide][1] for more details and check out [PHPCS][2]
to use as a code formatting tool.
[1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[2]: https://github.com/squizlabs/PHP_CodeSniffer
2019-02-22 03:22:51 +00:00
singularity43
df8c1d84c7
(Update) ForumController
...
Remove robot icon.
2019-02-09 14:59:05 -05:00
singularity43
578f671ff2
(Update) ForumController
...
Send user back to correct topic on post delete.
2019-02-01 15:27:39 -05:00
singularity43
a452a1281c
(Update) ForumController
...
Pass topic.
2019-01-31 17:47:32 -05:00
HDVinnie
adc6494012
Apply fixes from StyleCI
2019-01-31 04:04:04 +00:00