Commit Graph

20 Commits

Author SHA1 Message Date
Roardom
ea1bdca818 update: store null for metadata id if they do not exist
And make it difficult / encourage users to submit the ids instead of leaving them empty.
2025-03-25 23:19:10 +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
HDVinnie
a364cf3954 Merge branch '8.x.x' into stream-sd 2025-03-09 00:14:06 -05:00
Roardom
5a6259cea7 remove: sd content and stream optimized flags
SD content is represented by the resolutions table now instead of this flag. Most people prefer web-dls over stream-optimized encodes these days.
2025-03-09 03:33:32 +00:00
Roardom
4c86dba091 fix: require/exclude anon/personal_release on torrent edit
Also refactor the other authorized booleans to exclude instead of prohibit and exclude original value from edit form.
2025-03-06 11:40:04 +00:00
Jay Sizzla
28a8779bcd Allow internal options for internals in non-internal group
Internals that are not member of the internal group (e.g. Editor) but not Moderator+ should still be able to set the internal options on their uploads.
Also, replace all group->is_internal with internals->exists in app & views.
2025-02-27 13:33:26 +00:00
HDVinnie
2378a9f977 add: soft deletes to torrents
- this adds laravel's soft deletes functionality to torrents.
2024-06-13 20:58:19 -04:00
HDVinnie
00a9b1ddc2 Merge pull request #3857 from Roardom/fix-id-validation
(Fix) Allow `0000000`, etc. for id entry
2024-05-26 15:09:05 -04:00
Roardom
09e5e24d07 fix: allow 0000000, etc. for id entry
Fail less often for valid scenarios for users not familiar with the system.
2024-05-24 05:25:53 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
2dd24b3fa1 fix: phpstan level 7 errors in Requests 2024-01-07 17:21:12 +00:00
Roardom
00be899977 fix: more reasonable torrent form max sizes 2024-01-02 12:46:34 +00:00
HDVinnie
3f03214e39 PHP Style Change (Laravel Pint CI) 2023-11-07 23:54:38 +00:00
Roardom
15b31c777e fix: add type hints to form requests 2023-08-26 08:42:00 +00:00
Roardom
e665471d0b fix: double html entity encoding
Caused by redundant sanitization already present in the Model setter functions.
2023-08-03 20:21:22 +00:00
HDVinnie
dc319fb750 fix: UpdateTorrentRequest 2023-07-14 09:45:34 -04:00
Roardom
a1040f2c8e fix: find torrent manually as route model binding isn't used 2023-07-08 04:48:39 +00:00
Roardom
296b6eae39 fix: don't include currently edited torrent in unique validation
Otherwise, we can't save the same torrent back with the same name.
2023-07-08 04:47:09 +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