Commit Graph

4714 Commits

Author SHA1 Message Date
Red Banana
760c3db300 Adding java 25 to MC eggs (#5617)
Adding java 25 to the MC eggs, as needed for the newest versions.
2026-04-05 20:21:26 +02: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
56fe10fdd6 Throttle email address changes on accounts to limit enumeration (#5612)
This change applies a rate limit to account email changes to prevent
enumeration on the system. The throttle is applied at the account level.
Administrators can still update an account's email address manually to
bypass this restriction if/when necessary.
2026-04-01 17:54:30 -07:00
Daniel Barton
c8a5bf576b Egg: (Paper) Update install script and add Java 25 (#5606)
Update paper egg to use new fill API and add Java 25
2026-03-30 23:35:46 +08:00
DaneEveritt
6d526066ad Update CHANGELOG.md v1.12.2 2026-03-26 16:53:58 -07:00
Carlton
33695c642d Fix transfer status permission checks (#5573) 2026-03-26 16:53:41 -07:00
Loki
a5e278e078 Fix log permissions, HASHIDS env var generation, and the two errors that have been showing up since the v1.12.0 update (#5324) 2026-03-26 16:26:15 -07:00
Daniel Barton
51bbd10a01 Fix: Compare to correct variable in startup variable activity log (#5605)
- Fixes issue where the panel would create activity logs even when the
value didn't change
- Log an empty string instead of displaying "null" when the variable is
empty

Closes #5604
2026-03-26 16:24:02 -07:00
VoidValue
62aab79689 Fix: Enable Select2 dropdowns inside modals on Transfer Server (Search functionality now working) (#5590)
closes #5588
2026-03-26 16:23:34 -07:00
Daniel Barton
c40f68e48a Fix: Revert changes to RunTaskJob traits to fix scheduled tasks (#5607)
This change reverts changes that were made to the traits (direct and
inherited) to RunTaskJob in
https://github.com/pterodactyl/panel/pull/5568/changes#diff-772e8e2cf1167529b09210b934e9c0ec4fe12d99c35317f293d504aaee5cb95c

Closes #5600
2026-03-26 16:21:35 -07:00
DaneEveritt
0f82c10520 Update CHANGELOG.md v1.12.1 2026-02-14 11:33:24 -08:00
DaneEveritt
6c60596421 bump rate limits until we can improve some bad endpoint calls 2026-02-14 11:27:06 -08:00
Daniel Barton
afd306c265 Replace an old reference to quay.io (#5210) 2026-02-14 11:22:54 -08:00
lajczi
0e6b739858 Remove deprecated version in compose file (#5498)
This minor change removes the deprecated `version` property from the
Docker Compose file to avoid the warning when running it, aligning it
with current best practices and recommendations.
2026-02-14 11:22:17 -08:00
Dane Everitt
a81c3b4d52 Add support for stripe-style identifiers on existing models with UUIDs (#5548)
This is a partial implementation to begin moving towards stripe-style
identifiers for resources in the system. Any models with an existing
`uuid` column can easily be updated to return an identifier in the
format of `prfx_xyz` where `prfx` is a four character prefix, and `xyz`
is the UUID, encoded using base-32.

These are quite easy to use within the API layer because we just need to
do one quick transformation to extract the UUID for those models. This
PR implements that logic for servers in the `SubstituteClientBindings`
logic.

A future PR will need to come through and handle identifiers for models
that _don't_ currently use UUIDs for reference that we want to expose to
clients. In those cases it is easier to just generate base-32 encoded
UUID7s that get stored in the database and indexed. They follow the same
base approach, but you don't need to do any transformations in the code
(other than stripping the prefix, unless we decide to store the prefix).

There is also now a `PTERODACTYL_USE_SERVER_IDENTIFIERS` environment
variable, that when set to true, updates the front-end and API response
to use this new identifier in place of the `uuidShort` value.
2026-02-14 11:21:57 -08:00
Dane Everitt
14185a9430 Improve security posture, update dependencies (#5569)
Very minor changes, just adding some default headers in the event people
don't configure this on their webserver. Also updating some packages to
resolve open security alerts.
2026-02-14 11:18:17 -08: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
_KroZen_
151ac019ae Reset page on showOnlyAdmin change (#5559)
closes #5557
2026-02-12 09:51:10 -08:00
VoidValue
e5a9706d6c Fix Unicode character width rendering using Unicode11Addon in xterm.js [TO FIX #2484] (#5524)
fixes #2484

Co-authored-by: cesarmr-github <167689141+cesarmr-github@users.noreply.github.com>
2026-02-11 16:05:02 -08:00
Dane Everitt
7c9c56bf51 Scope the remote node token to limit the servers it can manage for backups/transfers (#5476)
Improves the security posture of things more by limiting the servers
that a node can even communicate about with the Panel.
2026-02-11 16:04:09 -08:00
Mackenzie Molloy
7576d0d08e Added support for viewing and deleting of any Application API Keys (#5176)
This PR closes Issue #5175.

For context, I am aware that Application API Keys are deprecated in
favour of Client API Keys however they are still operational within
Pterodactyl and thus, not fully removed.

Currently in Pterodactyl, as an Admin, you can only view your
Application API Keys on the Admin Panel. In this PR, I made it so all
Application Keys are visible and deletable. The key strings are
obfuscated if the key does not belong to the user viewing.


![image](https://github.com/user-attachments/assets/9edb2533-d99c-4ec3-80cc-25630fd48594)

The reason for adding this is primarily so other admin users can be
aware of and delete another admin user's Application API keys from the
UI. This functionality is useful in the event of a malicious user
compromising an admin account, creating some API Keys to continue their
attacks and the owner of the compromised admin account being unaware of
Application API Keys. In this instance, even after a password reset, the
attack could continue via the Application API without the admin
realising it.

I've tested the creation and deleting of keys along with using keys via
the Application API to ensure no breakages have occurred.

---------

Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2026-02-11 16:03:35 -08:00
Dane Everitt
d648a63e13 Update i18n to resolve issues rendering unclosed div tags (#5547) 2026-02-01 13:19:41 -08:00
Dawid Jaworski
a1f7d287ac feat: Auth Required modal for hytale (#5526)
This PR add modal related to requiring auth to download or update hytale
server.

Egg feature to use: `hytale_oauth`

Preview:


https://github.com/user-attachments/assets/77bd4f16-ba5b-4652-88b1-7abfd4ab45b8
2026-01-12 12:22:49 -06:00
cesarmr-github
676b64562f Remove <strong> tags in admin area notifications (#5520) 2026-01-10 16:39:10 -08:00
AndyIsHereBoi
232ccce061 Update node/view/servers title to be consistent (#5514) 2026-01-10 10:02:54 -08:00
Sam Schumacher
d4580076c2 Cast presigned URL lifespan to integer (#5515) 2026-01-10 10:01:57 -08:00
DaneEveritt
5f1bfd109d Don't include v in the version identifier 2026-01-05 17:18:54 -08:00
Всеволод Мельник
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>
v1.12.0
2026-01-05 16:05:38 -08:00
DaneEveritt
82f22cd7ab update release.yaml for testing 2026-01-04 17:28:44 -08:00
Gio
3dd206ccf7 Clear allocation notes on server deletion (#5157) 2026-01-04 16:44:46 -08:00
Dane Everitt
5e2e827d48 Update CHANGELOG.md (#5502) 2026-01-04 16:32:01 -08:00
Alan Escarcha
ace4c025e9 Update Docker container for Forge installation script (#5424) 2026-01-04 15:49:24 -08:00
Mackenzie Molloy
238d371352 Feature: Sort Users on Admin/Users by Administrators first (#5098) 2026-01-04 11:12:55 -08:00
Mackenzie Molloy
38b7b4bee8 Cast old() returned value to an Integer (#5163) 2026-01-04 11:12:23 -08:00
Dane Everitt
d2949eabd6 Cleanup issues template (#5490) 2026-01-04 11:08:17 -08:00
Anthony
14d666de65 Update contact email for reporting vulnerabilities (#5489) 2026-01-04 12:31:46 -06:00
Dane Everitt
032bf076d9 Ensure that TOTP tokens cannot be reused (#5481) 2025-12-30 12:27:11 -08:00
Dane Everitt
1570ff2509 Don't render raw HTML returned by the alert bag (#5475)
ref: https://github.com/pterodactyl/panel/security/advisories/GHSA-mgr9-6c2j-jxrq
2025-12-26 18:27:23 -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
ca4e123c25 Fix missing evt parameter in websocket logic (#5470) 2025-12-26 13:08:06 -08:00
Dane Everitt
1fdaf008b4 don't endlessly poll websocket when disconnected due to suspension (#5464) 2025-12-26 09:51:54 -08:00
cesarmr-github
8c1d1b12a5 Fix admin server manage boxes misalignment when suspending a server (#5461) 2025-12-26 09:51:42 -08:00
Dane Everitt
e9558328dd Use local certs for webpack serve (#5460) 2025-12-24 17:39:26 -08:00
Dane Everitt
bbb1294267 Support zero-byte file uploads (#5459) 2025-12-24 17:32:53 -08:00
Dane Everitt
a215f6d534 Don't be strict about upload size, so long as it is a positive integer (#5458) 2025-12-24 16:45:48 -08:00
Dane Everitt
895adb6e6f Ensure that a node description can be set, add additional test coverage (#5457) 2025-12-24 16:43:00 -08:00
Dane Everitt
0917e60a3b Return correct error message when deleting self, add test coverage (#5456) 2025-12-24 16:13:31 -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
4b97363d35 Update build workflows (#5449) 2025-12-20 16:43:23 -08:00
Dane Everitt
ab093344e7 Don't delete the initial content when using "Ctrl+Z" to undo (#5448)
Resolves https://github.com/pterodactyl/panel/issues/5263
2025-12-20 16:38:10 -08:00