Commit Graph

54 Commits

Author SHA1 Message Date
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
4b4e92221f Apply fixes from StyleCI
[ci skip] [skip ci]
2020-06-02 22:55:18 +00:00
HDVinnie
f69ecec866 refactor: code quality changes 2020-06-02 18:37:19 -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
59c4ac5c14 (Update) Optimized Extra-Stats Queries 🚀 2020-01-15 00:33:09 -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
eed3b51c92 (Update) CRUDDY PT.7 🚀 2019-10-25 17:35:14 -04:00
HDVinnie
dc2cf66405 (Update) CRUDDY PT.3 🚀 2019-10-23 13:48:28 -04:00
Max Kovalenko
56c7e68b5f misc phpdoc fixes 2019-05-21 20:01:15 +03:00
HDVinnie
2af877918c (Add) Language Stats 🆕 2019-05-20 13:29:10 -04:00
HDVinnie
67339d7329 (Update) PHPDocs 🚀 2019-04-03 20:02:01 -04:00
HDVinnie
8bb397c29c (Update) Standardize Select Queries 🚀 2019-03-13 11:26:20 -04:00
HDVinnie
30960fbc74 (Fix) StatsController 🐛 2019-02-28 10:16:46 -05:00
HDVinnie
2acacf1ae8 Apply fixes from StyleCI 2019-02-26 22:38:24 +00:00
HDVinnie
e073d8f28a (Update) Cache Instances 🚀 2019-02-26 16:07:24 -05:00
Laravel Shift
f251b8a7b8 Shift Cache methods to use seconds
To conform with PSR-16 Laravel 5.8 changed the cache expiration time from minutes to seconds. If you were passing an integer, Shift converted this to its integer equivalent in seconds. If you were passing a "minutes" variable, Shift converted this to the relative date time equivalent for readability.
2019-02-26 19:44:29 +00:00
HDVinnie
3c87845e54 (Update) Namespace models under App\Models 🚀 2019-02-22 08:15:41 -05:00
HDVinnie
44367de8c4 (Update) Extra-Stats 🚀
- add total torrents size
2019-01-12 21:01:05 -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
HDVinnie
f2df6c9bfb (Update) StatsController
- Extend The Maximum Execution Time For Gathering Stats
2018-11-18 21:17:29 -05:00
HDVinnie
a70ec21e32 (Optimize) Extra Stats Query
- eager load count
2018-11-05 18:45:24 -05:00
HDVinnie
b777ef03e2 (Update) Optimize Queries
- eager loading
2018-10-17 14:15:18 -04:00
HDVinnie
ac5e15b141 (Update) Rework Group Queries
- use select and not pluck
2018-10-16 22:18:41 -04:00
HDVinnie
895bbb66e3 (Update) Optimize Many Queries
- reduce load
2018-10-16 21:27:47 -04:00
HDVinnie
b42af849cf (Fix) Stat Query 2018-10-13 22:10:49 -04:00
HDVinnie
9268b4a4cd (Update) Pruned User Stats 2018-09-17 20:08:09 -04:00
HDVinnie
dc0dfd176e (Update) Group Handling 2018-09-17 19:09:12 -04:00
HDVinnie
f989b926c5 (Update) Stats System 2018-09-10 00:10:08 -04:00
HDVinnie
84291edde7 (Update) Stats System 2018-09-09 11:54:01 -04:00
HDVinnie
ca3b1a2a0f (Update) Cleanup Stats Controller 2018-06-06 19:57:12 -04:00
HDVinnie
2e6cfd470d (Update) General Cleanup Of Controllers
- remove unused “use” statements
2018-04-25 15:15:41 -04:00
HDVinnie
9f5d8699cf (Update) Extra-Stats
- no more hardcoded categories
- show each category with its torrent count
- show count for all HD torrents on site
- show count for all SD torrents on site
2018-04-11 20:02:15 -04:00
HDVinnie
32e8b1c62b (Update) Controller + Commands Query Syntax
- using shorter and more readable syntax
- remove “=“ in where clauses
- uses oldest() / latest() instead of like orderBy('created_at', 'DESC')
2018-03-24 16:42:59 -04:00
HDVinnie
e3e21896e2 (Update) Controllers Syntax
- use shorter and more readable syntax
- replace orderBy('created_at', 'DESC') with latest()
2018-03-24 15:56:39 -04:00
HDVinnie
87ce42daf3 (Update) Refactor Torrent Request System
- renamed  models/functions and more to avoid conflict with
`App\Http\Requests` which will be used to refactor all HTTP Validation
rules into dedicated form requests
2018-03-22 20:10:37 -04:00
HDVinnie
2da7207d2b (Update) Refactor General and Staff Controllers
- Remove all facades use besides mail
- Use Dependency Injection for Illuminate\Http\Request
- use helpers for auth, cache, validator, and more to rid of facades use
- use $request->input() over $request->get()
- use $request->isMethod('POST') over $request->getMethod('POST')
- general cleanup
2018-03-15 12:32:40 -04:00
HDVinnie
02b3957b8a (Update) Extra-Stats System
- Added more stats
- Cache stats for 60min
2018-02-21 20:14:25 -05:00
HDVinnie
8a8f440781 (Update) Refactor HTTP Redirects
- Use global redirect() helper instead of facade
2018-02-16 14:07:24 -05:00