Roardom
b6b4313bdc
update: various database performance improvements
...
Use eager loading where necessary and add a few indexes. The existing index on private_messages for sender_id and read was probably a typo and intended for receiver_id. The first 3 tables indexes are added to are used for queries ran on every page load: namely the new pm, new notification and warnings indicator in the navbar. Additionally, another index on genre_movie proved useful for finding all the genres when given a movie id. Perhaps, another index for finding all movies within a genre would be good as well, but will leave that for a future optimization if deemed necessary.
2023-07-17 00:21:08 +00:00
Roardom
dd503f0471
refactor: properly cruddify user bans
2023-07-07 00:28:47 +00:00
Roardom
3b46c7819b
refactor: use route model binding for user routes
2023-07-07 00:28:47 +00:00
Roardom
aef482682b
refactor: swap comparing ids to is() and isNot
2023-07-07 00:28:47 +00:00
Roardom
5890ebc749
refactor: miscellaneous staff controller refactors
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
Roardom
177c59d88d
refactor: swap firstOrFail() for sole() to enforce a single result
2023-06-19 23:18:40 +00:00
Roardom
05ad4c37b9
add: external tracker support
2023-03-27 04:17:30 -05:00
HDVinnie
f4ebee885c
update: lint
2023-02-03 22:23:00 -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
c97bc20e25
refactor: move ban requests to form requests
2023-01-08 05:04:00 -06:00
Roardom
985423e267
update: announce
2023-01-04 05:46:02 -06:00
HDVinnie
786417b5f4
Merge branch '6.x.x' into Warnings-System
2022-06-15 02:02:26 -04:00
StyleCI Bot
e292545306
Apply fixes from StyleCI
2022-05-31 22:06:07 +00:00
Shift
be2d37ed6e
Use Illuminate\Support\Carbon
2022-05-31 22:05:34 +00:00
HDVinnie
594b7864d9
refactor: adopt new helpers in laravel 9
2022-03-06 17:20:05 -05:00
HDVinnie
2f4406238f
Merge branch '6.x.x' into Warnings-System
2022-01-10 20:33:00 -05:00
StyleCI Bot
0a79e8bc55
Apply fixes from StyleCI
2022-01-10 23:43:42 +00:00
HDVinnie
7789505244
update: manual bans
2022-01-10 18:43:23 -05:00
HDVinnie
a2cdb5f5ff
update: type hints
2022-01-08 14:37:50 -05:00
StyleCI Bot
06bcb20688
Apply fixes from StyleCI
2022-01-08 18:56:52 +00: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
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
HDVinnie
c25773a854
refactor: sstaff ban controller
2020-12-30 12:16:53 -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
4afdfbdade
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-04-19 05:31:13 +00:00
HDVinnie
ea2a12be15
refactor: closure to arrow function
2020-04-14 20:38:48 -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
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
0bece18c5c
(Update) Group Queries 🚀
...
- add caching to system required groups
2019-11-20 12:11:41 -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
7a0eb4f2d5
(Update) PHPDoc Comments 🚀
2019-11-05 10:33:04 -05: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
dc2cf66405
(Update) CRUDDY PT.3 🚀
2019-10-23 13:48:28 -04:00