41 Commits
Author SHA1 Message Date
SkyMulley 04dec3dd86 bugfix: user creation now properly appears in action log (#5644)
### Description

User creation was not properly logged within the action log, neither
from sub-user invite or manual user creation. This PR adds the relevant
log and includes testing.

### Manual testing scenarios

1. Invite a user within any created server
2. Create a user in the admin
3. Verify both users appear as an action in the action log

### Questions or comments

AI was used for secondary testing, QA and code review. No code was
written by AI.

### Resolved issues:
1. [x] resolves pterodactyl/panel#5631
2026-06-01 11:55:37 -04: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 032bf076d9 Ensure that TOTP tokens cannot be reused (#5481) 2025-12-30 12:27:11 -08:00
Dane Everitt a264791fd4 Update PHP and JS dependencies to latest versions and modernize codebase (#5446) 2025-12-20 15:55:13 -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
Alex 28f7a809a5 fix: exception localization (#3850)
resolves #3849
2022-01-15 08:10:37 -08:00
Dane Everitt 2b3303c46b Fix changing a user password to not incorrectly handle logging out old sessions; closes #3531 2021-08-15 17:37:12 -07:00
MiaandDane Everitt bda1ff50ab [UI] Display the 2FA token, show spinner on load (#3367)
Co-authored-by: Dane Everitt <dane@daneeveritt.com>
2021-08-02 20:39:12 -07:00
Dane Everitt 8c7d785c9e Ensure a created_at value is set on recovery tokens; closes #3163 2021-03-21 10:43:01 -07:00
Dane Everitt c449ca5155 Use more standardized phpcs 2021-01-23 12:33:34 -08:00
Dane Everitt c522935403 Fix logic when generating recovery codes and update migration 2020-07-02 22:11:07 -07:00
Dane Everitt a998b463e3 Generate recovery tokens when enabling 2FA on an account 2020-07-02 21:55:25 -07:00
Dane Everitt 7ee509d8c2 urlencode company name; closes #1690 2020-07-02 21:14:53 -07:00
Dane Everitt eb39826f46 Add base logic to configure two factor on account 2019-12-22 17:03:44 -08:00
Dane Everitt c087f6429f Temporary patch to get user management pages displaying correctly 2019-12-08 11:02:59 -08:00
Dane Everitt 7543ef085d Format files 2019-09-05 21:32:57 -07:00
Dane Everitt 47c12929c4 Fix two-factor token creation for iOS devices, closes #1624 2019-08-03 12:37:02 -07:00
Dane Everitt 092e7e79ff Change 2FA service to generate the secret on our own and use an external QR service to display the image 2019-06-21 21:55:09 -07:00
saibotk 7277b6449b Replace 2FA QR Code generation (#1548)
Due to the Google API for generating the 2FA QR code will be shut down on 14.04.2019, this adds the package "pragmarx/google2fa-qrcode" and updates "pragmarx/google2fa" to version 5.x. 
Due to now using BaconQR, Pterodactyl now needs the php-imagick extension to render the images.
2019-04-27 14:18:12 -04:00
Dane Everitt d2bc791d74 Fix links sent to users when accounts are created
closes #1093
2018-06-30 18:47:31 -07:00
Lance Pioch e2dc0638d9 Fix app/ spelling errors 2018-05-13 11:12:41 -04:00
Dane Everitt dd54c5abb1 Fix user password handling in Admin CP 2018-02-07 21:13:40 -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 60eb60013c Update repository base code to be cleaner and make use of PHP 7 features 2018-01-04 22:49:50 -06:00
Dane Everitt 4457634127 Fix user creation to use UUIDs correctly
Also updates the notification send method to be cleaner and more maintainable
2018-01-01 12:13:08 -06:00
Dane Everitt 5efee34378 close #840 2017-12-30 20:25:04 -06:00
Dane Everitt 975597b4d0 Implement changes to administrative user revocation, closes #733 2017-12-03 14:00:47 -06:00
Dane Everitt c7c2c1a45e Implement changes to 2FA system (#761) 2017-11-18 13:35:33 -05:00
Dane Everitt 774c9680a3 More test suite coverage 2017-09-26 22:16:26 -05:00
Dane Everitt e56f4cdd33 Update license headers on files. 2017-09-25 21:43:01 -05:00
Dane Everitt 30660cfac2 Apply fixes from StyleCI (#609) 2017-08-30 21:14:20 -05:00
Dane Everitt e045ef443a Should wrap up the base landing page stuff for accounts, next step is server rendering 2017-08-30 21:11:14 -05:00
Dane Everitt 67ac36f5ce Refactor obscure service names to be clearer 2017-08-27 15:10:51 -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 4da7922de6 Code cleanup to use new findCountWhere function 2017-08-05 17:23:02 -05:00
Dane Everitt c1a078bdcf Add support for node management actions using new services 2017-08-05 17:20:07 -05:00
Dane Everitt 275c01bc37 Update user service to be more separated 2017-08-04 19:11:41 -05:00