14ebef70cb 
								
							
								 
							
						 
						
							
							
								
								fixed 'TypeError: Promise.resolve is not a constructor' in Firefox  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								810aabf2a6 
								
							
								 
							
						 
						
							
							
								
								Save messages from 'Compose' UI  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								b852e68290 
								
							
								 
							
						 
						
							
							
								
								Backbone message storage and views  
							
							... 
							
							
							
							Adds Backbone-based Whisper.Messages model/collection with local storage
extension. Saves sent and received messages in Whisper.Messages instead
of message map. This will assign a unique id to the message and save it
to localStorage.
Adds Backbone-based view to popup.html
  Automatically updates itself when new messages are saved to
  Whisper.Messages db from the background page.
Added some shiny new styles, and started splitting up css into multiple
files for sanity's sake. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								170257dafb 
								
							
								 
							
						 
						
							
							
								
								Fix subscribeToPush is not defined  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								ed3aa9667d 
								
							
								 
							
						 
						
							
							
								
								Fix undefined URL_BASE in background.js  
							
							... 
							
							
							
							Sieze an opportunity to move code out of the helpers.js.
Only 616 more lines to go. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								4efb8a2616 
								
							
								 
							
						 
						
							
							
								
								Fix NaCL (maybe it should be removed?)  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								6bc19ef558 
								
							
								 
							
						 
						
							
							
								
								More namespacing  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								05101b69b0 
								
							
								 
							
						 
						
							
							
								
								Some initial helpers.js namespaceing  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								07a23f0759 
								
							
								 
							
						 
						
							
							
								
								Fix attachments  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3103eaa192 
								
							
								 
							
						 
						
							
							
								
								Commit broken attachment loader (S3 403s I can't figure out...)  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								ea1bd535dc 
								
							
								 
							
						 
						
							
							
								
								Fix interpretation of prekeymsg.registrationId  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								2f16b884a5 
								
							
								 
							
						 
						
							
							
								
								Fixup last commit  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e3097746c0 
								
							
								 
							
						 
						
							
							
								
								Check registration ID on prekeymsg  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								76e7dcb77d 
								
							
								 
							
						 
						
							
							
								
								Clean up session retreival ( fixes   #30 )  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								8d408e6d8f 
								
							
								 
							
						 
						
							
							
								
								THOUGH SALL USE TABSTOP AND SHIFTWIDTH 4 (so that indents read right)  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								ae41a5df71 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'lilia/master'  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								d5491bda0b 
								
							
								 
							
						 
						
							
							
								
								Stop an attacker from closing a session that isn't theirs ( #29 )  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3a812d4958 
								
							
								 
							
						 
						
							
							
								
								Multi-session storage for close/regular message race conditions  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								cdebc8afb4 
								
							
								 
							
						 
						
							
							
								
								Also delete chain key  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								08093a206d 
								
							
								 
							
						 
						
							
							
								
								Fix old chain deletion  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								605863ffa3 
								
							
								 
							
						 
						
							
							
								
								Fix decryption of large messages (eg w/ attachments)  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								a7de5e2159 
								
							
								 
							
						 
						
							
							
								
								last(?) round of crypto.js AB-type-conversion changes, new tests  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								5583e82a20 
								
							
								 
							
						 
						
							
							
								
								Refactor some low-level crypto things  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								905357a2e1 
								
							
								 
							
						 
						
							
							
								
								More wholesale conversion to promises  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								efe2fa1021 
								
							
								 
							
						 
						
							
							
								
								Move crypto things to js/crypto.js  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								2b21111d7b 
								
							
								 
							
						 
						
							
							
								
								Fix/test pre key generation  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3fffbad11a 
								
							
								 
							
						 
						
							
							
								
								Fix now-broken test cases and change lots of things over to promises  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								41d50d7480 
								
							
								 
							
						 
						
							
							
								
								Lilia's Webcrypto branch rebased and a few very tiny tweaks  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1137f9d711 
								
							
								 
							
						 
						
							
							
								
								Add TODO file showing what still needs to be done  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								138581701c 
								
							
								 
							
						 
						
							
							
								
								tweak ui things a tiny bit  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3e60368a16 
								
							
								 
							
						 
						
							
							
								
								LGPL license (I'd like to be an axolotl/TS JS lib in the future)  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								01c4f3dd56 
								
							
								 
							
						 
						
							
							
								
								Fix ALL the things!  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								d213cb0598 
								
							
								 
							
						 
						
							
							
								
								I like stack traces, also, fix identity key bit fiddle crap  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								705f8ce818 
								
							
								 
							
						 
						
							
							
								
								generic-ize  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								87c19c0c94 
								
							
								 
							
						 
						
							
							
								
								Another step forward  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								cf79b41cc4 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #8  from liliakai/master  
							
							... 
							
							
							
							Fix click handler 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								68027dadd4 
								
							
								 
							
						 
						
							
							
								
								Fix click handler  
							
							... 
							
							
							
							var i was being bound in the closure of this click handler, then
incremented by the for loop, such that its value was 1 by the time the
handler was called, so we were grabbing the message body from, e.g.
$("#input1") when we wanted $("#input0"). 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								d56c3e1051 
								
							
								 
							
						 
						
							
							
								
								Add bit for !identityKey and commit wip test-cases  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								244aa8df92 
								
							
								 
							
						 
						
							
							
								
								Fix NaCL priv calc code  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								984a76eeb1 
								
							
								 
							
						 
						
							
							
								
								Fix crashing send button  
							
							... 
							
							
							
							destinations is dead. all hail group.members. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								49cdf04065 
								
							
								 
							
						 
						
							
							
								
								Work on message styling  
							
							... 
							
							
							
							Replicates some styles from the android app. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e492aae172 
								
							
								 
							
						 
						
							
							
								
								Fix popup refreshing on send  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								732f9ac089 
								
							
								 
							
						 
						
							
							
								
								ping server to keep connection open  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								a67ab3a46f 
								
							
								 
							
						 
						
							
							
								
								Make popup a little nicer to look at  
							
							... 
							
							
							
							Also add a little auto-suggestion contacts list. For now it just
contains your own number. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								2ae5628122 
								
							
								 
							
						 
						
							
							
								
								Send-to-self works =D  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								136a8941c1 
								
							
								 
							
						 
						
							
							
								
								Things:  
							
							... 
							
							
							
							* key API changes moxie made because he disliked the other API
 * remove atmosphere
 * Fix some bugs in the send path, update for new send API
 * Send HTML 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								000a5e1440 
								
							
								 
							
						 
						
							
							
								
								Fix up a few things so registration works  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								832daf54db 
								
							
								 
							
						 
						
							
							
								
								tabstabstabstabstabs  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								fe1b5435aa 
								
							
								 
							
						 
						
							
							
								
								Add FakeWhisperAPI for serverless development  
							
							... 
							
							
							
							When included after api.js, fake_api.js inits a FakeWhisperAPI.
FakeWhisperAPI inherits the methods of API, overrides a few, and
then usurps its place as the one true API.
Single device mode successfully "registers" against FakeAPI. Sadly,
multidevice mode has a recursive loop somewhere that makes the callstack
asplode. 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								1c20dba67f 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2  from liliakai/master  
							
							... 
							
							
							
							Make booleans stringable 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0d5d14da6a 
								
							
								 
							
						 
						
							
							
								
								Fix the clickies  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								820d67a0ba 
								
							
								 
							
						 
						
							
							
								
								Avoid jsonifying undefined data  
							
							... 
							
							
							
							For example, when requesting a verification code, there is no JSON data
to send. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0fff393ebf 
								
							
								 
							
						 
						
							
							
								
								Make booleans stringable  
							
							... 
							
							
							
							Fixes "unsure of how to jsonify object of type boolean",
e.g., supportsSms: false 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								fee6a69083 
								
							
								 
							
						 
						
							
							
								
								Optional curve25519 in js  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								85f419b923 
								
							
								 
							
						 
						
							
							
								
								Passing test-cases (fscking type conversions...)  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e932536dfd 
								
							
								 
							
						 
						
							
							
								
								Untested send-encrypted support  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								fe570c754a 
								
							
								 
							
						 
						
							
							
								
								Genericify initSession (and break it for alice)  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								611d5329d3 
								
							
								 
							
						 
						
							
							
								
								Pass tests  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								6e0fe271ab 
								
							
								 
							
						 
						
							
							
								
								Few more steps  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								465bdf2bd3 
								
							
								 
							
						 
						
							
							
								
								Abstract out lots of CryptoJS  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								dd3dd11b32 
								
							
								 
							
						 
						
							
							
								
								Updates, more tests, etc  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								da1b021972 
								
							
								 
							
						 
						
							
							
								
								Fix up initial ratchet stuff  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3c603c72b4 
								
							
								 
							
						 
						
							
							
								
								Lots of updates post-test-cases  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e0d0df3b4a 
								
							
								 
							
						 
						
							
							
								
								ECDHE through NaCL  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								8db3885659 
								
							
								 
							
						 
						
							
							
								
								Updates, NaCL  
							
							
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								eec4c66ef6 
								
							
								 
							
						 
						
							
							
								
								Fixup dir structure  
							
							
							
						 
						
							12 years ago