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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c69a0bb107 
							
						 
					 
					
						
						
							
							Don't run install scripts if disabled;  closes   pterodactyl/panel#2265  
						
						 
						
						
						
					 
					
						2020-08-30 09:41:14 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CyberKitsune 
							
						 
					 
					
						
						
						
						
							
						
						
							f1343c1d77 
							
						 
					 
					
						
						
							
							Publish console message on initial startup for disk sizing  
						
						 
						
						
						
					 
					
						2020-08-29 19:45:47 -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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a1288565f0 
							
						 
					 
					
						
						
							
							Significant CPU and syscall performance improvements when iterating large directories  
						
						 
						
						
						
					 
					
						2020-08-24 20:45:54 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f82c91afbe 
							
						 
					 
					
						
						
							
							Merge branch 'develop' of  https://github.com/pterodactyl/wings  into develop  
						
						 
						
						
						
					 
					
						2020-08-24 19:45:25 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b35ac76720 
							
						 
					 
					
						
						
							
							Optimizations to the filepath walker function to reduce CPU and I/O issues  
						
						 
						
						
						
					 
					
						2020-08-24 19:45:24 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matthew Penner 
							
						 
					 
					
						
						
						
						
							
						
						
							9f27119044 
							
						 
					 
					
						
						
							
							Fix log directory not being created, again..  
						
						 
						
						
						
					 
					
						2020-08-24 20:22:19 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7aaa51a14f 
							
						 
					 
					
						
						
							
							Less random temp dir locations; cleanup when done  
						
						 
						
						
						
					 
					
						2020-08-23 20:45:07 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3489088703 
							
						 
					 
					
						
						
							
							Update output from socket to use checksum  
						
						 
						
						
						
					 
					
						2020-08-23 18:06:17 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7287b8e198 
							
						 
					 
					
						
						
							
							Pass the checksum type along in the request  
						
						 
						
						
						
					 
					
						2020-08-23 17:52:46 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d1485d7c5f 
							
						 
					 
					
						
						
							
							Limit the number of threads to avoid pinning a host machine  
						
						 
						
						
						
					 
					
						2020-08-23 17:46:35 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matthew Penner 
							
						 
					 
					
						
						
						
						
							
						
						
							08bcb31b9e 
							
						 
					 
					
						
						
							
							Change compression level to BestSpeed and use sha1 instead of sha256  
						
						 
						
						
						
					 
					
						2020-08-23 18:34:48 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							09826fc7ad 
							
						 
					 
					
						
						
							
							Performance improvements by using a smaller buffer size  
						
						 
						
						
						
					 
					
						2020-08-23 17:18:40 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							999947e387 
							
						 
					 
					
						
						
							
							Adjust sizes on the fly when files are written/decompressed  
						
						 
						
						
						
					 
					
						2020-08-23 15:58:56 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3b33e803e3 
							
						 
					 
					
						
						
							
							Handle deleting a directory  
						
						 
						
						
						
					 
					
						2020-08-23 14:34:42 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							37fbae0fcd 
							
						 
					 
					
						
						
							
							closes   #2241  
						
						 
						
						
						
					 
					
						2020-08-23 14:18:59 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ebc0e82772 
							
						 
					 
					
						
						
							
							Handle errors during the before install process a little better  
						
						 
						
						
						
					 
					
						2020-08-23 14:07:03 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1e39487240 
							
						 
					 
					
						
						
							
							poc: when deleting a file automatically adjust the current disk space being tracked in the cache  
						
						 
						
						
						
					 
					
						2020-08-22 22:56:44 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c73a53dbe3 
							
						 
					 
					
						
						
							
							Replace cache with single int64  
						
						 
						
						
						
					 
					
						2020-08-22 22:50:49 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							138080d5e2 
							
						 
					 
					
						
						
							
							return success state of the backup from wings  
						
						 
						
						
						
					 
					
						2020-08-20 21:28:06 -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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9d2321f357 
							
						 
					 
					
						
						
							
							Correctly set the server state on install;  closes   pterodactyl/panel#2236  
						
						 
						
						
						
					 
					
						2020-08-19 19:08:15 -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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b9fb922e91 
							
						 
					 
					
						
						
							
							Fix the race condition where the race is actually happening  
						
						 
						
						
						
					 
					
						2020-08-18 21:46:17 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0fc1f300f8 
							
						 
					 
					
						
						
							
							Use helper func  
						
						 
						
						
						
					 
					
						2020-08-18 21:43:39 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							60212bb08e 
							
						 
					 
					
						
						
							
							Fix race condition when booting wings  
						
						 
						
						
						
					 
					
						2020-08-18 21:42:57 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5b241fdf36 
							
						 
					 
					
						
						
							
							Correctly send stats & proc information back for servers  
						
						 
						
						
						
					 
					
						2020-08-18 21:38:42 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							956e87eb93 
							
						 
					 
					
						
						
							
							Handle restarting correctly, ensure power state propagates correctly  
						
						 
						
						
						
					 
					
						2020-08-18 20:43:28 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4a2a0b25bb 
							
						 
					 
					
						
						
							
							Run chown when starting a server  
						
						 
						
						
						
					 
					
						2020-08-18 20:27:42 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a24a5466e5 
							
						 
					 
					
						
						
							
							Remove restart from environment, handle at a server level; also fix pre-boot logic  
						
						 
						
						
						
					 
					
						2020-08-13 21:36:23 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							63c09adaa1 
							
						 
					 
					
						
						
							
							Better handling of stop & restart without releasing process locks too soon  
						
						 
						
						
						
					 
					
						2020-08-13 21:10:33 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5fcec86e98 
							
						 
					 
					
						
						
							
							Allow sending a termination signal even if another power action is being processed  
						
						 
						
						
						
					 
					
						2020-08-13 20:37:35 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cf1c671e68 
							
						 
					 
					
						
						
							
							Support changing the /tmp volume size in the config  
						
						 
						
						
						
					 
					
						2020-08-12 20:38:02 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cc52954a2a 
							
						 
					 
					
						
						
							
							Refactor environment handling logic to separate a server from the environment handler itself  
						
						 
						
						... 
						
						
						
						This change makes the environment handling logic execute independent of the server itself and should make it much easier for people to contribute changes and additional environment handlers down the road without polluting the server object even more.
There is still a lot of work to do on this front to make things easier to work with, and there are some questionable design decisions at play I'm sure.
Welcome to additional modifications and cleanup to make this code easier to reason about and work with. 
						
					 
					
						2020-08-10 21:38:42 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							919bec2f87 
							
						 
					 
					
						
						
							
							Dependency updates  
						
						 
						
						
						
					 
					
						2020-08-06 18:55:29 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matthew Penner 
							
						 
					 
					
						
						
						
						
							
						
						
							ff7f92895c 
							
						 
					 
					
						
						
							
							Fix race condition on startup  
						
						 
						
						
						
					 
					
						2020-08-05 21:13:01 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dane Everitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							642e6e6a96 
							
						 
					 
					
						
						
							
							Different implementation of multi-check for done  
						
						 
						
						... 
						
						
						
						Co-Authored-By: Matthew Penner <me@matthewp.io> 
						
					 
					
						2020-08-04 21:29:43 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matthew Penner 
							
						 
					 
					
						
						
						
						
							
						
						
							9bd10f1043 
							
						 
					 
					
						
						
							
							Changes to ProcessConfiguration  
						
						 
						
						
						
					 
					
						2020-08-04 21:41:09 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matthew Penner 
							
						 
					 
					
						
						
						
						
							
						
						
							eb975e0cbd 
							
						 
					 
					
						
						
							
							Add option to strip ansi colors and split the done line in egg startup configuration  
						
						 
						
						
						
					 
					
						2020-08-04 17:39:54 -06:00