Commit Graph

13554 Commits

Author SHA1 Message Date
Roardom cc26a18d05 update: prefer sentence case over title case in toast notifications 2025-09-20 03:09:40 +00:00
HDVinnie 9951eaabe1 Merge pull request #4977 from Roardom/remove-notify-uploader 2025-09-18 13:22:55 -04:00
HDVinnie 9f804cefd9 Merge pull request #4975 from Roardom/remove-unused-post-viewable 2025-09-18 13:18:44 -04:00
HDVinnie 267f38f1b0 Merge pull request #4974 from Roardom/reporter-with-trashed 2025-09-18 13:18:17 -04:00
HDVinnie def9554f1f Merge pull request #4973 from Roardom/remove-earning-time-constraint 2025-09-18 13:17:39 -04:00
HDVinnie 444473d9db Merge pull request #4972 from Roardom/livewire-set-property-hooks 2025-09-18 13:17:14 -04:00
HDVinnie a2995ed14e Merge pull request #4971 from Roardom/notification-inline-function 2025-09-18 13:17:02 -04:00
HDVinnie 2ba064c021 Merge pull request #4970 from Roardom/fix-torrent-search-group-eager-loads 2025-09-18 13:16:48 -04:00
HDVinnie 61de3e56cf Merge pull request #4969 from Roardom/auto-imdb-paste 2025-09-18 13:16:20 -04:00
HDVinnie b4ade77857 Merge pull request #4968 from Roardom/hide-thanks-top-users 2025-09-18 13:15:50 -04:00
Roardom 74ef2c3bdd refactor: remove torrent notifyUploader() function
Comments notifications are already created directly when the comment is created, so the thank portion can just be inlined as well.
2025-09-18 11:19:06 +00:00
Roardom 6c65fcf158 remove: unused topic viewable() function
The HomeController already has logic to ensure the user only receives topics from forums they have permission to read topics in.
2025-09-18 10:20:51 +00:00
Roardom 09faf9281f refactor: include soft deleted users in reports user relations
There is no desire to hide soft deleted users from reports.
2025-09-18 09:56:40 +00:00
Roardom 6fcc8ede2b remove: bon earning 30 minute time constraint on preview
30 minutes of seeding is required for a bon earning to be allocated, to prevent users from starting torrents immediately before the hour change and stopping immediately after, but including this constraint in the user's bon earning preview is confusing if the user has just restarted their client. Keep the constraint in the actual calculation, but preview the bon earnings as if the constraint didn't exist on their bon earnings page.
2025-09-18 08:41:02 +00:00
Roardom ee61a9fa33 refactor: use php set property hooks for livewire lifecycle hooks
In cases where the property is modified by reference, we can use native php property hooks.
2025-09-18 08:34:55 +00:00
Roardom a1b8e963b9 refactor: prefer arrow functions for user notification search 2025-09-18 07:58:08 +00:00
Roardom 8b02fe24a7 fix: deduplicate grouped torrent search eager loads 2025-09-18 07:05:36 +00:00
Roardom 8538bc3f4b update: extract imdb id from url on paste into upload form 2025-09-18 05:57:38 +00:00
Roardom ebdd04d998 fix: hide thanks stats in top users when thanks system is disabled 2025-09-17 21:14:08 +00:00
HDVinnie a04acfb337 Merge pull request #4967 from HDInnovations/master
(Chore) Sync Branch
2025-09-17 14:41:20 -04:00
HDVinnie a1e45a4dca add: ability to hide adult content
- closes #4866
- closes #4867
2025-09-17 14:35:00 -04:00
HDVinnie 8231af0016 Merge pull request #4964 from Roardom/fix-rate-limit
(Fix) Rate limit by user id instead of ip where applicable
2025-09-17 14:23:32 -04:00
HDVinnie bdf61b353f Merge pull request #4966 from Roardom/top-thanked
(Add) Top thanked to top users panel
2025-09-17 14:22:26 -04:00
Roardom 1ef63510d6 add: top thanked to top users panel
Query takes 200ms.

fixes #4965
2025-09-17 18:01:46 +00:00
HDVinnie 14e5a1e4a3 refactor: warning expire to bundle notification
Co-authored-by: Roardom <roardom@protonmail.com>
2025-09-15 21:11:41 -04:00
Roardom 8c5f10f5a7 fix: rate limit by user id instead of ip where applicable 2025-09-15 21:44:39 +00:00
HDVinnie 4006df82b2 Merge pull request #4958 from Roardom/comment-count-icon-2 2025-09-12 13:23:18 -04:00
HDVinnie bf0b98fd5f Merge pull request #4957 from Roardom/cache-flexible 2025-09-12 13:22:11 -04:00
HDVinnie aec19656dc Merge pull request #4953 from Roardom/automatically-delete-reseeds 2025-09-12 13:21:33 -04:00
Roardom 2a3270e748 update: use cache()->flexible() to improve response times 2025-09-12 01:43:47 +00:00
Roardom 326c09367b update: automatically remove abandoned torrent reseed requests 2025-09-12 01:36:24 +00:00
Roardom 4a25a36656 update: don't show comment count if 0 on torrent listing
More cleaner in an already information-dense view while not limiting functionality. I've tried putting the count inside of the comment, but the text is pretty small. This could probably be further looked into in the future, but this is a decent enough stopgap with low chance of fallout.
2025-09-12 01:22:26 +00:00
HDVinnie 3b054975cb Merge pull request #4956 from Roardom/optimize-meta-popup 2025-09-11 08:18:55 -04:00
HDVinnie 1c9c7c7f1c Merge pull request #4955 from Roardom/request-controller-relations 2025-09-11 08:18:02 -04:00
HDVinnie e1937cae4e Merge pull request #4954 from Roardom/torrent-controller-relations 2025-09-11 08:17:37 -04:00
Roardom 222e5ed808 fix: eager loads on meta popups on torrent list
Brings page load time down from 700ms back to reasonable 200ms levels.
2025-09-11 08:39:12 +00: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
HDVinnie ab841f8129 Merge pull request #4951 from Roardom/fix-gift-log-sorting-filtering 2025-09-09 18:18:24 -04:00
HDVinnie c29e86d834 Merge pull request #4949 from Roardom/consistent-seed-leech-completed-counts 2025-09-09 18:11:41 -04:00
HDVinnie a96fc747ba Merge pull request #4947 from Roardom/raw-query 2025-09-09 18:10:59 -04:00
HDVinnie e07650f850 Merge pull request #4946 from Roardom/eager-loading-fixes 2025-09-09 18:09:51 -04:00
HDVinnie cb72a977b9 Merge pull request #4899 from Roardom/update-larastan-2 2025-09-09 18:09:14 -04:00
Roardom 3853e9d0a9 fix: gift log sorting and filtering
Some wrong column names were used.

Regression from #3551
fixes #4945
2025-09-09 10:26:02 +00:00
Roardom 7afa01fd39 fix: consistently color seeder/leecher/completed counts
Also clean up unnecessary spans that only have the color class on them.
2025-09-09 09:36:41 +00:00
Roardom b5a8f5c18a refactor: convert raw db query concatenation to binding 2025-09-09 01:53:47 +00:00
Roardom fc20561066 fix: eager loading fixes for user.group 2025-09-09 01:51:16 +00:00
HDVinnie db648e1bec Merge pull request #4943 from Roardom/more-torrent-activity-indicators
(Update) Use torrent activity indicators on user torrent pages
2025-09-08 20:37:48 -04:00