Commit Graph

5355 Commits

Author SHA1 Message Date
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
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
b3a9f48853 chore: format files
Not sure why this wasn't done previously.
2025-03-16 22:55:24 +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
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
6ad70522b2 Merge pull request #4551 from Roardom/fix-tablet-top-nav
(Fix) Make top nav usable on tablet resolutions
2025-03-12 19:05:37 -04:00
HDVinnie
0515d16abb Merge pull request #4552 from Roardom/quick-search-default 2025-03-12 13:20:55 -04:00
HDVinnie
a55e1f9d59 Merge pull request #4550 from Roardom/fix-torrent-icons-freeleech-percentage-spacing 2025-03-12 13:18:52 -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
4e61bc69fc update: shorten quicksearch text
And move description of what can be searched down below.
2025-03-11 12:26:53 +00:00
HDVinnie
073e8889ed Blade Style Change (Prettier Blade CI) 2025-03-11 12:05:59 +00:00
Roardom
2b9479a77b fix: make top nav usable on tablet resolutions
Show quick search until 940px width, and move ratio bar to top instead of showing fewer stats.
2025-03-11 12:03:46 +00:00
Roardom
61a8aef56b fix: torrent icons freeleech percentage spacing 2025-03-11 11:53:41 +00:00
Roardom
5ed54e51d5 fix: article "read more" link
Copy-paste error. Regression from #4497.
2025-03-10 10:54:59 +00:00
HDVinnie
59fec6afa3 Blade Style Change (Prettier Blade CI) 2025-03-09 05:15:17 +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
62445644c9 fix: length aware paginator being treated as simple paginator
- For some reason the method_exists() check isn't working. I also fixed the appearance of simple paginator to match the ellipses and cut off points of the length aware paginator.

Co-Authored-By: Roardom <78790963+Roardom@users.noreply.github.com>
2025-03-08 18:43:26 -05:00
HDVinnie
521317abd3 Merge pull request #4534 from Roardom/fix-torrent-row-poster-align
(Fix) Enforce tmdb poster height
2025-03-07 07:48:06 -05:00
HDVinnie
179f749807 Merge pull request #4528 from Roardom/fix-torrent-edit-perms
(Fix) Require/exclude anon/personal_release on torrent edit
2025-03-07 07:44:39 -05:00
HDVinnie
03aa792009 Merge pull request #4527 from Roardom/fix-announce-search
(Update) Use simple paginate for announce log
2025-03-07 07:43:34 -05:00
Roardom
d14f59028a fix: enforce tmdb poster height
Makes it so the table doesn't jump around on page load.
2025-03-06 19:46:00 +00:00
Roardom
94c387b319 update: use simple paginate for announce log
Prevents time outs when there's billions of records in the announces table.

We can also try cursor pagination if simple pagination doesn't work.
2025-03-06 11:48:45 +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
HDVinnie
885766bd8d Merge pull request #4526 from Roardom/fix-playlist-search
(Fix) Playlist image links
2025-03-05 22:31:46 -05:00
Roardom
6011334b96 fix: playlist image links
Regression from #4497.
2025-03-05 16:25:54 +00:00
HDVinnie
4e386c6571 Merge pull request #4524 from Roardom/fix-playlist-images 2025-03-05 10:26:58 -05:00
HDVinnie
f94ff77c05 Merge pull request #4521 from Roardom/fix-personal-release-upload 2025-03-05 10:25:08 -05:00
Roardom
431e6405e6 fix: playlist images existance check
Regression from #4497
2025-03-05 14:28:18 +00:00
Roardom
d4362f4aa4 fix: personal release icon on user uploads page
This is now a boolean instead of a tinyint.
2025-03-05 13:30:40 +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
HDVinnie
642a8d5808 Blade Style Change (Prettier Blade CI) 2025-03-05 13:19:05 +00:00
Roardom
eb476eee3c fix: remaining /files/img hardcoded urls
Regression from #4497
2025-03-05 13:17:50 +00:00
Roardom
ce80501a78 fix: missing closing bracket in no_meta view 2025-03-05 12:27:06 +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
7f53eef6dc Merge pull request #4499 from Roardom/fix-grouped-slightly
(Fix) Various slight grouped torrent layout changes
2025-03-05 01:10:16 -05:00
HDVinnie
91e4b37b53 Merge pull request #4512 from Roardom/change-sort-icon
(Update) Narrower sort icon
2025-03-04 21:41:26 -05:00
HDVinnie
53a58e9c6c Merge pull request #4510 from Roardom/pagination-jump
(Fix) Scroll to top of panel on pagination click
2025-03-04 21:40:22 -05:00
HDVinnie
9f9574f4d1 Merge pull request #4508 from Roardom/fix-playlist-route
(Fix) Broken url call in torrent playlists panel
2025-03-04 21:38:56 -05:00
HDVinnie
0edf8afac9 Merge pull request #4507 from Roardom/fix-email-verify-text
(Fix) Email verification text
2025-03-04 21:38:13 -05:00
HDVinnie
eb24d9fbc2 Merge pull request #4503 from Roardom/speed-up-grouped-search
(Update) Speed up torrent grouping
2025-03-04 21:34:27 -05:00
HDVinnie
ecd74474c5 Merge pull request #4502 from Roardom/fix-carbon-compare
(Fix) Comparing carbon dates
2025-03-04 21:32:01 -05:00
Roardom
16148e6184 update: narrower sort icon
This is the same style of sort icon that mediawiki uses, but the main advantage it has compared to the one currently used is that it takes up less horizontal width, meaning that when you have 10 narrow columns next to each other, such as on the user history/peers pages, you have about 50px more room for the torrent name before it wraps.
2025-02-28 05:00:09 +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
Roardom
bb86f2fca7 fix: scroll to top of panel on pagination click
Instead of the body. Added a slight offset to counteract the sticky navbar.
2025-02-26 20:05:51 +00:00
Roardom
f47f1ac84d fix: broken url call in torrent playlists panel 2025-02-26 18:41:28 +00:00
Roardom
198a207f2f fix: email verification text
The email is already sent by the time the user reaches this page. No need for them to click the button again.
2025-02-26 18:33:54 +00:00
Roardom
a9fed85b82 update: speed up torrent grouping
Shaves 110ms (from 150 ms to 40ms) from the logic to group torrents per tmdb and media type. It's not much compared to the rest of the request (~2s), but it's something. I could've got it down to 11 ms if laravel didn't have high overhead when accessing attributes, but it was 70ms before I started using ->getAttributeValue so that says something there.
2025-02-26 14:25:31 +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
fe04e35e22 fix: comparing carbon dates
We need to use specific functions for comparing dates with carbon.
2025-02-26 07:01:28 +00:00