Commit Graph

478 Commits

Author SHA1 Message Date
HDVinnie
e71b28c588 Merge pull request #4358 from Roardom/modq-order
(Fix) Order torrent creation from most to least important
2024-12-02 08:38:47 -05:00
HDVinnie
72dd3c5159 add: display reports on torrent page
- closes request #4353
2024-12-01 22:15:43 -05:00
Roardom
e7c369002e fix: order torrent creation from most to least important 2024-12-01 19:51:20 +00:00
Roardom
f7ba4a715f fix: link to category of existing torrents in recommendations 2024-10-13 06:37:53 +00:00
HDVinnie
a0e95fcd4c PHP Style Change (Laravel Pint CI) 2024-09-03 16:20:04 +00:00
HDVinnie
f0a43ba96b Merge pull request #4089 from Roardom/fix-hardcoded-movie-id-torrents-secondary-nav
(Fix) Don't use hardcoded category id in torrents secondary navbar
2024-08-26 16:57:39 -04:00
Roardom
80176233e5 fix: don't use hardcoded category id in torrents secondary navbar 2024-08-26 12:09:12 +00:00
Roardom
d1465ae390 remove: unused category num_torrents column 2024-08-25 14:14:24 +00:00
Roardom
64a60089d9 refactor: treat sprintf as native function
This breaks the pint CI currently. This is probably due to the next version of php (8.4) adding opcache optimizations to sprintf and our config requiring pre-slashing native functions.
2024-08-09 21:08:26 +00:00
HDVinnie
004a719375 Merge pull request #4011 from Roardom/fix-some-user-group-permissions
(Fix) Some user group permissions
2024-08-04 19:46:03 -04:00
HDVinnie
7469a11ea1 add: #4006
- closes #4006
2024-07-28 21:18:09 -04:00
Roardom
2e91e1157f fix: some user group permissions
These permissions were never meant to be directly edited by staff. They should never have been added to the staff user edit page as it just caused confusion when the settings reset at the daily group change. I've now added these settings to the group directly and allow the settings on the user edit page to override the group settings. I refrained from fixing the can_download permission for now, because so many different things affect it and it will need at 3 separate permissions to control everything it does. Trying to fix it will take much more effort than what can be fixed today. Because of this, I removed the setting from the user edit page to reduce confusion from staff who don't realize it is controlled by the scheduler. Relevant issue: #1820.
2024-07-26 22:35:45 +00:00
HDVinnie
eddad86406 fix: phpstan errors
- this commit tackles more phpstan errors from the baseline.
- the 2024_06_19_210338_update_colum_types.php migration will have more added to it. This PR is draft until more baaseline errors are closed.
2024-06-19 21:19:02 -04:00
Roardom
0e0fc3524f refactor: modularize system notifications and prevent replies 2024-06-07 14:08:23 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
11ef47ca09 fix: refresh the torrent before sending to external tracker
We need to populate the status, seeders, leechers, and times_completed fields.
2024-04-20 01:47:32 +00:00
Roardom
899f121e6f fix: add/remove featured torrents to external tracker 2024-04-19 14:29:50 +00:00
Roardom
f61364f803 fix: add torrents to external tracker immediately
Otherwise, we get errors when deleting pending torrents.
2024-04-19 13:39:43 +00:00
HDVinnie
e03db3e6ad update: can_upload validation 2024-03-19 13:05:00 -04:00
Roardom
a37f414145 update: normalize post tips and torrent tips 2024-02-26 09:33:32 +00:00
Roardom
18675b57f1 update: sync peer counts asynchronously
Makes announce processing job code easier to deal with. There is negligible performance loss (<5%) by querying the peer count realtime on the torrents and torrent pages.
2024-02-23 10:30:29 +00:00
HDVinnie
221b9e4dee remove: joypixel emojis 2024-02-22 17:44:53 -05:00
Roardom
76e96dca95 add: emphasis to bookmark button when bookmarked and show bookmark count 2024-02-06 09:08:58 +00:00
HDVinnie
492c97d518 chore: pint 2024-02-04 20:57:34 -05:00
Roardom
8f0bc33058 update: limit user edit interval for torrents/requests 2024-01-28 12:02:09 +00:00
Roardom
5e6eeadc61 fix: case insensitivity duplicate checking in keyword upsert
We were deduping keywords, but we were only checking for exact duplicates. Now we check for case insensitive duplicates, and make sure to update the duplicates on upsert instead of treating the upsert as an insert. Fixes #3412.
2024-01-24 04:51:38 +00:00
HDVinnie
ea0018a862 PHP Style Change (Laravel Pint CI) 2024-01-16 18:05:08 +00:00
Roardom
29b16a1e2f fix: missing mediainfo returning empty string instead of null 2024-01-16 02:26:42 +00:00
HDVinnie
4a4be11d70 add: editor group
- editors only have the ability to edit torrents.
2024-01-15 10:32:58 -05:00
HDVinnie
d5b4b3d7dd update: localize trailers
- performance increase by not having to query tmdb api.
- fixes issue where trailers were only loading on torrent details page and not views where meta partial is used like similar,requests,etc
2024-01-07 22:03:49 -05:00
Roardom
0ef7cc235a fix: phpstan level 7 controller errors 2024-01-07 17:13:20 +00:00
Roardom
575729e805 fix: larastan errors in Helpers\TorrentTools.php 2024-01-03 03:21:46 +00:00
Roardom
eeb13545f6 fix: freeleech token icon
A different variable was passed into the view compared to what was expected.
2023-11-14 18:58:43 +00:00
HDVinnie
3f03214e39 PHP Style Change (Laravel Pint CI) 2023-11-07 23:54:38 +00:00
HDVinnie
656647649f Revert "cleanup: pt.2"
This reverts commit 33d9927abd.
2023-10-12 23:11:20 -04:00
HDVinnie
33d9927abd cleanup: pt.2 2023-10-12 22:41:46 -04:00
HDVinnie
b3f0386149 cleanup: pt.1 2023-10-12 22:30:52 -04:00
Roardom
bc94c0ed5e update: cache torrents in announce by infohash 2023-09-07 03:37:09 +00:00
Roardom
37000e6d3f update: use movie/tv poster component for recommendations 2023-08-30 08:05:21 +00:00
Roardom
2ca7adbbe5 fix: various larastan controller issues 2023-08-25 09:13:18 +00:00
Roardom
6e6f551367 fix: various larastan livewire issues 2023-08-25 06:45:41 +00:00
Roardom
a262891921 update: torrent upload keywords and files
Reduce n+1 queries, fix float being passed to `chunk` instead of int, fix incorrect column name (`torrent_id` is the correct one)
2023-08-23 03:22:56 +00:00
Roardom
40d8934abf update: don't store announce url in torrent file
We previously overwrote the provided PID, but all we need to do is just delete it.
2023-07-31 05:24:26 +00:00
Roardom
4c4583bc86 add: torrent folder name to files list 2023-07-30 04:29:29 +00:00
Roardom
bb5255d968 Revert "update: cache personal freeleech existence instead of its value"
This reverts commit b48a9222d1.
2023-07-28 06:08:55 +00:00
Roardom
b48a9222d1 update: cache personal freeleech existence instead of its value
We only cache it if it exists, so let's not query it every single time it doesn't exist.
We don't remove it from the hourly run command yet so that currently existing freeleeches can be deleted.
2023-07-25 22:48:56 +00:00
Roardom
229eed8091 refactor: use _id suffix on bon_transactions foreign keys 2023-07-22 21:30:50 +00:00
Roardom
5ec59675c4 update: drop position column on distributors
With almost 1000 distributors, it's a nightmare trying to add a new distributor and having to change its position. All the distributors are ordered alphabetically anyways so just order based on the `name` field instead.
2023-07-20 10:30:07 +00:00
HDVinnie
ab1bcce48c PHP Style Change (Laravel Pint CI) 2023-07-18 04:53:41 +00:00
HDVinnie
3330e0aa1f fix: torrent deletion pms
- insert does not set timestamps automatically
2023-07-18 00:52:34 -04:00