23 Commits
Author SHA1 Message Date
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 2bd9d8badd Disconnect SFTP/Websocket when a user is removed as a subuser (#5472) 2025-12-26 17:51:25 -08:00
Matthew PennerandDaneEveritt cbcf62086f Upgrade to Laravel 9 (#4413)
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00
Dane Everitt c449ca5155 Use more standardized phpcs 2021-01-23 12:33:34 -08:00
Dane Everitt 11054de5b3 Attempt revocation of JWT access when changing a server's owner
closes #2771
2020-12-06 12:16:12 -08:00
Dane Everitt 2af653733c Insane number of changes required to get the build to post 2019-11-24 20:19:31 -08:00
Dane Everitt 7543ef085d Format files 2019-09-05 21:32:57 -07:00
Dane Everitt 633bba6d6e Add support for external_id on servers, closes #975 2018-02-24 11:57:12 -06:00
Dane Everitt d3dba3fcf9 Fix bug when modifying server descriptions 2018-01-21 14:45:20 -06:00
Dane Everitt 17f6f3eeb6 Add server details modification endpoint to API. 2018-01-20 16:03:23 -06:00
Dane Everitt d2afc29a80 Refactor how repositories for the daemon work. 2018-01-05 18:27:47 -06:00
Dane Everitt 5f9fe4a69b Update calls to missing function 2018-01-05 16:33:50 -06:00
Dane Everitt 958c29cfbf Fix empty server descriptions throwing SQL errors, closes #842 2018-01-01 12:23:45 -06:00
Dane Everitt fb8a26f141 Merge branch 'develop' into feature/api-daemon-changes 2017-09-25 21:46:44 -05:00
Dane Everitt e56f4cdd33 Update license headers on files. 2017-09-25 21:43:01 -05:00
Dane Everitt dd456a4c9c Fix all currently failing tests 2017-09-24 22:28:16 -05:00
Dane Everitt 7d1c233c49 Final adjustments to Daemon <-> Panel communication change 2017-09-24 21:12:30 -05:00
Dane Everitt a8c4d6afdb Update random ID method to use str_random and not random_bytes
The use of random_bytes in combination with bin2hex was producing a lot of duplicate keys when tested in batches of 10k (anywhere from 2 to 6). The use of str_random yielded no duplicates even at scales of 100k keys that were 8 characters.
2017-09-13 23:07:02 -05:00
Dane Everitt 3ee5803416 Massive PHPCS linting 2017-08-21 22:10:48 -05:00
Dane Everitt a4b61846ac Apply fixes from StyleCI (#577) 2017-08-05 17:26:30 -05:00
Dane Everitt f842aae3d3 Add build modification settings, fix exception handling to log to file 2017-07-23 19:57:43 -05:00
Dane Everitt 5144e0126b Add support for more server functionality 2017-07-23 14:51:18 -05:00
Dane Everitt acbc52506c Finish unit tests for all server services 2017-07-22 20:15:01 -05:00