Commit Graph

716 Commits

Author SHA1 Message Date
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
HDVinnie
198bd2feb2 fix: sync editor and torrent mod migrations with groups seeder 2024-11-26 23:59:29 -05:00
HDVinnie
a56c0cf73d (Add) New torrent moderator group (#4351)
* add: new torrent moderator group

- this group is limited to moderating and editing torrents via is_editor and is_torrent_modo group permissions
2024-11-26 20:17:49 -05:00
Roardom
18b3735085 add: log unregistered torrents 2024-11-13 09:56:43 +00:00
HDVinnie
8eb1e64cc1 Merge pull request #4300 from Roardom/ansi-db
(Refactor) Use ANSI-compatible syntax for raw database queries
2024-11-03 21:15:37 -05:00
Roardom
625f20fc15 update: save timestamps of when torrents are added to playlists 2024-11-03 10:51:39 +00:00
HDVinnie
cfc218faf9 Merge pull request #4301 from HDInnovations/Bug-4277 2024-11-02 09:33:27 -04:00
Roardom
0e4bcb570d refactor: use ANSI-compatible syntax for raw database queries 2024-11-02 04:26:49 +00:00
Ion Bazan
67a34a4283 Update Pest tests 2024-11-01 15:28:28 +08:00
HDVinnie
98b7bad411 add: donation package soft deletes
- fixes #4277
2024-10-31 23:09:35 -04:00
Ion Bazan
b5d6b316ef Add test 2024-10-31 02:47:46 +08:00
HDVinnie
25031dcf76 chore: pint ci 2024-10-30 07:29:13 -04:00
Ion Bazan
87e547b444 Add internal note for staff invitations 2024-10-30 11:14:48 +08:00
HDVinnie
06238cae56 update: mysql-schema.sql 2024-10-18 08:36:47 -04:00
Roardom
ff5e30295a add: staff-configurable events with daily prizes 2024-10-15 08:20:13 +00:00
Jay Sizzla
05b727f722 Change mediainfo to longtext 2024-10-10 15:28:48 +01:00
HDVinnie
a256f0a129 Merge pull request #4187 from Roardom/fixup-audits-query 2024-09-29 07:11:41 -04:00
Roardom
a444c0c5a5 fixup! update: add indexes to audits to speed up staff activity counts
Somehow forgot to include the migration in PR #4181, whoops!
2024-09-29 05:45:45 +00:00