Commit Graph

750 Commits

Author SHA1 Message Date
Matthew Penner
d1127569f8 go mod tidy && go mod verify 2020-04-04 17:26:11 -06:00
Matthew Penner
e53de71946 Fix merge 2020-04-04 17:23:54 -06:00
Matthew Penner
5693d0431e
Merge branch 'develop' into feature/server-transfers 2020-04-04 17:17:09 -06:00
Dane Everitt
4ce2b73490
Add first implementation of local backups for a server 2020-04-04 16:07:25 -07:00
Matthew Penner
6af3cb2c9b Get transfers 'fully' working, need to add fail request though 2020-04-04 16:15:49 -06:00
Matthew Penner
8bd7708631 Get server transfers to download the archive from the old daemon 2020-04-04 14:08:17 -06:00
Matthew Penner
ef0ad45b71 Add authentication for another node to access GET /api/servers/:server/archive, add POST /api/transfer route 2020-04-04 00:51:35 -06:00
Matthew Penner
c096d8802f Add configurable ArchiveDirectory 2020-04-04 00:17:32 -06:00
Matthew Penner
3dba11ac6f Add ability to create archives of servers, add GET and POST /api/servers/:server/archive routes to get and request an archive of a server 2020-04-03 23:17:26 -06:00
Dane Everitt
5fd138e188
Add support for restarting a server instance 2020-04-03 14:52:24 -07:00
Dane Everitt
019d028011
Add support for reinstalling a server 2020-04-03 13:43:13 -07:00
Dane Everitt
ddca34f9e8
Add support for defining specific threads for containers 2020-03-29 12:31:17 -07:00
Dane Everitt
f0e37f1e98
Merge pull request #15 from matthewpi/travis-fix
Remove dep and use go modules in .travis.yml
2020-02-08 13:30:08 -08:00
Dane Everitt
679e21a6dd Merge pull request #14 from matthewpi/chown-fix
Chown directories, not just files.  Fixes #1814
2020-02-08 13:29:55 -08:00
Matthew Penner
d0dabb927b
Remove "go mod download" and replace 1.9.x with 1.11.x due to missing go modules support 2020-02-07 17:08:20 -07:00
Matthew Penner
c8d953380e
Remove dep and use go modules in .travis.yml 2020-02-06 16:50:30 -07:00
Matthew Penner
8107532080 Revert style changes due to gofmt 2020-02-02 14:43:13 -07:00
Matthew Penner
07b1876954 Chown directories, not just files 2020-02-02 14:41:15 -07:00
Dane Everitt
3f6b0ce44c
Merge pull request #13 from Sir3lit/patch-2
Fixes stuck Go-routine
2020-01-28 10:49:36 -08:00
AreYouScared
5bde25d5b5
Fixes stuck Go-routine
Fixes https://github.com/pterodactyl/panel/issues/1816
Credit goes to https://github.com/matthewpi
2020-01-28 12:35:56 -05:00
Dane Everitt
b37a4a4926
Create CHANGELOG.md 2020-01-19 15:25:03 -08:00
Dane Everitt
ab54d2c416
Avoid triggering crash detection on container destroy 2020-01-19 14:00:59 -08:00
Dane Everitt
59299d3cda
Add code to notify panel when install is completed 2020-01-19 13:30:54 -08:00
Dane Everitt
7533e38543
Add support for running installation process when creating a server 2020-01-19 13:05:49 -08:00
Dane Everitt
99a11f81c3
Improve event emitter/subscription abilities 2020-01-18 14:04:26 -08:00
Dane Everitt
c6fcd8cabb
Send installation data over socket when running 2020-01-18 13:05:44 -08:00
Dane Everitt
5c3823de9a
Only dump pull status in debug 2019-12-28 15:14:56 -08:00
Dane Everitt
5350a2d5a5
Don't block the HTTP request while waiting on the installation 2019-12-28 15:12:12 -08:00
Dane Everitt
6ef2773c01
Very, very basic server installation process 2019-12-28 14:57:19 -08:00
Dane Everitt
853d215b1d
Less problematic handling for time drift in the socket 2019-12-28 12:27:21 -08:00
Dane Everitt
3bbb8a3769
Relicense 2019-12-25 14:33:02 -08:00
Dane Everitt
a51cb79d3b
Create server data directory when installing
closes pterodactyl/panel#1790
2019-12-24 17:13:03 -08:00
Dane Everitt
beec5723e6
Update SFTP server dependency 2019-12-24 17:11:54 -08:00
Dane Everitt
d7bd10fcee
Better approach to timezone handling by using a TZ environment variable 2019-12-24 16:57:22 -08:00
Dane Everitt
06f495682c
When mounting timezone data, check for the path first to avoid a fatal error 2019-12-24 16:49:08 -08:00
Dane Everitt
32e389db21
General code cleanup 2019-12-24 16:40:51 -08:00
Dane Everitt
d9ceb9601d
Do not set the default values in the struct we're unmarshaling into
closes pterodactyl/panel#1786

If you set the defaults, you'll override a bunch of values for the server with the original values. For example this code caused servers in a running state to be changed to a non-running state, thus leading to stats not sending.

Just merge in any new values, leave everything else as empty.
2019-12-24 16:35:43 -08:00
Dane Everitt
ea867d16a5
None of these constants are actually used 2019-12-24 15:30:25 -08:00
Dane Everitt
82e1cbbc46
Remove this file, it isn't correct anymore 2019-12-22 15:02:50 -08:00
Dane Everitt
7f8e0cc66b
Show stack on error better 2019-12-22 14:54:36 -08:00
Dane Everitt
2d0faadeb6
Always rebuild the container when a server is started 2019-12-22 13:52:22 -08:00
Dane Everitt
fabaf21a0d
Sync all server details when booting daemon or server process 2019-12-22 13:21:21 -08:00
Dane Everitt
834f0122e3
Update configuration struct to support defaults 2019-12-22 13:20:34 -08:00
Dane Everitt
0866b84d8e
Implement server deletion 2019-12-21 23:23:56 -08:00
Dane Everitt
038436c781
Correctly include the server data folder 2019-12-21 21:17:14 -08:00
Dane Everitt
a8e907a0fc
Don't force debug to true in config file when set via flag 2019-12-21 21:10:45 -08:00
Dane Everitt
536038967a
Better debug output 2019-12-21 21:03:57 -08:00
Dane Everitt
189289ad5f
Correctly handle updating server data 2019-12-21 21:02:02 -08:00
Dane Everitt
d583c1d53e
Allow all websocket connections, but require authentication before sending anything down the line 2019-12-21 17:31:21 -08:00
Dane Everitt
06780ac28f
Include access control headers 2019-12-16 21:43:07 -08:00