Commit Graph

1662 Commits

Author SHA1 Message Date
Dane Everitt d6d43ebc1d
Fix failing tests on 7.2 2018-01-21 16:08:34 -06:00
Dane Everitt aca0819bcd
Add server build management to API 2018-01-21 16:02:03 -06:00
Dane Everitt d3dba3fcf9
Fix bug when modifying server descriptions 2018-01-21 14:45:20 -06:00
Dane Everitt faaf27632c
Fix behavior on automatic resource name setter 2018-01-21 14:37:57 -06:00
Dane Everitt 8dcab927e5
Merge branch 'develop' into feature/api-v1 2018-01-21 14:31:32 -06:00
Dane Everitt c369151397
Allow editing symlinked files 2018-01-21 14:24:59 -06:00
Dane Everitt c69f48ad83
Fix filemanager file edit bug, closes #867 2018-01-21 12:31:41 -06:00
Dane Everitt 2212f28351
Don't break the page if no variable rules are provided. 2018-01-21 11:58:59 -06:00
Dane Everitt bd5952bf00
changelog 2018-01-21 11:40:02 -06:00
Dane Everitt 62fd299fa2
Fix some egregious search and replace action... 2018-01-21 11:38:16 -06:00
Dane Everitt 17f6f3eeb6
Add server details modification endpoint to API. 2018-01-20 16:03:23 -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 17544481b5
More server management via the API 2018-01-20 13:48:02 -06:00
DoNotSpamPls 016c4f4782 Remove mentions of 404/403 .jpg files (#884)
They are nowhere to be found on latest dev branch, correct me if they should still be there.
2018-01-20 11:54:48 -06:00
Dane Everitt 3724559468
Forgotten changes 2018-01-19 21:48:26 -06:00
Dane Everitt a497a3d153
Make server listing and single server view API endpoints work 2018-01-19 21:47:06 -06:00
Dane Everitt 74bdbea6a4
Sneaky files 2018-01-19 20:01:56 -06:00
Dane Everitt 06335a1e47
Update test namespace 2018-01-19 20:00:28 -06:00
Dane Everitt 0e7f8cedf0
Reorganize API files 2018-01-19 19:58:57 -06:00
Dane Everitt bdadec002c
Push updates to server transformer 2018-01-18 21:56:12 -06:00
Dane Everitt c59d3a96aa
Add test for new middleware 2018-01-18 21:41:45 -06:00
Dane Everitt c3b9738364
Implement application API Keys 2018-01-18 21:36:15 -06:00
Lance Pioch f5fc27a19c Fix #872 (#876) 2018-01-17 21:10:08 -06:00
Dane Everitt f9fc3f4370
Update interface to begin change to seperate account API keys and application keys
Main difference is permissions, cleaner UI for normal users, and account keys use permissions assigned to servers and subusers while application keys use R/W ACLs stored in the key table.
2018-01-14 13:30:55 -06:00
Dane Everitt 28ebd18f57
Merge branch 'feature/api-permissions' of https://github.com/Pterodactyl/Panel into feature/api-permissions 2018-01-14 12:11:09 -06:00
Dane Everitt 14f9e1ad43
More permission removal cleanup 2018-01-14 12:11:04 -06:00
Dane Everitt d0bce4af97
Apply fixes from StyleCI (#875)
[ci skip] [skip ci]
2018-01-14 12:07:14 -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 b566630311
Merge branch 'feature/api-permissions' of https://github.com/Pterodactyl/Panel into feature/api-permissions 2018-01-13 16:23:45 -06:00
Dane Everitt e0fb7fa30c
Fix failing ApiKeyCreationService test 2018-01-13 16:23:43 -06:00
Dane Everitt 8e8147cc43
Apply fixes from StyleCI (#874)
[ci skip] [skip ci]
2018-01-13 16:06:55 -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 11c4f3f6f2
Finish putting permissions on the API 2018-01-13 14:08:19 -06:00
Dane Everitt d644a53951
Update users & locations to use new permissions format 2018-01-12 20:39:15 -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 0e24c669c4
docblock 2018-01-11 20:08:49 -06:00
Dane Everitt cf21fd5a4b
More API updates, better support for node config edits 2018-01-10 23:19:03 -06:00
Dane Everitt 800e2df6b2
Merge branch 'develop' into feature/api-v1
# Conflicts:
#	app/Contracts/Repository/RepositoryInterface.php
#	app/Repositories/Eloquent/EloquentRepository.php
#	app/Services/Nodes/NodeUpdateService.php
#	tests/Unit/Services/Nodes/NodeUpdateServiceTest.php
2018-01-10 20:55:22 -06:00
Dane Everitt bd238c7555
No more OOME checkboxes 2018-01-08 23:03:14 -06:00
Dane Everitt 02e4c1424e
Select less data from servers 2018-01-08 22:23:12 -06:00
Dane Everitt 0acc260b81
Change order that allocations are loaded in on the allocation listing 2018-01-08 22:21:35 -06:00
Dane Everitt 22511c8e24
Fix allocation behavior, closes #712 2018-01-08 22:12:19 -06:00
Dane Everitt 036bea2b94
Update schedule process to allow toggling/triggering via UI 2018-01-08 21:43:10 -06:00
Dimitar Yanakiev 02fe49892d Fixed navigation account click (#853) 2018-01-07 21:22:55 -06:00
Bl4ckSpr4y d1806d9d29 Fix a typo (#856)
Changed 'custo' to 'custom'.
2018-01-06 20:09:20 -06:00
Dane Everitt a0a968c511
UI tweak for packs 2018-01-06 15:25:53 -06:00
Dane Everitt 94809b953c
Fix server setting bug 2018-01-06 15:20:47 -06:00
Dane Everitt a3bad520cd
closes #807 2018-01-06 13:19:17 -06:00
Dane Everitt 4b5ee920bd
Fix logic mistake with findOrFail 2018-01-06 13:08:20 -06:00