Dane Everitt
ffb6bd72ef
Don't accidentally reset a server's state when starting it after a system reboot; closes pterodactyl/panel#2695
2020-11-10 21:21:20 -08:00
Dane Everitt
68bdcb3cbc
Fix error handling and get tests back to working
2020-11-08 15:15:39 -08:00
Dane Everitt
be9d1a3986
Replace error handling package with emperror; add better reporting for errors escaping server root
2020-11-08 13:52:20 -08:00
Dane Everitt
0989c78d4b
Fix the profiling...
2020-11-08 12:33:24 -08:00
Dane Everitt
1683675807
Add more advanced profiling support
2020-11-08 12:12:21 -08:00
Dane Everitt
536f00a5e5
Add support for both memory and cpu profiling
2020-11-08 11:59:04 -08:00
Dane Everitt
944d381778
Improve server state logical handling; allow setting state directly on the environment
2020-11-06 21:53:00 -08:00
Dane Everitt
80387bc294
Use more easily configurable timezone, remove /etc/timezone mounts from containers; closes pterodactyl/panel#2513
...
If this does not completely solve the issue in containers then we need to evaluate the image being used to determine what changes need to happen to the image itself to support the timezone.
ref pterodactyl/panel#2239
ref pterodactyl/panel#2329
ref pterodactyl/panel#2389
2020-10-17 11:35:20 -07:00
Dane Everitt
6ba15e9884
Better error handling from responses
2020-09-13 13:55:40 -07:00
Dane Everitt
0295603943
Speed up wings boot when restoring from cleared docker environment
...
Doesn't pull images for any server that is not supposed to be running at boot time
2020-09-12 22:08:50 -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
1e633ae302
Bring the sftp server code into the package itself
2020-08-31 20:14:04 -07:00
Matthew Penner
9f27119044
Fix log directory not being created, again..
2020-08-24 20:22:19 -06:00
Matthew Penner
459c370229
Create install directory when creating the logs directory
2020-08-24 15:10:57 -06:00
Matthew Penner
b3a2a76f25
Fix log directory not being created
2020-08-24 11:29:40 -06:00
Dane Everitt
09826fc7ad
Performance improvements by using a smaller buffer size
2020-08-23 17:18:40 -07:00
Dane Everitt
43d8bd656a
Don't actually try to start a server that is already running
2020-08-19 19:20:46 -07:00
Dane Everitt
4d3a860604
Use environment namespace for power state, don't duplicate them across server
2020-08-19 18:58:48 -07:00
Dane Everitt
b4875926c6
Do not chown files when booting the daemon; avoid massive delays in production environments
2020-08-18 20:29:12 -07:00
Matthew Penner
9ec323350e
Use more secure TLS settings for the HTTP server
2020-08-04 17:19:04 -06:00
Dane Everitt
0a612a71d9
Clean up logging, ensure logs write to disk
2020-08-03 20:35:48 -07:00
Dane Everitt
177aa8e436
Refactor power handling logic to be more robust and able to handle spam clicking and duplicate power actions
2020-08-01 15:20:39 -07:00
Dane Everitt
64df3e168f
Replace wg with workerpool
2020-07-31 21:56:44 -07:00
Dane Everitt
881cb84605
Actually set file permissions for servers when booting the daemon
2020-07-31 21:55:30 -07:00
Dane Everitt
cb850fd81a
Update all of the old UUID refs to new
2020-07-19 17:53:41 -07:00
Dane Everitt
0cbaad5c72
Completely re-work the server configuration to be separated out better
2020-07-19 16:27:55 -07:00
Dane Everitt
7afd5854bd
Merge pull request #36 from pterodactyl/feature/diagnostics
...
Feature/diagnostics
2020-07-05 10:53:04 -07:00
Jakob Schrettenbrunner
5ef58cadee
add version flag
2020-07-05 03:31:26 +02:00
vagrant
deb9305f56
add diagnostics command
2020-07-04 21:10:47 +00:00
Dane Everitt
e5b844d2c4
Support automatically generating SSL certificates
2020-06-30 21:34:47 -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
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
6d7ab865d7
Fix SFTP default configuration; closes pterodactyl/panel#2045
2020-05-25 15:51:36 -07:00
Dane Everitt
fd83424ee2
Change default config location (again); support auto-locating and moving old configs
2020-05-09 15:37:49 -07:00
Dane Everitt
ee184768b8
Remove unused code
2020-05-03 21:31:02 -07:00
Dane Everitt
9e0cacc076
Update output when booting
2020-04-17 14:32:09 -07:00
Dane Everitt
4279fa510e
Cleanup data storage locations for daemon
2020-04-17 14:27:06 -07:00
Dane Everitt
03045c94be
Better race condition prevention
2020-04-10 18:22:18 -07:00
Dane Everitt
af241f3de4
Code cleanup
2020-04-10 18:03:35 -07:00
Matthew Penner
1f4aca8210
Fix issue with config file saving, fix issue with state file saving, fix issue when merging a uuid into a server without one
2020-04-10 17:55:36 -06:00
Matthew Penner
12648b43fa
Disable config saving temporarily
2020-04-10 17:19:35 -06:00
Matthew Penner
1e12b7b37c
Remove server configurations files and add shared state file
2020-04-10 16:33:30 -06:00
Matthew Penner
28c8f3f400
Add the ability to fetch all servers, fix cpu usage leak again..
2020-04-10 15:39:07 -06:00
Matthew Penner
2278347b4c
Fix typo
2020-04-10 12:11:37 -06:00
vagrant
1c5f30f5be
add configure command
2020-04-10 15:25:06 +00:00
vagrant
59b11eb80c
use cobra for cli
...
reorganize a bit to be able to use it
2020-04-10 13:12:18 +00:00