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
Roardom
9c97dd0a3b
update: improve db performance when calculating top movie/tv statistics
...
Improves the query time from 23 s to 1.5 s on my untuned dev instance for top10 queries and yearly overview queries. We have a little bit of wiggle room in history table upserts that we can afford the extra index update on history creation/completion to compensate from these otherwise very slow queries.
2024-09-29 05:39:32 +00:00
HDVinnie
694d3ffa47
Merge pull request #4167 from Obi-Wana/add-donation-package-factory
...
(Add) Donation package factory
2024-09-22 12:25:47 -04:00
Jay Sizzla
ecff1c95e8
Use boolean for active state
2024-09-22 10:31:48 +01:00
Jay Sizzla
85360e9ded
Use boolean for active state
2024-09-22 10:28:00 +01:00
Jay
9df2ac307e
Create DonationPackageFactory
2024-09-21 10:26:49 +01:00
Jay
6807bdf465
Create DonationGatewayFactory
2024-09-21 10:21:07 +01:00
HDVinnie
13208052f5
add: donation transaction encryption
2024-09-17 11:20:30 -04:00
HDVinnie
f890a61771
add: donation scss and package descriptions
2024-09-16 20:54:43 -04:00
HDVinnie
7406a5655f
add: missing icon column
2024-09-12 18:43:56 -04:00
HDVinnie
428bf63910
add: base donation system
2024-09-12 13:03:38 -04:00
Roardom
f51bfab180
add: option to snooze reports
2024-09-03 01:36:07 +00:00
Roardom
3b34151c3c
update: add indexes to torrents table
...
Index on the name makes it so that the query to check if a torrent of the same name already exists upons upload is instant instead of taking 600 ms. Index on user_id, status, anon, deleted_at makes home page load instantly instead of taking 10+ seconds to calculate user stats.
2024-08-31 10:44:52 +00:00
HDVinnie
9fec5295a1
PHP Style Change (Laravel Pint CI)
2024-08-26 20:53:39 +00:00
HDVinnie
f4d6e53227
Merge pull request #4084 from Roardom/fix-bot-seeder
...
(Fix) Bots table seeder
2024-08-26 16:52:39 -04:00
HDVinnie
931c99c690
Merge pull request #4083 from Roardom/system-user-id
...
(Update) Use system user id constant in more places
2024-08-26 16:51:18 -04:00
Roardom
5a9ae37921
update: use system user id constant in more places
2024-08-26 09:28:44 +00:00
Roardom
a9ac8b54e1
fix: bots table seeder
2024-08-26 08:57:20 +00:00