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
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
ec7231bd4a
Lock resources more explicitly when creating databases or backups ( #5613 )
...
Addresses an issue where the concept of a lock was there, but no actual
lock was acquired.
2026-04-01 18:46:01 -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
Всеволод Мельник and DaneEveritt
09caa0d499
Merge commit from fork
...
* Add throttling to resource creation endpoints
* Fix middleware registration for the throttlers
* Lock the server's resource models when adding new ones
* Throttle subusers even more
---------
Co-authored-by: DaneEveritt <dane@daneeveritt.com >
2026-01-05 16:05:38 -08:00
Gio
3dd206ccf7
Clear allocation notes on server deletion ( #5157 )
2026-01-04 16:44:46 -08:00
Dane Everitt
032bf076d9
Ensure that TOTP tokens cannot be reused ( #5481 )
2025-12-30 12:27:11 -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
Sergey Serpichenko
a7c1882edf
FIX: Renamed 'batch_uuid' field to 'batch' in ActivityLogService ( #5396 )
...
The field was renamed to match the column name in the database and to maintain consistency across the codebase.
2025-12-24 14:27:38 -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
Daniel Barton
953575ff5c
fix: remove special handling for ^C stop command ( #5132 )
2024-06-29 12:31:10 -06:00
Daniel Barton
844537df38
fix: CIDR_MAX_BITS restricting to /27 instead of /25 ( #5111 )
2024-06-29 12:24:10 -06:00
Matthew Penner
1d38b4f0e2
Laravel 10 ( #4706 )
2023-02-23 12:30:16 -07:00
Matthew Penner
8978da335e
app(telemetry): disable server_usage for eggs and nests
2022-12-12 16:07:33 -07:00
Matthew Penner
dd69652942
Fix No application encryption key has been specified error while trying to generate said key
2022-12-04 16:09:42 -07:00
Matthew Penner
fa7503816a
Add telemetry prompt in p:environment:setup command
2022-12-04 14:59:45 -07:00
Matthew Penner
250c557e23
telemetry: include more detailed server egg and nest usage
2022-12-01 12:09:27 -07:00
Matthew Penner
ee033d6d08
Telemetry ( #4564 )
2022-11-22 13:39:43 -07:00
Matthew Penner
039ad4abf0
api(server): log activity when server description is changed
2022-11-21 13:43:19 -07:00
Matthew Penner
df2402b54f
Streaming Transfers ( #4548 )
2022-11-14 18:25:07 -07:00
Lance Pioch and Matthew Penner
16c2b606b4
Add ManifestDoesNotExistException and Solution ( #4455 )
...
Co-authored-by: Matthew Penner <matthew@pterodactyl.io >
2022-10-31 10:29:10 -06:00
Matthew Penner
2828a4b1e0
fix AssetManifestService error when loading the panel
2022-10-14 11:00:10 -06:00
Matthew Penner and DaneEveritt
cbcf62086f
Upgrade to Laravel 9 ( #4413 )
...
Co-authored-by: DaneEveritt <dane@daneeveritt.com >
2022-10-14 10:59:20 -06:00
Matthew Penner
7b91c38396
Lookup both A and AAAA records for node FQDNs ( #4398 )
...
Allows IPv6 addresses to be used, instead of IPv4 being required.
Closes <https://github.com/pterodactyl/panel/issues/4011 >
2022-10-04 20:03:52 -06:00
Matthew Penner
ff37c51eef
Use different clone logic for arrays ( #4402 )
...
Closes <https://github.com/pterodactyl/panel/issues/3985 >
2022-10-04 19:48:08 -06:00
Matthew Penner
68e9100e57
admin(eggs): add force_outgoing_ip option ( #4323 )
...
Closes #3841
2022-09-25 13:24:54 -06:00
DaneEveritt
2eda1995b9
Send server name and description to wings to make available to replacers
2022-07-24 17:15:24 -04:00
DaneEveritt
dc90d8b505
Include the "user_uuid" claim on JWTs for easier Wings user tracking
2022-07-04 17:34:56 -04:00
DaneEveritt
271197e823
Fix cs-fix run
2022-06-26 16:21:07 -04:00
DaneEveritt
0520014c0f
Add support for tracking when an activity event is triggered from an API key
2022-06-18 12:07:44 -04:00
DaneEveritt
9b7af02690
Add activity logging to most of the endpoints
2022-05-29 19:26:28 -04:00
DaneEveritt
287fd60891
Log activity when modifying account details
2022-05-29 18:48:35 -04:00
DaneEveritt
0621d8475d
Return tests to passing now that we don't ignore a critical event...
2022-05-29 17:52:14 -04:00
DaneEveritt
09832cc558
Ensure we can properly create an activity log entry; always return soft-deleted models
2022-05-29 17:07:54 -04:00
DaneEveritt
2fc5a734f9
Update backup logic to use activity logs, not audit logs
2022-05-29 16:19:04 -04:00
DaneEveritt
cbecfff6da
Add activity logging for files
2022-05-29 13:56:39 -04:00
DaneEveritt
0999ad7ff0
Add activity logging for authentication events
2022-05-28 17:03:58 -04:00
DaneEveritt
5bb66a00d8
Add new activity logging code to replace audit log
2022-05-28 15:36:26 -04:00
DaneEveritt
b051718afe
Fix up API handling logic for keys and set a prefix on all keys
2022-05-22 19:03:51 -04:00
DaneEveritt
cca0010a00
Update egg import/update logic to all use the same pathwaus
2022-05-15 14:40:19 -04:00
DaneEveritt
c8faf64059
Support naming docker images on eggs; closes #4052
...
Bumps PTDL_v1 export images to PTDL_v2, updates the Minecraft specific eggs to use named images.
2022-05-07 17:45:22 -04:00
DaneEveritt
34ffaebd3e
Run cs-fix, ensure we only install dependency versions supporting 7.4+
2022-05-04 19:01:29 -04:00
Alex
28f7a809a5
fix: exception localization ( #3850 )
...
resolves #3849
2022-01-15 08:10:37 -08:00
Matthew Penner
4fa38b8e9c
Fix wings receiving wrong suspended status on sync ( #3667 )
...
Due to wings pulling the server configuration rather than the Panel pushing it,
wings gets the wrong status for a server if both the status update and sync request
are ran in a transaction due to the status not being persisted in the database.
Fixes #3639
2021-10-07 08:46:09 -07:00
Dane Everitt
5fdb0a5909
Correctly expose OOM disable state for a server
2021-09-13 21:02:12 -07:00
Matthew Penner
bc25468802
server: fix build modification not being persisted ( #3610 )
2021-09-12 23:18:17 -06:00
Dane Everitt
e96ead4c4d
Update API calls to Wings to only pass the required details with the changes to the installer system
2021-08-29 14:09:43 -07:00
Dane Everitt
2d47f986ee
Replace calls to server patch with a manual sync method
2021-08-29 13:32:55 -07:00