Commit Graph

202 Commits

Author SHA1 Message Date
Dane Everitt
acbc52506c Finish unit tests for all server services 2017-07-22 20:15:01 -05:00
Dane Everitt
3add44d342 Fix database management for servers 2017-07-22 14:07:51 -05:00
Dane Everitt
63e39fbe58 Fix database management things to actually work correctly. 2017-07-22 13:55:30 -05:00
Dane Everitt
580e5ac569 Begin working on administrative server view changes
Also includes tests for the DatabaseCreation service.
2017-07-21 21:17:42 -05:00
Dane Everitt
0c513f24d5 Move server creation over to new service/repository setup.
Moves tons of functions around, but the basic implementation is working again.

Some features are still missing, and the service never actually commits the server to the database right now.

This push is mostly just to get the code into Github and backed up.
2017-07-19 20:49:41 -05:00
Dane Everitt
bc3366b10d Repository interface improvements 2017-07-15 11:52:34 -05:00
Dane Everitt
2588c25b0b Service refactor to improve organization 2017-07-08 15:04:59 -05:00
Dane Everitt
bd78e3544d Merge branch 'develop' into feature/PTDL-472 2017-07-08 14:08:02 -05:00
Joost Kwakkel
a1376db4fd Redirect user to node allocation view after creation, closes #535 2017-07-08 18:14:54 +02:00
Dane Everitt
5c3dc60d1e Addition of repository to ease testing and maintainability 2017-07-01 15:29:49 -05:00
Dane Everitt
2235481765 More service structure testing and configuration
Tests aren't working as well as I had hoped, so a lot are commented out while I wait to hear back on this bug causing them to fail.
2017-06-24 19:49:09 -05:00
Dane Everitt
1c5f892049 backfill fixes from 65957e7e to address #470 in active release 2017-06-18 20:39:04 -05:00
Dane Everitt
ce2b2447d0 Apply fixes from StyleCI (#501) 2017-06-17 20:52:32 -05:00
Dane Everitt
0111ca7768 Push more changes to DBHost service.
Currently updating via the frontend is broken if you don't provide an actual node to attach it to.
2017-06-17 19:48:31 -05:00
Dane Everitt
cede747442 Cleanup user and location controllers. 2017-06-17 17:36:39 -05:00
Dane Everitt
fe4977f0fa Update admin location routes and controller to use service
Needs tests written, uses new validation on model.
2017-06-14 23:53:24 -05:00
Dane Everitt
26e476a794 Push updates, removes repositories, begins moving functionality to services.
First integration tests included.
2017-06-13 23:25:37 -05:00
Dane Everitt
5c2b9deb09 Push initial implementations of new repository structure
This breaks almost the entire panel, do not pull this branch in this state.

Mostly just moved old repository files to a new folder without updating anything else in order to start doing new things. Structure is not finalized.
2017-06-10 22:28:44 -05:00
Dane Everitt
65957e7ea5 Begin implementation of new request validation, closes #470 2017-06-03 18:41:35 -05:00
Dane Everitt
9116547e98 allow emptying server description, closes #442 2017-05-23 23:00:31 -05:00
Dane Everitt
de0b9beacb Minor visual tweaking and filemanager backend improvements. 2017-05-05 23:13:42 -04:00
Dane Everitt
b3e5565f85 Cleanup auto-deployment functions substantially
Also cleans up ServerRepository to use named models more clearly.
2017-05-01 22:59:58 -04:00
Dane Everitt
4eaf858684 Fix inability to set user as non-admin, closes #414 2017-05-01 17:05:30 -04:00
Dane Everitt
c9c0e845b1 Go nuclear on Safari's autocomplete. 2017-05-01 16:41:39 -04:00
Dane Everitt
b539f26dab Stop browser autofill on user view pages. 2017-05-01 16:17:31 -04:00
Dane Everitt
ae6b0f5c5e Use the cache tags correctly. 2017-05-01 14:52:14 -04:00
Dane Everitt
605c91a9af Use cache helpers rather than database to handle configuration tokens and downloads. 2017-05-01 14:21:18 -04:00
Dane Everitt
7e0cbe8db1 Pass behind_proxy properly. 2017-04-27 22:55:42 -04:00
Dane Everitt
3ee7b7cff1 Add ability to mark a node as being over a proxy 2017-04-27 22:52:37 -04:00
Dane Everitt
30b4934013 Include default installation scripts, as well as ability to symlink a script 2017-04-27 16:16:59 -04:00
Dane Everitt
147f473eeb Add back disk limiting! 2017-04-21 22:44:56 -04:00
Dane Everitt
a5a1ea3165 Add ability to change service implementation for a server. 2017-04-21 17:52:44 -04:00
Dane Everitt
8dc24471ae Add reinstall abilities and cleanup process for new servers 2017-04-20 18:52:43 -04:00
Dane Everitt
c8f1335a09 Fixup merge 2017-04-20 17:26:20 -04:00
Dane Everitt
8d24e5f168 Merge branch 'develop' into feature/option-scripts
# Conflicts:
#	app/Http/Routes/AdminRoutes.php
#	app/Http/Routes/DaemonRoutes.php
#	app/Models/ServiceOption.php
2017-04-20 17:08:08 -04:00
Dane Everitt
de923bbb83 Fix server deletion logic, and clean up suspend/unsuspend operations 2017-04-17 20:16:05 -04:00
Dane Everitt
6fda3b72e4 Display total servers user can access in the Admin CP
closes #356
2017-04-13 23:49:47 -04:00
Dane Everitt
9320c26b86 fix misnamed variable, close #377 2017-04-13 22:30:32 -04:00
Dane Everitt
1e43f2049b Fix up routes and controller names 2017-04-09 19:13:22 -04:00
Dane Everitt
820d2bf172 Node and user API routes implemented.
More attempts at the logic for API permissions, most likely will need
continued tweaking in the future, but base is there.
2017-04-09 15:31:10 -04:00
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
edaa270a33 Add server descriptions, closes #338 🐖
🐷 https://s3.kelp.in/D0n2Z.png
2017-03-31 23:07:19 -04:00
Dane Everitt
536865b22a Remove deletion queue for servers. Just immediately delete. 2017-03-31 22:12:31 -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
4f16509447 Use env() properly throughout panel to avoid cache issues. 2017-03-18 15:56:19 -04:00
Dane Everitt
03e0de28d9 Initial implementation of option scripts on panel side. 2017-03-18 13:09:30 -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
05d2a6d370 Add back locations with new theme 2017-03-16 18:09:02 -04:00