35 Commits
Author SHA1 Message Date
Robert Dennis 676d25c0fd wait for lock properly (#5638)
This PR is a minimal change that acquires a lock on the target model's
row, rather than calling sharedLock() on the model instance.
2026-05-29 23:47:58 -04:00
Dane Everitt 7ffcd63631 Attach a scope(s) to JWTs created by the panel (#5636)
Necessary for proper token identification on Wings.
2026-05-23 11:15:36 -07:00
Dane Everitt 0e74f3aade Improve SFTP session revocation to cover password changes and account deletion (#5568)
This expands upon previous work done to better disconnect users from
SFTP when different events occur within Pterodactyl. This new logic also
accounts for password changes and their account being deleted entirely
from the system.

These events now trigger background jobs that will reach out to every
node they are associated with to ensure they're disconnected if
currently connected.
2026-02-14 10:51:26 -08:00
Dane Everitt 0917e60a3b Return correct error message when deleting self, add test coverage (#5456) 2025-12-24 16:13:31 -08:00
Matthew Penner 8ca098940a chore: update composer dependencies (#5198)
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-10-21 19:18:20 -06:00
Matthew Penner 1d38b4f0e2 Laravel 10 (#4706) 2023-02-23 12:30:16 -07:00
Matthew PennerandDaneEveritt cbcf62086f Upgrade to Laravel 9 (#4413)
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00
DaneEveritt cca0010a00 Update egg import/update logic to all use the same pathwaus 2022-05-15 14:40:19 -04:00
DaneEveritt 34ffaebd3e Run cs-fix, ensure we only install dependency versions supporting 7.4+ 2022-05-04 19:01:29 -04:00
Dane Everitt fde0660e6c Return tests to passing state 2021-09-11 12:02:15 -07:00
Dane Everitt 25d9ba4779 Run php-cs-fixer 2021-08-15 17:20:36 -07:00
Dane Everitt d049839ffc Fix deleting a backup that is locked and failed; closes #3404 2021-06-13 10:26:47 -07:00
Dane Everitt 7676f7dd66 Allow modification of server build settings even when node is offline 2021-03-21 11:49:42 -07:00
Dane Everitt 663143de0b Merge branch 'develop' into dane/restore-backups 2021-01-25 19:16:40 -08:00
Dane Everitt c449ca5155 Use more standardized phpcs 2021-01-23 12:33:34 -08:00
Dane EverittandMatthew Penner a043071e3c Update to Laravel 8
Co-authored-by: Matthew Penner <me@matthewp.io>
2021-01-23 12:12:54 -08:00
Dane Everitt a75a347d65 Remove suspended & installing fields, replace with single status field 2021-01-17 15:51:56 -08:00
Dane Everitt 910a2d7a23 Back to checks all around 2020-11-03 19:07:52 -08:00
Dane Everitt 6cb21fb920 Add test coverage for allocation auto-assignment service 2020-10-31 22:17:32 -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 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 14099c164b Add test coverage for schedule service 2020-10-14 21:17:57 -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 8697185900 Fix up database creation and handling code for servers; ref #2447 2020-10-11 11:59:46 -07:00
Dane Everitt 69f27ed807 Update and test variable validator logic 2020-10-10 16:46:56 -07:00
Dane Everitt bf6e1ce966 Document what is being tested a little better so it isn't just a wall of code 2020-10-09 22:12:45 -07:00
Dane Everitt c2db163731 Update node finding service logic to be single query; add test coverage 2020-10-09 22:01:25 -07:00
Dane Everitt 192a578a03 Add basic test coverage for server creation functionality 2020-10-09 21:08:27 -07:00
Dane Everitt 2560163655 Modify how deletion service works (actually fixes #2085); cover changes with test 2020-10-08 21:08:55 -07:00
Dane Everitt 7a643beee0 Add test coverage for startup modification 2020-10-08 20:38:21 -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