7eda48f755 
								
							
								 
							
						 
						
							
							
								
								Move Session Storage to indexedDB  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								20ebc3f890 
								
							
								 
							
						 
						
							
							
								
								Move identity key storage functions to axolotl store  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								f38b18ef63 
								
							
								 
							
						 
						
							
							
								
								Move Session storage to axolotlstore  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								9de1572ba6 
								
							
								 
							
						 
						
							
							
								
								Convert all storage.devices methods to be asynchronous  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								71715c95bc 
								
							
								 
							
						 
						
							
							
								
								Async remove identity  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								26f1aa4db5 
								
							
								 
							
						 
						
							
							
								
								Async putSessionsForDevice  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								666f6baaca 
								
							
								 
							
						 
						
							
							
								
								Async getSessionsForNumber  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								9e7d8c0a08 
								
							
								 
							
						 
						
							
							
								
								Rename textsecure.api and make it internal-only  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								45a61780af 
								
							
								 
							
						 
						
							
							
								
								Fixup refreshPreKeys and call it whenever a prekey is deleted  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								7d0aeac8cb 
								
							
								 
							
						 
						
							
							
								
								Use a worker to facilitate key generation  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								f465bdddbf 
								
							
								 
							
						 
						
							
							
								
								Add textsecure.AccountManager  
							
							... 
							
							
							
							This class should be used for account registration and for refreshing
prekeys for your account. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								a960acacc6 
								
							
								 
							
						 
						
							
							
								
								Add textsecure.refreshKeys  
							
							... 
							
							
							
							This helper checks the server for the number of remaining prekeys, then
generates more if there are fewer than 10 remaining.
// FREEBIE 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								96eafc7750 
								
							
								 
							
						 
						
							
							
								
								Integrate libaxolotl async storage changes  
							
							... 
							
							
							
							* Session records are now opaque strings, so treat them that way:
  - no more cross checking identity key and session records
  - Move hasOpenSession to axolotl wrapper
  - Remote registration ids must be fetched async'ly via protocol wrapper
* Implement async AxolotlStore using textsecure.storage
* Add some db stores and move prekeys and signed keys to indexeddb
* Add storage tests
* Rename identityKey storage key from libaxolotl25519KeyidentityKey to
  simply identityKey, since it's no longer hardcoded in libaxolotl
* Rework registration and key-generation, keeping logic in libtextsecure
  and rendering in options.js.
* Remove key_worker since workers are handled at the libaxolotl level
  now 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								8304aa903a 
								
							
								 
							
						 
						
							
							
								
								Update libaxololt to a087b9e746e67995f16e077183cc0  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								2ff954d2f8 
								
							
								 
							
						 
						
							
							
								
								Fix api.js  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								cc6a44f35d 
								
							
								 
							
						 
						
							
							
								
								Fix tests  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								da34b8e0f8 
								
							
								 
							
						 
						
							
							
								
								Rename textsecure.websocket and make it internal-only  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								89c24cd2fa 
								
							
								 
							
						 
						
							
							
								
								Move throwHumanError to api.js  
							
							... 
							
							
							
							It is only used there. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								36b1e87214 
								
							
								 
							
						 
						
							
							
								
								Add textsecure.MessageReceiver  
							
							... 
							
							
							
							Encapsulate the websocket resources and socket setup process in a
friendly OO class. The MessageReceiver constructor expects an instance
of EventTarget on which to fire message events asynchronously. The
provider of the EventTarget can then add/remove listeners as desired. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								bf2bf4cfd9 
								
							
								 
							
						 
						
							
							
								
								Remove redirect to index from registration.done()  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								6f3de68834 
								
							
								 
							
						 
						
							
							
								
								Move browserAction call  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								37e09da1cc 
								
							
								 
							
						 
						
							
							
								
								Remove unsued argument from getDeviceObject  
							
							... 
							
							
							
							Last usage of the `returnIdentityKey` argument was removed in 8b9a16852 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								bdecf5cc44 
								
							
								 
							
						 
						
							
							
								
								Generate key_worker.js  
							
							... 
							
							
							
							Instead of calling importScripts, which is prone to relative path
issues, generate the worker script with everything it needs included. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								7af42a27c5 
								
							
								 
							
						 
						
							
							
								
								Fix registerKeys using array indices for key ids  
							
							... 
							
							
							
							preKeys is an array whose indices may or may not be keyId-based. Since
we have an inline keyId property, use that instead. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								00989962d8 
								
							
								 
							
						 
						
							
							
								
								Rename worker script file  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								de65f9e6bd 
								
							
								 
							
						 
						
							
							
								
								Add missing resolve  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								b5d724ffc3 
								
							
								 
							
						 
						
							
							
								
								Replaced frontend getString calls broken in  d3c158f.  
							
							... 
							
							
							
							Closes  #224  
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								90c742d57c 
								
							
								 
							
						 
						
							
							
								
								More error logging  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								25224da12e 
								
							
								 
							
						 
						
							
							
								
								Fix unsafe eval warning on registration page  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								23feeecbcf 
								
							
								 
							
						 
						
							
							
								
								Wrap libts, don't leak into global namespace  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								c51773ab0e 
								
							
								 
							
						 
						
							
							
								
								More helpful error logging  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								319332bb6f 
								
							
								 
							
						 
						
							
							
								
								Add missing semicolon  
							
							... 
							
							
							
							:[ 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								5d4298697c 
								
							
								 
							
						 
						
							
							
								
								Use view.$ shorthand for scoped jquery searches  
							
							... 
							
							
							
							Wish I'd noticed that one earlier. http://backbonejs.org/#View-dollar  
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								13ce354ab8 
								
							
								 
							
						 
						
							
							
								
								Registration UX improvements  
							
							... 
							
							
							
							Add some nice modal dialogs instead of confirmation alerts. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								6d9c7182c4 
								
							
								 
							
						 
						
							
							
								
								Let the key worker close itself when done  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								d3dbf2328f 
								
							
								 
							
						 
						
							
							
								
								Set unread count badge when background page is refreshed  
							
							... 
							
							
							
							Refreshing the background page unsets the badge. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								bfe23d86aa 
								
							
								 
							
						 
						
							
							
								
								Run key generation in a worker  
							
							... 
							
							
							
							Ground work for a smoother registration flow. Overall UX still needs
some polish but at least now we can have a progress gif or animation or
whatever. Also adds the phonenumber-confirmation step as a simple alert
box, which will be replaced with a nice dialogue in a later commit. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								196aa28873 
								
							
								 
							
						 
						
							
							
								
								Fix NaN badge  
							
							... 
							
							
							
							lolNaNcat 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								8b9a168524 
								
							
								 
							
						 
						
							
							
								
								Store session information separately  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								e33c6fddda 
								
							
								 
							
						 
						
							
							
								
								Do not rely on deviceObject.sessions anywhere in sendmessage  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								6c0f3ff1f0 
								
							
								 
							
						 
						
							
							
								
								Move session-storage logic to storage/devices from axolotl_wrapper  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								169097a409 
								
							
								 
							
						 
						
							
							
								
								Remove stale comments in axolotl_wrapper  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								89fefe4323 
								
							
								 
							
						 
						
							
							
								
								Create a textsecure.storage.impl to be overriden if desired  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								56bffdcfd3 
								
							
								 
							
						 
						
							
							
								
								Prefix libaxolotl-stored objects with "libaxolotl"  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								00cb420d37 
								
							
								 
							
						 
						
							
							
								
								Merge (un)encrypted storage layers  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								454b4726bd 
								
							
								 
							
						 
						
							
							
								
								Replace load/decode/index around our own number with helpers  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								3759fe46e9 
								
							
								 
							
						 
						
							
							
								
								Account for -1 HTTPError code  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								e52224e481 
								
							
								 
							
						 
						
							
							
								
								Remove libtextsecure's jquery dependency  
							
							... 
							
							
							
							Use only the finest, hand-crafted, artisanal XMLHttpRequests. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								a2d88b4fad 
								
							
								 
							
						 
						
							
							
								
								Don't trigger notifications for sync messages  
							
							
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								923bb8bbc9 
								
							
								 
							
						 
						
							
							
								
								Fix crash in message detail view  
							
							... 
							
							
							
							Fix crash when there's no contact for a group member. 
							
						 
						
							11 years ago