Commit Graph

3073 Commits

Author SHA1 Message Date
Roardom ef86a6ccbb fix: torrent filter api not returning meta poster and genres
fixes https://github.com/Jackett/Jackett/issues/8682#issuecomment-3240336916
2025-10-08 01:37:09 +00:00
Roardom 80ff243ad6 Merge pull request #5026 from Roardom/move-language-model
(Refactor) Move Language class from models to helpers
2025-10-07 00:46:49 +00:00
Roardom 13422a553b refactor: move Language class from models to helpers
It's not exactly an eloquent model.
2025-10-03 19:17:18 +00:00
Roardom ec9b19ffbf refactor: use boolean for user audible
Instead of int.
2025-09-30 06:58:59 +00:00
HDVinnie 36e814da47 Merge pull request #4991 from Roardom/tips-gifts-user-soft-deleted 2025-09-20 18:37:38 -04:00
HDVinnie 14910a3bf9 Merge pull request #4990 from Roardom/controller-swal-casing 2025-09-20 18:35:19 -04:00
HDVinnie 607948884b Merge pull request #4984 from Roardom/remove-unused-category-var 2025-09-20 18:26:16 -04:00
Roardom 876bd5521a refactor: include deleted users in tips and gifts user relations
There is no desire to hide soft deleted users from gifts and tips.
2025-09-20 19:18:05 +00:00
Roardom cc26a18d05 update: prefer sentence case over title case in toast notifications 2025-09-20 03:09:40 +00:00
Roardom 237ae904ab remove: unused variable assignment
These variables aren't used.
2025-09-19 06:26:22 +00:00
Roardom 2861c61401 refactor: remove forum getPermission() function 2025-09-18 20:28:09 +00:00
HDVinnie bf0b98fd5f Merge pull request #4957 from Roardom/cache-flexible 2025-09-12 13:22:11 -04:00
Roardom 2a3270e748 update: use cache()->flexible() to improve response times 2025-09-12 01:43:47 +00:00
HDVinnie 1c9c7c7f1c Merge pull request #4955 from Roardom/request-controller-relations 2025-09-11 08:18:02 -04:00
Roardom 60b19fb432 refactor: improve request relation fetching on request page
Assume that each request only has one of (tmdb_movie_id, tmdb_tv_id, igdb_game_id) filled out, and just load all non-null relations for cleaner code.
2025-09-11 07:29:38 +00:00
Roardom 6f09283cbc refactor: improve torrent relation fetching on torrent page
Rely more on eloquent relations instead of using raw queries inside of the views.
2025-09-11 07:29:12 +00:00
HDVinnie 78ff837e83 Merge pull request #4942 from Roardom/auditable-morphs 2025-09-09 21:41:19 -04:00
Roardom 58c86a5251 refactor: use morph relations for auditable trait 2025-09-10 00:43:44 +00:00
Roardom fc20561066 fix: eager loading fixes for user.group 2025-09-09 01:51:16 +00:00
HDVinnie 4e1d55d4fd Merge pull request #4900 from Roardom/torrent-file-ui-optimization 2025-09-07 19:27:58 -04:00
Roardom 3876beb9fa update: optimize torrent hierarchical file list preview popup
For a torrent with 12k files, reduces page load time from 24 seconds to 3.4 seconds
2025-09-07 22:59:52 +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
HDVinnie c9adf262cb add: anon forum posts 2025-09-07 17:12:36 -04:00
HDVinnie eff38a9ebb Merge pull request #4934 from HDInnovations/delete-group
(Add) Ability to delete groups
2025-09-07 16:58:30 -04:00
HDVinnie 0a7814f453 update: cleanup logic and test 2025-09-07 16:12:51 -04:00
Roardom 28c99c9736 refactor: cleanup workaround for creating systembot echoes/audibles
When the user changes the bot in the front-end (e.g. clicks the systembot button), it calls the bot pm method with an empty string and the pm method creates audibles/echoes but doesn't create the message if it's an empty string. Feels like an awfully hacky method, so I'm making the logic more explicit.
2025-09-03 03:32:14 +00:00
Roardom f3bb05a93b fix: eager loading of user for echo and audible eloquent resources 2025-09-03 03:32:14 +00:00
Roardom 67058a702c refactor: inline $which in chatbox api
Makes the code easier to follow.
2025-09-03 03:32:14 +00:00
Roardom 27f8f51362 refactor: inline runbot in chat api 2025-09-03 03:32:14 +00:00
Roardom 7cfb4317c2 refactor: remove unused targeted variable in chat api 2025-09-03 03:32:14 +00:00
Roardom bf1492e92a refactor: use more readable syntax to parse chatbox /msg command 2025-09-03 03:32:14 +00:00
Roardom b7b8e42493 refactor: remove dead branches from chat api
These branches are never hit because the same conditions are checked in the first 3 if statements, so they would never be hit by the time they're inside the 4th if statement.
2025-09-03 03:32:14 +00:00
Roardom 5ddbed21a3 refactor: inline trip in chat api
Makes it a bit easier to read and reduces variable scope.
2025-09-03 03:32:14 +00:00
Roardom 66b6eecd32 refactor: simplify system check in chat api 2025-09-03 03:32:14 +00:00
Roardom de827aa939 refactor: remove redundant message falsey checks in chatbox api
The str_starts_with functions won't return true anyways if it's an empty string and it makes the code easier to read.
2025-09-03 03:32:14 +00:00
Roardom 9858fcde9f refactor: cast message string upfront in chat api
Also don't cast bot command which is not nullable in the database.
2025-09-03 03:32:14 +00:00
Roardom 5fcf20ce44 refactor: simplify chatbox echo return logic 2025-09-03 03:32:14 +00:00
Roardom dd7fa0ebd3 refactor: remove unused save variable from chatbox 2025-09-03 03:32:13 +00:00
Roardom e89690ac0d refactor: simplify adjusting cache in chat api
We don't necessarily need to refresh the cache, we only need to append to it.
2025-09-03 03:32:13 +00:00
Roardom 6b8614bc4d refactor: remove unecessary eager loads in chat api 2025-09-03 03:32:13 +00:00
Roardom 6ff6c1a9bf refactor: inline some single-use chat repository methods into chat api 2025-09-03 03:32:13 +00:00
HDVinnie 34b9643e24 add: ability to delete groups
- request #4268
2025-09-02 09:43:30 -04:00
HDVinnie ee2fd3789d add: staff ticket category and priority management
- request #4674
2025-09-01 20:58:36 -04:00
AnabolicsAnonymous 3ea0c97ee2 fix: correct torrent request api controller name 2025-09-01 18:13:57 -05:00
HDVinnie 65c2576ac3 (Update) Torrent reseed request system (#4928) 2025-08-31 11:24:33 -04:00
HDVinnie d27e436534 Merge pull request #4918 from AnabolicsAnonymous/torrent-request-api
(Add) Torrent request API
2025-08-31 11:05:38 -04:00
AnabolicsAnonymous 07b83a1cd9 update: simplify torrent request name logic 2025-08-30 18:58:35 -05:00
unit3d-bot 0e62748220 automation: laravel pint ci 2025-08-30 23:47:48 +00:00
Anabol 3df82225aa update: simplify tmdb movie/tv id fetching
Co-authored-by: Roardom <roardom@protonmail.com>
2025-08-30 18:45:37 -05:00
Anabol 6c0ddf8a7a remove: unnecessary parentheses
Co-authored-by: Roardom <roardom@protonmail.com>
2025-08-30 18:34:25 -05:00