3092 Commits

Author SHA1 Message Date
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
Anabol 2e5fa2f33b update: only load relevent relations
Co-authored-by: Roardom <roardom@protonmail.com>
2025-08-30 18:32:26 -05:00
Anabol 62b1117a47 update: only load relevent relations
Co-authored-by: Roardom <roardom@protonmail.com>
2025-08-30 18:32:07 -05:00
Anabol 05e69dd2ec update: consistently name bounties variable
Co-authored-by: Roardom <roardom@protonmail.com>
2025-08-30 18:31:21 -05:00
Anabol a8a47527f0 update: consistently name bounties variable
Co-authored-by: Roardom <roardom@protonmail.com>
2025-08-30 18:31:02 -05:00
AnabolicsAnonymous 802b1d7110 update: replace regex check on imdb parameter 2025-08-30 17:30:48 -05:00
AnabolicsAnonymous c86f935baa update: consistent use of meta id parameters 2025-08-30 17:22:41 -05:00
AnabolicsAnonymous ffdcfe670a update: use torrentRequestResource for pagination 2025-08-28 20:22:22 -05:00
HDVinnie eb6ca2e0c0 Merge pull request #4921 from Roardom/request-eager-load 2025-08-28 16:51:50 -04:00
Roardom 6043fae6b0 fix: eager loading on torrent request 2025-08-25 06:02:17 +00:00
unit3d-bot ef6587d1d3 automation: laravel pint ci 2025-08-24 22:01:29 +00:00
AnabolicsAnonymous 79338d68a9 update: arrow function syntax and removing description query 2025-08-24 16:57:59 -05:00
AnabolicsAnonymous be200c5db1 update: use eloquent's when() instead of if statements 2025-08-24 15:07:07 -05:00
AnabolicsAnonymous 4544f6cc59 update: use findorfail for request retrieval in request controller 2025-08-24 14:44:50 -05:00
AnabolicsAnonymous 7591906037 update: request integer methods 2025-08-24 14:03:16 -05:00
AnabolicsAnonymous c12c2024ad fix: use whereNotNull for spellcheck CI 2025-08-22 18:15:31 -05:00
unit3d-bot a41fe736fd automation: laravel pint ci 2025-08-22 23:04:19 +00:00
AnabolicsAnonymous 75e3200381 add: torrent request API controller 2025-08-22 18:02:05 -05:00
HDVinnie fcc64d8e72 Merge pull request #4910 from Roardom/remove-infohash 2025-08-21 09:45:11 -04:00
Roardom e1486613bb security: randomize info_hash upon upload and hide it from users
Require a user to download a .torrent file in order to view the info_hash.
2025-08-20 12:27:12 +00:00
Roardom 6a703e810b fix: most phpstan types in donation controllers 2025-08-19 19:39:30 +00:00
HDVinnie 80b723dcaf Merge pull request #4888 from Roardom/unfollow-button 2025-08-10 11:55:51 -04:00
Roardom 902fd94b0c add: unfollow button to following page 2025-08-10 00:35:57 +00:00
HDVinnie df4e9782c6 Merge pull request #4886 from Roardom/about-length 2025-08-04 12:35:14 -04:00
Roardom 9240f4d1eb update: increase user about me char limit
This limit is less important than the forum signature and can be increased.
2025-08-04 06:39:01 +00:00
Roardom e2212b38f0 add: user unregistered info hash page
Allow users to find torrents they're announcing that have been deleted on site.
2025-08-04 06:23:51 +00:00
HDVinnie 5600e18fb9 Merge pull request #4861 from Roardom/fix-null-quicksearch
(Fix) Quicksearch searching by null throws error
2025-07-22 17:29:00 -04:00
Roardom 26e27f7300 fix: quicksearch searching by null throws error
The middleware automatically converts empty strings to null. We want to accept empty strings here for the search to work. Currently, the regex throws an error when a null is passed to it.
2025-07-22 09:26:21 +00:00
Roardom 820946c2b6 refactor: chatbox user chat status
Only save the user's chat status in one place, and sync it with the server when it's updated.
2025-07-20 10:18:17 +00:00
HDVinnie f15be18aef Merge pull request #4853 from Roardom/fix-group-cache 2025-07-19 08:34:22 -04:00
Roardom 48adfce1af fix: group cache
Laravel returns numeric strings when an int is saved to cache, which breaks a lot of the logic here. Fixed by removing cache everywhere except rss and middleware, and in those two spots, caching the whole group and not just the id of the group.
2025-07-19 11:59:00 +00:00
Roardom 8618aa1474 update: improve imdb regex
Lookarounds are not performant. Also, fix the client side regex validation to allow links.
2025-07-19 08:22:12 +00:00