Dane Everitt
ddfd6d9cce
Modify backup process to utilize contexts and exponential backoffs
...
If a request to upload a file part to S3 fails for any 5xx reason it will begin using an exponential backoff to keep re-trying the upload until we've reached a minute of trying to access the endpoint.
This should resolve temporary resolution issues with URLs and certain S3 compatiable systems such as B2 that sometimes return a 5xx error and just need a retry to be successful.
Also supports using the server context to ensure backups are terminated when a server is deleted, and removes the http call without a timeout, replacing it with a 2 hour timeout to account for connections as slow as 10Mbps on a huge file upload.
2021-05-02 12:28:36 -07:00
Dane Everitt
da74ac8291
Trim "~" from container prefix; closes pterodactyl/panel#3310
2021-05-02 11:00:10 -07:00
Dane Everitt
3fda548541
Update CHANGELOG.md
2021-04-27 19:07:31 -07:00
Dane Everitt
daaef5044e
Correctly determine name for archive files when decompressing; closes pterodactyl/panel#3296
2021-04-25 15:36:00 -07:00
Dane Everitt
35ba6d7524
Update CHANGELOG.md
2021-04-24 16:52:19 -07:00
Dane Everitt
fb0e769306
fix error when out of disk space; closes pterodactyl/panel#3273
2021-04-18 14:48:42 -07:00
Dane Everitt
0676a82a21
Add better error handling for filesystem
2021-04-17 13:29:18 -07:00
Dane Everitt
a0ae5fd131
Merge branch 'develop' of github.com:pterodactyl/wings into develop
2021-04-17 13:13:40 -07:00
Dane Everitt
4b244e96fb
Fix .rar file decompression; closes pterodactyl/panel#3267
2021-04-17 13:13:37 -07:00
Dane Everitt
488884fdee
Merge pull request #92 from parkervcp/fix_docker_build
...
Fixes ghcr build
2021-04-13 08:18:30 -07:00
Michael Parker
cfa338108f
Fixes ghcr build
...
Removes version pins so packages install properly.
2021-04-12 19:38:16 -04:00
Dane Everitt
16b0ca3a8e
Use io#LimitReader to avoid panic when reading files with active writes; closes pterodactyl/panel#3131
2021-04-04 10:42:03 -07:00
Dane Everitt
f57c24002e
More API response fixing
2021-04-04 10:20:27 -07:00
Dane Everitt
8dfd494eaf
Better explain what is happening in this file
2021-04-03 14:16:00 -07:00
Dane Everitt
2e0496c1f9
Add note about handling of UTF-8 sequences in properties files.
2021-04-03 14:02:37 -07:00
Dane Everitt
f85ee1aa73
cleanup
2021-04-03 13:20:07 -07:00
Dane Everitt
d4b63bef39
Fix details fetching for a single server instance
2021-04-03 13:15:11 -07:00
Dane Everitt
4c3b497652
Better error handling and reporting for image pull errors
2021-04-03 12:52:32 -07:00
Dane Everitt
ff62d16085
Merge branch 'develop' of github.com:pterodactyl/wings into develop
2021-04-03 11:18:44 -07:00
Dane Everitt
202ca922ad
Update README.md
2021-04-03 11:18:33 -07:00
Dane Everitt
76b7967fef
Merge pull request #88 from Antony1060/develop
...
Added app name
2021-04-03 11:13:29 -07:00
Dane Everitt
1b1eaa3171
Avoid expensive copies of the config for every line output
2021-04-03 11:11:36 -07:00
Dane Everitt
87f0b11078
Merge pull request #90 from Antony1060/fix
...
Fixed /api/servers
2021-04-03 11:08:43 -07:00
Dane Everitt
b448310a33
Correctly return servers installed on wings and their resource usage
2021-04-03 11:08:26 -07:00
Dane Everitt
f1b85ef0ab
Merge pull request #91 from nysos3/develop
...
Fix reading User.Gid from WINGS_GID over WINGS_UID
2021-04-03 09:03:10 -07:00
Cody Carrell
bec6a6112d
Fix reading User.Gid from WINGS_GID over WINGS_UID
2021-04-02 22:45:56 -04:00
antony1060
b691b8f06f
Fixed /api/servers
2021-04-02 21:32:30 +02:00
Dane Everitt
31127620e5
License date updates
2021-03-26 09:33:24 -07:00
Dane Everitt
5e7316e09a
Update CHANGELOG.md
2021-03-26 09:13:38 -07:00
Antony
52fcf1e37f
Added defaults
...
Co-authored-by: Jakob <dev@schrej.net>
2021-03-24 11:24:54 +01:00
antony1060
0c17e240f4
Added app name
2021-03-24 10:26:03 +01:00
Matthew Penner
471886dd34
internally mark if a server is restoring to restrict actions
2021-03-12 16:19:35 -07:00
Dane Everitt
b63a491b5e
Update CHANGELOG.md
2021-03-07 17:37:03 -08:00
Dane Everitt
6902422229
Update CHANGELOG.md
2021-03-07 17:35:55 -08:00
Dane Everitt
5f5b2bc84e
Quick little code cleanup and adding some commentary
2021-03-07 17:31:45 -08:00
Dane Everitt
81a411a42c
Merge branch 'develop' of github.com:pterodactyl/wings into develop
2021-03-07 17:24:47 -08:00
Dane Everitt
37c6b85489
Don't throw back errors on termination if the container doesn't exist; closes pterodactyl/panel#3149
2021-03-07 17:24:45 -08:00
Matthew Penner
0e3778ac47
transfers: use backup archiver
2021-03-07 11:04:15 -07:00
Dane Everitt
ad2618bc6f
Update CHANGELOG.md
2021-03-03 21:28:14 -08:00
Dane Everitt
fb2dc39a47
Remove some forgotten debug
2021-03-03 21:00:58 -08:00
Dane Everitt
0919fb2da6
Improve error handling and reporting for server installation & process boot
2021-03-03 20:56:18 -08:00
Dane Everitt
33f5cb7df4
more accurate naming; for now don't actually change how wings works
2021-03-03 20:53:40 -08:00
Dane Everitt
8897be661b
Fix missing error handling for server configuration endpoints
2021-03-03 20:51:49 -08:00
Dane Everitt
2a98faf360
Merge branch 'develop' of https://github.com/pterodactyl/wings into develop
2021-03-03 19:29:50 -08:00
Dane Everitt
b6871f87ec
Set the binary version to the git hash for debug builds
2021-03-03 19:29:44 -08:00
Matthew Penner
d5605abc15
update minimum go version, run go mod tidy
2021-02-25 13:55:05 -07:00
Dane Everitt
2eb721bbe7
Merge branch 'dane/api-cleanup' into develop
2021-02-23 21:25:10 -08:00
Dane Everitt
a8ee5463ce
Add logic to reset failed server states on Panel when booting
2021-02-23 21:23:49 -08:00
Dane Everitt
1e1549342f
Merge pull request #87 from danny6167/develop
...
Quote and escape Content-Disposition header
2021-02-22 08:18:23 -08:00
Daniel Barton
4ed0bf522b
Quote and escape Content-Disposition header
2021-02-21 15:05:43 +08:00