Commit Graph

45 Commits

Author SHA1 Message Date
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
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
HDVinnie 527164bc1a remove: old tests 2023-07-11 13:53:51 -04:00
Shift 0f33d2846d Define test classes as final 2023-07-10 18:54:51 +00:00
Shift 812238b4b8 Adopt PHP attributes in test classes 2023-07-10 18:54:51 +00:00
HDVinnie 2f4406238f Merge branch '6.x.x' into Warnings-System 2022-01-10 20:33:00 -05:00
HDVinnie 2c5e58616f remove: auto ban test 2022-01-10 18:04:20 -05:00
HDVinnie 97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie 41b617bb2e update: laravel 7 support 2020-07-19 17:33:50 -04:00
HDVinnie 62f8d60194 tests: console commands 2020-02-25 15:35:46 -05:00
HDVinnie 9c85e8f029 tests: console commands 2020-02-25 13:03:55 -05: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 d5aa4b9ea1 Generate unit tests for console commands 2020-01-22 17:19:03 +00:00
Laravel Shift d7719da7ac Generate unit tests for form requests 2020-01-22 17:19:02 +00:00
HDVinnie f19899caab (Update) Code Style 🚀
- php-cs-fixer
2019-09-17 18:48:44 -04:00
HDVinnie a96f116c0c (Add) Laravel Default Tests 🆕 2019-09-17 18:40:16 -04:00