2031 Commits
Author SHA1 Message Date
Aditya Dubey eed61bf072 Fixed compress activity log showing {{file}} instead of the archive filename (#5637)
Fix for #5630 

The compress_one string in resources/lang/en/activity.php referenced
:file as the placeholder, but the backend passes the filename under a
files array. This caused the activity log to render {file}} instead of
the actual filename

Changed :file to :files.0 to correctly resolve the first filename from
the array.

Solution was identified by the issue reporter (@marioenache).
2026-06-08 10:40:19 -04:00
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
Camille M. 1f342ed991 Add a link to the panel update guide (#5593)
This simply adds a link to [this
page](https://pterodactyl.io/panel/1.0/updating.html) when the panel
isn't up to date.
2026-05-31 16:28:57 -04:00
Daniel Barton afd306c265 Replace an old reference to quay.io (#5210) 2026-02-14 11:22:54 -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
_KroZen_ 151ac019ae Reset page on showOnlyAdmin change (#5559)
closes #5557
2026-02-12 09:51:10 -08:00
VoidValueandcesarmr-github 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
Mackenzie MolloyandDaneEveritt 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
Mackenzie Molloy 38b7b4bee8 Cast old() returned value to an Integer (#5163) 2026-01-04 11:12:23 -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 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 bbb1294267 Support zero-byte file uploads (#5459) 2025-12-24 17:32:53 -08:00
Dane Everitt 0917e60a3b Return correct error message when deleting self, add test coverage (#5456) 2025-12-24 16:13:31 -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
Dane Everitt f1ea7ec90d Load IBM Plex Sans from code and export as part of bundle (#5447)
Removes the need to load any external resources for fonts. Resolves https://github.com/pterodactyl/panel/issues/5343
2025-12-20 16:37:54 -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 8be2b892c3 fix!: use POST instead of DELETE when disabling 2FA
Signed-off-by: Matthew Penner <me@matthewp.io>
2024-10-24 11:27:42 -06:00
Dawid Jaworski 2dcd39c9c7 fix: nullable egg features (#5135) 2024-07-05 13:22:47 -06:00
Dawid Jaworski 8ae76c3889 feat: add egg features editor in Admin UI (#5130) 2024-06-29 12:59:05 -06:00
BeastGamer81 466dd61856 chore: fix "Manager User" typo in admin page title (#5114) 2024-06-29 12:22:11 -06:00
Ivy 512cfad6bf chore: change "Github" to "GitHub" for consistency (#4946) 2024-06-29 12:20:35 -06:00
Daniel Barton 37055fe5b4 ui(admin): fix maintenance mode defaulting to the wrong value (#4927) 2024-05-21 13:08:01 -06:00
Daniel BartonandAlan Escarcha dbd7f31c41 Update Minecraft Eula link (#5090)
Co-authored-by: Alan Escarcha <alanescarcha11@gmail.com>
2024-05-06 18:50:06 -06:00
Daniel Barton 2ffe019675 ui(server): support for decompressing .7z files (#5016) 2024-05-04 17:16:00 -06:00
Matthew Penner 0dad4c5a48 ui(admin): better handling of manual HTML rendering 2024-04-11 10:47:00 -06:00
Matthew Penner f671046947 admin: tweaks to validation and rendering 2024-04-10 18:13:25 -06:00
Matthew Penner 8abf2d8106 ui(server): fix defaultValue not being used with VariableBox select 2023-10-20 19:30:25 -06:00
Boy132 67b2d944a6 ui(client): allow MassActionBar to be clicked through (#4753) 2023-08-22 19:12:57 -06:00
Vadym 2d4071ca25 do not show strings with password in notification text 2023-08-22 15:03:47 -10:00
Boy132 a83058668f only files check for "read-content", check folders for "read"
fixes #4792
2023-08-22 15:00:25 -10:00
Devonte W aea5c474db fix(resources/api): allow svg xml format (#4705) 2023-02-23 12:19:58 -07:00
Matthew Penner fbdac5b63f ui(server): fix reinstall_failed conflict state 2023-01-17 15:21:31 -07:00
Matthew Penner 63a179d7f3 app: fix email config keys 2022-12-12 14:21:47 -07:00
Matthew Penner 598c956e4e ui(server): fix file uploads being canceled instead of completed 2022-12-04 16:36:53 -07:00
Charles Morgan a4e547dc67 ui(server): fix console searchbar z-index (#4587) 2022-11-27 19:38:28 -07:00
Dane Everitt df9a7f71f9 Support canceling file uploads (#4441)
Closes #4440
2022-11-21 13:58:55 -07:00
Matthew Penner 2f4a60c961 ui(admin): change MB suffixes to MiB
Closes #4542
2022-11-21 13:10:00 -07:00
Matthew Penner df2402b54f Streaming Transfers (#4548) 2022-11-14 18:25:07 -07:00
Boy132 032e4f2e31 Apply node maintenance mode to servers (#4421) 2022-11-06 16:02:30 -07:00
Lance Pioch 9b218f2190 URL encode password in JDBC connection string (#4527) 2022-11-06 15:24:33 -07:00
Boy132 f2095e815e Allow users to change the server description (#4420) 2022-10-31 10:20:53 -06:00
Lance Pioch e49ba65709 Fix config key names (#4464) 2022-10-23 18:51:20 -06:00
Dane Everitt d1beb2e1ad Fix file verification on upload; just block folders (#4442) 2022-10-16 17:24:49 -06:00
Matthew PennerandDaneEveritt cbcf62086f Upgrade to Laravel 9 (#4413)
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00