Commit graph

321 commits

Author SHA1 Message Date
Dane Everitt
a6bc36a710 add initial api management page 2016-01-16 01:20:27 -05:00
Dane Everitt
09d9f2a064 add setup command; closes #27 2016-01-16 00:37:08 -05:00
Dane Everitt
7670cf1466 Merge pull request #29 from Pterodactyl/add-restful-api
Add initial API Implementation
2016-01-16 00:32:06 -05:00
Dane Everitt
0389f1417d Fully remove JWT 2016-01-16 00:31:10 -05:00
Dane Everitt
ac65d5fa21 Finish base API.
Making PR, any additional API functions or modifications can be done
within the repository now.
2016-01-16 00:25:21 -05:00
Dane Everitt
77e3744b40 Change authentication method for API. 2016-01-15 19:26:50 -05:00
Dane Everitt
63f377a038 Add more API routes
Servers: list all, list single
Nodes: list all, list single, list single allocations, add node
Locations: list all
2016-01-15 17:54:29 -05:00
Dane Everitt
0ccaa16ea4 Fix exceptions thrown to mimic proper HTTP status codes 2016-01-15 00:20:58 -05:00
Dane Everitt
69c2e89fe0 Fix some missing exceptions and validation handling for users 2016-01-15 00:08:50 -05:00
Dane Everitt
e2d5145e3d Set user language properly 2016-01-14 23:48:58 -05:00
Dane Everitt
8c9e797210 Finish user portion of API 2016-01-14 23:13:26 -05:00
Dane Everitt
4604500349 Replace tabs with Spaces
I *really* wish Atom would stop doing this to me.
2016-01-12 23:49:56 -05:00
Dane Everitt
695728295a Add support for creating a user using the API 2016-01-12 23:43:33 -05:00
Dane Everitt
3114c1f73e Add user specific listing route 2016-01-12 22:59:34 -05:00
Dane Everitt
72acf06353 Improve API auth to rate limit requests and verify they are root_admin 2016-01-12 22:59:24 -05:00
Dane Everitt
2def94c958 Update routes to use CSRF protection 2016-01-12 21:50:43 -05:00
Dane Everitt
98b3355158 very basic initial push of API 2016-01-12 01:05:44 -05:00
Dane Everitt
c080025bab Merge branch 'development' into add-restful-api 2016-01-11 23:20:12 -05:00
Dane Everitt
31b3153024 Remove unused dependency 2016-01-11 23:20:01 -05:00
Dane Everitt
028a39e11e Fix that migration (closes #20) 2016-01-11 22:52:47 -05:00
Dane Everitt
ca1f928490 Fix wording on server create error 2016-01-11 22:47:44 -05:00
Dane Everitt
f8d13e311a Change homestead file method 2016-01-11 22:46:42 -05:00
Dane Everitt
24fadc0cb2 Add homestead support 2016-01-11 22:37:12 -05:00
Dane Everitt
fa56165df6 Fix composer scripts 2016-01-11 22:14:13 -05:00
Dane Everitt
30d9d822c6 Merge pull request #26 from Pterodactyl/laravel-5.2
Update to Laravel 5.2
2016-01-11 22:04:41 -05:00
Dane Everitt
a3eb4b7dc4 Update to Laravel 5.2 2016-01-11 22:04:11 -05:00
Dane Everitt
02f6bf428e Show initial locations list 2016-01-10 19:22:21 -05:00
Dane Everitt
4dfba7b3b1 Re-order admin sidebar 2016-01-10 19:01:26 -05:00
Dane Everitt
1d97b0be98 Add support for modification of server startup variables and command 2016-01-10 18:57:22 -05:00
Dane Everitt
62313eeac5 Cleaner required labels on server creation 2016-01-10 17:18:33 -05:00
Dane Everitt
232c05c31d Add support for deleting nodes
Finishes node management
2016-01-10 16:59:19 -05:00
Dane Everitt
52c506b133 For whatever reason event.submit() decided to not work after preventDefault() 2016-01-10 16:56:23 -05:00
Dane Everitt
ac8d31d6d6 Fix login form width 2016-01-10 16:17:27 -05:00
Dane Everitt
b92376ff47 Fix node and server list display for smaller screens 2016-01-10 00:45:52 -05:00
Dane Everitt
2ad300461e Fix hiding single port 2016-01-10 00:45:02 -05:00
Dane Everitt
179481c547 Add support for allocation management on nodes.
Allows deleting entire IP blocks, as well as allocating new IPs and
Ports via CIDR ranges, single IP, and single ports or a port range.
2016-01-10 00:38:16 -05:00
Dane Everitt
aaf9768a92 Improved alerts on server console and power controls 2016-01-08 22:54:30 -05:00
Dane Everitt
80bef5bd93 Fix file manager permissions 2016-01-08 22:42:33 -05:00
Dane Everitt
a1c6aa6358 Clean up setting allocation front-end 2016-01-08 22:36:57 -05:00
Dane Everitt
b41e7ecf09 Fix more permissions checking 2016-01-08 22:30:21 -05:00
Dane Everitt
b996316d92 Fixes some permissions stuff 2016-01-08 22:22:57 -05:00
Dane Everitt
71e6d2e1b6 Fixes potential for accidental update/deletion of edited model 2016-01-08 22:22:41 -05:00
Dane Everitt
65a91baa16 Fix inner join bug 2016-01-08 20:39:16 -05:00
Dane Everitt
022143dd86 use sweetalert modals on delete server 2016-01-08 20:26:21 -05:00
Dane Everitt
abed57546b Show nicer alerts for file deletion 2016-01-08 20:08:20 -05:00
Dane Everitt
54bef1e7d5 Basic allocation information
Allows deleting ports, nothing else yet
2016-01-08 20:01:18 -05:00
Dane Everitt
2160613163 Add EULA acceptance popup when starting server 2016-01-08 19:54:06 -05:00
Dane Everitt
4b40fa65d4 Cental modals and add SweetAlerts 2016-01-08 18:58:03 -05:00
Dane Everitt
f560020ffd Fix CPU usage display for server
Previously was stacked and would show 2x normal usage.
2016-01-08 16:22:15 -05:00
Dane Everitt
edf0939ff3 MiddleWare !== Middleware 2016-01-08 15:08:29 -05:00