6bc19ef558 
								
							
								 
							
						 
						
							
							
								
								More namespacing  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								05101b69b0 
								
							
								 
							
						 
						
							
							
								
								Some initial helpers.js namespaceing  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e3097746c0 
								
							
								 
							
						 
						
							
							
								
								Check registration ID on prekeymsg  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								8d408e6d8f 
								
							
								 
							
						 
						
							
							
								
								THOUGH SALL USE TABSTOP AND SHIFTWIDTH 4 (so that indents read right)  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e3b00e08f3 
								
							
								 
							
						 
						
							
							
								
								Generate and submit registrationId,  fixes   #25  
							
							... 
							
							
							
							If we're expecting to get registrationIds from others, it's only fair
that we also supply our own. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								5752a772d1 
								
							
								 
							
						 
						
							
							
								
								promises, type conversion errors  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								caa363b929 
								
							
								 
							
						 
						
							
							
								
								FINALLY report crypto, etc errors to console thanks to promises...  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1d95fcc027 
								
							
								 
							
						 
						
							
							
								
								Fix exception in options.js on first run  
							
							... 
							
							
							
							Fixes  #22  Uncaught ReferenceError: getRandomBytes is not defined
options.js:41 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3e60368a16 
								
							
								 
							
						 
						
							
							
								
								LGPL license (I'd like to be an axolotl/TS JS lib in the future)  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3d7db4dbc3 
								
							
								 
							
						 
						
							
							
								
								Correctly extract string data for password.  
							
							... 
							
							
							
							btoa expects a string argument, so when passing it the ArrayBuffer
object returned by getRandomBytes(), it's converted to a string by
calling .toString() on it. This always results in "[object ArrayBuffer]",
effectively resulting in a completely non-random password. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								000a5e1440 
								
							
								 
							
						 
						
							
							
								
								Fix up a few things so registration works  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								be52e4c3a4 
								
							
								 
							
						 
						
							
							
								
								Fix infinite recursion in ensureStringed(Array)  
							
							... 
							
							
							
							To ensureStringed(thing), you must first ensureStringed(thing)...
This was causing an infintel loop in multidevice mode. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								6934ba0b92 
								
							
								 
							
						 
						
							
							
								
								Refactor Server API functions  
							
							... 
							
							
							
							The details of the server API are now mostly relegated to api.js, and
accessed through the API container object, improving modularity and
readability, and setting us up to derive a FakeAPI for serverless
development. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								8db3885659 
								
							
								 
							
						 
						
							
							
								
								Updates, NaCL  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								eec4c66ef6 
								
							
								 
							
						 
						
							
							
								
								Fixup dir structure  
							
							
							
						 
						
							12 years ago