ba8bd15cf7 
							
						 
					 
					
						
						
							
							work in progress for testing the matchmaker.  
						
						
						
					 
					
						2024-08-23 21:10:01 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							53534af27c 
							
						 
					 
					
						
						
							
							test for ListenForAgentEvents implemented.  
						
						
						
					 
					
						2024-08-21 17:48:47 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							a3fe2fbcb6 
							
						 
					 
					
						
						
							
							hostkey is now sent from the server to the agent so that at a later  
						
						... 
						
						
						
						stage we can make the hostkey conrfigurable at the server level instead
of using a fixed hardcoded key. 
						
					 
					
						2024-08-17 21:35:29 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							2c42f89547 
							
						 
					 
					
						
						
							
							moved all ui stuff to the ui package.  
						
						... 
						
						
						
						The structure of converge server is now much more clear in the package
// structure below pkg/server. 
						
					 
					
						2024-08-17 10:37:20 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							2b9821f967 
							
						 
					 
					
						
						
							
							renamed templates package to ui  
						
						
						
					 
					
						2024-08-17 10:22:03 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							b6962e3cb6 
							
						 
					 
					
						
						
							
							Server side sorting for the websessions page. No longer using LinkedMap as a result.  
						
						
						
					 
					
						2024-08-16 00:25:17 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							cdfe7c2a47 
							
						 
					 
					
						
						
							
							Separated out the metadata about the agents and clients from the agentConnection and clientConnection objects. Now, the state does not need to be copied anymore when sending notifications.  
						
						... 
						
						
						
						The matchmaker uses copy on write every time a new agent or client connects or disconnects. 
						
					 
					
						2024-08-15 22:08:24 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							56ad9fbf03 
							
						 
					 
					
						
						
							
							concurrency for the expiry time  
						
						
						
					 
					
						2024-08-15 21:25:30 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							fd18a63360 
							
						 
					 
					
						
						
							
							now using maps of Guid to Agent/Client in the state, working towards the definitive solution.  
						
						... 
						
						
						
						Using LinkedMap that preserves insertion order for the implementation and also added unit tests for that. 
						
					 
					
						2024-08-15 21:04:31 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							98f6b414de 
							
						 
					 
					
						
						
							
							introdcution of typesafe ids.  
						
						
						
					 
					
						2024-08-15 18:32:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							fd064f249f 
							
						 
					 
					
						
						
							
							using unbuffered channels everywhere now. Only change required was to initialize prometeus and the websessions before the matchmaker. This is because at startup the matchmaker wants to write a notification when it starts up but then prometheus and the websessions would not be there to read them.  
						
						... 
						
						
						
						Alternative solution would be to run all initialization code in go routines to make it independent of initialization order but having a defined initialization order is much cleaner. 
						
					 
					
						2024-08-13 21:33:29 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							00a9a91788 
							
						 
					 
					
						
						
							
							added a utility function for logging request data.  
						
						
						
					 
					
						2024-08-13 11:32:51 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							bac7a9a6f1 
							
						 
					 
					
						
						
							
							Much imporoved websocket connection closure will now detect closing of  
						
						... 
						
						
						
						websockets immediately. 
						
					 
					
						2024-08-13 10:57:05 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							df9409fc75 
							
						 
					 
					
						
						
							
							now a single websocket is opened from the webui to converge.  
						
						... 
						
						
						
						The browser sends a hello message anytime the user switches to the
sessions page, upon which the server sends the current state back.
THis also improves the timeout handling of broken connecions. 
						
					 
					
						2024-08-12 23:44:07 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							dfdea81c20 
							
						 
					 
					
						
						
							
							renamed converge package to matchmaker.  
						
						
						
					 
					
						2024-08-12 21:53:26 +02:00