5cf63af3a3 
								
							
								 
							
						 
						
							
							
								
								Enable quotes in public chats  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								dfd6039c83 
								
							
								 
							
						 
						
							
							
								
								use LokiPublicChannelAPI  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								700ed5d2a8 
								
							
								 
							
						 
						
							
							
								
								Some refactoring from reviews, and include the token in the message pipeline instead of getting in message_api  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								b5fd01a468 
								
							
								 
							
						 
						
							
							
								
								Add required metadata to sending pipeline and send to public channels  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								4dd62a265c 
								
							
								 
							
						 
						
							
							
								
								Allow receiving and sending messages before lokiP2PApi is defined.  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								c9f433fbba 
								
							
								 
							
						 
						
							
							
								
								Save message id when sending/receiving to/from public server and lint  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								f857744e88 
								
							
								 
							
						 
						
							
							
								
								Revert sending id  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								f718bf15d2 
								
							
								 
							
						 
						
							
							
								
								Prepare to delete message, send message id to server  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								014558d939 
								
							
								 
							
						 
						
							
							
								
								Squash and clean of old PRs, move towards sending cleartext again  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								73b417e605 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #371  from BeaudanBrown/testnet  
							
							... 
							
							
							
							Separate testnet 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								492bb3723a 
								
							
								 
							
						 
						
							
							
								
								Move pubkey truncation to loki_rpc and add window function  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								0e9372d3d5 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #373  from msgmaxim/timestamp-error  
							
							... 
							
							
							
							Show correct error on incorrect timestamp 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								6140fef1f7 
								
							
								 
							
						 
						
							
							
								
								Fix some bugs  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								09d279dd93 
								
							
								 
							
						 
						
							
							
								
								Show correct error on incorrect timestamp  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								43c2e9c953 
								
							
								 
							
						 
						
							
							
								
								Use different seed nodes for development vs production and strip 2 characters from pubkey on testnet  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								63396669bc 
								
							
								 
							
						 
						
							
							
								
								Add eslint rule to enforce curlys, run eslint --fix to automatically apply this rule and add swapfiles to gitignore  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								c53a35deeb 
								
							
								 
							
						 
						
							
							
								
								Comment explaining stopPollingPromise  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								6ef94fa43d 
								
							
								 
							
						 
						
							
							
								
								Start attempt at closing long polling connections when offline event is triggered  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								1c9fe5b9f5 
								
							
								 
							
						 
						
							
							
								
								Make sure we are purging nodes from retrieve swarm list, and also filter 0.0.0.0 ips when getting snodes from wrong swarm error  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								9910ef0c13 
								
							
								 
							
						 
						
							
							
								
								Rename bool  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								b49be51f36 
								
							
								 
							
						 
						
							
							
								
								Don't return early if recalculating PoW  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								804fc076cc 
								
							
								 
							
						 
						
							
							
								
								Refresh swarm list 1 time for outgoing messages  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								5aedd618c0 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #324  from BeaudanBrown/improve-http-error  
							
							... 
							
							
							
							Also put the body in httperror 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								f02e885662 
								
							
								 
							
						 
						
							
							
								
								Print body of http error as well  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								10e61c37da 
								
							
								 
							
						 
						
							
							
								
								Retry initialiseRandomPool some times if request fails, fix uncaught promise in sendMessage  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								fee25036be 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #321  from BeaudanBrown/faster-fail  
							
							... 
							
							
							
							Remove nodes after 1 failure and only wait for a single successful send 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								580931c4fb 
								
							
								 
							
						 
						
							
							
								
								Pass ourKey to message api, initialise these APIs after registration or when storage is ready so we always have ourKey  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								d647fb1eb8 
								
							
								 
							
						 
						
							
							
								
								Remove nodes after 1 failure and only wait for a single successful send before updating UI  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								ee260f7de0 
								
							
								 
							
						 
						
							
							
								
								Fix silly filtering bug, add filtering for swarm nodes and lint  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								c5c01b0ac8 
								
							
								 
							
						 
						
							
							
								
								Purge retrieving snodes  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								d12f6b6d32 
								
							
								 
							
						 
						
							
							
								
								Handle swarm nodes the same for us or contacts, attach our key to message api object  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								d5546b9473 
								
							
								 
							
						 
						
							
							
								
								Lint  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								b6b0248e9d 
								
							
								 
							
						 
						
							
							
								
								Retrieve from seed  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								1f74088586 
								
							
								 
							
						 
						
							
							
								
								Send to IP  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								6b2b9ce926 
								
							
								 
							
						 
						
							
							
								
								Remove default port and use port from storage server responses  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								eea2b8e6a7 
								
							
								 
							
						 
						
							
							
								
								Do port null check inside rpc call  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								52c191fc94 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'development' into clearnet  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								9d6c5bff36 
								
							
								 
							
						 
						
							
							
								
								make unverified https queries to the snodes  
							
							
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								7141847dfb 
								
							
								 
							
						 
						
							
							
								
								Restart sendMessage logic if PoW changed an dfix NaN bug  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								f01d8088b7 
								
							
								 
							
						 
						
							
							
								
								Remove development PoW  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								dbcaaf98dc 
								
							
								 
							
						 
						
							
							
								
								Lint  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								c27d1ef69a 
								
							
								 
							
						 
						
							
							
								
								Clean some stuff in loki_rpc and get new difficulty from successful requests  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e520bf109a 
								
							
								 
							
						 
						
							
							
								
								Persist PoW difficulty and update if get response from snodes  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								18a87d5463 
								
							
								 
							
						 
						
							
							
								
								Review changes  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								c02d5d4053 
								
							
								 
							
						 
						
							
							
								
								Lint  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								709db4bf54 
								
							
								 
							
						 
						
							
							
								
								Make sendMessage take options, remove redundant retrieve function and get constant  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b43978ece1 
								
							
								 
							
						 
						
							
							
								
								Initial refactoring of sendmessage  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								1b1c18b928 
								
							
								 
							
						 
						
							
							
								
								Patch from Beau  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								edd5915bf2 
								
							
								 
							
						 
						
							
							
								
								Fix use .length on object  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								5f77f751d9 
								
							
								 
							
						 
						
							
							
								
								Replace generator function and other various fixes  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								09a9cfbf37 
								
							
								 
							
						 
						
							
							
								
								Refactor long polling for better concurrent requests  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e63e9b9053 
								
							
								 
							
						 
						
							
							
								
								Small optimisation  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								faf1b4b66b 
								
							
								 
							
						 
						
							
							
								
								Lint  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								db8f8ba36f 
								
							
								 
							
						 
						
							
							
								
								Multiple all ttl values by 1000 and stop dividing timestamp by 1000 so they are both milliseconds  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								f076f94e71 
								
							
								 
							
						 
						
							
							
								
								Clearer last hash line  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								fa7042c043 
								
							
								 
							
						 
						
							
							
								
								Added wrong swarm error which gets thrown if we receive a 421 error, update the swarm lists if we get one of those errors  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								0f771d4db4 
								
							
								 
							
						 
						
							
							
								
								Rename loki_fetch to loki_rpc  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b09f2970fc 
								
							
								 
							
						 
						
							
							
								
								Move NotFoundError to errors.js  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								929d272fcc 
								
							
								 
							
						 
						
							
							
								
								Fixed bugs with http being appended at wrong time and lastHash not being sent properly  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								531ee92dcb 
								
							
								 
							
						 
						
							
							
								
								Updated messenger to work with slightly different storage server API and changed swarm requests to go through storage server  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6656a89092 
								
							
								 
							
						 
						
							
							
								
								Cleaned up a lot of the logs, stop them from printing more than once etc  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								53b0574a1f 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'development' into channel_encryption  
							
							... 
							
							
							
							* development:
  Manually set the dns servers for windows
  Refactor local_loki_server
  Refactor rpc calls to its own function.
# Conflicts:
#	js/modules/loki_message_api.js 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								55e0ff1a88 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #208  from Mikunj/message-api-refactor  
							
							... 
							
							
							
							Refactor rpc call to its own function. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								ad5efc9ba3 
								
							
								 
							
						 
						
							
							
								
								lint  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								aa722590fa 
								
							
								 
							
						 
						
							
							
								
								use channel encryption with storage server  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								4a037387e9 
								
							
								 
							
						 
						
							
							
								
								Refactor rpc calls to its own function.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								06be1da40d 
								
							
								 
							
						 
						
							
							
								
								Added p2p message styling  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								c0a6ba25bc 
								
							
								 
							
						 
						
							
							
								
								Update p2p messages to follow the same endpoint format as storage server. Clean up message_api a lil bit and updated tests  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								d6a210efaa 
								
							
								 
							
						 
						
							
							
								
								Reworked the update p2p details to be more robust and stopped some redundant pings from happening  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								25ded46e2c 
								
							
								 
							
						 
						
							
							
								
								Fixed some bugs removing nodes after the first failure instead of waiting for the failure count and also reduced the number of errors logged and made some warnings  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b00a0cb699 
								
							
								 
							
						 
						
							
							
								
								Rename isOnline to isPing for clarity, and reduce the ttl for online broadcast messages to 1 min  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								d3f23db049 
								
							
								 
							
						 
						
							
							
								
								serialise objects to json before node-fetch  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								8eac72b60c 
								
							
								 
							
						 
						
							
							
								
								Fix typo  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								ed1d06d9ce 
								
							
								 
							
						 
						
							
							
								
								use 'params' as per json_rpc  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								159dc711e1 
								
							
								 
							
						 
						
							
							
								
								use new message json rpc API  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								2311bd1328 
								
							
								 
							
						 
						
							
							
								
								Fix bug with swarm node reference, now we should only refresh swarm nodes when they fail  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								5d823de6f9 
								
							
								 
							
						 
						
							
							
								
								Renamed lokiSnodeAPI to start with lower case for consistency, refactor snode API to use conversation controller  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								25383458b1 
								
							
								 
							
						 
						
							
							
								
								Fixed bug with our swarm nodes being removed from memory after a successful request because of returning a reference  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								efe95a70bc 
								
							
								 
							
						 
						
							
							
								
								Fix review issues.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								3c07d99a89 
								
							
								 
							
						 
						
							
							
								
								Fix variable names.  
							
							... 
							
							
							
							Fix module export to be more consistent. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								ddbbb1a6f0 
								
							
								 
							
						 
						
							
							
								
								Refactor fetch.  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6ba7fb20b8 
								
							
								 
							
						 
						
							
							
								
								Fixed UI blocking when creating conversation, more review comments  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e735b3ca41 
								
							
								 
							
						 
						
							
							
								
								Review comments, moved swarmNodes database stuff to just be in data.js  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								38ff70e2ec 
								
							
								 
							
						 
						
							
							
								
								Fixed some little redundant stuff in the message and snode api  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								8f165da43d 
								
							
								 
							
						 
						
							
							
								
								Fix sending loop that cycles indefinitely when offline  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								f6d167eda1 
								
							
								 
							
						 
						
							
							
								
								Split logic for getting swarm nodes from db, getting from lokinet and saving to db. Now tracking successfulRequests when making queries on top of the completedNodes list  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								dde63a552f 
								
							
								 
							
						 
						
							
							
								
								Fix bug with replayable errors, fix bug with set representation of swarmNodes not being handled properly  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								c83661ce3f 
								
							
								 
							
						 
						
							
							
								
								Added DNS resolution error for when lokinet isn't working, now keeping track of the nodes that have been queried and not trying them again  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								561d60cfd5 
								
							
								 
							
						 
						
							
							
								
								Sending messages now in a while loop like retrieving messages, added a failureCount and only delete node urls if they fail 3 times  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e08a63d078 
								
							
								 
							
						 
						
							
							
								
								Merge development into lint  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								bdbdf15469 
								
							
								 
							
						 
						
							
							
								
								Added timeouts for requests so they don't for ages. Changed swarmNodes to be a set to work property with merge, now removing contact swarmNodes if they timeout  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								24553e29e7 
								
							
								 
							
						 
						
							
							
								
								Made swarm requests ACTUALLY not wait for them all to finish and stop saving swarmNodes as DB column  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								37ba762312 
								
							
								 
							
						 
						
							
							
								
								First stuff for contacting specific nodes for each contact. Hard coded to hit the same bootstrap node for now plus doesn't handle unreachable nodes/errors well yet  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6bd2d3962e 
								
							
								 
							
						 
						
							
							
								
								Linted files  
							
							
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6113f13d3a 
								
							
								 
							
						 
						
							
							
								
								Rip the worker logic out of message_receiver and add the functionality for it to work with pow. Fix pow tests to work with those changes  
							
							
							
						 
						
							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