Commit Graph

70 Commits

Author SHA1 Message Date
Roardom
222d2dee59 refactor: cruddify playlists
Use cruddy routes and controllers. Use route model binding. Use mass assignment. Use form requests. Use pivot model.
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
9d4789ba91 refactor: require whitespace before statements 2023-07-07 00:27:13 +00:00
Roardom
738bc7f2d1 refactor: single line delete queries 2023-07-07 00:26:17 +00:00
Roardom
d2e36c368e refactor: reduce temporary variables passed to views 2023-06-19 23:25:40 +00:00
Roardom
b5493c5642 refactor: swap where('id', '=', ) for find() 2023-06-19 23:18:40 +00:00
HDVinnie
39cfc98bdd update: eager loading 2023-04-16 21:29:29 -04:00
HDVinnie
7d991881f4 fix: N+1 issues 2023-04-16 00:14:16 -04:00
Roardom
7e1bb1ad5b update: new metadata redesign 2023-03-19 18:48:55 -05:00
Roardom
3ca906a68d fix: clean torrent files 2023-02-09 14:58:51 -06:00
Roardom
0511bb5b93 update: store torrents in strings while zipping 2023-02-09 05:25:17 -06:00
HDVinnie
f4ebee885c update: lint 2023-02-03 22:23:00 -05:00
HDVinnie
3650900c97 update: lint
- not_operator_with_space to false
2023-02-03 16:01:29 -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
54220dcfc8 remove: slugs 2023-01-06 16:05:53 -06:00
Roardom
2f019fd696 update: playlist views 2022-10-01 05:39:01 -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
Roardom
307ce4874d fix: error upon viewing playlists with a postponed torrent 2022-08-10 19:42:25 -05: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
d3abd28925 update: type hints 2022-01-08 15:35:53 -05:00
HDVinnie
d7cb337f5f chore: streamline query builder orderBy calls with asc and desc arguments 2022-01-08 03:34:17 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie
30889a2cd6 fix: deleting playlists 2022-01-06 14:37:51 -05:00
alkl58
8f64cf000b Fix Wrong Transfile Reference 2021-12-09 21:17:02 +01:00
alkl58
57f868194f PlaylistController: German & French Translation 2021-12-08 20:47:38 +01:00
Apoorv Pal
626473453c update removed new exception class, switched to http 403 for private playlist error 2021-10-21 17:06:42 +05:30
Apoorv Pal
2dcae4e8e6 update to fix PSR standard 2021-10-20 22:53:25 +05:30
Apoorv Pal
eef014373b add new exception for private playlists to prevent unauthorized access 2021-10-20 22:49:38 +05:30
Apoorv Pal
98c29c7d38 update included private playlists created by self in playlists page 2021-10-20 22:49:10 +05:30
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
70a22dc230 refactor: playlist controller
- Combine Ifs
2020-12-31 13:00:10 -05:00
HDVinnie
aa2d8aadce refactor: playlist controller 2020-12-30 12:10:42 -05:00
HDVinnie
467d31f10a refactor: constructor promotions 2020-12-17 23:25:50 -05:00
HDVinnie
7e664a667b Apply fixes from StyleCI
[ci skip] [skip ci]
2020-12-03 02:27:21 +00:00
HDVinnie
e92aabae41 update: phpdoc blocks 2020-12-02 21:27:04 -05:00
HDVinnie
817ce03fd0 refactor: insecure uniqid usage 2020-12-02 21:18:16 -05:00
HDVinnie
4a44d6a3a5 refactor: combine issets 2020-12-02 20:58:39 -05:00
HDVinnie
75d8821342 update: playlist controller
- update default sorting and eager loading
2020-12-01 15:53:39 -05:00
HDVinnie
992245bbcc Apply fixes from StyleCI
[ci skip] [skip ci]
2020-10-28 20:42:44 +00:00
HDVinnie
e5a4a16ddf refactor: meta data system
- Complete rewrite of meta data system
- New media hub feature.
- Torrent Bumping Refactor
- Wish System Disabled until refactored
- Fetch meta command added for fetchinng new meta on prexsisnting torrents.
- plus alot more
- closes #1428
- closes #1344
- closes #1147
- closes #361
2020-10-28 16:42:22 -04:00
HDVinnie
5aac6a8f04 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-07-22 20:57:33 +00:00
HDVinnie
0733269867 update: phpdoc blocks 2020-07-22 16:57:13 -04:00
HDVinnie
46b40a8e0e refactor: imports 2020-07-22 16:39:04 -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