HDVinnie
93a8a8d375
PHP Style Change (Laravel Pint CI)
2023-08-31 09:22:36 +00:00
Roardom
f6fb3fdc78
fix: staff dashboard seeder/leecher count
2023-08-06 05:59:49 +00:00
Roardom
1bc31fda9d
fix: only use active peers for stats and bon
2023-08-03 07:28:16 +00:00
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
d2e36c368e
refactor: reduce temporary variables passed to views
2023-06-19 23:25:40 +00: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
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
cfbed3990c
update: staff dashboard stats
...
- add caching
2022-09-09 12:56:37 -04:00
HDVinnie
d3abd28925
update: type hints
2022-01-08 15:35:53 -05: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
041927202c
refactor: type and name of catch exception should match
2021-05-15 14:01:27 -04:00
HDVinnie
c7401b7ea8
refactor: preslash simple functions
...
- performance
2021-01-05 17:45:46 -05:00
HDVinnie
7f77d02dd1
refactor: encapsed strings to sprintf
2021-01-02 17:46:39 -05:00
HDVinnie
8688f57167
refactor: staff home controller
2020-12-30 12:17:51 -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
HDVinnie
8cde8c8e71
chore: styleci
2020-06-03 03:39:23 -04:00
HDVinnie
d1fd67b936
refactor: staff dashboard count queries
2020-06-03 03:28:46 -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
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
0bece18c5c
(Update) Group Queries 🚀
...
- add caching to system required groups
2019-11-20 12:11:41 -05:00
HDVinnie
d889971834
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-11-05 22:40:30 +00: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
c45c715dcb
(Update) CRUDDY PT.2 🚀
2019-10-22 20:29:07 -04:00
HDVinnie
f19899caab
(Update) Code Style 🚀
...
- php-cs-fixer
2019-09-17 18:48:44 -04:00
HDVinnie
7b87b14982
(Update) Staff Dashboard 🚀
...
- removes countup too
2019-09-16 18:06:56 -04:00
HDVinnie
761f3175e9
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2019-05-18 17:13:15 +00:00
HDVinnie
ad2e4c0a11
(Update) Refactor Seedbox System 🚀
2019-05-15 23:10:44 -04:00
Laravel Shift
d9ddbe6159
Shift cleanup
2019-05-09 00:05:27 +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
8bb397c29c
(Update) Standardize Select Queries 🚀
2019-03-13 11:26:20 -04:00
HDVinnie
3c87845e54
(Update) Namespace models under App\Models 🚀
2019-02-22 08:15:41 -05:00
HDVinnie
d96c853423
Merge branch 'master' into Application-System
2019-01-28 09:21:40 -05:00
HDVinnie
cf13fce6f7
(Update) SSL Info Card 🚀
...
- thanks @JackPriceBurns
2018-12-19 11:52:04 -05:00
HDVinnie
1a5f973be6
(Add) Applications Link To Staff Dashboard 🆕
2018-12-17 20:46:03 -05:00
HDVinnie
0850390860
(Update) Standardize Where Expressions 🚀
...
- using `Model::where('download', '=', 1)` over`Model::where('download', 1)`
- decided is easier for new devs to understand.
- thanks to @werrpy for helping with the regex to mass update.
2018-12-16 18:32:58 -05:00
HDVinnie
2f2c52328b
Apply fixes from StyleCI
2018-12-06 22:57:41 +00:00
HDVinnie
00bb324053
Apply fixes from StyleCI
2018-12-06 14:42:13 +00:00