Matthew Penner
63e7bde39c
Merge branch 'develop' into feature/server-mounts
2020-07-04 15:17:59 -06:00
Jakob
860e300c22
enable codeql security scanning
2020-07-04 21:30:38 +02:00
Dane Everitt
82912595b7
Update SFTP logic for authentication to avoid brute forces; replicates logic from #9
...
Co-Authored-By: Stepan Fedotov <trixterthetux@users.noreply.github.com>
2020-07-02 21:03:11 -07:00
Dane Everitt
65809b5731
Don't crash when passing in an environment variable that isn't a string value
2020-07-02 20:32:17 -07:00
Dane Everitt
e5b844d2c4
Support automatically generating SSL certificates
2020-06-30 21:34:47 -07:00
Dane Everitt
ea2630946a
Sync server state with Panel before performing installation to ensure information is up to date
2020-06-30 20:56:55 -07:00
Dane Everitt
79a582a5f2
Generate a nicer install log with more detailed information
2020-06-30 20:45:36 -07:00
Dane Everitt
d6a3d9adb1
Don't obliterate custom SSL locations if defined
...
closes pterodactyl/panel#2121
2020-06-29 20:56:13 -07:00
Dane Everitt
d284c4aec9
Fix lock obtainment to avoid freeze
2020-06-29 20:42:26 -07:00
Dane Everitt
05a4730489
Fix configuration file saving to disk using the config command
...
closes pterodactyl/panel#2135
2020-06-29 20:33:54 -07:00
Dane Everitt
2dad3102e0
Fix saving of ini configuration files to the disk
2020-06-29 20:21:41 -07:00
Dane Everitt
b33f14ddd9
Correctly handle replacements with escaped values; closes #2041
2020-06-29 20:08:36 -07:00
Dane Everitt
1f6789cba3
Acquire exclusive lock when installing a server
...
Also allows aborting a server install mid-process when the server is deleted before the process finishes.
2020-06-22 21:38:16 -07:00
Dane Everitt
073247e4e1
Use 15 minute context timeout for pulling, not 10 seconds... closes #2130
2020-06-22 20:56:55 -07:00
Dane Everitt
a3d83d23bd
Don't try to send space available when loading from a configuration
...
Server is not always installed when this function is called, this will cause errors in those cases.
2020-06-22 20:52:23 -07:00
Dane Everitt
f318962371
Ensure that more error stacks get recorded
2020-06-22 20:51:52 -07:00
Dane Everitt
db31722cfc
Don't cause a double stacktrace on certain errors
2020-06-22 20:51:41 -07:00
Dane Everitt
d91de3d912
Fix makefile
2020-06-18 21:05:00 -07:00
Dane Everitt
495ad4defd
Cleaner gin logging in debug
2020-06-13 10:54:38 -07:00
Dane Everitt
b03aa20c8d
Always use release mode
2020-06-13 10:45:52 -07:00
Dane Everitt
7d4a8d7f7e
Update everything expect transfers & sftp to not use zap
2020-06-13 10:40:26 -07:00
Dane Everitt
65b1b96b06
Merge branch 'develop' of https://github.com/pterodactyl/wings into develop
2020-06-13 10:26:37 -07:00
Dane Everitt
198a22f446
Replace even more zap occurences
2020-06-13 10:26:35 -07:00
Dane Everitt
e1531802cf
Merge pull request #35 from pterodactyl/issue/2077
...
Fix multiple server status messages
2020-06-11 20:52:15 -07:00
Matthew Penner
5c2686fc6d
Fix multiple server status messages
2020-06-10 15:00:59 -06:00
Dane Everitt
0ae286d617
Correctly handle empty values from the API requests; mergo by default thinks these "empty" values should be skipped
2020-05-31 12:42:10 -07:00
Dane Everitt
62e5547c6d
Merge pull request #32 from pterodactyl/issue/1796
...
Send disk usage when server is offline
2020-05-31 10:54:21 -07:00
Dane Everitt
00a026c2a5
Merge pull request #34 from rahonavis/2078-bindjson
...
#2078 - fix BindJSON calls
2020-05-30 10:21:11 -07:00
Carlo Field
359564bd91
#2078 - fix BindJSON calls
2020-05-29 17:44:49 +02:00
Dane Everitt
f8bffd8391
Start the process of migrating from zap to a cleaner CLI output for logs
2020-05-28 22:07:53 -07:00
Dane Everitt
4b366ae19e
Don't cause a crash loop when part of the pre-server-boot process fails
2020-05-28 19:53:12 -07:00
Dane Everitt
82ffb9804d
Don't lock up websocket when sending error json; ref pterodactyl/panel#2076
2020-05-28 19:52:47 -07:00
Dane Everitt
54510057bb
Don't block server boot if there is an error pulling an image
...
Obviously this requires the image to exist locally, but should avoid widespread issues when Quay inevitably goes down again.
closes pterodactyl/panel#2076
2020-05-28 19:26:41 -07:00
Dane Everitt
6d7ab865d7
Fix SFTP default configuration; closes pterodactyl/panel#2045
2020-05-25 15:51:36 -07:00
Matthew Penner
74097cc4ad
Fix sending status event to all subscribers, send disk usage when server is offline
2020-05-22 11:01:27 -06:00
Matthew Penner
4483bfa2aa
Make mounts not get overridden when a server is updated
2020-05-21 15:13:27 -06:00
Matthew Penner
662eb17241
Pass server mounts into docker
2020-05-21 14:53:00 -06:00
Dane Everitt
bd063682dc
Better match handling I think?
2020-05-17 18:22:06 -07:00
Dane Everitt
c802a3397e
Fix warnings about configuration values; should always use the snake case since we're using a marshaled value
2020-05-17 17:25:53 -07:00
Dane Everitt
276bd2be33
Don't quote environment variables; it is not needed in docker for this; closes pterodactyl/panel#2030
2020-05-17 17:06:01 -07:00
Dane Everitt
e83495a09e
Update makefile to for easier builds
2020-05-17 16:12:42 -07:00
Dane Everitt
64cad5c35d
Don't blow up when working with bad egg configurations; avoids boot crash; closes pterodactyl/panel#2035
2020-05-17 15:57:59 -07:00
Dane Everitt
911b809a4e
Clean debugging output to not include the full authorization key in debug output
2020-05-17 15:28:04 -07:00
Dane Everitt
3fe884670d
Fix handling of files with special characters and spaces
...
closes pterodactyl/panel#2040
closes pterodactyl/panel#2038
2020-05-17 15:07:11 -07:00
Dane Everitt
804f3d5ca9
Always clean up the installer containers, even if there is an error during the process; closes pterodactyl/panel#2015
2020-05-09 19:57:29 -07:00
Dane Everitt
0bd28a4480
Cleanup S3 support; send actual backup details in response
2020-05-09 19:24:30 -07:00
Dane Everitt
326b5b6554
Merge pull request #31 from kawaiinekololis/network_option
...
Added network option to docker configuration
2020-05-09 18:53:59 -07:00
Kawaii Neko Lolis
cfca0d7f07
Added network option to docker configuration
2020-05-10 03:29:56 +02:00
Dane Everitt
5e60cb2eb0
Update to latest version of sftp-server; closes pterodactyl/panel#2014
2020-05-09 17:47:12 -07:00
Dane Everitt
d178a0d96b
Don't fail deletion if container doesn't exist; closes pterodactyl/panel#2001
2020-05-09 17:16:41 -07:00