Commit Graph

2907 Commits

Author SHA1 Message Date
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
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
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
1fcfa4d727 Merge pull request #4547 from Roardom/quick-search-category 2025-03-12 13:16:15 -04: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
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
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
933efb785b update: inline client stats query
The query only takes 6 seconds on my local untuned machine. Caching it for an hour is probably fine, we have worse queries out there, and indexing isn't an option since this table is write-heavy. Reduces overall complexity and prevents blank page after cache is reset.
2025-03-06 16:53:06 +00:00
HDVinnie
8210e1614a Merge pull request #4520 from Roardom/fix-files-img
(Fix) Remaining `/files/img` hardcoded urls
2025-03-05 08:24:52 -05:00
Roardom
eb476eee3c fix: remaining /files/img hardcoded urls
Regression from #4497
2025-03-05 13:17:50 +00:00
Roardom
04bb9c15d8 fix: torrent cover and banner filepath
The file extension was missing.
2025-03-05 12:40:05 +00:00
HDVinnie
6e2c8f569d Merge pull request #4492 from Roardom/moderation-status-enum
(Refactor) Use moderation status enum and cast
2025-03-05 06:16:23 -05:00
HDVinnie
2cbdd3553a Merge pull request #4513 from Roardom/fix-storage
(Fix) Torrent files storage disk
2025-03-04 21:42:38 -05:00
HDVinnie
adb91f6de5 Merge pull request #4501 from Roardom/fix-staff-forum-notifications
(Fix) Send staff forum notificaton to all permitted to the forum
2025-03-04 21:31:03 -05:00
Roardom
2357db36a3 fix: torrent files storage disk
Regression from #4497
2025-03-01 03:54:31 +00:00
HDVinnie
62f5560df3 Merge pull request #4374 from Obi-Wana/use-shouldSend-for-notifications
(Add) Use shouldSend for notifications
2025-02-28 00:30:12 -05:00
HDVinnie
7c4a0e84ac PHP Style Change (Laravel Pint CI) 2025-02-27 13:36:46 +00:00
Jay Sizzla
ba1818be0c Fix spell CI 2025-02-27 13:33:54 +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
Jay Sizzla
3f91b00747 Use shouldSend for NewTopic notifications 2025-02-27 13:09:23 +00:00
Jay Sizzla
6e34a86388 Use shouldSend for NewBounty notifications 2025-02-27 13:09:23 +00:00
Jay Sizzla
29c144a931 Use shouldSend for NewRequestUnclaim notifications 2025-02-27 13:09:23 +00:00
Jay Sizzla
a3524f9092 Use shouldSend for NewRequestClaim notifications 2025-02-27 13:08:43 +00:00
Jay Sizzla
034fecac9f Use shouldSend for NewRequestFillApprove notifications 2025-02-27 13:08:43 +00:00
Jay Sizzla
9e1dd2acf7 Use shouldSend for NewRequestFillReject notifications 2025-02-27 13:08:43 +00:00
Jay Sizzla
1942d9f13b Use shouldSend for NewRequestFill notifications 2025-02-27 13:08:43 +00:00
Jay Sizzla
aa8cefe803 Use shouldSend for NewPost notifications 2025-02-27 13:08:43 +00:00
Jay Sizzla
c2ad50f230 Use shouldSend for NewBon notifications 2025-02-27 13:08:43 +00:00
Jay Sizzla
66fc82f6d7 Use shouldSend for NewUnfollow notifications 2025-02-27 13:08:43 +00:00
Jay Sizzla
e52a635f7c Use shouldSend for NewFollow notifications 2025-02-27 13:08:43 +00:00
Roardom
a447269552 refactor: use moderation status enum and cast
For consistency and less magic numbers hard coded everywhere.
2025-02-26 14:23:02 +00:00
Roardom
5786aa240d fix: send staff forum notificaton to all permitted to the forum
Instead of hard coding it to the is_modo perm. This became an issue when the is_torrent_modo flag was added.
2025-02-25 12:59:41 +00:00
HDVinnie
51937c897e Merge pull request #4498 from Roardom/phpstan2
(Update) Upgrade to phpstan 2
2025-02-25 07:43:41 -05:00
Roardom
ab0851f73a update: upgrade to phpstan 2 2025-02-24 17:19:39 +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
HDVinnie
46bd45b9b1 Merge pull request #4490 from Roardom/fix-featured 2025-02-23 09:41:10 -05:00
HDVinnie
6080308758 Merge pull request #4485 from Roardom/tinyint-bool
(Fix) Migrate boolean columns to tinyint(1)
2025-02-20 18:05:21 -05:00
HDVinnie
51e098861b Merge pull request #4484 from Roardom/hide-flush-ghost-peers
(Update) Hide 'flush ghost peers' button when external tracker is enabled
2025-02-20 18:04:28 -05:00
Roardom
cbbd074a43 fix: featured torrent icon
Regression from #4469

The select argument in the query was missing in a few places.
2025-02-20 16:11:14 +00:00
Roardom
58ff976f12 update: hide 'flush ghost peers' button when external tracker is enabled
The button doesn't do anything anyways for the external trackers. Users have to just wait it out.
2025-02-19 06:32:41 +00:00
Roardom
b2e29cfcf0 fix: migrate boolean columns to tinyint(1)
These columns were previously tiny ints without the (1) display width or regular ints, or smallints. They should all be tinyint(1).
2025-02-19 06:25:21 +00:00
HDVinnie
c48d062a75 Merge pull request #4469 from Roardom/normalize-featured 2025-02-18 10:32:14 -05:00