Commit Graph
521 Commits
Author SHA1 Message Date
robert dennis e6f1b328f6 review cleanup 2026-11-05 15:40:41 -05:00
robert dennis a0a0bb99ab avatar actions 2026-10-20 15:55:48 -04:00
robert dennis f7aa208cab fix ci 2026-10-20 15:46:16 -04:00
ItzLinaton 60b72365d8 Feat: Custom User Avatars (V2) (#7295)
Added custom user avatar support.

## Extra Details:
- Users can upload custom `PNG, JPEG, SVG, WebP, AVIF`, and `ICO`
avatars.
- Added avatar management to the user account area.
- Added admin controls to update and remove user avatars.
- Custom User avatars appear in:
  - Panel Navbar.
  - Panel Admin Activity Logs.
  - Server Sub user List.
  - Server Activity Logs
  - Personal Account Activity Logs.
  - Server Ownership Details.
  
---

<img width="1329" height="327"
alt="{B32EBD7F-1FCA-4356-966C-0D60A9A23E49}"
src="https://github.com/user-attachments/assets/881fa5b3-9599-4370-975d-83b6bd91a7d1"
/>

---

<img width="997" height="847" alt="adminpage"
src="https://github.com/user-attachments/assets/989acbcc-351c-431b-ab7f-557ba4c7e070"
/>

---

<img width="955" height="781" alt="serverinfo"
src="https://github.com/user-attachments/assets/6556afac-1971-4112-9686-b71137072c5f"
/>

---

<img width="1376" height="919" alt="userarea"
src="https://github.com/user-attachments/assets/d49f0ddb-1f38-4884-b186-8db78bfed4b0"
/>

---

<img width="936" height="232" alt="userslist"
src="https://github.com/user-attachments/assets/0e8a4b4a-719a-4d52-a485-d7577736b43f"
/>

---

<img width="983" height="772" alt="activity"
src="https://github.com/user-attachments/assets/37ef7176-a804-43f7-ae32-ae65e1a2671b"
/>
2026-10-20 15:09:33 -04:00
Robert Dennis 282476cdb6 supported versions ci (#7285)
Runs CI against the versions and operating systems the install guide
supports.
2026-10-13 21:07:43 -04:00
robert dennis 6423ef047e simpler tag sync 2026-10-12 05:18:59 -04:00
robert dennis cd564977cd admin tag checks 2026-10-12 05:18:59 -04:00
robert dennis f3eb892552 egg tag export 2026-10-12 05:18:59 -04:00
robert dennis 703d632b2e unused activity filters 2026-10-12 05:18:58 -04:00
robert dennis 5fbcede5bb query builders 2026-10-12 05:18:58 -04:00
robert dennis e72b364d21 port scope 2026-10-12 05:18:58 -04:00
robert dennis fa2b88a270 tag resolution 2026-10-12 05:18:58 -04:00
robert dennis 643267c7cf activity facets 2026-10-12 05:18:58 -04:00
robert dennis 9ec637c6bb node jwt 2026-10-12 05:18:58 -04:00
robert dennis 713ba4a720 tag resolution 2026-10-12 05:18:58 -04:00
robert dennis c1183db698 activity queries 2026-10-12 05:18:58 -04:00
robert dennis e5f51dc327 server helpers 2026-10-12 05:18:58 -04:00
robert dennis 94c311529b node jwt 2026-10-12 05:18:58 -04:00
robert dennis 725f74164b deployment queries 2026-10-12 05:18:58 -04:00
robert dennis 1866ce9bfa action validation: rest 2026-10-12 05:18:58 -04:00
robert dennis 5963d4bfc3 action validation: eggs and nodes 2026-10-12 05:18:58 -04:00
robert dennis c8b13d4444 model docblocks 2026-10-12 05:18:58 -04:00
robert dennis 4a74b49db0 drop fractal 2026-10-12 05:18:58 -04:00
robert dennis 987eab6f72 drop json guard 2026-10-12 05:18:57 -04:00
robert dennis ae296bda86 drop json aliases 2026-10-12 05:18:57 -04:00
robert dennis 311e152f1d typed config files 2026-10-12 05:18:57 -04:00
robert dennis e67e972ac0 standard larastan 2026-10-12 05:18:57 -04:00
robert dennis a388410111 typed model reads 2026-10-12 05:18:57 -04:00
robert dennis bb0e915fde typed config 2026-10-12 05:18:57 -04:00
robert dennis 48628b5288 extension error history 2026-10-12 05:18:55 -04:00
Sky Mulley 5ce75cf50f fix bug introduced by security hardening that blocks mounts from being allocated onto server containers 2026-10-09 12:49:59 +01:00
robert dennis 135b298560 alpha cleanup 2026-10-08 19:17:30 -04:00
Sky Mulley ff9527a2e9 fix tests to pass 2026-10-08 09:54:19 +01:00
Sandip Ghimire bb4e89826e fix(security): harden path validation, session revocation, and request handling (#7255)
# Security, Validation & Session Improvements

## Changes

* **Hardened IP/CIDR validation**
* Properly handles invalid IP addresses and CIDR ranges during API key
creation.
* Invalid IP/CIDR data now fails safely instead of causing a 500 error.

* **Improved reCAPTCHA error handling**
  * Handles network and verification failures gracefully.
  * Fixed undefined result notices and removed duplicate checks.

* **Added file permission activity logging**
* File permission (`chmod`) changes are now recorded in the activity
log.

* **Removed duplicate 2FA middleware**
* Cleaned up duplicate `RequireTwoFactorAuthentication` registration
from API routes.

* **Improved session revocation on password changes**
  * Password changes now invalidate other active sessions.
* Rotates the `remember_token` and removes stale database sessions where
applicable.
* Applies consistently across password resets and user password changes.

* **Reduced unnecessary public storage access**
* Disabled automatic public storage routes for the local filesystem disk
to reduce the attack surface.

* **Hardened file manager request validation**
  * Added strict validation for file permission modes.
  * Fixed optional `root` validation rules.
  * Added length limits for file paths, roots, and file/folder names.

* **Hardened mount source and target path validation**
* Prevents path traversal and subpath-based bypasses in mount source and
target validation.
  * Handles trailing slashes and normalized paths correctly.
* Prevents mounts from targeting protected subdirectories, such as
another server's volume directory.
2026-10-07 12:39:12 -04:00
Sky Mulley 240aaf62ea properly handle file permissions regarding to creation and updating 2026-10-06 13:51:34 +01:00
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00
Carlton 33695c642d Fix transfer status permission checks (#5573) 2026-03-26 16:53:41 -07: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 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 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 a264791fd4 Update PHP and JS dependencies to latest versions and modernize codebase (#5446) 2025-12-20 15:55:13 -08:00
Fallen_Breath 9b703fb40f fix: timezone issue in Schedule::getNextRunDate (#5381) 2025-11-08 23:32:06 -07: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 371c7a671d api: fix docker_image validation for local images (#5103) 2024-05-21 13:29:31 -06:00
Matthew Penner f671046947 admin: tweaks to validation and rendering 2024-04-10 18:13:25 -06:00
Matthew Penner 1172d71d31 app: improve docker_image validation 2024-04-10 17:22:29 -06:00
Matthew Penner 1d38b4f0e2 Laravel 10 (#4706) 2023-02-23 12:30:16 -07:00
Matthew Penner 428311e854 database: fix mail settings migration 2022-12-12 15:47:48 -07:00
Lance Pioch a4f6870518 server: track reinstall failures differently from initial install failures (#4531) 2022-11-21 13:53:54 -07:00