Commit Graph

499 Commits

Author SHA1 Message Date
BillyOutlast
2b34e71d06 Very basic data is now show on porn torrents for title, description, and a link to the scene ID 2025-08-31 22:37:18 -04:00
BillyOutlast
dad2871927 Adding ids for Porn 2025-08-31 20:08:37 -04:00
BillyOutlast
77f4558fdc Adding Porn Scene Scrapers 2025-08-31 19:14:13 -04:00
BillyOutlast
a241e4731e Updating to setup porn category 2025-08-31 18:49:51 -04:00
Roardom
db2f1f2c99 fix: only reset unapproved requests when torrent is deleted
If the request has already been paid out, it should not be reset.
2025-06-28 04:28:14 +00:00
Roardom
926747e905 update: collection on similar meta and collection posters
Show all movies in a collection that the current movie is in, in the similar meta. Also show movie posters instead of a collection card in the relations panel on the torrent page. Reorganize the relations so that plurals are correct and match the relation stored in the database. Even though there can be only one collection per movie as defined by tmdb, that's not the way the tables are stored and the queries are done, so use plural naming for now.
2025-04-02 09:16:32 +00:00
Roardom
e4c07b5f52 fix: rely on if tmdb/igdb exists to determine meta
Instead of blindly using the respective tmdb associated with the torrent's category. Also fixes wishlist notifications if a user has a wishlist entry with a null tmdb and a user uploads a torrent without a tmdb.
2025-03-26 21:35:41 +00:00
Roardom
ae33c74f2b refactor: prefix tmdb metadata models with tmdb
Will help for when there exists other metadata sources available (such as already done for igdb)

Step 4 in cleaner meta fetching code.
2025-03-17 20:41:01 +00:00
Roardom
32cf8da4db refactor: split tmdb into movie_id and tv_id
Step 2 in cleaner meta fetching code.
2025-03-16 22:55:24 +00:00
Roardom
24ed359288 fix: auto fetch igdb metadata on torrent/request create/update 2025-03-15 13:47:59 +00:00
Roardom
8fde78124b refactor: save igdb games to the database
Step 1 towards cleaner meta fetching code.

Users with a game category must run `php artisan fetch:meta` after migration.
2025-03-11 19:48:25 +00:00
Roardom
a447269552 refactor: use moderation status enum and cast
For consistency and less magic numbers hard coded everywhere.
2025-02-26 14:23:02 +00:00
Roardom
1af1862229 fix: store user-uploaded files in private directories
Filenames were randomized for a few of these to prevent public access, but it's still much better to put user-uploaded files behind auth.
2025-02-24 16:03:01 +00:00
HDVinnie
46bd45b9b1 Merge pull request #4490 from Roardom/fix-featured 2025-02-23 09:41:10 -05:00
Roardom
cbbd074a43 fix: featured torrent icon
Regression from #4469

The select argument in the query was missing in a few places.
2025-02-20 16:11:14 +00:00
Roardom
b2e29cfcf0 fix: migrate boolean columns to tinyint(1)
These columns were previously tiny ints without the (1) display width or regular ints, or smallints. They should all be tinyint(1).
2025-02-19 06:25:21 +00:00
Roardom
df9fa5004c fix: normalize torrent featured flag
When the featured flag goes out of sync with the featured_torrents table (for reasons still unknown), the torrent is permanently labeled as freeleech, while 100% of traffic is always credited.
2025-02-10 17:47:12 +00:00
Roardom
6a103cee97 refactor: use laravel notifications for system user private messages 2025-02-02 18:48:27 +00:00
HDVinnie
d2452f478f Merge pull request #4447 from Roardom/spellcheck
(Add) Spell check ci
2025-01-28 12:00:43 -05:00
Roardom
604b7e1937 add: spell check ci
Just an initial portion for now fixing incorrect text and preventing future incorrect text. Eventually, I'd like to fix everything still listed under "ignoredWords" in cspell.json.
2025-01-24 11:30:34 +00:00
Roardom
868ad35aa4 refactor: swap magic RedirectResponse withX('Y') to with('X', 'Y')
Allows ctrl+clicking to access the underlying function unlike the previous magic implementation. Probably also negligibly faster.

Swapped all instances of `>withSuccess(` -> `>with('success', `, `>withWarning(` -> `>with('warning', `, and `>withInfo(` -> `>with('info', ` with ide's find and replace.
2025-01-21 16:05:11 +00:00
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