Commit Graph

25 Commits

Author SHA1 Message Date
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
Ion Bazan
67a34a4283 Update Pest tests 2024-11-01 15:28:28 +08: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
Jay
2ac770746a (Add) Active and inactive uploader staff view (#3824)
Co-authored-by: HDVinnie <hdinnovations@protonmail.com>
2024-07-03 11:38:11 -04:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +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
417cf366f2 fix: phpstan database factory errors 2024-01-08 12:38:34 +00:00
HDVinnie
6af8a72af6 update: test-suite
- Tests: 422 incomplete, 318 passed (684 assertions) and coverage Total: 22.7%.
2023-07-17 18:30:58 -04:00
HDVinnie
b41e44310c update: factories
- update existing factories
- add missing factories
2023-07-10 12:54:19 -04:00
HDVinnie
2694409262 fix: group tests 2022-08-28 23:39:38 -04:00
StyleCI Bot
db58733d02 Apply fixes from StyleCI 2022-01-19 19:53:29 +00:00
Shift
1cb135b552 Remove unnecessary $model property 2022-01-19 19:51:29 +00:00
HDVinnie
dd19889ee6 Merge branch '6.x.x' into Code-Style 2022-01-10 17:03:50 -05:00
HDVinnie
d601775e7e tests: use Faker methods instead of accessing Faker properties 2022-01-08 03:43:50 -05:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie
abea2d1ea5 update: factories 2020-12-15 19:06:09 -05:00
HDVinnie
67831cd7e0 update: laravel 8 support 2020-10-06 01:45:47 -04:00
HDVinnie
9f2fdb5335 Apply fixes from StyleCI
[ci skip] [skip ci]
2020-09-08 22:25:50 +00:00
Laravel Shift
add31768f5 Shift to class based factories 2020-09-08 22:24:30 +00:00
HDVinnie
6ba593c8e9 tests: update group test 2020-04-01 00:41:47 -04:00
HDVinnie
de0b19f27d Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-14 21:42:32 +00:00
HDVinnie
f6bb39b56e tests: update model factories 2020-02-14 16:39:13 -05:00
HDVinnie
20add0bebc Apply fixes from StyleCI
[ci skip] [skip ci]
2020-01-22 17:30:02 +00:00
Laravel Shift
69e87ee1d4 Generate model factories 2020-01-22 17:19:00 +00:00