Commit Graph
24 Commits
Author SHA1 Message Date
robert dennis 1d791ad615 upgrade to laravel 12.x 2026-07-28 04:44:29 +09: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 a264791fd4 Update PHP and JS dependencies to latest versions and modernize codebase (#5446) 2025-12-20 15:55:13 -08: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
Matthew Penner 1d38b4f0e2 Laravel 10 (#4706) 2023-02-23 12:30:16 -07:00
Matthew Penner d466934103 Laravel Sail (#4508) 2022-10-31 11:38:56 -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
DaneEveritt 66da520e11 Simplify testing process for integration tests, don't require second connection 2022-05-04 20:41:04 -04: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 21ffa08d66 Merge branch 'develop' into feature/vuejs 2018-12-16 14:20:35 -08:00
zKoz210 0b4b1a3443 Initial update 2018-11-26 03:25:18 +03:00
Dane Everitt c86690a695 Get base code for dusk tests 2018-05-31 21:45:49 -07:00
Dane Everitt 49903e0590 Changes for new hashing to keep tests speedy 2018-05-20 16:38:27 -07:00
Dane Everitt ac9f83a8fe Fix test to run with new bootstrapping 2018-03-04 22:42:33 -06:00
Dane Everitt e2aa01c9cc First go at integration tests 2018-03-04 16:30:16 -06:00
Dane Everitt e22d824c2d Fix traivs, nicer output for tests 2018-02-10 14:57:19 -06:00
Dane Everitt 1b9b92ac62 Cleanup settings use in panel. 2017-12-30 16:33:00 -06:00
Dane Everitt b9d67459b2 Update to Laravel 5.5 (#814) 2017-12-17 13:07:38 -06:00
Dane Everitt f9df463d32 Implement a better management interface for Settings (#809) 2017-12-14 21:05:26 -06:00
Dane Everitt ebb3a01036 Should fix failing travis builds 2017-07-23 17:55:38 -05:00
Dane Everitt 760525a673 Push more tests for location services, setup travis CI integration 2017-06-15 23:03:22 -05:00
Dane Everitt 26e476a794 Push updates, removes repositories, begins moving functionality to services.
First integration tests included.
2017-06-13 23:25:37 -05:00
Dane Everitt 6d479dabf4 Clean up old files 2016-09-30 19:59:25 -04:00
Dane Everitt 1489f7a694 Initial Commit of Files
PufferPanel v0.9 (Laravel) is now Pterodactyl 1.0
2015-12-06 13:58:49 -05:00