Commit Graph

87 Commits

Author SHA1 Message Date
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
Alkl58
1539a1e4a7 Apply fixes from StyleCI 2021-11-28 14:39:48 +01:00
Alkl58
fa586b0b17 (Add) Manual User Warning #1705 2021-11-28 14:25:51 +01: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
Obi-Wana
47e1635e47 fix missing "," 2021-07-31 12:53:47 +02:00
Obi-Wana
cf24694a7d fix StyleCI 2021-07-31 12:48:17 +02:00
Obi-Wana
3863967162 allow staff to set a users internal group 2021-07-31 10:28:23 +02: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
999c16093b cleanup: unused variables 2021-05-15 12:52:00 -04:00
HDVinnie
dc77da4338 refactor: staff user controller 2020-12-30 12:19:22 -05:00
HDVinnie
a5b2ad04a7 refactor: staff user search 2020-11-03 11:34:38 -05:00
HDVinnie
b46166821f Apply fixes from StyleCI
[ci skip] [skip ci]
2020-08-09 06:37:37 +00:00
HDVinnie
d473175526 update: user search
- closes #1377
2020-08-09 02:36:45 -04: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
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
29cd6e8eb6 refactor: use identical over equal with same type 2020-02-16 21:04:19 -05:00
HDVinnie
c8d953a3ad Merge branch 'master' into development 2020-02-12 18:03:21 -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
8d72989943 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-12 17:41:17 +00:00
HDVinnie
611fcd6bc1 refactor: if / else / elseif statements
- Change If Else Value Assign To Early Return
- Change Nested Ifs To Early Return
- Remove Always Else
2020-02-12 12:34:34 -05:00
HDVinnie
9a893662de Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-08 16:28:32 +00:00
HDVinnie
ac3dc3bff7 (Fix) User Controller Doc Block 🐛 2019-12-01 11:36:18 -05:00
HDVinnie
e0379e5b95 (Add) Audit System 🆕
- filtering to follow
2019-11-06 06:42:17 -05:00
HDVinnie
d889971834 Apply fixes from StyleCI
[ci skip] [skip ci]
2019-11-05 22:40:30 +00:00
HDVinnie
ab095580f7 (Fix) User Reported Bugs 🐛
- closes #886
2019-11-05 09:34:19 -05:00
HDVinnie
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie
e001055ef2 (Update) CRUDDY PT.6 🚀 2019-10-23 19:25:34 -04:00
HDVinnie
426b801eda (Update) CRUDDY PT.5 🚀 2019-10-23 16:59:03 -04:00
HDVinnie
c45c715dcb (Update) CRUDDY PT.2 🚀 2019-10-22 20:29:07 -04:00
HDVinnie
9fc03ab492 (Update) CRUDDY PT.1 🚀 2019-10-22 14:29:58 -04: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
HDVinnie
67339d7329 (Update) PHPDocs 🚀 2019-04-03 20:02:01 -04:00
HDVinnie
c382aa5236 (Update) Refactor Validation Error/Info/Warning/Success Handeling 🚀 2019-03-25 13:53:41 -04:00
HDVinnie
8bb397c29c (Update) Standardize Select Queries 🚀 2019-03-13 11:26:20 -04:00
HDVinnie
e0e1aa924b Apply fixes from StyleCI 2019-02-22 13:16:32 +00:00
HDVinnie
3c87845e54 (Update) Namespace models under App\Models 🚀 2019-02-22 08:15:41 -05:00
HDVinnie
71d6f396e0 Merge branch 'master' into now-start-twitterization 2019-01-30 23:02:01 -05:00
singularity43
19457770ce (Update) UserController
Slug call instead of username.
2019-01-30 21:42:20 -05:00
HDVinnie
2d6baeb83d Apply fixes from StyleCI 2019-01-28 16:02:27 +00:00
HDVinnie
0471bc2ccb (Update) Permission Checks 🚀
- remove if else statements in favor for cleaner abort_unless and abort_if helpers
2019-01-27 11:17:51 -05:00
HDVinnie
948858605d Apply fixes from StyleCI 2019-01-26 05:06:39 +00:00
singularity43
647b03fa69 (Update) UserEdit Logic In UserController
Suggested by user.

1. Mods can not edit mods and above.
2. Admins can not edit admins and above.
3. Owners can edit all.

Also:

1. Mods can not add mods and above.
2. Admins can not add admins and above.
3. Owners can add all.
2019-01-25 23:49:46 -05:00