Commit Graph

27 Commits

Author SHA1 Message Date
Roardom
90ba18fc0e security: is_owner authorization when updating groups 2025-05-26 03:01:25 +00:00
Roardom
2d2d3546dc fix: updating system required group
Regression from #4380.
2024-12-29 05:57:40 +00:00
Roardom
1e342d98fe add: edit forum permissions when creating/editing group 2024-12-16 11:04:27 +00: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
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
2e57262e97 fix: strict types phpstan errors 2024-05-23 15:38:35 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
HDVinnie
08abf6d8ca add: request #3692
- closes #3692
2024-05-07 20:21:27 -04:00
HDVinnie
5682bd03f8 update: rules 2024-04-14 20:25:09 -04:00
HDVinnie
fa2a5a2dab chore: actions 2024-04-14 18:53:08 -04:00
HDVinnie
b40250f88d fix: form request 2024-04-14 18:21:36 -04:00
HDVinnie
6e03edd3a7 fix: #3687
- closes #3687
2024-04-02 10:31:38 -04:00
Jay Sizzla
160bb26c8b Add perks to the groups requirements view 2024-03-21 16:27:41 +01:00
Roardom
6617794e0c fix: group requirement properties
The wrong names were used for some.
2024-03-04 06:00:36 +00:00
Roardom
3b70a91cb1 fix: validation of groups when autogroup is disabled 2024-02-24 22:32:35 +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
Roardom
8fc47aecba update: allow customization of group requirements 2024-02-08 14:15:52 +00:00
HDVinnie
0f53169cef add: missing commit for PR #3389 2024-01-15 21:47:06 -05:00
Roardom
15b31c777e fix: add type hints to form requests 2023-08-26 08:42:00 +00:00
HDVinnie
f741cd9747 PHP Style Change (Laravel Pint CI) 2023-06-20 04:36:43 +00:00
Shift
e53c00447a Convert validation rules to array syntax 2023-06-20 04:35:46 +00:00
Roardom
d501027475 fix: updating group should allow slots to be nullable
If the field isn't filled out, that means it will be null which signifies the the group has no slots, i.e. the slots are unlimited.
2023-05-09 05:46:04 +00:00
HDVinnie
ab84efc70b PHP Style Change (Laravel Pint CI) 2023-03-09 02:05:00 +00:00
HDVinnie
2cfbe9c759 update: group form requests 2023-03-08 21:03:44 -05:00
HDVinnie
472c820f99 update: UNIT3D linting
- github action updated with new ruleset in pint.json
- codebase linted with new ruleset
- contributors can now run `./vendor/bin/pint`
- action workflow will auto correct any lint issues upon commit/opened pull request
2023-02-02 08:02:34 -05:00
Roardom
db323fcb24 refactor: move group requests to form requests 2023-01-08 05:04:49 -06:00