Commit Graph

108 Commits

Author SHA1 Message Date
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
Dane Everitt 21ffa08d66 Merge branch 'develop' into feature/vuejs 2018-12-16 14:20:35 -08:00
Lance Pioch 74ca11c37d Delete PhraseAppTranslationProvider.php 2018-10-24 11:32:00 -04:00
Dane Everitt b6205463db Merge branch 'develop' into feature/vuejs 2018-09-23 13:14:46 -07:00
ayan4m1 9f6875ed61 log query exception message during settings boot 2018-09-16 13:20:57 -04:00
Dane Everitt 92a9146b61 Improve filemanager, get first level folders listing 2018-08-06 23:14:13 -07:00
Dane Everitt 48cb01f438 Merge branch 'develop' into feature/vuejs 2018-07-02 21:00:42 -07:00
Stan 1ffb5acfad Send an email when a server is marked as installed (#1213)
Co-authored-by: @stanjg
2018-07-01 14:34:40 -07:00
Dane Everitt 5f70502f20 Merge branch 'develop' into feature/vuejs 2018-05-31 22:59:16 -07:00
stanjg ccf3e3511f Renamed middleware, and fixed the test 2018-05-31 16:40:18 +02:00
Dane Everitt f09eb8eec9 Double encoding happens by default now 2018-05-26 12:22:02 -07:00
Dane Everitt cf90f56777 Merge branch 'develop' into feature/vuejs-auth 2018-05-26 12:17:14 -07:00
Dane Everitt e3bbd85f3f Merge branch 'develop' into pr/1129 2018-05-26 10:34:29 -07:00
Dane Everitt 7e2e5fd7c1 Merge branch 'develop' into feature/upgrade-laravel-to-5.6 2018-05-20 16:30:42 -07:00
Dane Everitt 00df0b66a6 Merge pull request #1148 from pterodactyl/feature/doc-block-improvements
@throws docblock improvements
2018-05-20 16:25:59 -07:00
Lance Pioch b232055676 Fix style change 2018-05-13 12:43:59 -04:00
Lance Pioch f82b419d47 Update php doc blocks 2018-05-13 12:42:11 -04:00
Lance Pioch 8bf030793f Replace loggin contract 2018-05-13 12:25:34 -04:00
Lance Pioch e2dc0638d9 Fix app/ spelling errors 2018-05-13 11:12:41 -04:00
stanjg 86c8ecdcdf Added the actual logic 2018-05-04 15:02:51 +02:00
Dane Everitt 6d970a4cc3 Finalize login page! 2018-04-08 15:46:32 -05:00
Dane Everitt 791cbaa5ce Get things into a somewhat working state on the login form 2018-03-31 15:52:11 -05:00
Dane Everitt ab2973c4d1 Add pack transformer support 2018-03-01 18:43:39 -06:00
Dane Everitt e28973bcae Move everything around as needed to get things setup for the client API 2018-02-25 15:30:56 -06:00
Dane Everitt a1e704d3a7 Add back server sidebar list 2018-02-24 13:58:48 -06:00
Dane Everitt 0341dbdfad Add very basic cache busting 2018-02-18 15:15:53 -06:00
Dane Everitt 3e327b8b0e Use more logical route binding to not reveal resources on the API unless authenticated. 2018-01-20 15:33:04 -06:00
Dane Everitt 0e7f8cedf0 Reorganize API files 2018-01-19 19:58:57 -06:00
Dane Everitt ad3a954256 Rename APIKey to ApiKey 2018-01-14 12:06:15 -06:00
Dane Everitt 7aa540b895 Remove api permissions table 2018-01-14 12:05:18 -06:00
Dane Everitt e3df0738da Change the way API keys are stored and validated; clarify API namespacing
Previously, a single key was used to access the API, this has not changed in terms of what the user sees. However, API keys now use an identifier and token internally. The identifier is the first 16 characters of the key, and the token is the remaining 32. The token is stored encrypted at rest in the database and the identifier is used by the API middleware to grab that record and make a timing attack safe comparison.
2018-01-13 16:06:19 -06:00
Dane Everitt a31e5875dc First round of changes to API to support simpler permissions. 2018-01-11 22:49:46 -06:00
Dane Everitt 8ce0863559 Fix settings service provider to actually work when no migrations have been run. 2017-12-30 20:53:34 -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 285485d7b0 Change how API keys are validated (#771) 2017-12-03 14:29:14 -06:00
Lance Pioch c2408a28d8 Remove unused imports 2017-11-17 18:08:10 -05:00
Dane Everitt 82b7bff7f7 Apply fixes from StyleCI (#735)
[ci skip] [skip ci]
2017-11-05 13:59:51 -05:00
Dane Everitt a4cf06ba77 Fix missing HASHIDS_SALT setting in app setup command, closes #724 2017-11-05 12:58:25 -06:00
Dane Everitt aa86fe83e8 Apply fixes from StyleCI (#732)
[ci skip] [skip ci]
2017-11-05 13:40:12 -05:00
Dane Everitt 6a2cb72ede Fix debug bar getting loaded in production 2017-11-04 14:21:30 -05:00
Dane Everitt df87ea0867 This breaks literally the entire panel. 2017-10-06 23:57:53 -05:00
Dane Everitt 15d38ce823 Add ability to switch between new and existing daemon 2017-09-30 19:23:44 -05:00
Dane Everitt 28d838eccd Fix subuser auth token again 2017-09-29 21:57:36 -05:00
Dane Everitt 0e0a8d4347 Fix 404 when trying to view a server 2017-09-29 21:54:00 -05:00
Dane Everitt 6efecaeb69 Merge branch 'develop' into feature/api-daemon-changes 2017-09-25 21:55:02 -05:00
Dane Everitt 6915ecb4f1 Literally fix everything. 💯 2017-09-25 21:53:44 -05:00
Dane Everitt fb8a26f141 Merge branch 'develop' into feature/api-daemon-changes 2017-09-25 21:46:44 -05:00