Commit Graph

24 Commits

Author SHA1 Message Date
Dane Everitt 1f7fe093ae Correctly validate description for API keys to match model expectations; closes #2457 2020-10-10 17:15:30 -07:00
Dane Everitt d8228f2da8 Allow passing empty values through for variables, covers with test, closes #2433 2020-10-10 16:45:24 -07:00
Dane Everitt d087bebc93 Add some additional test coverage and clean up modification service and suspension service 2020-10-07 21:56:44 -07:00
Dane Everitt 2d01c7b988 Reset is_processing state of a schedule when toggling active/inactive; closes #2425 2020-10-03 19:47:52 -07:00
Dane Everitt f31a6d3967 Fix parameter bindings for client API routes; closes pterodactyl/panel#2359 2020-09-27 10:39:18 -07:00
Dane Everitt 47697e07cf Add test coverage for creating a subuser 2020-09-26 17:25:14 -07:00
Dane Everitt 90ba76c237 Return integration tests to passing state 2020-08-27 21:22:05 -07:00
Dane Everitt 1e19e02398 Fix integration tests to properly account for the rule position in the API 2020-08-27 21:19:01 -07:00
Dane Everitt 4a27e56e08 Fix test 2020-07-26 10:55:30 -07:00
Dane Everitt f0ac0725b6 [Security] Don't return all servers on the system when not a root admin and admin level servers are requested
Cleaned up the API endpoint by simplifying the logic and adds test case to cover this bug.

If you ever need to list _all_ of the servers on the system you should be using the application API endpoint for the servers most likely.
2020-07-26 10:43:46 -07:00
Dane Everitt a430ebb89e Add test coverage for allocation routes 2020-07-10 21:17:28 -07:00
Dane Everitt 4122486468 Fix failing tests (which caught a bug in the new client query) 2020-07-09 21:32:31 -07:00
Dane Everitt 28c5729e48 Add test coverage for creating tasks 2020-06-28 14:41:22 -07:00
Dane Everitt b9a451b528 Add test coverage for schedules 2020-06-28 13:50:07 -07:00
Dane Everitt 63bc4080d5 Add test coverage for reinstall & server renaming 2020-06-28 10:40:41 -07:00
Dane Everitt 4cb4dfecc8 Add test coverage for generating JWTs to connect to websocket 2020-06-28 10:16:15 -07:00
Dane Everitt 7546d54b4e Add test coverage for resource utilization 2020-06-27 12:32:27 -07:00
Dane Everitt 6312b627a3 Add test coverage for power toggling 2020-06-27 12:23:40 -07:00
Dane Everitt 8cfdb3acce Add test cases for sending a command to a server 2020-06-27 12:04:41 -07:00
Dane Everitt 4cb95d8063 Add test coverage for 2fa 2020-06-27 11:06:35 -07:00
Dane Everitt fc261fe20c Add test cases for client servers endpoint 2020-06-27 10:35:02 -07:00
Dane Everitt 4a677aebae Fix the subtest to actually make enough keys for this to be useful 2020-06-25 22:39:45 -07:00
Dane Everitt a81f6882f7 Add test coverage for API key generation and deletion 2020-06-25 22:36:58 -07:00
Dane Everitt 7a5f7b99a7 Add integration test covering account endpoint 2020-06-25 22:12:09 -07:00