Commit Graph

733 Commits

Author SHA1 Message Date
Roardom
596019ff53 update: improve cheated torrent algorithm 2025-05-28 12:26:59 +00:00
Roardom
aee98af699 Revert "automation: update schema dump"
This reverts commit 343a12d329.
2025-05-02 19:37:24 +00:00
Roardom
ddb0f37690 Revert "add: tmdb content rating"
This reverts commit c40334332d.
2025-05-02 19:37:19 +00:00
unit3d-bot
343a12d329 automation: update schema dump 2025-04-29 15:43:34 +00:00
AnabolicsAnonymous
c40334332d add: tmdb content rating 2025-04-29 10:41:43 -05:00
unit3d-bot
38abd5098f automation: update schema dump 2025-04-15 13:32:22 +00:00
HDVinnie
3daf9dee41 Merge branch 'development' into playlist-suggestions 2025-04-15 09:30:42 -04:00
unit3d-bot
2fbfb85c49 automation: update schema dump 2025-04-15 11:43:11 +00:00
Roardom
c9e58f6f56 add: playlist suggestions
Allow other users to suggest torrents to add to other users' playlists.
2025-04-15 11:41:22 +00:00
unit3d-bot
8e81c3ce1f automation: update schema dump 2025-04-15 08:39:50 +00:00
Roardom
e032d0f858 add: description to playlist categories 2025-04-15 08:37:51 +00:00
unit3d-bot
d6d27252b7 automation: update schema dump 2025-04-09 21:32:11 +00:00
Roardom
e3cbfd7d7f refactor: split tmdb recommendations into movies and tv 2025-04-07 17:20:57 +00:00
Roardom
69363b7d7a remove: seasons, episodes, guest_stars
These tables and models aren't used anymore. Seasons and episodes aren't used because most torrents do not follow tmdb's episode and season ordering, but instead follow tvdb's, so it is more accurate to specify the episode and season number directly. Guest stars haven't been used for a long time, if ever.

Fixes #4565
2025-04-03 09:05:19 +00:00
Roardom
9efc2d3c5c add: playlist categories 2025-04-01 09:54:31 +00:00
Roardom
ea1bdca818 update: store null for metadata id if they do not exist
And make it difficult / encourage users to submit the ids instead of leaving them empty.
2025-03-25 23:19:10 +00:00
Roardom
7998c4a204 add: setting to automatically unbookmark torrents upon completion
Only every 15 minutes for now instead of upon immediate completion, but it makes the code much easier to implement.
2025-03-23 21:17:11 +00:00
unit3d-bot
0f65b822cc automation: update schema dump 2025-03-19 01:05:49 +00:00
HDVinnie
8bef41483c Merge pull request #4569 from Roardom/tmdb-prefix 2025-03-18 21:04:28 -04:00
HDVinnie
82870ff6c6 (Update) GitHub actions (#4571) 2025-03-18 01:28:19 -04: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
7889c71618 refactor: use unsigned int for igdb
Use the correct type for the external id.

Step 3 in cleaner meta fetching code.
2025-03-16 20:58:30 +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
5a6259cea7 remove: sd content and stream optimized flags
SD content is represented by the resolutions table now instead of this flag. Most people prefer web-dls over stream-optimized encodes these days.
2025-03-09 03:33:32 +00:00
HDVinnie
6e2c8f569d Merge pull request #4492 from Roardom/moderation-status-enum
(Refactor) Use moderation status enum and cast
2025-03-05 06:16:23 -05:00
Jay Sizzla
761a7617c8 Fix TorrentRequestClaimFactory 2025-02-27 13:39:46 +00:00
Jay
1b1e8399c4 Code cleanup & improvements
Co-authored-by: Roardom <78790963+Roardom@users.noreply.github.com>
2025-02-27 13:09:23 +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
HDVinnie
7879b437ec Merge pull request #4497 from Roardom/public-private
(Fix) Store user-uploaded files in private directories
2025-02-25 07:42:38 -05: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
7fffd0dea6 fix: 2024_01_15_151522_update_groups_table.php
- incorrect columns and table names
2025-02-23 21:50:47 -05:00
HDVinnie
1d5e8e4d2b Merge pull request #4486 from Roardom/reports-index
(Update) Add index to reports table for mod navbar query
2025-02-20 18:06:18 -05:00
Roardom
60ab467605 update: add index to reports table for mod navbar query
A query quering by these columns is executed every http request for moderator navbars, so speeding it up is useful.
2025-02-19 06:49:45 +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
HDVinnie
c48d062a75 Merge pull request #4469 from Roardom/normalize-featured 2025-02-18 10:32:14 -05: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
3c3d69a508 fix: incorrect bon earning description 2025-02-04 15:26:41 +00: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
aa6da08814 fix: decoding null user fields in htmlspecialchars_decode migration 2025-01-20 09:44:16 +00:00
HDVinnie
0356b4cd6d Merge pull request #3222 from Roardom/bbcode-improvements
(Update) Remove XSS cleaner and remove XSS vulnerabilities
2025-01-19 23:01:33 -05:00
Roardom
ad716d7cc3 update: remove XSS cleaner and remove XSS vulnerabilities
We've been mostly relying on the 3rd party xss cleaner to make sure user submitted content is clean. This PR fixes up any leftover holes in the bbcode parser that allow xss vulnerabilities, and as a result, the 3rd party library isn't needed anymore. It cleans responsibly by first, running `htmlspecialchars()` over the content, followed by sanitizing the untrusted urls and whitelisting their protocol.
2025-01-20 02:52:42 +00:00
Roardom
51501e7720 fix: class name of bon earning condition table seeder 2025-01-19 13:49:20 +00:00
HDVinnie
306cd7a3d9 Merge pull request #4337 from Roardom/playlist-last-added
(Update) Save timestamps of when torrents are added to playlists
2025-01-17 00:33:47 -05:00
HDVinnie
d63480597a Merge pull request #4406 from Roardom/bon-wage-refactor 2025-01-16 17:06:53 -05:00
Roardom
d922562f86 update: make bonus point allocation more customizable 2025-01-16 21:40:25 +00:00
HDVinnie
7fcd4d0133 add: history soft deletes 2025-01-14 12:53:13 -05:00
clandestine8
28678ab0b8 fix: Blank NFO in Torrent Factory due to encoding issues when displaying factory generated NFOs. 2025-01-11 11:14:17 -05:00
HDVinnie
68e9e5125c PHP Style Change (Laravel Pint CI) 2024-12-09 18:45:49 +00:00
Jay Sizzla
4230d62df0 Add latest Torrent and Request comments to home page 2024-12-09 18:42:58 +00:00