Commit Graph

30 Commits

Author SHA1 Message Date
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
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
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
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
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
Roardom
c3c95c2d41 update: allow users to be part of multiple internal groups 2024-02-23 23:57:12 +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
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
b44ace6694 update: deps + fix tests 2023-08-15 23:59:32 -04:00
HDVinnie
0854104639 update: more tests + sail docker-compose 2023-08-14 12:20:57 -04:00
HDVinnie
8daf39c331 update: test suite 2023-07-11 16:48:07 -04:00
Shift
c76a36dd29 Generate unit tests for form requests 2023-07-11 18:27:19 +00:00
Ben Johnson
65d602f058 tests: Move scaffolded tests into Todo directory
Currently, the test suite requires way longer than necessary because it runs all the scaffolded tests, even though they exit immediately.

Moving them until they are implemented will speed-up the test suite execution time dramatically.
2020-02-17 15:56:39 -05:00
HDVinnie
987bed7a7b Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-13 21:45:47 +00:00
Laravel Shift
d7719da7ac Generate unit tests for form requests 2020-01-22 17:19:02 +00:00