HDVinnie
47552410a4
fix: user report redirect
2024-08-24 09:18:25 -04:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
HDVinnie
35b75b8ac8
fix: ReportController
2023-10-01 17:54:20 -04:00
HDVinnie
d95f32e6e2
Merge pull request #2829 from Roardom/fix-migration-models
...
(Fix) Migration models
2023-07-09 23:54:07 -04:00
Roardom
64a1d3542f
refactor: remove constructor from report controller and tidy validation
2023-07-07 03:18:13 +00:00
Roardom
0000838d8b
refactor: cruddy torrents
...
Separate torrents into cruddy route names. Route model binding isn't possible due to the global scope on unapproved torrents. Use form requests. Simplify the controller flow where possible.
2023-07-07 03:18:13 +00:00
Roardom
70e3505886
update: cruddy requests
...
Separate requests into cruddy routes. Use route model binding. Allow forfeit of award if request approval is revoked. Use form requests.
2023-07-07 03:18:13 +00:00
Roardom
3b46c7819b
refactor: use route model binding for user routes
2023-07-07 00:28:47 +00:00
HDVinnie
e24d0735d3
Merge branch '7.x.x' into fix-migration-models
2023-07-04 16:54:59 -04:00
Roardom
583064d357
fix: reports unintentionally deleted
...
Reports with invalid torrent_id columns are deleted, but turns out we use 0 for the torrent_id on user reports and request reports.
2023-07-03 07:09:12 +00:00
Roardom
177c59d88d
refactor: swap firstOrFail() for sole() to enforce a single result
2023-06-19 23:18:40 +00:00
Roardom
4c93353f03
update: cruddy request controller
2023-04-21 21:49:35 +00: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
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
HDVinnie
a2cdb5f5ff
update: type hints
2022-01-08 14:37:50 -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
alkl58
740b7b02a4
ReportController: German & French Translation
2021-12-08 21:26:59 +01:00
HDVinnie
2a53cea216
refactor: newline after statement
2021-09-28 12:49:46 -04: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
f80c1e2430
refactor: report controller
2020-12-30 12:14:48 -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
408bfafc3e
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-03-05 15:47:30 +00:00
HDVinnie
4b9c006a05
chore: phpdoc blocks cleanup
2020-03-05 10:46:14 -05:00
gyakkun
6a1aa7d48e
misc: CI.
2020-02-14 02:35:21 +08:00
gyakkun
5bfcca080a
fix: Too few arguments to function Controllers\ReportController::user().
2020-02-14 02:30:13 +08: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
c8f2390c4d
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-01-06 15:38:43 +00: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
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
9fc03ab492
(Update) CRUDDY PT.1 🚀
2019-10-22 14:29:58 -04: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
c382aa5236
(Update) Refactor Validation Error/Info/Warning/Success Handeling 🚀
2019-03-25 13:53:41 -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
df02b3d172
(Update) ReportController
...
- Apply StyleCI fix
2019-01-10 19:58:23 -05:00