Commit Graph
2038 Commits
Author SHA1 Message Date
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 ce0783640c preserve file state when refreshing page closes #5450 2026-06-22 12:46:32 -04:00
robert dennis 380e5c5605 normalize directory names for folder creation closes #5466 2026-06-21 18:36:33 -04:00
Aditya Dubey 4de5009014 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-14 20:08:14 -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
Camille M. d75b538b45 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-06-14 20:08:14 -04:00
VoidValue 232e6cf4ac Handle server maintenance status in ServerRow (#5525)
Currently, when a node is under maintenance, the server row keeps
loading indefinitely. This means that there will be no requests to the
resource API, and the user will be able to know this without directly
accessing the server.

old:
<img width="1347" height="603" alt="tempsnip"
src="https://github.com/user-attachments/assets/523b6321-6ecc-45d2-8cb4-b6e14a473a44"
/>
new:
<img width="1258" height="618" alt="tempsnip2"
src="https://github.com/user-attachments/assets/5f4b77d5-1c49-4f30-a068-a96f8bc83177"
/>

(I reopened it because I decided to delete my fork to clean things up.
And use better techniques)
2026-06-14 19:45:03 -04:00
VoidValue f217fcabe7 Update Laravel validation doc links to 11.x (#5575)
Replace references to the Laravel 5.7 validation docs with links to the
11.x documentation in resources/views/admin/eggs/variables.blade.php


<img width="374" height="25" alt="image"
src="https://github.com/user-attachments/assets/38090fe3-6ed8-4a73-b700-f8ce8d3060ab"
/>
2026-06-14 19:44:07 -04:00
AhmadandRobert Dennis 776b64d6ba ​Fix: Admin API mobile layout & bulk button states (#5614)
Fixes a couple of UI/UX issues on the Admin Application API page
(`new.blade.php`):

- Mobile Layout: Fixed the radio buttons stacking vertically and
breaking the page on small screens. The table now scrolls horizontally
and stays clean.
- Button States: The bulk select buttons ("Read All", etc.) now
dynamically change color to indicate which option is currently active.

Screenshots:
- Before:
![Screenshot_20260402_172507](https://github.com/user-attachments/assets/2eea7798-5b18-48e4-89a4-aebedb16972e)

- After:
![Screenshot_20260402_172522](https://github.com/user-attachments/assets/7a6b1f8d-89e0-402f-af77-9edd83d5fb97)

Co-authored-by: Robert Dennis <31261583+robertdrakedennis@users.noreply.github.com>
2026-06-14 19:41:30 -04:00
MagicDev c227a20f32 fix/apikey-overflow (#5563)
This fixes an overflow bug that occurs on smaller screens on the
ApiKeyModal opening.

**Context**:
Whenever you create an `Client Api Key` the `ApiModal` is opened on the
user's interface and the key is displayed, but as it wasn't correctly
*overflow-protected* it overflows on smaller screens.

- Before:

![Screenshot_20260209-175019](https://github.com/user-attachments/assets/fa14b7c5-6b90-43f9-9ae0-07a87f485fda)
- After:

![Screenshot_20260210-133232.png](https://github.com/user-attachments/assets/c2e907b1-a075-4d7c-8b18-6980c7475337)

Closes #5625
2026-06-05 11:12:09 -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