Dane Everitt
5a62f83ec8
Don't run pre-boot actions if the server is already running
2020-09-11 23:11:57 -07:00
Dane Everitt
8bcb3d7c62
Remove deadlock specific code
2020-09-11 23:03:35 -07:00
Dane Everitt
b2eebcaf6d
Fix deadlocks in event listener system; closes pterodactyl/panel#2298
...
Fixes deadlocks that occurred when events were registered while other events were being unsubscribed and data was being flooded to these listeners. A complete mess, I hate this code, it is going to break again, but jesus I'm so tired.
2020-09-11 23:01:54 -07:00
Matthew Penner
45bcb9cd68
Lets not attempt to pull 16384 log lines
2020-09-11 22:52:07 -06:00
Dane Everitt
e1ff4db330
Also fix builds for non-releases
2020-09-11 21:00:37 -07:00
Dane Everitt
606143b3ad
Fix flags for workflow, strips 8MB off final binary size
2020-09-11 20:59:39 -07:00
Dane Everitt
57221bdd30
Make disk checking timeout configurable
2020-09-11 20:24:23 -07:00
Dane Everitt
8f6494b092
Merge branch 'develop' of https://github.com/pterodactyl/wings into develop
2020-09-10 20:17:16 -07:00
Dane Everitt
c415abf971
Safety logic check, don't try to stop a stopped server when suspending; closes #2318
...
Couldn't actually reproduce this, but a good sanity check I guess.
2020-09-10 20:16:16 -07:00
Matthew Penner
e10844d32c
Fix problems with CORS and websocket allowed origins
2020-09-10 21:08:00 -06:00
Dane Everitt
0cd8dc2b5f
avoid deadlocks while processing tons of data over server event listeners; closes pterodactyl/panel#2298
2020-09-10 20:05:01 -07:00
Dane Everitt
a31e805c5a
Return 400 error not 304 when bad data is passed
2020-09-09 21:12:06 -07:00
Dane Everitt
cff705f807
Support arrays within JSON and YAML documents better; closes pterodactyl/panel#1992
2020-09-09 20:27:41 -07:00
Dane Everitt
c19fc25882
Try to parse arrays more correctly; not quite working just yet but the concept seems to work
2020-09-07 17:27:23 -07:00
Dane Everitt
fff9a89ebb
Correctly detect not exist error
2020-09-07 15:57:11 -07:00
Dane Everitt
891e5baa27
Don't restart if the stop command is manually sent to the console
2020-09-07 15:53:44 -07:00
Dane Everitt
001bbfad1b
avoid panic from environment; ref pterodactyl/panel#2307
2020-09-07 15:37:35 -07:00
Dane Everitt
5bead443ad
Handle port bindings correctly when using 127.0.0.1
...
closes pterodactyl/panel#2307
2020-09-07 15:33:47 -07:00
Dane Everitt
77cf57d1ea
Merge pull request #56 from pterodactyl/issue/2308
...
Fix file parser messing with server.properties
2020-09-07 13:17:47 -07:00
Dane Everitt
d743d8cfeb
Merge pull request #54 from cyberkitsune/fast-unlimited-disk
...
Speed up server power on for servers with unlimited size
2020-09-07 13:05:37 -07:00
Matthew Penner
a81146d730
Potential fix for console becoming unresponsive ( #55 )
...
* Potentially fix console logs not being pulled after a server has been running for a while
* Add container_id to resource polling debug logs
2020-09-07 13:04:56 -07:00
Matthew Penner
d50f9a83b6
Fix #2308
2020-09-05 14:50:03 -06:00
Matthew Penner
7ba32aca84
Fix some typos and run gofmt on all .go files
2020-09-05 13:08:40 -06:00
Dane Everitt
b9f6e17a7d
Additional error logging
2020-09-03 21:21:42 -07:00
Dane Everitt
d99225c0fb
Add additional logging around resource polling
2020-09-03 21:19:06 -07:00
Dane Everitt
490f874128
Prevent bungee output breaking my CLI output...
...
Theres enough magic ANSI codes in here to kill a horse... this also causes logging ouput to get truncated
2020-09-03 21:18:55 -07:00
Dane Everitt
70afbbfc68
Remove last zap references
2020-09-03 20:29:53 -07:00
Dane Everitt
e09cc3d2dd
Automatically write a logrotate file to the disk when wings boots if directory exists; closes pterodactyl/panel#2312
2020-09-03 20:13:51 -07:00
Dane Everitt
b6008108ac
Update data path if the server data directory is a symlink
2020-09-01 19:24:50 -07:00
CyberKitsune
1d22e84f21
Allow a stale value on startup for disk size if the disk is unlimited.
2020-08-31 22:10:57 -07:00
Dane Everitt
481df3d543
Only create the directory structure if it is a file being renamed; closes pterodactyl/panel#2292
2020-08-31 21:02:06 -07:00
Dane Everitt
cbf914e7a1
Additional code cleanup for #53
2020-08-31 20:46:28 -07:00
CyberKitsune
d742acf308
Minimize blocking in Filesystem.getCachedDiskUsage ( #53 )
2020-08-31 20:27:41 -07:00
Dane Everitt
5f1d9ff151
Don't throw a 500 error if the backup is missing; closes pterodactyl/panel#2280
2020-08-31 20:24:07 -07:00
Dane Everitt
1e633ae302
Bring the sftp server code into the package itself
2020-08-31 20:14:04 -07:00
Dane Everitt
7d084e3049
Correctly return the suspension status of the server
2020-08-30 09:54:33 -07:00
Dane Everitt
c69a0bb107
Don't run install scripts if disabled; closes pterodactyl/panel#2265
2020-08-30 09:41:14 -07:00
Dane Everitt
9780cf902d
Merge pull request #52 from cyberkitsune/develop
...
Inform user the daemon is checking disk size on server startup
2020-08-30 09:14:21 -07:00
CyberKitsune
f1343c1d77
Publish console message on initial startup for disk sizing
2020-08-29 19:45:47 -07:00
Dane Everitt
3c662d5b07
Update README.md
2020-08-29 16:13:27 -07:00
Dane Everitt
7d8710824c
Fix startup variables not being properly updated on server reboot; closes pterodactyl/panel#2255
2020-08-27 21:08:33 -07:00
Dane Everitt
711ee2258c
Minimize code duplication for environment variables; ref pterodactyl/panel#2255
2020-08-27 20:28:29 -07:00
Dane Everitt
60acee2df5
avoid panic crash due to bad environment variable values; closes pterodactyl/panel#2275
2020-08-27 20:05:07 -07:00
Dane Everitt
0dde54fc8f
Don't blow up if a file gets removed during the backup
2020-08-27 19:57:35 -07:00
Dane Everitt
0e474c8b24
Better error captures
2020-08-27 19:57:22 -07:00
Dane Everitt
68ab705aac
Don't push directories into the backup unless associated with a file
2020-08-27 19:55:43 -07:00
Dane Everitt
a7ca6b2e34
Correctly report backup API errors; ref pterodactyl/panel#2271
2020-08-27 19:35:57 -07:00
Dane Everitt
5f1ceeff90
Add ability for users to disable checking file permissions when starting a server; closes pterodactly/panel#2272
2020-08-27 19:02:22 -07:00
Dane Everitt
c7e732d084
2.5 minutes for lookups, not every minute
2020-08-24 20:52:05 -07:00
Dane Everitt
9eb795b1bb
Re-add disk space function
2020-08-24 20:46:19 -07:00