Commit Graph

126 Commits

Author SHA1 Message Date
Dane Everitt
c492446513 Implement initial server and location API routes.
Also fixes a few exception handler issues causing incorrect HTTP status
codes on authorization errors.
2017-04-09 13:15:15 -04:00
Dane Everitt
4479d3bf19 Improved logic for handling permissions on API routes.
Still only partially implemented, however this method will allow the
inclusion of data that is granted with servers (such as viewing more
about the node, node location, allocations, etc) while still limiting
someone from doing `?include=node.servers` and listing all servers when
they don’t have list-servers as a permission.
2017-04-08 12:05:29 -04:00
Dane Everitt
51204b8d9d Add all of the potential transformers that might be needed for now. 2017-04-07 20:28:58 -04:00
Dane Everitt
87530cdc01 Initial moves to new API scheme.
Implements a better middleware for handling API authentication, as well
as cleaner route handling.
2017-04-02 00:11:52 -04:00
Dane Everitt
cbeecfe5e4 Implement front-end server searching 🍬 2017-04-01 13:14:49 -04:00
Dane Everitt
536865b22a Remove deletion queue for servers. Just immediately delete. 2017-03-31 22:12:31 -04:00
Dane Everitt
95c739a3f3 Update subusers view 2017-03-30 15:31:02 -04:00
Dane Everitt
f0057353ad Apply fixes from StyleCI 2017-03-19 23:52:11 +00:00
Dane Everitt
0312c974f5 Update doc blocks for all app/ 2017-03-19 19:36:50 -04:00
Dane Everitt
202dd52e2b Fixes bug causing MySQL user accounts to be corrupted when resetting a password via the panel.
closes #352
2017-03-17 17:17:36 -04:00
Dane Everitt
4ad09c5435 Fixes bug introduced during admin rewrite that broke server creation 2017-03-16 21:11:15 -04:00
Dane Everitt
198a021a97 Add database host management to panel. 2017-03-16 19:35:29 -04:00
Dane Everitt
436ba814a9 Apply fixes from StyleCI (#351) 2017-03-15 20:53:49 -04:00
Dane Everitt
1c47b2ed55 Finish pack management in Admin CP 2017-03-15 20:52:37 -04:00
Dane Everitt
50558db7c3 Add initial pack creation and overview pages 2017-03-14 21:18:36 -04:00
Dane Everitt
2d90187c83 StyleCI fixes 2017-03-12 19:38:50 -04:00
Dane Everitt
fcadee7e67 Fix front and backend views with new service variable setups 2017-03-12 19:34:06 -04:00
Dane Everitt
97cad1d55e Update seeders to not error out and allow updating values quickly. 2017-03-12 18:02:15 -04:00
Dane Everitt
1897741381 StyleCI cleanup 2017-03-12 16:34:43 -04:00
Dane Everitt
419031e0cd Add function file editing, and move all service file items into database 2017-03-12 15:59:17 -04:00
Dane Everitt
d7682bb7c9 Complete new service, option, and variable management interface in Admin CP 2017-03-12 00:00:06 -05:00
Dane Everitt
bccbb309b2 Fix broken descriptors 2017-03-11 15:02:04 -05:00
Dane Everitt
cbbd3704fe Add a second check here *just* to make sure someone doesn't break this. 2017-03-04 19:27:24 -05:00
Dane Everitt
cd0a45a777 Fixes caching to actually clear the cache for *all* users, rather than the logged in user by using cache tags. 2017-03-04 19:24:46 -05:00
Dane Everitt
e6d3663b3b Model and template cleanup 2017-03-03 23:37:41 -05:00
Dane Everitt
d38f89a468 Cleanup node routes, cleanup remote token 2017-03-03 23:14:25 -05:00
Dane Everitt
fd9f1a68eb Implement node view, cleanup other files.
Still in progress, need to do a lot of controller cleanup first and add
node deletion as well.
2017-03-03 17:30:41 -05:00
Dane Everitt
bbf9fd12ae Apply fixes from StyleCI (#325) 2017-02-24 18:23:03 -05:00
Dane Everitt
8f96b35db1 Merge branch 'develop' into feature/admin-retheme 2017-02-23 21:24:17 -05:00
Dane Everitt
f91e4c511e Attach user to cache to prevent showing servers they can't access. 2017-02-18 21:45:11 -05:00
Dane Everitt
b926d432e8 Thats enough re-theming for the day... 2017-02-18 19:31:44 -05:00
Dane Everitt
824041f6ca Fix service creation/updates, closes #306 2017-02-17 20:40:50 -05:00
Dane Everitt
e9762b4277 Fixes port deletion for node allocations as well as server notes on allocations.
closes #305
2017-02-17 19:59:40 -05:00
Dane Everitt
008cccb098 Fix up email sending and add more notifications to the panel.
Closes #265
2017-02-17 19:23:27 -05:00
Dane Everitt
9af06b4b59 Add in query caching on server view 2017-02-17 18:19:53 -05:00
Dane Everitt
336234843d Remove deprecated function calls 2017-02-16 13:31:25 -05:00
Dane Everitt
788de1b23a Fix grepping about. 2017-02-15 16:57:45 -05:00
Dane Everitt
19d352619e More singularization and correct file names. 2017-02-12 16:03:17 -05:00
Dane Everitt
8ba479e51f Singularize model names. 2017-02-12 16:02:23 -05:00
Dane Everitt
7c916ad38f Apply fixes from StyleCI (#294) 2017-02-12 15:10:39 -05:00
Dane Everitt
32a1dc17ed API model updates, as well as general model updates and code fixes. 2017-02-10 20:26:38 -05:00
Dane Everitt
3b3002b77a API Model updates. 2017-02-10 17:29:10 -05:00
Dane Everitt
ba175e6b55 Cleanup location model and controller for Admin. 2017-02-10 17:09:56 -05:00
Dane Everitt
99812b0407 More subuser Model updates. 2017-02-09 19:38:54 -05:00
Dane Everitt
c8f6c93d26 Modify subusers model setup 2017-02-09 18:44:07 -05:00
Dane Everitt
4f61637284 More model updates to more places than I anticipated.
This probably broke a lot of things.
2017-02-09 17:43:54 -05:00
Dane Everitt
0d61417814 Addresses security flaw allowing unauthenticated access to server overview. 2017-02-05 19:59:16 -05:00
Dane Everitt
02458c909d Improves server model and cleans up model code calls. 2017-02-05 19:19:46 -05:00
Dane Everitt
b1389262e2 Use belongsTo versus hasOne when more logical. 2017-02-05 18:00:39 -05:00
Dane Everitt
323f1d943f Completed model updates for Services 2017-02-05 17:58:17 -05:00