Roardom
af7bb77acc
fix: error 500 on similar page when filter returns 0 results
...
The similar page assumes that a torrent exists for a torrent, otherwise returning a 404. However, if a user uses the search on the similar page, and uses a search query that returns 0 torrents, the assumption that a torrent exists breaks. In this case, we now fall back to an empty array instead.
2025-12-02 11:30:45 +00:00
Roardom
72a1e1a885
refactor: rename warnings/bans/notes <-> user/staff relations
...
These relations are older than the laravel convention for using camel case. Clean up their names to match modern styling and make them easier to read.
2025-11-08 10:23:22 +00:00
Roardom
1c6bce64c3
refactor: simplify instanceof in match (true)
...
Now that models are final, we can do this without any gotchas or phpstan errors.
2025-10-29 10:19:58 +00:00
Roardom
dd8e489d2f
refactor: modularize torrent grouping logic
2025-10-21 10:37:50 +00:00
Roardom
d1b553b6f2
fix: error 500 caused by search on game similar page
...
We need to search by igdbId here, not the tmdbId. The tmdbId is not initialized sometimes which causes errors.
2025-10-17 07:43:04 +00:00
Roardom
cc26a18d05
update: prefer sentence case over title case in toast notifications
2025-09-20 03:09:40 +00:00
Roardom
2a3270e748
update: use cache()->flexible() to improve response times
2025-09-12 01:43:47 +00:00
Roardom
88dd691716
update: use glow effect around peer counts as torrent activity indicator
...
Requires less screen space, and easier to tell from a glance.
2025-09-07 21:22:28 +00:00
Roardom
c2bee5d7ec
remove: thanks count from torrent icons
...
Significantly cleans up the listing and isn't needed to see in bulk. Some sites disable thanks completely and don't want to see it. I plan to also move the comment count and the seeding/leeching indicators elsewhere in a separate PR to clean it up further. The count is still shown on the individual torrent page itself.
2025-09-07 17:14:49 +00:00
Roardom
61c0c29e9f
refactor: use php 8.4 property hooks for livewire computed properties
...
Less magic, and works well. Saw this trick in the Laracon US 2025 Livewire presentation.
2025-08-16 10:48:12 +00:00
Roardom
49ed35c27d
fix: bulk deletion of torrents with null release dates
2025-07-22 09:39:11 +00:00
Roardom
db2f1f2c99
fix: only reset unapproved requests when torrent is deleted
...
If the request has already been paid out, it should not be reset.
2025-06-28 04:28:14 +00:00
Roardom
702ac45cb6
fix: normalize request claims
...
Errors happen when requests have the claimed flag but don't actually have a claim record (or vice-versa).
2025-06-20 03:08:01 +00:00
Roardom
4bd74c8894
update: use table view for playlists on similar page
...
More condensed, requested by users, and matches the torrents and requests panels.
2025-06-04 06:50:12 +00:00
Roardom
1387ec2779
fix: incorrect igdb_game_id column selection on similar page
...
The column is only `igdb`.
2025-06-02 04:22:12 +00:00
Roardom
cead2c21a7
fix: ci from phpstan update
2025-05-21 17:10:28 +00:00
Roardom
b05f3e0e47
fix: filled request filter broken when fill approver soft deleted
...
Use the timestamp instead of the user id as it doesn't disappear when the user is (soft) deleted. The `whereDoesntHave` is the real issue here since it handles soft deletion, but since users are also deletable, handle all cases where it checks the field directly as well to instead use the timestamp.
2025-05-04 21:51:38 +00:00
Roardom
1d270ab624
fix: similar page playlists query
2025-04-14 07:24:22 +00:00
Roardom
99569c2f65
add: collection to similar page
2025-04-13 07:35:22 +00:00
Roardom
da9ca8a166
add: playlists to similar page
2025-04-13 07:09:22 +00:00
Roardom
7e96243186
fix: game similar page
...
Looks like the similar page for games broke, the query builder was never fetched.
2025-04-03 12: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
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
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
3b0f00053f
fix: thanks icons on grouped view
...
Regresssion from #4514 .
2025-03-06 19:02:43 +00:00
Roardom
89c2821262
fix: grouped torrent relations
...
The aggregates need to be executed before `select` or else `select` removes the aggregates from the query. Also made all the grouped torrent queries consistent and added aggregates where they were missing.
2025-03-02 05:48:15 +00: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
ee44de8004
fix: similar torrent bulk deletion
...
These objects passed to the notification must be users, not ids.
2025-02-16 18:10:36 +00:00
Roardom
6a103cee97
refactor: use laravel notifications for system user private messages
2025-02-02 18:48:27 +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
fc7272bbb1
PHP Style Change (Laravel Pint CI)
2024-12-24 01:59:20 +00:00
Roardom
97b058872c
fix: only show year in similar torrent deletion
2024-12-15 13:21:06 +00:00
Jay
44d7120924
Define trump_exists for similar page
...
Fixes the trumping icon not showing up on similars page
2024-09-01 10:32:24 +00:00
Roardom
105e8a1b14
update: hide filled requests by default on similar page
2024-08-30 11:56:22 +00:00
Roardom
62b49a4d2b
update: order by season/episode descending
...
Puts most recent episodes at the top for convenience.
2024-08-30 03:19:43 +00:00
HDVinnie
2093d3b200
Merge pull request #4096 from Roardom/similar-search
...
(Add) Advanced search to similar page
2024-08-27 09:30:36 -04:00
Roardom
9624546db9
add: advanced search to similar page
2024-08-27 03:30:16 +00:00
Roardom
28bf305aeb
fix: similar torrents variable being shadowed
...
Breaks similar torrent pages which have extras by only showing the extras and not the regular seasons, since the variable has already been overwritten.
2024-08-27 01:31:44 +00:00
Roardom
4ab0bccf34
update: new similar torrents ui design
...
More compact UI on the similar torrents page for listing the similar torrents that ressembles the torrent grouping layout.
2024-08-26 23:39:33 +00:00
Roardom
a0299daa16
refactor: use eloquent relations directly
2024-08-18 03:26:41 +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
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
Roardom
0e0fc3524f
refactor: modularize system notifications and prevent replies
2024-06-07 14:08:23 +00:00
Roardom
b86475a732
add: strict types to all files
2024-05-23 13:58:29 +00:00
HDVinnie
d7ffb556f5
fix: similar torrents bulk deleting
...
- fixes for livewire 3
2024-03-19 12:29:11 -04:00
HDVinnie
71c5a3ebcb
patch: livewire url attributes
2024-03-06 02:02:05 -05:00
HDVinnie
b43c524ff2
PHP Style Change (Laravel Pint CI)
2024-03-04 03:42:21 +00:00
HDVinnie
bde593e48b
update: livewire
2024-03-03 22:41:29 -05:00