SkyMulley
850f2b9a4f
Disable reinstall action during normal server status if "skip egg install scripts" setting is enabled ( #5696 )
...
### Description
You're able to enable a "skip egg install scripts" per server, while
still being able to reinstall a server. With this setting enabled,
reinstalling a server has no functional use, the server is locked and
shutdown, then simply unlocked immediately afterwards after a success
signal from wings. This PR disables the reinstall button when skip
install scripts is enabled for both the user and admin, with a little
component telling you why you cannot reinstall. The reinstall button is
not disabled if the server is in a status that reinstall could resolve
(eg. failed install).
### Resolved issues:
1. [x] resolves pterodactyl/panel#5306
2026-08-10 11:39:22 -04:00
robert dennis
1d791ad615
upgrade to laravel 12.x
2026-07-28 04:44:29 +09:00
robert dennis
73d2550e1b
relax overly strict permission guards on running schedules
2026-07-28 00:00:51 +09:00
robert dennis
c39a7be8f5
Improve email handling
2026-06-28 17:52:34 -04:00
robert dennis
ace8effd07
Improve backup handling
2026-06-28 17:51:42 -04:00
robert dennis
913b354aff
Improve schedule handling
2026-06-28 17:51:28 -04:00
SkyMulley
de034cf090
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-14 20:08:14 -04:00
EgoMaw and MrSoulPenguin
c6033400b4
Update email validation to be strict ( #5583 )
...
fixes #5576
---------
Co-authored-by: MrSoulPenguin <28676680+MrSoulPenguin@users.noreply.github.com >
2026-06-14 20:08:14 -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
2bd9d8badd
Disconnect SFTP/Websocket when a user is removed as a subuser ( #5472 )
2025-12-26 17:51:25 -08:00
Dane Everitt
bbb1294267
Support zero-byte file uploads ( #5459 )
2025-12-24 17:32:53 -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
Boy132
f2095e815e
Allow users to change the server description ( #4420 )
2022-10-31 10:20:53 -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
Dane Everitt
c748fa9842
fix: exclude any permissions not defined internally when updating or creating subusers ( #4416 )
2022-10-09 16:14:16 -06:00
DaneEveritt
b052d29a5f
Fix failing integration test
2022-06-18 14:25:24 -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
e88d24e0db
Don't allow allocations to be deleted by users if no limit is defined; closes #3703
2022-05-07 15:05:28 -04:00
Dane Everitt
25d9ba4779
Run php-cs-fixer
2021-08-15 17:20:36 -07:00
Dane Everitt
22f1341fea
reformat
2021-08-07 09:19:21 -07:00
Dane Everitt
75e0a862e7
Add another sanity check for websocket permissions
2021-08-07 09:16:29 -07:00
Dane Everitt
d3e3b1db38
Test that a deleted backup makes an audit log entry
2021-07-11 12:15:39 -07:00
Charles Morgan
76ac1998cf
Don't allow backups to be made via schedules if limit = 0 ( #3323 )
2021-05-16 09:47:36 -07:00
Julien Tant
b10f6184e0
remove the test preventing disabled schedule to be manually executed
2021-04-24 18:30:48 -07:00
Dane Everitt
be26921fcc
Merge branch 'develop' into dane/restore-backups
2021-01-30 10:10:29 -08:00
Dane Everitt
5515871b2f
Turns out I hate that huge space formatting, disable that mess
2021-01-27 20:52:11 -08: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 Everitt and Matthew Penner
a043071e3c
Update to Laravel 8
...
Co-authored-by: Matthew Penner <me@matthewp.io >
2021-01-23 12:12:54 -08:00
Dane Everitt
aab353d91e
Merge pull request #3011 from AreYouRlyScared/addcronmonth
...
Adds months for schedules
2021-01-20 20:10:26 -08: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
a75a347d65
Remove suspended & installing fields, replace with single status field
2021-01-17 15:51:56 -08:00
Charles Morgan
ffeedf17e4
Adds months for schedules
...
Adds month variable for schedules
2021-01-16 22:07:39 -05:00
Dane Everitt
45a3533f1e
Update WebsocketControllerTest.php
2020-12-24 10:23:04 -08:00
Dane Everitt
ef787bbd78
Update DeleteSubuserTest.php
2020-12-06 15:26:20 -08:00
Dane Everitt
f99ac0ecde
Fix some failing test cases
2020-11-06 22:33:39 -08: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
65d04d0c05
Correctly handle schedule task deletion and avoid errors; closes #2534
2020-10-22 20:54:58 -07:00
Dane Everitt
e7c64bc60e
Add test coverage for schedule execution
2020-10-14 21:06:27 -07:00
Dane Everitt
d8228f2da8
Allow passing empty values through for variables, covers with test, closes #2433
2020-10-10 16:45:24 -07:00
Dane Everitt
2d01c7b988
Reset is_processing state of a schedule when toggling active/inactive; closes #2425
2020-10-03 19:47:52 -07:00
Dane Everitt
f31a6d3967
Fix parameter bindings for client API routes; closes pterodactyl/panel#2359
2020-09-27 10:39:18 -07:00
Dane Everitt
47697e07cf
Add test coverage for creating a subuser
2020-09-26 17:25:14 -07:00
Dane Everitt
90ba76c237
Return integration tests to passing state
2020-08-27 21:22:05 -07:00
Dane Everitt
1e19e02398
Fix integration tests to properly account for the rule position in the API
2020-08-27 21:19:01 -07:00
Dane Everitt
4a27e56e08
Fix test
2020-07-26 10:55:30 -07:00