Commit Graph
156 Commits
Author SHA1 Message Date
Matthew Penner 18f6611a2d Merge branch '1.0-develop' into develop 2023-02-23 12:36:22 -07:00
Matthew Penner 1d38b4f0e2 Laravel 10 (#4706) 2023-02-23 12:30:16 -07:00
Matthew Penner 67bf3e342e api(application): v2 backport 2022-12-14 17:05:46 -07:00
Matthew Penner 4cd0bee231 yeet 2022-12-14 14:36:07 -07:00
Matthew Penner 4138fb7497 Merge branch '1.0-develop' into develop 2022-12-12 16:23:11 -07:00
Matthew Penner 4626118d77 app: fix remaining email config keys 2022-12-12 14:31:49 -07:00
Matthew Penner 63a179d7f3 app: fix email config keys 2022-12-12 14:21:47 -07:00
Matthew Penner dd69652942 Fix No application encryption key has been specified error while trying to generate said key 2022-12-04 16:09:42 -07:00
Lance PiochandMatthew Penner 3bf5a71802 PostgreSQL Support (#4486)
Co-authored-by: Matthew Penner <matthew@pterodactyl.io>
2022-11-25 13:29:04 -07:00
Lance Pioch e49ba65709 Fix config key names (#4464) 2022-10-23 18:51:20 -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 271197e823 Fix cs-fix run 2022-06-26 16:21:07 -04:00
DaneEveritt 9b7af02690 Add activity logging to most of the endpoints 2022-05-29 19:26:28 -04:00
DaneEveritt 287fd60891 Log activity when modifying account details 2022-05-29 18:48:35 -04:00
DaneEveritt 2fc5a734f9 Update backup logic to use activity logs, not audit logs 2022-05-29 16:19:04 -04:00
DaneEveritt 0999ad7ff0 Add activity logging for authentication events 2022-05-28 17:03:58 -04:00
DaneEveritt 5bb66a00d8 Add new activity logging code to replace audit log 2022-05-28 15:36:26 -04:00
DaneEveritt dca53611ff Ensure we don't cause a mess with the auth providers 2022-05-22 18:16:47 -04:00
DaneEveritt 4d3362b24f Perform a bit of code cleanup 2022-05-22 17:23:48 -04:00
DaneEveritt be88e4e893 Ignore migrations, pass credentials 2022-05-22 17:01:39 -04:00
DaneEveritt bd37978a98 Initial pass at implementing Laravel Sanctum for authorization on the API 2022-05-22 14:57:06 -04:00
DaneEveritt e313dff674 Massively simplify API binding logic
Changes the API internals to use normal Laravel binding which automatically supports nested-models and can determine their relationships. This removes a lot of confusingly complex internal logic and replaces it with standard Laravel code.

This also removes a deprecated "getModel" method and fully replaces it with a "parameter" method that does stricter type-checking.
2022-05-22 14:10:01 -04:00
DaneEveritt 05f41a2ca8 Don't trim strings on file manager endpoints; ref #4081 2022-05-21 16:58:06 -04:00
DaneEveritt cca0010a00 Update egg import/update logic to all use the same pathwaus 2022-05-15 14:40:19 -04:00
DaneEveritt 65f27d41a2 Switch to more recent Laravel route definition methods 2022-05-14 15:51:05 -04:00
Alex 5120590e47 ref: remove google analytics (#3912) 2022-02-05 09:08:43 -08:00
Dane Everitt 0a4ba6a7dc Force https on URLs when behind proxy; closes #3623 2022-01-23 12:58:44 -05:00
Dane Everitt 22a8b2b3a2 Use more standardized rate limiting in Laravel; apply limits to auth routes 2021-10-23 12:17:16 -07:00
Dane Everitt c449ca5155 Use more standardized phpcs 2021-01-23 12:33:34 -08: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
Caleb fb33824e10 Added admin controls.
Removed the note in the server settings that stated that the allocations feature is currently not implemented.

Properly check to make sure that there are allocations available in range before trying to create it.
2020-09-29 12:00:59 -04:00
Dane Everitt 703f55271d Remove all references to daemon keys from the codebase 2020-09-13 11:38:42 -07:00
Dane Everitt 3c7ffaaadb Remove all references of packs from the Panel 2020-09-13 11:13:37 -07:00
Charles Morgan cb4f8efbe6 Add Google Analytics
Added Google Analytics to latest dev branch
2020-07-26 21:05:54 -04:00
Dane Everitt d3c749ac56 Code cleanup & fix frontend searching servers; closes #2100 2020-07-06 21:25:00 -07:00
Dane Everitt e95a532da9 Make rate limit configurable; closes #1695 2020-07-02 21:11:16 -07:00
Dane Everitt 756a21ff04 Remove unused code 2020-06-24 20:38:13 -07:00
Dane Everitt 6967b76ae6 Remove any confusing legacy sizing files; everything in the panel is true MB (1000) not MiB 2020-05-08 21:13:39 -07:00
Dane Everitt b774622faa Add base support for AWS/Wings backup adapters 2020-04-26 16:07:36 -07:00
Dane Everitt 60f6e86b8b Remove all of the old references to unused interfaces outside the test code 2020-04-11 15:35:32 -07:00
Dane Everitt 7557dddf49 Store node daemon tokens in an encrypted manner 2020-04-10 15:15:38 -07:00
Dane Everitt 32f25170f1 Pass at removing extraneous permissions table and using native MySQL JSON 2020-03-22 16:56:00 -07:00
Dane Everitt 7543ef085d Format files 2019-09-05 21:32:57 -07:00
Dane Everitt 161e0f6165 Deprecate old way of using repositories for daemon things 2019-09-05 20:33:27 -07:00
Dane Everitt a9976c723e [L6] Temporarily hack around theme system to maintain views without having to edit tons of code 2019-09-05 20:17:40 -07:00
Dane Everitt 08bdc9705f [L6] Update composer dependencies to support L6
Drops all of the eloquence requirements, this is going to break a shit load of code, needs to happen tired of this package always holding us back.

Quite confident in my ability to write custom code to do the basic validation we need.

Searching should be a fun nightmare to deal with later...
2019-09-04 21:00:34 -07:00
Dane Everitt fb9c106448 Update server listing and associated logic to pull from the panel dynamiacally 2019-08-17 16:03:10 -07:00
Dane Everitt c80c8564b8 Switch file manager listing to use panel API endpoint 2019-05-01 20:54:40 -07:00
Dane Everitt d59c38eb4e Fix a fallback route issue causing API calls to return unauth responses and not 404s
The fallback handler isn't scoped to a specific group, so the way this was setup caused requests to non-existent API routes to actually try and return the base view for Vue. This caused a mess of issues because that view is behind the middleware that expect sessions to be set, thus leading to very confusing authentication errors rather than a 404 response.
2019-03-23 17:41:43 -07:00