Jakob Schrettenbrunner
5ef58cadee
add version flag
2020-07-05 03:31:26 +02:00
Jakob Schrettenbrunner
a110d5768f
guessing the ref name
2020-07-05 03:31:26 +02:00
Jakob Schrettenbrunner
13b89b93f2
ignore master and release branches, artifacts for PRs
2020-07-05 03:31:26 +02:00
Jakob Schrettenbrunner
39f3408e4f
Well, that one was on me I guess
2020-07-05 03:31:26 +02:00
Jakob Schrettenbrunner
c04042d07a
oNlY sInGlE qUoTe StRiNgS
2020-07-05 03:31:26 +02:00
Jakob Schrettenbrunner
7d9c608f6b
only create artifacts on develop and compress faster
2020-07-05 03:31:26 +02:00
Jakob Schrettenbrunner
7a456dcac4
add version to build artifact
2020-07-05 03:31:26 +02:00
Jakob Schrettenbrunner
c071df2a31
add workflow to build and test
2020-07-05 03:31:14 +02:00
Matthew Penner
f7948939eb
Log if a mount isn't allowed
2020-07-04 16:20:58 -06:00
Matthew Penner
f3419495cd
Get the logger to log the cleaned mount paths as well
2020-07-04 15:38:50 -06:00
Matthew Penner
9f95efa3ae
Clean the source and target paths when adding a mount
2020-07-04 15:37:52 -06:00
Matthew Penner
3a6050446f
Add AllowedMounts configuration option, block any custom mounts if they are not in the AllowedMounts list
2020-07-04 15:32:53 -06:00
Matthew Penner
63e7bde39c
Merge branch 'develop' into feature/server-mounts
2020-07-04 15:17:59 -06:00
Matthew Penner
d339996b4e
Tweaks to environment_docker.go, change container hostnames to use the server's uuid, add Domainname option
2020-07-04 15:14:22 -06:00
vagrant
deb9305f56
add diagnostics command
2020-07-04 21:10:47 +00:00
vagrant
c5f4c3cfcb
update github.com/docker/docker
2020-07-04 20:57:48 +00: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