Dane Everitt
d8d1eacb42
Don't require Wings API call to pass in order to update server details
2021-08-29 13:19:24 -07:00
Dane Everitt
2b3303c46b
Fix changing a user password to not incorrectly handle logging out old sessions; closes #3531
2021-08-15 17:37:12 -07:00
Dane Everitt
25d9ba4779
Run php-cs-fixer
2021-08-15 17:20:36 -07:00
Matthew Penner
10b357b71e
ui(server): fix used backup count ( #3526 )
...
* ui(server): fix used backup count
* ui(server): refactor backup count code
2021-08-04 20:34:00 -07:00
Matthew Penner
970f281859
backups: default is_successful to false ( #3522 )
...
* backups: default is_successful to false
* backups: properly query backups
2021-08-03 19:45:25 -07:00
Mia
bda1ff50ab
[UI] Display the 2FA token, show spinner on load ( #3367 )
...
Co-authored-by: Dane Everitt <dane@daneeveritt.com>
2021-08-02 20:39:12 -07:00
Charles Morgan
91ea0a4f41
Update core eggs to new docker yolk images ( #3382 )
2021-07-17 10:02:00 -07:00
Matthew Penner
1260965dfd
ServerCreationService: send 'start_on_completion' option to wings ( #3431 )
2021-07-04 15:15:19 -07:00
Dane Everitt
d049839ffc
Fix deleting a backup that is locked and failed; closes #3404
2021-06-13 10:26:47 -07:00
Dane Everitt
5d5e4ca7b1
Add support for locking backups to prevent any accidental deletions
2021-05-03 21:26:09 -07:00
Dane Everitt
7a85c31553
Add internal code support for stopping tasks if server is not running or continuing through on task error
2021-05-01 11:52:02 -07:00
Julien Tant
552b9d3c33
Add possibility to run disabled cron
2021-04-24 15:06:21 -07:00
Dane Everitt
48ad8f538e
Always allow specifying a page size with the API; closes #3218
2021-03-26 09:03:51 -07:00
Dane Everitt
7676f7dd66
Allow modification of server build settings even when node is offline
2021-03-21 11:49:42 -07:00
Dane Everitt
8c7d785c9e
Ensure a created_at value is set on recovery tokens; closes #3163
2021-03-21 10:43:01 -07:00
Dane Everitt
1476104b30
Fix inability to download files from the panel; closes #3151
...
Co-Authored-By: xcgc <74693042+xcgc@users.noreply.github.com>
2021-03-07 09:45:27 -08:00
Dane Everitt
1943c7a98b
Prevent catastrophic boot failure in wings when a server egg has bad data; closes #3055
2021-03-03 21:02:11 -08:00
Dane Everitt
19279644df
Show more user friendly error when allocation fails to parse; closes #3056
2021-03-03 20:19:00 -08:00
Dane Everitt
e30a765071
Simplify logic when a server is in an unsupported state
2021-01-30 13:28:31 -08:00
Dane Everitt
be26921fcc
Merge branch 'develop' into dane/restore-backups
2021-01-30 10:10:29 -08:00
Dane Everitt
5515871b2f
Turns out I hate that huge space formatting, disable that mess
2021-01-27 20:52:11 -08:00
Dane Everitt
0ae90eacaa
Don't try to store null values in the DB for variables; closes #3038
2021-01-27 20:45:26 -08:00
Dane Everitt
b00def2537
Switch to JSON from TEXT when storing denylist items for an egg; closes #3034
2021-01-26 21:08:53 -08: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
07798b7366
Update file contents
2021-01-23 13:59:52 -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
87371901c0
Add base logic to support sending a request to restore a backup for a server
2021-01-17 17:51:09 -08:00
Dane Everitt
a75a347d65
Remove suspended & installing fields, replace with single status field
2021-01-17 15:51:56 -08:00
Dane Everitt
9684456480
Add a todo for later
2021-01-10 17:05:41 -08:00
Dane Everitt
239984f92c
Add internal support for file denylist on eggs; closes #569
2021-01-10 17:02:14 -08:00
Dane Everitt
ff21d83e2d
Add endpoint to get all nodes meeting memory & disk requirements for a server; closes #1012
2021-01-10 13:08:43 -08:00
Oreo Oreoniv
421d838e35
Fix retry after header
2020-12-29 19:11:47 +03:00
Dane Everitt
dbb6f69e00
Use proper newline, not literal \n
2020-12-27 16:47:51 -08:00
Dane Everitt
794cf9d9dd
Make backup throttling configurable
2020-12-27 16:41:53 -08:00
Dane Everitt
6c39288def
Clarify error messaging for transfers
2020-12-24 10:14:10 -08:00
Dane Everitt
25e53d9f22
Merge branch 'matthewpi/transfer-improvements' of https://github.com/Pterodactyl/Panel into matthewpi/transfer-improvements
2020-12-24 10:10:41 -08:00
Dane Everitt
2ee08a1a3d
Update logic for server transfer controller
2020-12-24 10:10:40 -08:00
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