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
761d34f178
don't try to apply columns in the relations field...
2017-07-08 14:17:07 -05:00
Dane Everitt
0deb022093
Update last of existing services to use repositories, includes unit tests
...
Also update PHPDocs on all the repository interfaces and classes to be correct.
2017-07-08 14:07:51 -05:00
Dane Everitt
50588a1f54
Update location and databasehost services to use repositories
...
Includes unit tests for both services
2017-07-02 21:29:58 -05:00
Dane Everitt
5c3dc60d1e
Addition of repository to ease testing and maintainability
2017-07-01 15:29:49 -05:00
Dane Everitt
b7b046c044
Merge branch 'develop' into feature/PTDL-472
2017-06-25 15:36:39 -05:00
Dane Everitt
dcab84b1da
Fix bug with server default ports not being updated properly
2017-06-18 21:03:39 -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
32b639e3eb
Return a 404 if attempting to delete a user that does not exist; closes #503
2017-06-18 20:27:24 -05:00
Dane Everitt
ce2b2447d0
Apply fixes from StyleCI ( #501 )
2017-06-17 20:52:32 -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
265b697066
Apply fixes from StyleCI ( #471 )
2017-06-03 17:07:50 -05:00
Dane Everitt
9116547e98
allow emptying server description, closes #442
2017-05-23 23:00:31 -05:00
Dane Everitt
8144535b82
Prevent invalid service tag names, ref #443
2017-05-23 21:59:47 -05:00
Dane Everitt
999411da29
Fix inability to assign services with no variables, closes #447
2017-05-22 18:43:52 -05:00
Dane Everitt
de0b9beacb
Minor visual tweaking and filemanager backend improvements.
2017-05-05 23:13:42 -04:00
Dane Everitt
9343ac7b7d
add more default variables, closes #427
2017-05-05 17:15:13 -04:00
Dane Everitt
4f127b95f0
close #421
2017-05-02 22:41:10 -04:00
Dane Everitt
9ccefbec44
Apply fixes from StyleCI ( #417 )
2017-05-01 23:00:34 -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
c59cfce72c
Apply fixes from StyleCI ( #416 )
2017-05-01 20:58:36 -04:00
Dane Everitt
43df6533b0
Ensure reserved environment names aren't changed, fix undefined variable, ref #412
2017-05-01 17:01:46 -04:00
Dane Everitt
5545075302
Fix docker image field being required for inheritance, closes #413
2017-05-01 16:51:50 -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
2330c25a8c
Move old /remote routes into /daemon sphere.
2017-05-01 13:59:33 -04:00
Dane Everitt
7eb7377dd5
I really need to stop trying to override PHP reserved keywords...
2017-04-28 10:19:04 -04:00
Dane Everitt
1c37a8fe1a
Fixes account creation and password reset abilities.
2017-04-28 00:07:38 -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
77b1a258d9
Weekly fix of my StyleCI violations...
2017-04-24 16:56:38 -04:00
Dane Everitt
a5a1ea3165
Add ability to change service implementation for a server.
2017-04-21 17:52:44 -04:00
Dane Everitt
e0958414d7
Fix server deletion
2017-04-21 17:21:00 -04:00
Dane Everitt
8dc24471ae
Add reinstall abilities and cleanup process for new servers
2017-04-20 18:52:43 -04:00
Dane Everitt
3fe5d162f5
Add skip scripting option
2017-04-20 17:57:40 -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
e4ef8caf2d
Fix model not found error when editing an existing subuser.
2017-04-17 21:47:11 -04:00
Dane Everitt
3acc7b338b
Allow deleting default allocation and setting new default at the same time.
2017-04-17 21:07:37 -04:00
Dane Everitt
de923bbb83
Fix server deletion logic, and clean up suspend/unsuspend operations
2017-04-17 20:16:05 -04:00
kasper Franz
f5810f068a
change server to server_id since that is the new name
2017-04-16 13:37:40 +02:00
Dane Everitt
7f1a97184b
Un-butcher task system.
2017-04-15 13:52:43 -04:00
Dane Everitt
23e6e0510b
Move config::set calls into single helper function
2017-04-13 23:19:01 -04:00
Dane Everitt
2c1b332fee
Minor API handling fixes.
2017-04-09 19:22:49 -04:00
Dane Everitt
93d79994f8
Apply fixes from StyleCI ( #372 )
2017-04-09 19:16:39 -04:00
Dane Everitt
722fd614a1
Add new dynamic view for creating API keys
2017-04-09 18:59:54 -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
c071efd008
Finish API routes for users.
2017-04-02 15:52:53 -04:00
Dane Everitt
9c303456fb
Update codebase to L5.4 ( #367 )
2017-04-01 17:59:43 -04:00
Dane Everitt
27d472195f
Misc. bug fixes
2017-04-01 12:29:56 -04:00
Dane Everitt
844ebfaf64
Add support for starting server on creation.
2017-04-01 12:29:49 -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
Jakob Schrettenbrunner
ec0b55bcfe
fix missing path for Permission model in SubuserRepository
2017-03-31 12:50:58 +02:00
Dane Everitt
9106971565
closes #362
2017-03-30 16:30:22 -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
4e916cbf08
Fix auto-deploy checkbox triggering error
2017-03-19 12:39:22 -04:00
Dane Everitt
e8a80c6a20
Fix allocation parsing bug.
2017-03-19 11:13:18 -04:00
Dane Everitt
03e0de28d9
Initial implementation of option scripts on panel side.
2017-03-18 13:09:30 -04:00
Dane Everitt
5d990dcb06
Revert "Rename startup command to add deprecation support to containers."
...
This reverts commit fdd1d11038
.
2017-03-17 19:35:48 -04:00
Dane Everitt
fdd1d11038
Rename startup command to add deprecation support to containers.
2017-03-17 19:09:54 -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
7e45f917c7
Fix subuser permissions in file manager
2017-03-17 16:19:45 -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
be60299089
Send correct container to daemon
2017-03-16 20:49:11 -04:00
Dane Everitt
198a021a97
Add database host management to panel.
2017-03-16 19:35:29 -04:00
Dane Everitt
5bbded2c03
Correctly json_encode validation errors.
2017-03-16 19:30:04 -04:00
Dane Everitt
05d2a6d370
Add back locations with new theme
2017-03-16 18:09:02 -04:00
Dane Everitt
db072025d4
Reference the correct column in the DB
2017-03-15 21:39:50 -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
66e94dd7c0
combine validation
2017-03-12 18:31:56 -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
e791d561ba
More StyleCI...
2017-03-12 16:35:25 -04:00
Dane Everitt
1897741381
StyleCI cleanup
2017-03-12 16:34:43 -04:00
Dane Everitt
f5a4ec981d
Add ability to create new service variable.
2017-03-12 16:28:38 -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
70db461075
Start push of service changes.
...
Changes the way service files are stored and allows for much easier
updates in the future that won’t affect custom services.
Also stores more configurations in the database to make life easier for
everyone.
2017-03-10 18:25:12 -05:00
Dane Everitt
5bf2e2686a
Apply fixes from StyleCI ( #335 )
2017-03-05 20:28:29 -05:00
Dane Everitt
32dec97e46
Improved database mechanics in admin CP for server view
2017-03-05 16:37:40 -05:00
Dane Everitt
349b36d38a
Added startup management, cleaned up code.
...
Refactored entire startup repository code block to be more efficient
and cleaner. Also includes modifications to front-end to make it match
backend name and design.
2017-03-04 23:45:25 -05:00
Dane Everitt
e688468920
Push updated server views
2017-03-04 19:03:49 -05:00
Dane Everitt
b1564389d8
Apply fixes from StyleCI ( #331 )
2017-03-03 23:38:21 -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
fb21bf9282
Begin implementation of server admin view
...
Currently completed tabs: About, Details, Build Configuration
2017-02-25 00:48:14 -05:00
Dane Everitt
bbf9fd12ae
Apply fixes from StyleCI ( #325 )
2017-02-24 18:23:03 -05:00
Dane Everitt
cb6b44d4f0
Completed new server page with new theme.
2017-02-24 18:19:03 -05:00
Dane Everitt
b11029a666
Apply fixes from StyleCI ( #312 )
...
* Bump for release
* Apply fixes from StyleCI
2017-02-18 22:57:50 -05:00
Dane Everitt
824041f6ca
Fix service creation/updates, closes #306
2017-02-17 20:40:50 -05:00
Dane Everitt
054e65b78f
Fix user deletion
2017-02-17 19:28:23 -05:00
Dane Everitt
95171a3e41
Better user creation email.
2017-02-17 18:48:57 -05:00
Dane Everitt
3240601d03
Fix bug when trying to add new subuser.
2017-02-17 18:26:47 -05:00