Commit Graph

5474 Commits

Author SHA1 Message Date
Roardom 7d13e1fb56 fix: allow nullable meta ids in api torrent upload validation 2025-03-26 22:37:49 +00:00
HDVinnie c24bafa42a Merge pull request #4587 from Roardom/null-switch 2025-03-26 17:43:02 -04:00
Roardom e4c07b5f52 fix: rely on if tmdb/igdb exists to determine meta
Instead of blindly using the respective tmdb associated with the torrent's category. Also fixes wishlist notifications if a user has a wishlist entry with a null tmdb and a user uploads a torrent without a tmdb.
2025-03-26 21:35:41 +00:00
HDVinnie e26b9b0326 Merge pull request #4586 from Roardom/attachment-disk 2025-03-26 17:06:02 -04:00
Roardom af06b4596b fix: specifying ticket file attachment disk
`attachments` is not the name of a disk, but `attachment-files` is. Also remove the path prefix since this disk only stores attachment files.

Regression from #4497.
2025-03-26 20:42:30 +00:00
Roardom f16b775151 fix: api torrent upload nullable metadata ids
The falsey to nullable conversion has to be done here as well.
2025-03-26 05:47:31 +00:00
HDVinnie c234b3be85 Merge pull request #4584 from Roardom/tmdb-0 2025-03-25 23:49:21 -04:00
Roardom 5ffb783b44 fix: search by tmdb 0 to find missing tmdbs
Not sure what was going through my mind when deciding the query for this the first time around, it didn't exactly do anything useful. Now it's back to doing what it used to do before the switch to nulls instead of 0s for metadata ids: finding torrents without any associated tmdb.
2025-03-26 03:11:47 +00:00
Roardom 57fada887f fix: typo in quick search meilisearch query
Incorrect syntax.
2025-03-26 02:44:57 +00:00
HDVinnie 6f994fdabd Merge pull request #4582 from Roardom/fix-posters
(Fix) Poster view in torrent search
2025-03-25 21:48:11 -04:00
HDVinnie 7eea77c3e3 Merge pull request #4580 from Roardom/nullable-meta-ids
(Update) Store null for metadata id if they do not exist
2025-03-25 21:47:34 -04:00
Roardom d422fa2541 fix: poster view in torrent search
This value isn't in the group by clause.
2025-03-25 23:47:43 +00:00
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
HDVinnie e39c597e7c Merge pull request #4578 from Roardom/auto-feature-modo 2025-03-25 16:24:58 -04:00
Roardom 8257629a10 fix: api upload by modo always announcing as featured 2025-03-24 22:28:01 +00:00
HDVinnie 5418fe8954 Merge pull request #4577 from Roardom/fix-request-edit-category
(Fix) Edit request page
2025-03-23 22:19:54 -04:00
Roardom 36086a087c fix: edit request page
There's an defined variable here from a copy-paste error that forgot to include the rest of the alpinejs logic.
2025-03-23 23:09:06 +00:00
Roardom 7998c4a204 add: setting to automatically unbookmark torrents upon completion
Only every 15 minutes for now instead of upon immediate completion, but it makes the code much easier to implement.
2025-03-23 21:17:11 +00:00
HDVinnie 8bef41483c Merge pull request #4569 from Roardom/tmdb-prefix 2025-03-18 21:04:28 -04:00
HDVinnie b22e1a3237 Merge pull request #4570 from Roardom/fix-bon-earnings-empty
(Fix) Bon earnings query duplicate column error when no earnings exist
2025-03-17 18:37:26 -04:00
Roardom c262d80476 fix: bon earnings query duplicate column error when no earnings exist
A new column is selected for every earning, but if there are no earnings, then no columns are selected, and laravel selects `*` by default. Change it to select `1` by default instead, so that it doesn't fall back to `*` when no earnings exist. This selected column won't ever be used, but won't cause any errors either.
2025-03-17 21:25:26 +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 09f8404ada Merge pull request #4559 from Roardom/igdb-int 2025-03-16 17:32:40 -04:00
Roardom 7889c71618 refactor: use unsigned int for igdb
Use the correct type for the external id.

Step 3 in cleaner meta fetching code.
2025-03-16 20:58:30 +00:00
HDVinnie ec823875ee Merge pull request #4562 from Obi-Wana/fix-helpdesk-image-attachement-upload 2025-03-16 16:53:17 -04:00
HDVinnie fd4440ad4f Merge pull request #4560 from Roardom/fix-company-network-meta 2025-03-16 16:52:47 -04:00
HDVinnie 3332ad3704 Merge pull request #4561 from Roardom/company-search 2025-03-16 16:52:28 -04:00
HDVinnie 49c31d3515 Merge pull request #4557 from Roardom/game-meta-auto 2025-03-16 16:30:29 -04:00
Jay Sizzla 96dbaff2bd Fix helpdesk attachement upload 2025-03-16 16:45:38 +00:00
Roardom 1e2b4f8cee update: only include companies/networks with torrents in mediahub 2025-03-16 10:54:27 +00:00
Roardom 09b9126b1e fix: tv company and network meta fetching 2025-03-16 10:30:00 +00:00
Roardom 24ed359288 fix: auto fetch igdb metadata on torrent/request create/update 2025-03-15 13:47:59 +00:00
Roardom 494afca0d7 fix: torrents uploaded by mods via api automatically featured 2025-03-13 21:32:34 +00:00
HDVinnie 2a3a718dfe Merge pull request #4553 from Roardom/game-db
(Refactor) Save igdb games to the database
2025-03-12 21:29:17 -04:00
HDVinnie 624ae604e6 Merge pull request #4554 from Roardom/fix-authenticated-rate-limit 2025-03-12 13:20:00 -04:00
HDVinnie 8b760aca3b Merge pull request #4549 from Roardom/editors-sql 2025-03-12 13:18:39 -04:00
HDVinnie 1fcfa4d727 Merge pull request #4547 from Roardom/quick-search-category 2025-03-12 13:16:15 -04:00
Roardom 321a533316 fix: use separate rate limiter for authenticated images
30 per minute for web is too easy to hit.
2025-03-11 21:26:18 +00:00
Roardom 8fde78124b refactor: save igdb games to the database
Step 1 towards cleaner meta fetching code.

Users with a game category must run `php artisan fetch:meta` after migration.
2025-03-11 19:48:25 +00:00
Roardom 8647ee7b1a update: allow torrent moderators to use sql search 2025-03-11 11:31:05 +00:00
Roardom b9dfd3e6dd update: show category name instead of Movie/TV in quick search
For when there exists multiple categories of the same meta.
2025-03-10 11:42:09 +00:00
Roardom 4d030c0294 update: show authenticated user first in torrent peer/history lists 2025-03-10 04:45:38 +00:00
HDVinnie f8060e3e22 fix: notification setting logic when notification doesn't exist 2025-03-09 06:00:52 +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
HDVinnie 2261de53f5 update: authenticate attachment upload requests 2025-03-08 18:51:03 -05:00
HDVinnie ef009dd150 Merge pull request #4533 from Roardom/fix-thanks-check
(Fix) Thanks icons on grouped view
2025-03-07 07:47:24 -05:00
HDVinnie de367ca58e Merge pull request #4532 from Roardom/inline-clients
(Update) Inline client stats query
2025-03-07 07:46:46 -05:00
HDVinnie 8ec8c3786f Merge pull request #4530 from Roardom/fix-bulk-torrent-delete-message
(Fix) Bulk torrents delete notification message
2025-03-07 07:45:35 -05:00