Dane Everitt
cf500a1a54
Use a standardized transformer base; replace all client transformers to call that base
2021-08-07 13:06:45 -07:00
Dane Everitt
b47d262ee0
Initial pass at deleting as much removed logic as possible; still need to migrate old keys and permissions over
2021-08-04 21:15:18 -07:00
Dane Everitt
1a3451fb0d
Update underlying model representation for PATs
2021-08-04 21:15:18 -07:00
Dane Everitt
d60e8a193b
Very basic working implementation of sanctum for API validation
2021-08-04 21:15:16 -07:00
Matthew Penner
bf9dfa87da
yeet name_first and name_last from users table
2021-07-28 21:31:00 -06:00
Matthew Penner
64110d84af
tests(unit): add RequireTwoFactorAuthenticationTest
2021-07-18 11:28:14 -06:00
Matthew Penner
f9114e2de0
feat(ssh-keys): add ssh key endpoints and ui components
2021-07-17 15:45:46 -06:00
Matthew Penner
28146f5bb6
webauthn: add controllers and transformers
2021-07-17 14:45:23 -06:00
Matthew Penner
a3b59f24af
Merge branch 'develop' into feature/react-admin
2021-05-18 17:07:25 -06:00
Dane Everitt
5d5e4ca7b1
Add support for locking backups to prevent any accidental deletions
2021-05-03 21:26:09 -07:00
Dane Everitt
92cd659db3
Add underlying data changes necessary for new task & schedule features
2021-05-01 10:44:40 -07:00
Dane Everitt
18e5ce310a
Use updated response from wings
2021-04-04 10:25:54 -07:00
Matthew Penner
5f56ff0fed
nodes: rename port columns, add public_ port columns
2021-02-11 10:21:32 -07:00
Dane Everitt
0a2c89e9f4
Reeformat with new rules post merge
2021-01-25 19:20:51 -08:00
Dane Everitt
663143de0b
Merge branch 'develop' into dane/restore-backups
2021-01-25 19:16:40 -08:00
Dane Everitt
c449ca5155
Use more standardized phpcs
2021-01-23 12:33:34 -08:00
Dane Everitt
a043071e3c
Update to Laravel 8
...
Co-authored-by: Matthew Penner <me@matthewp.io>
2021-01-23 12:12:54 -08:00
Dane Everitt
b38b8f6465
Mark some fields as deprecated in the API
2021-01-17 16:02:11 -08:00
Dane Everitt
a75a347d65
Remove suspended & installing fields, replace with single status field
2021-01-17 15:51:56 -08:00
Charles Morgan
ffeedf17e4
Adds months for schedules
...
Adds month variable for schedules
2021-01-16 22:07:39 -05:00
Matthew Penner
fd848985ee
Add ServerTransferringException, use is_null
2020-12-17 10:35:54 -07:00
Matthew Penner
e6c4a68e4a
Update logic for tracking a server's transfer state
2020-12-17 10:35:54 -07:00
Dane Everitt
5bbb36b3cf
Support updating docker image for a server from the frontend
2020-12-13 11:07:29 -08:00
Dane Everitt
f9ea96f45d
Less strict type; closes #2681
2020-12-06 14:17:54 -08:00
Dane Everitt
74b1776c00
Merge pull request #2646 from AreYouRlyScared/#2608
...
Add admin area link to view config
2020-11-08 11:48:22 -08:00
Dane Everitt
c20d53bb17
Always return the primary allocation for a server, even without the allocation permissions
2020-11-07 09:57:53 -08:00
Dane Everitt
aba7df3afa
Basic concept for the EULA feature to demo how this will all work
2020-11-02 20:52:41 -08:00
Charles Morgan
6d909a4a97
Add admin area link to view config
2020-11-02 00:14:02 -05:00
Dane Everitt
d087bebc93
Add some additional test coverage and clean up modification service and suspension service
2020-10-07 21:56:44 -07:00
Dane Everitt
2182a15494
Don't return variables to users that they should not be able to see; closes #2388
2020-09-22 21:12:00 -07:00
Dane Everitt
034a310702
Use checksum more broadly, not specifically SHA256
2020-08-23 18:06:47 -07:00
Dane Everitt
813a671571
Hide startup line from API response if user doesn't have startup permissions
2020-08-22 19:01:42 -07:00
Dane Everitt
1b69d82daa
Don't return things a user shouldn't be able to see via the API includes
2020-08-22 16:54:12 -07:00
Dane Everitt
cae604e79d
Include egg variables in the output from the API
2020-08-22 15:43:28 -07:00
Dane Everitt
e3178ba6f0
backend: support is_successful state for backups rather than deleting it when failing
...
This allows the UI to correctly show failed backups to the user and require them to manually delete those backups, rather than them mysteriously disappearing.
We can also hook into this later to send a notification to the user when the backup fails.
2020-08-20 21:07:53 -07:00
Dane Everitt
874d928a50
Correctly handle response from daemon for server stats; #2183
2020-07-29 20:34:06 -07:00
Dane Everitt
2278927fb6
Update allocations to support ids; protect endpoints; support notes
2020-07-09 20:36:08 -07:00
Dane Everitt
bfb28f949d
[Breaking] Return server allocations automatically as a relation object
2020-07-09 19:17:24 -07:00
Dane Everitt
7b5139b2b1
[Breaking] Return all server allocations in API response
2020-07-08 21:04:45 -07:00
Dane Everitt
f1c3762f4d
Add base support for definining the number of backups that can be created for a server
2020-04-26 12:12:29 -07:00
Dane Everitt
c4f4f1f5c8
Don't show an error in the listing if the server is still installing or suspended
2020-04-25 17:58:09 -07:00
AreYouScared
0ecfb40f5e
Add variable to API endpoint
...
Allow API to retrun max_connections for frontend database page
2020-04-22 06:17:26 -04:00
Dane Everitt
d27f0c6f2a
Basic backend support to at least store a backup model in the DB
2020-04-04 12:26:39 -07:00
Dane Everitt
9991989f89
Very basic implemention of frontend logic required to display backups and create a new one
2020-04-04 10:59:25 -07:00
Dane Everitt
a6f46d36ba
Implement basic code for creating/updating a subuser
2020-03-27 14:23:13 -07:00
Dane Everitt
933a4733e8
Add base support for creating a new API key for an account
2020-03-22 18:15:38 -07:00
Dane Everitt
cf7f36c950
Always include the tasks with a schedule
2020-03-22 13:57:31 -07:00
Dane Everitt
32e9fb0346
Add basic listing of server schedules
2020-02-08 15:23:08 -08:00
Dane Everitt
5f13531c69
Fix up subuser API response for clients
2019-12-28 12:03:19 -08:00
Dane Everitt
2570b4e2d0
Base code for settings and schedules
2019-12-07 15:58:37 -08:00