Commit Graph
57 Commits
Author SHA1 Message Date
robert dennis e467b4b5ff review fixes 2026-11-05 15:10:39 -05: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 311e152f1d typed config files 2026-10-12 05:18:57 -04:00
robert dennis f0b30d50c1 config booleans 2026-10-12 05:18:55 -04: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
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
Matthew Penner 250c557e23 telemetry: include more detailed server egg and nest usage 2022-12-01 12:09:27 -07:00
Matthew Penner ee033d6d08 Telemetry (#4564) 2022-11-22 13:39:43 -07:00
Matthew PennerandDaneEveritt cbcf62086f Upgrade to Laravel 9 (#4413)
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00
Matthew Penner 8e1a21563e server: add configuration for install notifications (#4331)
* server: track `installed_at`, only send install notification on first install
* server: add configuration for install notifications
2022-09-25 13:16:58 -06:00
Dane Everitt 0bd182c2a7 Lower the default guzzle timeouts; ref pterodactyl/panel#3936 2022-02-05 12:33:54 -05:00
Omar Kamel b67aceb685 Add environment variable for per_schedule_task_limit (#3557)
The environment variable `PTERODACTYL_PER_SCHEDULE_TASK_LIMIT` can be used to change the maximum number of tasks per schedule.
2021-08-20 11:07:05 -06:00
Dane EverittandMatthew Penner a043071e3c Update to Laravel 8
Co-authored-by: Matthew Penner <me@matthewp.io>
2021-01-23 12:12:54 -08:00
Dane Everitt c6bd7ff661 Improve logic handle auto-allocation of ports for a server 2020-10-31 14:58:15 -07:00
Dane Everitt 3c7ffaaadb Remove all references of packs from the Panel 2020-09-13 11:13:37 -07:00
Dane Everitt 6ac12fc156 Disable integrity hashes by default, allow enabling with environment
Cloudflare auto-minifies our minified code even more (wat), which leads to issues with the resource hash, and then nothing loads. This is less likely to lead to support requests now.
2020-09-01 19:37:05 -07:00
Dane Everitt d87438621f Don't allow opening of files we know cannot be edited; closes #2286 2020-08-30 10:25:48 -07:00
Dane Everitt 55cd7d4d39 Allow editing files up to 4MB 2020-08-23 15:55:26 -07:00
Dane Everitt 95e8492c5d What the heck are these abysmal timeouts; closes #2223 2020-08-06 20:25:35 -07:00
Dane Everitt e95a532da9 Make rate limit configurable; closes #1695 2020-07-02 21:11:16 -07:00
Dane Everitt 28c5729e48 Add test coverage for creating tasks 2020-06-28 14:41:22 -07:00
Dane Everitt f9878d842c Fix error handling for large files (and endpoints called as non-json) 2020-04-06 21:59:14 -07:00
Dane Everitt 93d0f1803f Fix for styleci 2019-06-21 21:57:28 -07:00
Dane Everitt 1a8592b3b3 Add support for python files, closes #1395 2018-12-02 13:52:47 -08:00
Lance Pioch 49281ac5e9 Fix spacing 2018-10-24 11:46:36 -04:00
Lance Pioch 03e15701ac Restore this config and add a correct description 2018-10-24 11:43:51 -04:00
Lance Pioch e0dfe31efc Remove phraseapp settings 2018-10-24 11:33:32 -04:00
Dane Everitt 07893effa3 Add initial go at user created databases for servers, still needs cleaning 2018-03-01 21:27:37 -06:00
Dane Everitt f9df463d32 Implement a better management interface for Settings (#809) 2017-12-14 21:05:26 -06:00
Dane Everitt c7c2c1a45e Implement changes to 2FA system (#761) 2017-11-18 13:35:33 -05:00
Dane Everitt 88562b5cd6 Fix inability to create a server 2017-11-05 15:36:37 -06:00
Dane Everitt 69cd330eb8 Fix setup command issues 2017-11-04 16:27:15 -05:00
Dane Everitt f5b20e38c4 Fix failing tests due to way nest creation worked 2017-11-04 13:01:54 -05:00
Dane Everitt fa62a0982e Refactor startup modification and environment variable services
Better setup, more flexibility, more tests.
2017-10-26 23:49:54 -05:00
Dane Everitt b1834307d5 Update demon routes to use /v1/ 2017-09-30 21:00:24 -05:00
Dane Everitt 15d38ce823 Add ability to switch between new and existing daemon 2017-09-30 19:23:44 -05:00
Dane Everitt 8e2b77dc1e Final touches to new key-rotation service 2017-09-24 12:34:00 -05:00
Dane Everitt 72735c24f7 Complete move from old repository to new repository structure! 2017-08-26 18:08:11 -05:00
Dane Everitt 74ea1aa0aa Push subuser creation service 2017-08-23 21:34:11 -05:00
Dane Everitt 3ee5803416 Massive PHPCS linting 2017-08-21 22:10:48 -05:00
Dane Everitt cdfbc60030 Push pack services and fix for failing tests 2017-08-20 19:23:50 -05:00
Dane Everitt 280633b28a More service classes for pack management 2017-08-19 20:40:00 -05:00
Dane Everitt 9d3dca87f2 Begin moving packs to new service mechanisms, refactor exceptions for services 2017-08-18 22:19:06 -05:00
Dane Everitt bc3366b10d Repository interface improvements 2017-07-15 11:52:34 -05:00
Dane Everitt cede747442 Cleanup user and location controllers. 2017-06-17 17:36:39 -05:00
Dane Everitt 52fb4f58d5 Ship with support for login notifications 2017-04-14 17:10:01 -04:00
Dane Everitt 93d79994f8 Apply fixes from StyleCI (#372) 2017-04-09 19:16:39 -04:00
Dane Everitt 87c09a921b More defined naming scheme for config 2017-04-09 16:05:18 -04:00
Dane Everitt de8bbcd098 Configuration for API pagination and includes on listing 2017-04-09 16:04:08 -04:00
Dane Everitt 97773300ed Better middleware for routes, cleaned up API, removed old API calls
New API routes for Server allow specifying which fractal objects to
load into the request, thus making it possible to fine-tune what data
is returned.
2017-04-02 13:19:39 -04:00