Commit Graph

85 Commits

Author SHA1 Message Date
HDVinnie
8eb1e64cc1 Merge pull request #4300 from Roardom/ansi-db
(Refactor) Use ANSI-compatible syntax for raw database queries
2024-11-03 21:15:37 -05:00
HDVinnie
18a46cb3c5 Merge pull request #4340 from Roardom/playlist-comment-delete
(Fix) Delete playlist comments on playlist deletion
2024-11-03 21:15:00 -05:00
HDVinnie
6e822caa47 Merge pull request #4339 from Roardom/modo-playlist-show
(Update) Allow staff to view private playlists
2024-11-03 21:14:31 -05:00
Roardom
03fed5cb02 fix: delete playlist comments on playlist deletion 2024-11-03 11:39:12 +00:00
Roardom
01ff5e9d9a update: allow staff to view private playlists 2024-11-03 11:25:40 +00:00
Roardom
86b04f1398 update: keep image when updating playlist
When updating a playlist, if no image is specified, it removes the image from the playlist. Instead, keep the latest image provided. This is mostly for convenience from user reports which strongly request this feature.
2024-11-02 06:02:55 +00:00
Roardom
0e4bcb570d refactor: use ANSI-compatible syntax for raw database queries 2024-11-02 04:26:49 +00:00
Roardom
64a60089d9 refactor: treat sprintf as native function
This breaks the pint CI currently. This is probably due to the next version of php (8.4) adding opcache optimizations to sprintf and our config requiring pre-slashing native functions.
2024-08-09 21:08:26 +00:00
Roardom
067cc0e009 update: reduce queries on playlist show 2024-05-26 15:38:38 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
0d4418b97a add: livewire playlist search 2024-05-21 15:28:01 +00:00
HDVinnie
221b9e4dee remove: joypixel emojis 2024-02-22 17:44:53 -05:00
Roardom
0ef7cc235a fix: phpstan level 7 controller errors 2024-01-07 17:13:20 +00:00
HDVinnie
3f03214e39 PHP Style Change (Laravel Pint CI) 2023-11-07 23:54:38 +00:00
Roardom
2ca7adbbe5 fix: various larastan controller issues 2023-08-25 09:13:18 +00:00
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