Commit Graph

626 Commits

Author SHA1 Message Date
Roardom
6a103cee97 refactor: use laravel notifications for system user private messages 2025-02-02 18:48:27 +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
HDVinnie
4b212d08ce Merge pull request #4442 from Roardom/fix-markdown-escape
(Fix) HTML inside wikis and pages being escaped
2025-01-20 08:26:04 -05:00
Roardom
23f1fb89f2 fix: html inside wikis and pages being escaped
Staff are trusted and should be allowed to add custom html/styles/scripts to site pages and wikis, as they were before. Regression from #3222.
2025-01-20 10:37:33 +00:00
HDVinnie
d474ee3be4 update: php8.4 support
- makes unit3d php8.4 + required
- fixes multiple implicitly to explicit nullable type
- dependency updates
- github action updates
- carbon 2 needs to move to carbon 3 in separate pr
2025-01-20 00:04:35 -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
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
Roardom
97b058872c fix: only show year in similar torrent deletion 2024-12-15 13:21:06 +00:00
HDVinnie
8a5c9ae43c Merge pull request #4360 from HDInnovations/Request-4353
(Add) Display reports on torrent page
2024-12-01 22:25:20 -05:00
HDVinnie
72dd3c5159 add: display reports on torrent page
- closes request #4353
2024-12-01 22:15:43 -05:00
HDVinnie
192b5ed15d chore: remove unused imports that pint is missing 2024-12-01 20:52:32 -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
HDVinnie
cabf501fdf Merge pull request #4345 from Roardom/unregistered-torrents 2024-11-18 08:26:33 -05:00
Roardom
18b3735085 add: log unregistered torrents 2024-11-13 09:56:43 +00:00
HDVinnie
8b481d2d04 Merge pull request #4305 from IonBazan/feature/markdown-entities
(Refactor) Use CommonMark for markdown parsing
2024-11-12 13:24:13 -05:00
Ion Bazan
9d89eaa05f Replace Markdown engine 2024-11-04 12:00:07 +08: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
HDVinnie
7f9cd2abcf Merge pull request #4309 from Roardom/search-trait
(Refactor) Move TorrentFilter trait into TorrentSearchFiltersDTO
2024-11-03 21:13:05 -05:00
Roardom
625f20fc15 update: save timestamps of when torrents are added to playlists 2024-11-03 10:51:39 +00:00
Roardom
40c2889613 refactor: move TorrentFilter trait into TorrentSearchFiltersDTO
The trait is only used in the one place (apart from being used in the request search, which it shouldn't have been used for in the first place).
2024-11-02 10:48:09 +00:00
Roardom
0e4bcb570d refactor: use ANSI-compatible syntax for raw database queries 2024-11-02 04:26:49 +00:00
HDVinnie
98b7bad411 add: donation package soft deletes
- fixes #4277
2024-10-31 23:09:35 -04:00
Ion Bazan
87e547b444 Add internal note for staff invitations 2024-10-30 11:14:48 +08:00
Roardom
a843a41abc fix: meilisearch playlist search
Requires resyncing meilisearch torrents index.
2024-10-23 19:53:23 +00:00
Roardom
3c7d94d1f0 fix: add torrent trump filtering to meilisearch search
Requires reimporting torrents into meilisearch.
2024-10-20 21:57:20 +00:00
HDVinnie
b17e8d927c Merge pull request #4254 from Roardom/fix-collection-search
(Fix) Meilisearch search for collection id
2024-10-20 17:31:44 -04:00
HDVinnie
2cd11b4fb6 Merge pull request #4237 from Roardom/tmdb-rating-sorting
(Update) Allow sorting torrent list by tmdb rating
2024-10-20 17:31:20 -04:00
HDVinnie
c8662e0348 Merge pull request #4249 from Roardom/bot-bool-active 2024-10-20 09:54:30 -04:00
Roardom
17e0640ad2 fix: meilisearch search for collection id
Requires reimporting torrents into meilisearch.
2024-10-20 13:50:40 +00:00
Roardom
e4ac5caa30 fix: use bool for bot active instead of int
Also update docblocks. Related: #4085.
2024-10-20 10:26:00 +00:00
Roardom
69d1bb47c1 fix: use bool for rss is_private instead of int 2024-10-20 10:14:28 +00:00
Roardom
60a909bf33 update: allow sorting torrent list by tmdb rating 2024-10-20 10:01:04 +00:00
Roardom
ff5e30295a add: staff-configurable events with daily prizes 2024-10-15 08:20:13 +00:00
HDVinnie
cf60ab6edc update: torrent model 2024-10-07 08:56:06 -04:00
HDVinnie
64107b3776 Merge pull request #4164 from Roardom/revert-api-torrent-resources
(Update) Don't query database in filter api take 2
2024-10-02 18:00:25 -04:00
Roardom
3878bb85d7 update: add indexes to audits to speed up staff activity counts
Speeds up the queries from 1.1 s to 75 ms.
2024-09-27 07:39:25 +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
Roardom
b313751581 Revert "revert: #4131"
This reverts commit 1bd9fbab12.
2024-09-22 10:00:12 +00: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
428bf63910 add: base donation system 2024-09-12 13:03:38 -04:00
HDVinnie
1bd9fbab12 revert: #4131 2024-09-05 08:23:28 -04:00
HDVinnie
12f0f225d5 Merge pull request #4135 from HDInnovations/Alpine-Components
(Refactor) Alpine components
2024-09-03 21:38:01 -04:00
HDVinnie
6325973fc9 Merge pull request #4134 from Roardom/snoozable-reports
(Add) Option to snooze reports
2024-09-03 12:20:12 -04:00
HDVinnie
b9eb4547c6 Merge pull request #4131 from Roardom/meilisearch-array
(Update) Don't query database in filter api
2024-09-03 12:18:20 -04:00