Dane Everitt
6fa24d4979
Merge branch 'develop' into matthewpi/transfer-improvements
2020-12-24 09:17:21 -08:00
Matthew Penner
4b9eab8950
Send ignored_files as a string to wings
2020-12-22 19:31:52 -07:00
Matthew Penner
fd848985ee
Add ServerTransferringException, use is_null
2020-12-17 10:35:54 -07:00
Matthew Penner
5c5e2e24f1
📯 tRaNsFeR lOgS 📯
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
1dacd703df
Fix egg importing from seeder
2020-12-13 10:34:51 -08:00
Dane Everitt
78c4ac80bc
Basic implemention of multiple selectable images for an egg
...
The admin side of this is quite ugly when creating/editing a server, but I'm not putting effort into that right now with React Admin soon™
2020-12-13 09:53:17 -08:00
Matthew Penner
911d85c230
Delete the oldest backup, not the newest backup, closes #2800
2020-12-07 09:31:44 -07:00
Matthew Penner
1ce6d3bbba
Maybe we should keep that backup rate-limit
2020-12-06 13:55:45 -07:00
Matthew Penner
a5cebd6bcf
s3 backups: handle CompleteMultipartUpload and AbortMultipartUpload on the panel instead of in wings, add BACKUP_PRESIGNED_URL_LIFESPAN environment variable
2020-12-06 13:53:55 -07:00
Dane Everitt
79673ca440
Don't ever block storing node updates if wings returns an error; closes #2712
2020-12-06 12:23:58 -08:00
Dane Everitt
11054de5b3
Attempt revocation of JWT access when changing a server's owner
...
closes #2771
2020-12-06 12:16:12 -08:00
Gonzalo Chavez
ebc8d40db8
Backup Rotation - Variable name changed
2020-11-11 16:03:57 -03:00
Gonzalo Chavez
e6a4a17922
Backup Rotation - Comment change
2020-11-11 16:02:39 -03:00
Gonzalo Chavez
7b8322e9c9
Backup Rotation - Minor changes
2020-11-11 10:52:28 -03:00
Gonzalo Chavez
1eaf486eaa
Backup Rotation - Minor Changes
2020-11-09 21:14:47 -03:00
Gonzalo Chavez
1f01c653f1
Backup rotation for schedules.
2020-11-09 20:35:57 -03:00
Dane Everitt
e0a087f077
Attempt to save a transaction a few times when creating a server; closes #2674
2020-11-08 13:19:52 -08:00
Dane Everitt
c4df534722
Handle reconnect events for websocket errors
2020-11-03 20:33:05 -08:00
Dane Everitt
7618f306bd
Support functionality for per-egg features
2020-11-02 20:20:36 -08:00
Dane Everitt
ebd81e9d1d
Properly pass along build information to Wings; closes #2552
2020-11-02 19:58:03 -08:00
Matthew Penner
85af073438
Switch to s3 multipart uploads for backups
2020-11-01 15:27:43 -07:00
Dane Everitt
b946b20193
Avoid pass-by-reference issues in config parsing leading to duplicated responses; ref #2511
2020-11-01 13:07:00 -08:00
Dane Everitt
61f501abc9
Fix file parser failing if multiple configuration values are present on same line; closes #2604
2020-11-01 12:25:02 -08:00
Dane Everitt
6cb21fb920
Add test coverage for allocation auto-assignment service
2020-10-31 22:17:32 -07:00
Dane Everitt
d493685518
Add test coverage for allocation assignment endpoint
2020-10-31 21:57:27 -07:00
Dane Everitt
b2be067f38
Support deleting an allocation for a server
2020-10-31 21:22:44 -07:00
Dane Everitt
365f5e0806
server_id is irrelevant at this stage
2020-10-31 14:59:06 -07:00
Dane Everitt
c6bd7ff661
Improve logic handle auto-allocation of ports for a server
2020-10-31 14:58:15 -07:00
Dane Everitt
c00e5b36a5
Return all servers for a node as a paginated response
...
Avoids crashing the PHP process and avoids a bad runaway N+1 query issue that previously existed.
2020-10-31 11:14:28 -07:00
Dane Everitt
73b795faba
Correctly reset a schedule if there is an exception during the run stage; closes #2550
2020-10-26 20:54:15 -07:00
Dane Everitt
65d04d0c05
Correctly handle schedule task deletion and avoid errors; closes #2534
2020-10-22 20:54:58 -07:00
Dane Everitt
26de4493dd
Set notes to null when assigning allocation; ref #2553
2020-10-19 21:08:40 -07:00
Dane Everitt
1f5e0c0334
Update build modification service and cover logic with test cases
...
closes #2553
2020-10-19 21:07:07 -07:00
Dane Everitt
5763493c6c
Allow setting the backup limit via the API; closes #2535
2020-10-17 14:23:00 -07:00
Dane Everitt
839e277763
Fix exception when passing location IDs to creation service; closes #2529
2020-10-17 11:52:21 -07:00
Dane Everitt
e7c64bc60e
Add test coverage for schedule execution
2020-10-14 21:06:27 -07:00
Dane Everitt
c1ee0ac4f8
Add support for executing a scheduled task right now
2020-10-14 20:38:59 -07:00
Dane Everitt
1ad8b3f37d
Do not mark a server as "not installed" when updating it's startup arguments
2020-10-12 20:12:34 -07:00
Dane Everitt
8697185900
Fix up database creation and handling code for servers; ref #2447
2020-10-11 11:59:46 -07:00
Dane Everitt
69f27ed807
Update and test variable validator logic
2020-10-10 16:46:56 -07:00
Dane Everitt
bf6e1ce966
Document what is being tested a little better so it isn't just a wall of code
2020-10-09 22:12:45 -07:00
Dane Everitt
c2db163731
Update node finding service logic to be single query; add test coverage
2020-10-09 22:01:25 -07:00
Dane Everitt
192a578a03
Add basic test coverage for server creation functionality
2020-10-09 21:08:27 -07:00
Dane Everitt
c59a2c436b
Don't waste time on a service better suited to an integration test
2020-10-08 22:34:52 -07:00
Dane Everitt
2560163655
Modify how deletion service works (actually fixes #2085 ); cover changes with test
2020-10-08 21:08:55 -07:00
Dane Everitt
7a643beee0
Add test coverage for startup modification
2020-10-08 20:38:21 -07: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
83efb2d7b6
More fixes for broken unit tests
2020-10-05 21:54:29 -07:00
Dane Everitt
0c2bd416ee
Fix unit tests for eggs
2020-10-05 21:29:35 -07:00
Dane Everitt
0f4f2235a3
More Laravel-esq job processing
2020-10-05 20:46:41 -07:00
Dane Everitt
99c9682f67
Fix errors with mounts; closes #2374
2020-10-03 12:42:27 -07:00
Dane Everitt
711efe34bb
Truncate auto-generated usernames to 64 characters
2020-09-24 19:37:39 -07:00
Dane Everitt
c0fc9125ed
Fix database naming conventions; closes #2404
2020-09-24 19:31:42 -07:00
Dane Everitt
7b57d65edf
Cleanup allocation repository
2020-09-13 12:47:05 -07:00
Dane Everitt
3c7ffaaadb
Remove all references of packs from the Panel
2020-09-13 11:13:37 -07:00
Dane Everitt
9a21584c42
Cleanup mount code; automatically include the mount in the configuration
2020-09-13 09:59:54 -07:00
Dane Everitt
6ac12fc156
Disable integrity hashes by default, allow enabling with environment
...
Cloudflare auto-minifies our minified code even more (wat), which leads to issues with the resource hash, and then nothing loads. This is less likely to lead to support requests now.
2020-09-01 19:37:05 -07:00
Dane Everitt
6a442c1fd3
Don't send along egg information unecessarily
2020-08-30 09:40:19 -07:00
Dane Everitt
ac1559de5e
Revert "Less obtuse mounting code"
...
This reverts commit 9d95c5ab32
.
2020-08-25 21:54:41 -07:00
Dane Everitt
d58fd72bf5
Correctly pass along startup variables for a server; closes #2255
2020-08-25 19:11:25 -07:00
Dane Everitt
9d95c5ab32
Less obtuse mounting code
2020-08-25 19:01:08 -07:00
Rémi Labergère
74cf92b2e1
Fix default values not applied in server creation
2020-08-24 18:50:25 +02: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
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
61e9771333
Code cleanup for subuser API endpoints; closes #2247
2020-08-19 20:21:12 -07:00
Dane Everitt
d1a28051f9
Support userInteraction and user_interaction because who needs this to be maintainable in the future...
2020-08-04 20:39:18 -07:00
Dane Everitt
c91c02f6a8
Fix for struct in Go
2020-08-04 20:38:24 -07:00
Dane Everitt
164d6ef2e4
Return egg "done" checks as an array rather than a string
2020-08-04 20:34:44 -07:00
Matthew Penner
295f09ca43
Merge branch 'develop' into feature/server-mounts
2020-07-11 12:29:30 -06:00
Dane Everitt
f0e18ba6f7
Code cleanup
2020-07-06 20:05:42 -07:00
Matthew Penner
29876e023b
Merge branch 'develop' into feature/server-mounts
2020-07-04 15:20:01 -06:00
Dane Everitt
c522935403
Fix logic when generating recovery codes and update migration
2020-07-02 22:11:07 -07:00
Dane Everitt
a998b463e3
Generate recovery tokens when enabling 2FA on an account
2020-07-02 21:55:25 -07:00
Dane Everitt
7ee509d8c2
urlencode company name; closes #1690
2020-07-02 21:14:53 -07:00
Dane Everitt
2ed3763d21
cs fix
2020-06-28 15:43:44 -07:00
Dane Everitt
63bc4080d5
Add test coverage for reinstall & server renaming
2020-06-28 10:40:41 -07:00
Dane Everitt
da39d9177e
Fix seed imports
2020-06-25 21:16:59 -07:00
Dane Everitt
b55767426f
Update some server service tests
2020-06-24 22:18:48 -07:00
Dane Everitt
83a59cdf4f
Fix node update tests
2020-06-24 21:54:56 -07:00
Dane Everitt
756a21ff04
Remove unused code
2020-06-24 20:38:13 -07:00
Dane Everitt
066ed5cdda
Don't prevent deletion if a DB host is unreachable and it is a force delete; closes #2085
2020-06-23 20:26:48 -07:00
Dane Everitt
4a0627d182
Don't trigger a 500 error due to unchecked data being inserted; closes #2087
...
This also clears up allowed values for the disk input and normalizes the messaging between edit and create screens.
2020-06-23 20:24:09 -07:00
Dane Everitt
b78aa180ea
Prevent creating a new database via the application API if server is at its limit; closes #2129
2020-06-23 20:07:37 -07:00
Matthew Penner
65393914c3
Send mounts when wings fetches server information, fix issue with mount fields not being updated
2020-05-21 15:14:09 -06:00
Matthew Penner
0db7debb46
Add mount update and deletion services, add MountController@update and MountController@delete
2020-05-20 19:35:30 -06:00
Matthew Penner
77150b2551
Add increment id to mount, add basic mount view page
2020-05-20 19:17:35 -06:00
Matthew Penner
a4af8ec977
Add the ability to create mounts
2020-05-20 18:55:59 -06:00
Dane Everitt
086abb2a55
Actually delete the backup in the DB
2020-05-09 20:01:45 -07:00
Dane Everitt
225ef2917a
Support downloading and deleting S3 backups
2020-05-09 19:43:58 -07:00
Dane Everitt
d4e037db9c
Don't abort deleting a backup if the daemon cannot find it
2020-05-09 19:19:45 -07:00
Dane Everitt
52966ede89
Clean this code up, just use the updated model's FQDN; references #1931
2020-05-09 16:26:37 -07:00
Dane Everitt
33a7762152
Fix connection issues when changing node FQDN; closes #1931
2020-05-09 16:25:22 -07:00
Dane Everitt
49dee28eb8
Support using pipe characters within egg validation rules; closes #1960
2020-05-07 20:40:19 -07:00
Dane Everitt
c4e9c0a4ba
Better S3 backup generation support
2020-05-03 20:49:09 -07:00
Dane Everitt
b774622faa
Add base support for AWS/Wings backup adapters
2020-04-26 16:07:36 -07:00
Dane Everitt
446dc8b33d
Block creation of backups if it would put the server over it's limit
2020-04-26 12:21:14 -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
2cf1c7f712
Fix handling of SFTP authorization; closes #1972
2020-04-25 11:48:49 -07:00