Roardom
bb3140c664
Merge pull request #5151 from Roardom/similar-500
...
(Fix) Error 500 on similar page when filter returns 0 results
2025-12-02 11:36:38 +00:00
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
e484706c6d
fix: incorrect warning.torrent column reference 2
...
Regression from #5113 .
2025-12-02 09:48:54 +00:00
Roardom
b6ed17d67b
fix: deleting blocked ip address isn't immediate
...
We already flush the cache when blocking a new ip address. We should also flush it when a blocked ip is deleted.
2025-11-22 22:07:03 +00:00
Roardom
2334b28c64
Merge pull request #5113 from Roardom/rename-warnings-bans-notes
...
(Refactor) Rename warnings/bans/notes <-> user/staff relations
2025-11-11 10:07:29 +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
90cbdf6c1a
fix: bon earning torrents showing 0 when not seeding
...
fixes #5101
2025-11-06 08:06:53 +00:00
Jay Sizzla
25acde5e8d
Fix tests
2025-11-01 12:19:38 +00:00
Jay
1d3b052b21
Updates from code review
...
Co-authored-by: Roardom <roardom@protonmail.com >
2025-11-01 12:19:38 +00:00
Jay Sizzla
fb31f889d3
Add reports assigning
2025-11-01 12:19:38 +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
2584917aa1
Merge pull request #4994 from Roardom/people-also-downloaded
...
(Add) People also downloaded
2025-10-23 17:07:10 +00:00
Roardom
0b6f75c1dc
add: people also downloaded
...
Show a list of titles on the torrent and similar pages that other people that downloaded the given torrent have also downloaded.
2025-10-23 17:02:48 +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
b4bd6bcbd2
Merge pull request #5001 from Roardom/reset-torrents-and-requests-page-on-query-change
...
(Update) Reset page to 1 when search query changes
2025-10-09 01:17:15 +00:00
Roardom
8d3f575915
update: reset page to 1 when search query changes
...
Just for torrents and requests for now, but this could be expanded into a trait and used everywhere at a later point in time.
2025-09-25 05:17:30 +00:00
Roardom
cf5521e658
fix: load thanks count after thanking on torrent page
...
Livewire doesn't reload the relations when the button is clicked and the number disappears.
2025-09-21 03:30:28 +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
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
2861c61401
refactor: remove forum getPermission() function
2025-09-18 20:28:09 +00:00
HDVinnie
9951eaabe1
Merge pull request #4977 from Roardom/remove-notify-uploader
2025-09-18 13:22:55 -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
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
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
HDVinnie
a1e45a4dca
add: ability to hide adult content
...
- closes #4866
- closes #4867
2025-09-17 14:35:00 -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
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
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
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
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
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
Roardom
3e6702ba0a
update: use torrent activity indicators on user torrent pages
2025-09-08 22:55:31 +00:00
Roardom
ac3c1383d3
update: larastan dependency
2025-09-08 02:49:19 +00:00