03c14859b7 
								
									
								
							
								 
							
						 
						
							
							
								
								fix last polling of http-resources after timeout bug  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								debb922521 
								
							
								 
							
						 
						
							
							
								
								Medium groups with sender keys essentials  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								a00aa73715 
								
							
								 
							
						 
						
							
							
								
								disconnect even if it's been stopped before, logging improvements  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								c404d1c729 
								
							
								 
							
						 
						
							
							
								
								log exception and when we exhausted long polling pool  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								7dd155eb16 
								
							
								 
							
						 
						
							
							
								
								Remove empty event trigger, doesn't seem to be required any more but could be wrong  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								6ef94fa43d 
								
							
								 
							
						 
						
							
							
								
								Start attempt at closing long polling connections when offline event is triggered  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								5f77f751d9 
								
							
								 
							
						 
						
							
							
								
								Replace generator function and other various fixes  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								09a9cfbf37 
								
							
								 
							
						 
						
							
							
								
								Refactor long polling for better concurrent requests  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								145b9e0a37 
								
							
								 
							
						 
						
							
							
								
								Fix typo  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6f21e7244f 
								
							
								 
							
						 
						
							
							
								
								Print polling error  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								54bd75e9a6 
								
							
								 
							
						 
						
							
							
								
								Wait for a longer time after failed poll and extend default timeout  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								620380d2d9 
								
							
								 
							
						 
						
							
							
								
								Move filter messages to message api and some other cleaning  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								377e90bafe 
								
							
								 
							
						 
						
							
							
								
								Include long polling header for retrieve messages, extend retrieveMessages timeout to 40 seconds, reduce default tmeout to 5 seconds, remove dev/prod poll time difference  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e5449f56ee 
								
							
								 
							
						 
						
							
							
								
								Added success and failure callbacks when queueing envelope, now responding with 404 if we fail to decrypt a p2p message  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								0c104e5a53 
								
							
								 
							
						 
						
							
							
								
								Small fix for the disconnected banner coming up when it shouldn't, just default to thinking we are connected and mock the onEmpty event. Will only get set to not connected if requests fail  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b2e95932f1 
								
							
								 
							
						 
						
							
							
								
								Lint  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								fac8e72861 
								
							
								 
							
						 
						
							
							
								
								Added queue manager to properly fix the race condition bug and reset the changes I made in other commit  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b2f456031f 
								
							
								 
							
						 
						
							
							
								
								Forgot to lint  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								cc3f98b20a 
								
							
								 
							
						 
						
							
							
								
								Move the incoming hash filtering logic into sql.js to prevent data races  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								a40a3d164f 
								
							
								 
							
						 
						
							
							
								
								Lots of logic for establishing a p2p connection, managing when the other user is online vs offline etc. Will always try to use P2P messaging when it can and fall back to storage server otherwise  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								9b71e8119e 
								
							
								 
							
						 
						
							
							
								
								Added error catching.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								8c9b1a7a7a 
								
							
								 
							
						 
						
							
							
								
								Added loki server.  
							
							... 
							
							
							
							Added test. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e08a63d078 
								
							
								 
							
						 
						
							
							
								
								Merge development into lint  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								7b1799c418 
								
							
								 
							
						 
						
							
							
								
								Big ol' hunk o' chunk. Now using random.snode to populate swarm lists, now making multiple requests from said lists and they are processed as they complete rather than waiting for all to resolve  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6bd2d3962e 
								
							
								 
							
						 
						
							
							
								
								Linted files  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b515fc41e7 
								
							
								 
							
						 
						
							
							
								
								Removed some repetetive logs, made the polling time a variable and lower the polling time and PoW difficulty if we are in debug mode  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								489ec8fc65 
								
							
								 
							
						 
						
							
							
								
								Heap of linting, eslint warning/error removal, and fixed a couple small bugs found along the way  
							
							... 
							
							
							
							Created new table to store the received message hashes. Checking this table when receiving messages to look for duplicates. Should be cleared of expired messages on app start and every hour after
Removed id which was not needed for seen messages. Refactored filter logic into function and found function name error
create unique index for contact prekeys (to allow using REPLACE)
Fixed lint stuff that merge brought back 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								4a31c1640f 
								
							
								 
							
						 
						
							
							
								
								Missing callback argument for recursive calls in http-resources  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								dc0a70b6d0 
								
							
								 
							
						 
						
							
							
								
								fix copy/pasta mistake  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								7e9016f510 
								
							
								 
							
						 
						
							
							
								
								Make network status warning work with HTTP polling  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								c59b196487 
								
							
								 
							
						 
						
							
							
								
								Now reading messages and adding them to conversations. Some cleaning of unreachable code. Modified the message data to be encoded as base64 string before sending to server  
							
							... 
							
							
							
							Sending our public key in header of message
Now attaching our key to the source field when sending messages, allows messages to be decrypted with the fallback cypher
Now polling the server for messages every 5 seconds
Sending the source device with messages
Added mock respond function to request to leave it that same as the websocket stuff. RetrieveMessages now just returns the result
Polling now continues if the server responds with an error. Returning only the result from sendMessage and retrieveMessages
Revert commenting of unreachable code
Refactored http logic into own file
Revert a change to websocket-resources 
							
						 
						
							7 years ago