96 Commits

Author SHA1 Message Date
Roardom
fb0f77c920 fix: delete prior article/category/playlist image upon new image upload 2025-06-30 08:41:28 +00:00
HDVinnie
3daf9dee41 Merge branch 'development' into playlist-suggestions 2025-04-15 09:30:42 -04:00
Roardom
c9e58f6f56 add: playlist suggestions
Allow other users to suggest torrents to add to other users' playlists.
2025-04-15 11:41:22 +00:00
Roardom
eb17d8cc10 add: search within playlists by torrent name 2025-04-15 09:02:50 +00:00
Roardom
9efc2d3c5c add: playlist categories 2025-04-01 09:54:31 +00:00
Roardom
ae33c74f2b refactor: prefix tmdb metadata models with tmdb
Will help for when there exists other metadata sources available (such as already done for igdb)

Step 4 in cleaner meta fetching code.
2025-03-17 20:41:01 +00:00
Roardom
32cf8da4db refactor: split tmdb into movie_id and tv_id
Step 2 in cleaner meta fetching code.
2025-03-16 22:55:24 +00:00
Roardom
1af1862229 fix: store user-uploaded files in private directories
Filenames were randomized for a few of these to prevent public access, but it's still much better to put user-uploaded files behind auth.
2025-02-24 16:03:01 +00:00
Roardom
868ad35aa4 refactor: swap magic RedirectResponse withX('Y') to with('X', 'Y')
Allows ctrl+clicking to access the underlying function unlike the previous magic implementation. Probably also negligibly faster.

Swapped all instances of `>withSuccess(` -> `>with('success', `, `>withWarning(` -> `>with('warning', `, and `>withInfo(` -> `>with('info', ` with ide's find and replace.
2025-01-21 16:05:11 +00:00
HDVinnie
306cd7a3d9 Merge pull request #4337 from Roardom/playlist-last-added
(Update) Save timestamps of when torrents are added to playlists
2025-01-17 00:33:47 -05:00
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
625f20fc15 update: save timestamps of when torrents are added to playlists 2024-11-03 10:51:39 +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