Commit Graph

363 Commits

Author SHA1 Message Date
Dane Everitt
8dbf60de2c Update JWT library to support PHP 8; bumps minimum PHP version for Pterodactyl to 7.4 2021-01-20 21:21:28 -08:00
Dane Everitt
4fd057fd25 Actually fix the test... 2021-01-20 20:36:53 -08:00
Matthew Penner
1183fdaa57 Cleanup models, fix test using old factory 2021-01-20 21:19:24 -07:00
Dane Everitt
f363558373 Merge branch 'develop' into laravel-8 2021-01-20 20:13:23 -08:00
Dane Everitt
aab353d91e Merge pull request #3011 from AreYouRlyScared/addcronmonth
Adds months for schedules
2021-01-20 20:10:26 -08:00
Matthew Penner
8307b40c1b tests(integration): disable failing server deletion test 2021-01-20 15:45:55 -07:00
Matthew Penner
ef1fa1c8f9 tests(integration): fix new tests using legacy factories 2021-01-20 15:42:00 -07:00
Matthew Penner
617ebae9ae tests(integration): fix new tests using legacy factories 2021-01-20 15:37:01 -07:00
Matthew Penner
64af4e8032 Merge branch 'develop' into laravel-8 2021-01-20 15:32:21 -07:00
Dane Everitt
63f945bc3a Add test coverage to cehck the authorization state of client resources 2021-01-19 21:20:55 -08:00
Dane Everitt
eecd550c48 Make debugging test failures easier 2021-01-19 20:11:00 -08:00
Charles Morgan
ffeedf17e4 Adds months for schedules
Adds month variable for schedules
2021-01-16 22:07:39 -05:00
Matthew Penner
8c76192649 cleanup some files 2021-01-16 17:58:54 -07:00
Matthew Penner
1b05ca10e4 attempt to fix failing integration tests 2021-01-16 11:28:46 -07:00
Matthew Penner
4ac49fbfb3 integration test cleanup 2021-01-15 19:07:03 -07:00
Matthew Penner
c59604c345 attempt to fix integration tests 2021-01-15 18:59:16 -07:00
Matthew Penner
130c63a181 service(NodeJWTService): fix usage of deprecated parameters 2021-01-15 18:45:01 -07:00
Matthew Penner
0118c4df80 can these integration tests just pass, kthx 2021-01-15 18:28:47 -07:00
Matthew Penner
ebc6efc5f4 update tests to use new factories 2021-01-15 18:24:10 -07:00
Dane Everitt
45a3533f1e Update WebsocketControllerTest.php 2020-12-24 10:23:04 -08:00
Dane Everitt
44575439d6 💣 2020-12-24 10:22:32 -08:00
Dane Everitt
f300577963 Nuke useless tests 2020-12-24 09:16:30 -08:00
Dane Everitt
ef787bbd78 Update DeleteSubuserTest.php 2020-12-06 15:26:20 -08:00
Dane Everitt
5d23d894ae Update NodeUpdateServiceTest.php 2020-12-06 12:25:36 -08:00
Dane Everitt
8a97b73a6c Fix failing tests 2020-12-06 11:25:26 -08:00
Dane Everitt
7ebe04fb91 Don't allow blank passwords on the password change endpoint; closes #2750 2020-11-29 13:28:46 -08:00
Dane Everitt
16f49f8dc1 Close cleanup; only try to run power actions against non-suspended & installed servers; closes #2760 2020-11-29 12:50:22 -08:00
Dane Everitt
2f2d105a4f Fix test cases 2020-11-10 20:13:55 -08:00
Dane Everitt
c20d53bb17 Always return the primary allocation for a server, even without the allocation permissions 2020-11-07 09:57:53 -08:00
Dane Everitt
f99ac0ecde Fix some failing test cases 2020-11-06 22:33:39 -08:00
Dane Everitt
910a2d7a23 Back to checks all around 2020-11-03 19:07:52 -08:00
Dane Everitt
7618f306bd Support functionality for per-egg features 2020-11-02 20:20:36 -08:00
Dane Everitt
6cb21fb920 Add test coverage for allocation auto-assignment service 2020-10-31 22:17:32 -07:00
Dane Everitt
d493685518 Add test coverage for allocation assignment endpoint 2020-10-31 21:57:27 -07:00
Dane Everitt
73b795faba Correctly reset a schedule if there is an exception during the run stage; closes #2550 2020-10-26 20:54:15 -07:00
Dane Everitt
8c6327fd32 Let MySQL do the time logic when looking for tasks 2020-10-25 15:06:54 -07:00
Dane Everitt
65d04d0c05 Correctly handle schedule task deletion and avoid errors; closes #2534 2020-10-22 20:54:58 -07:00
Dane Everitt
26de4493dd Set notes to null when assigning allocation; ref #2553 2020-10-19 21:08:40 -07:00
Dane Everitt
1f5e0c0334 Update build modification service and cover logic with test cases
closes #2553
2020-10-19 21:07:07 -07:00
Dane Everitt
5763493c6c Allow setting the backup limit via the API; closes #2535 2020-10-17 14:23:00 -07:00
Dane Everitt
839e277763 Fix exception when passing location IDs to creation service; closes #2529 2020-10-17 11:52:21 -07:00
Dane Everitt
cd3572730b Add test coverage to ensure filters don't unexpectedly get broken 2020-10-15 21:52:26 -07:00
Dane Everitt
40d44598da Add test coverage for change to endpoint 2020-10-15 21:32:49 -07:00
Dane Everitt
14099c164b Add test coverage for schedule service 2020-10-14 21:17:57 -07:00
Dane Everitt
e7c64bc60e Add test coverage for schedule execution 2020-10-14 21:06:27 -07:00
Dane Everitt
c1ee0ac4f8 Add support for executing a scheduled task right now 2020-10-14 20:38:59 -07:00
Dane Everitt
1ad8b3f37d Do not mark a server as "not installed" when updating it's startup arguments 2020-10-12 20:12:34 -07:00
Dane Everitt
ebe3f6a32a Fix unit tests 2020-10-11 12:35:54 -07:00
Dane Everitt
8697185900 Fix up database creation and handling code for servers; ref #2447 2020-10-11 11:59:46 -07:00
Dane Everitt
7b0f998f0b Return the correct server & subuser counts for user listing; closes #2469 2020-10-10 18:06:42 -07:00