Commit Graph

67 Commits

Author SHA1 Message Date
Roardom
d74aa2c0ed fix: registered user is greeted in chatroom test 2026-01-27 12:49:33 +00:00
Roardom
1335fe5ca8 fix: add foreign keys everywhere 2026-01-27 09:22:34 +00:00
Jay
a00c58200d add: upload contests
Add a modular base set-up that allows adding more different event types.
This one adds upload contests. More can be added the same way with minimal coding efforts.

Implementing a completely automated system may not be feasible, as there are too many individual variations and nuances to account for.
2026-01-10 09:48:40 +00:00
hier0
2eae647a70 add: selective fetching to FetchMeta command 2025-12-29 01:06:09 -08:00
HDVinnie
0a7814f453 update: cleanup logic and test 2025-09-07 16:12:51 -04:00
Roardom
a84c6de560 refactor: use laravel 7 seeder naming conventions
In laravel 7 and onward, seeder naming convention was changed to be singular and without `Table`.
2025-06-13 18:05:32 +00:00
Roardom
725d13b0c4 refactor: remove unused ticket/comment events/listeners/notifications
These aren't currently being used. If this functionality is to be completed, it should be easy enough to find the code through the git history again. However, UNIT3D doesn't really use events and it'd be better for most of the notification sending to be inline (except the stale one of course).
2025-06-10 07:28:34 +00:00
HDVinnie
094f64ed46 refactor: mass private message system
- Dedicated CRUD controller
- Allow selected groups only
- Old Mass action controller will be moved to own Mass validate users controller in separate pr
- closes #4690
2025-05-06 08:37:54 -04: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
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
HDVinnie
a364cf3954 Merge branch '8.x.x' into stream-sd 2025-03-09 00:14:06 -05: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
Roardom
933efb785b update: inline client stats query
The query only takes 6 seconds on my local untuned machine. Caching it for an hour is probably fine, we have worse queries out there, and indexing isn't an option since this table is write-heavy. Reduces overall complexity and prevents blank page after cache is reset.
2025-03-06 16:53:06 +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
Ion Bazan
9d89eaa05f Replace Markdown engine 2024-11-04 12:00:07 +08:00
Ion Bazan
4df1b977e3 Test with CommonMark too 2024-11-03 19:11:32 +08:00
Ion Bazan
55a569a259 revert MarkdownExtra changes 2024-11-03 17:53:55 +08:00
Ion Bazan
4ebbfbd0f5 Cover Markdown with tests 2024-11-02 13:57:32 +08:00
Ion Bazan
19488c45d8 Improve registration tests 2024-11-01 02:01:41 +08:00
HDVinnie
a295c81fe9 Merge pull request #4046 from HDInnovations/Staff-Audit-Activity
(Add) Staff Audit Activity
2024-08-15 15:55:01 -04:00
HDVinnie
f92194281c refactor: release years
- remove the release_year column from the torrents table and just search the movie/tv tables instead
2024-08-13 22:18:38 -04:00
HDVinnie
bca4576d4c update: test 2024-08-13 21:21:23 -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
Roardom
2a4d822a7c remove: unused bot columns 2024-06-09 05:32:05 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
HDVinnie
99f5f33283 update: commands 2024-05-06 15:54:19 -04:00
HDVinnie
ce83d21186 remove: vendor cleanup 2024-04-29 11:24:38 -04:00
HDVinnie
fa2a5a2dab chore: actions 2024-04-14 18:53:08 -04:00
Roardom
eda5f28d4c update: set default topic state filter per forum
Useful for forums dedicated to fixing bugs or adding suggestions. This way, topics can be closed when bugs are fixed or suggestions are implemented, and opening the forum only shows relevant bugs/suggestions by default. Topics with different states can be accessed by changing the filter back to `Any`.
2024-03-06 12:02:23 +00:00
Roardom
a37f414145 update: normalize post tips and torrent tips 2024-02-26 09:33:32 +00:00
HDVinnie
4918799072 Merge pull request #3567 from Roardom/many-internals
(Update) Allow users to be part of multiple internal groups
2024-02-23 21:02:02 -05:00
Roardom
c3c95c2d41 update: allow users to be part of multiple internal groups 2024-02-23 23:57:12 +00:00
Roardom
3847bde266 update: swap sleep in command for confirm
Will speed up some test cases too.
2024-02-23 13:55:22 +00:00
Roardom
686f1560ca update: separate forum categories into their own model 2024-02-12 07:39:52 +00:00
Roardom
f30dec4a0c update: remove show_forum permission
This permission is used the same as the `read_topic` permission.
2024-02-10 19:50:05 +00:00
HDVinnie
fdf90b808d (Add) System required groups validation (#3502)
* add: system required validation

- this will stop site operators from renaming system required groups which breaks things like:

`$validatingGroup = cache()->rememberForever('validating_group', fn () => Group::query()->where('slug', '=', 'validating')->pluck('id'));`
2024-02-08 11:45:22 -05:00
HDVinnie
0f53169cef add: missing commit for PR #3389 2024-01-15 21:47:06 -05:00
Roardom
d613092ed8 update: allow empty peer id prefix for client blacklist
Simple way to block all clients in emergencies.
2024-01-12 11:50:01 +00:00
HDVinnie
de87f975a6 PHP Style Change (Laravel Pint CI) 2024-01-09 21:13:21 +00:00
Roardom
e405c7322f update: improve not enough bon for torrent request error message 2024-01-09 02:51:44 +00:00
Roardom
00be899977 fix: more reasonable torrent form max sizes 2024-01-02 12:46:34 +00:00
Roardom
33a1da18c7 refactor: use plural table names
Leave out history and tv for now as their plural isn't obvious.
2023-12-23 03:44:45 +00:00
HDVinnie
5cf5a677c0 update: StoreSubtitleRequestTest 2023-08-26 20:51:10 -04:00
HDVinnie
dfe027fced fix: tests 2023-08-19 12:45:23 -04:00
HDVinnie
f2010af491 update: tests 2023-08-16 16:01:18 -04:00
HDVinnie
b44ace6694 update: deps + fix tests 2023-08-15 23:59:32 -04:00
HDVinnie
cdf7291839 Merge branch '7.x.x' into Test-Suite 2023-08-15 23:49:26 -04:00
HDVinnie
0854104639 update: more tests + sail docker-compose 2023-08-14 12:20:57 -04:00
Roardom
9c0c474a9a refactor: rename graveyard to resurrections
Make everything consistent with the "plural noun" style
2023-07-24 01:07:35 +00:00