Commit Graph

188 Commits

Author SHA1 Message Date
Roardom
71b8700a35 fix: return error if meta not found when adding wishlist entry
fixes #5169
2026-03-02 06:59:01 +00:00
Roardom
393b45349a update: laravel pint dev dependency
The latest version adds stdin support for use in IDEs that integrate with formatters if the formatter accepts input on stdin and outputs on stdout. Zed is one example of such an IDE.
2025-11-29 04:47:14 +00:00
HDVinnie
a1e45a4dca add: ability to hide adult content
- closes #4866
- closes #4867
2025-09-17 14:35:00 -04:00
Roardom
7b14341319 add: support connecting to external tracker over unix socket 2025-09-07 08:11:45 +00:00
Roardom
6b4dbb594e update: unit3d-announce torrent peers api response validation
Remove `torrent_id` and `user_id` fields, as they will be removed in a future update. Gather user_id and peer_id from the dict key instead.
2025-08-14 04:49:39 +00:00
Roardom
0e8e243bb4 update: don't report tmdb meta fetch 404s exceptions in logs
But still report them in fetch:meta command.

fixes #4770
2025-06-13 04:45:08 +00:00
HDVinnie
482424550d fix: reported phpstan errors 2025-05-26 21:54:57 -04:00
Roardom
d1fe7d362f fix: occasional tmdb ssl errors break fetch:meta command
Sometimes, there is an ssl error from tmdb (Once every few hundred thousand http requests). When this happens, because the jobs are processed synchronously to avoid dos'ing tmdb, it throws an exception and kills the command. Instead, allow the http requests to be retried, and skip the fetch if it still fails after 3 retries.
2025-05-14 07:34:25 +00:00
Roardom
ddb0f37690 Revert "add: tmdb content rating"
This reverts commit c40334332d.
2025-05-02 19:37:19 +00:00
AnabolicsAnonymous
c40334332d add: tmdb content rating 2025-04-29 10:41:43 -05:00
Roardom
e3cbfd7d7f refactor: split tmdb recommendations into movies and tv 2025-04-07 17:20:57 +00:00
HDVinnie
771e265450 Merge pull request #4627 from Roardom/update-passkey-change 2025-04-04 07:44:48 -04:00
Roardom
a8a80b0b0c update: change passkey in external tracker in single request
Instead of first removing, and then re-adding.
2025-04-04 04:48:13 +00:00
Roardom
69363b7d7a remove: seasons, episodes, guest_stars
These tables and models aren't used anymore. Seasons and episodes aren't used because most torrents do not follow tmdb's episode and season ordering, but instead follow tvdb's, so it is more accurate to specify the episode and season number directly. Guest stars haven't been used for a long time, if ever.

Fixes #4565
2025-04-03 09:05:19 +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
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
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
Roardom
2ff2074747 fix: credit character too long to fit in database column
Limit it to 200 instead of erroring.
2025-02-26 17:00:58 +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
604b7e1937 add: spell check ci
Just an initial portion for now fixing incorrect text and preventing future incorrect text. Eventually, I'd like to fix everything still listed under "ignoredWords" in cspell.json.
2025-01-24 11:30:34 +00:00
HDVinnie
b058ad8025 PHP Style Change (Laravel Pint CI) 2024-12-27 08:00:09 +00:00
HDVinnie
6a789d92eb update: movie client 2024-12-27 02:57:15 -05:00
Roardom
0e4bcb570d refactor: use ANSI-compatible syntax for raw database queries 2024-11-02 04:26:49 +00:00
Roardom
dd3adfe03d add: show external tracker user rate limits on profile page 2024-09-30 23:16:43 +00:00
HDVinnie
428bf63910 add: base donation system 2024-09-12 13:03:38 -04:00
Roardom
dbb3a7b928 fix: null download slots added to external tracker 2024-08-31 19:04:10 +00:00
HDVinnie
eddad86406 fix: phpstan errors
- this commit tackles more phpstan errors from the baseline.
- the 2024_06_19_210338_update_colum_types.php migration will have more added to it. This PR is draft until more baaseline errors are closed.
2024-06-19 21:19:02 -04:00
HDVinnie
2c949efaad Merge pull request #3888 from Roardom/fix-blacklisted-agent-external-tracker
(Fix) Adding blacklisted clients to external tracker
2024-05-30 23:58:31 -04:00
Roardom
07949ea3fc fix: adding blacklisted clients to external tracker 2024-05-30 14:10:28 +00:00
Roardom
3c83ef7b5b update: show error when external tracker returns error 2024-05-30 14:08:27 +00:00
HDVinnie
d203d9ab0a Merge pull request #3866 from Roardom/fix-external-tracker-slots
(Fix) Only include visible peers when sending to external tracker
2024-05-26 15:14:26 -04:00
HDVinnie
5dd8a63ab8 Merge pull request #3865 from Roardom/external-tracker-visible-peer
(Add) Display peer visibility on external torrent page
2024-05-26 15:14:05 -04:00
HDVinnie
1f702a2d37 Merge pull request #3863 from Roardom/title-subscribe
(Refactor) Wishlist and add movie/tv subscriptions
2024-05-26 15:13:22 -04:00
Roardom
931096041e fix: only include visible peers when sending to external tracker
Without this, the external tracker's `num_seeding` and `num_leeching` stats go out of sync.
2024-05-25 06:25:51 +00:00
Roardom
b533be13cf add: display peer visibility on external torrent page 2024-05-25 05:08:18 +00:00
Roardom
0df196f077 refactor: wishlist and add movie/tv subscriptions
closes #3826
2024-05-24 11:38:06 +00:00
Roardom
12903f64ac fix: strict type issues
Don't pass null into functions that don't accept null.
2024-05-23 17:40:16 +00:00
Roardom
2e57262e97 fix: strict types phpstan errors 2024-05-23 15:38:35 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
26ec83faaa fix: catch error when external tracker is offline 2024-05-12 10:21:11 +00:00
HDVinnie
4a1d6ef523 fix: casting 2024-05-06 14:35:16 -04:00
Roardom
899f121e6f fix: add/remove featured torrents to external tracker 2024-04-19 14:29:50 +00:00
Roardom
e3234da27f fix: viewing stats from external tracker
Some incorrect logic here that was never properly tested
2024-04-19 09:38:26 +00:00
HDVinnie
d5b4b3d7dd update: localize trailers
- performance increase by not having to query tmdb api.
- fixes issue where trailers were only loading on torrent details page and not views where meta partial is used like similar,requests,etc
2024-01-07 22:03:49 -05:00
Roardom
191ca6e1ab fix: phpstan level 7 errors in Unit3dAnnounce service 2024-01-07 17:21:12 +00:00
Roardom
3ef7976a38 fix: phpstan level 7 errors in Tmdb service 2024-01-07 17:21:12 +00:00
HDVinnie
aa3dc8ed18 refactor: enums 2024-01-04 03:26:10 -05:00
Roardom
071c83b0db fix: tmdb service 2023-12-30 12:58:47 +00:00
Roardom
fd12439113 fix: tmdb service phpstan ci 2023-12-30 11:34:23 +00:00
Roardom
a837f59eae update: modularize tmdb service arrays and add types 2023-12-30 10:27:18 +00:00