lilia
							
						 
						
							 
							
							
							
								
							
								19dac1f3df 
								
							
								 
							
						 
						
							
							
								
								Decorate incoming group messages  
							
							 
							
							... 
							
							
							
							with numbers and image placeholders, so you know who's saying what. 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								78166365c7 
								
							
								 
							
						 
						
							
							
								
								Fix new message number validation  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								838283f28b 
								
							
								 
							
						 
						
							
							
								
								Send acks instead of closing and opening the socket  
							
							 
							
							... 
							
							
							
							Hopefully the real fix for #67  until we get protocol-level pings from
the wc3 api. 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								6e2a85ccf1 
								
							
								 
							
						 
						
							
							
								
								wip new message phone number validation  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								e831c649bd 
								
							
								 
							
						 
						
							
							
								
								Require a mandatory websocket reset once a minute  
							
							 
							
							... 
							
							
							
							Compensate for the lack of keepalives in the WebSocket API.
Fixes  #67  
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								a3bf40e852 
								
							
								 
							
						 
						
							
							
								
								Shorten websocket time out.  Fixes   #67  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								3a00e49791 
								
							
								 
							
						 
						
							
							
								
								Open the most recent conversation on load  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								1023ea1732 
								
							
								 
							
						 
						
							
							
								
								Refactor textsecure.protos -> textsecure.protobuf  
							
							 
							
							... 
							
							
							
							DRY up protobuf declarations and move to a slightly briefer naming
convention.
Also dropped some ArrayBuffer -> string conversions as
ProtoBuf.js handles ArrayBuffers just fine, and in fact, more
efficiently than strings.
Finally, dropped the btoa() wrappers, because that incurs an extra
string -> string conversion before the protobuf's internal string ->
array buffer conversion. In lieu of btoa, we can simply pass in the
optional string encoding argument to the protobuf's decode method,
which in these cases should be 'binary'.
Related: #17  
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								03cc667e48 
								
							
								 
							
						 
						
							
							
								
								Standardize some whitespace  
							
							 
							
							... 
							
							
							
							The preferred style is 4 spaces. 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								Arnaud Benard
							
						 
						
							 
							
							
							
								
							
								e568e2c528 
								
							
								 
							
						 
						
							
							
								
								Fixes   #61  - Order by timestamps with tests  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								cc5327dbc9 
								
							
								 
							
						 
						
							
							
								
								Fix group loop  
							
							 
							
							... 
							
							
							
							All the group messages were being sent to the last recipient in the
list, due to the persistence of `var number` in later loops and async
calls. An easy mistake to make, when you use for instead of each. 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								liliakai
							
						 
						
							 
							
							
							
								
							
								1571868520 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #66  from aprescott/initial-setup-instructions  
							
							 
							
							... 
							
							
							
							Add some initial development setup instructions 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								Adam Prescott
							
						 
						
							 
							
							
							
								
							
								ea85e41cac 
								
							
								 
							
						 
						
							
							
								
								Add some initial development setup instructions.  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								ac5c359053 
								
							
								 
							
						 
						
							
							
								
								Fix strange loop in sendMessageProto  
							
							 
							
							... 
							
							
							
							Don't declare a new `var i`  within the scope of an existing `var i`.
Fixes  #63  
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								e8399f98df 
								
							
								 
							
						 
						
							
							
								
								Quickfix for wonky tagsinput  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								cd55c0a1f1 
								
							
								 
							
						 
						
							
							
								
								Put groupid back in id field also  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								0bd5f3e3c2 
								
							
								 
							
						 
						
							
							
								
								If for some reason a group has no name, provide a default  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								0036e4ef74 
								
							
								 
							
						 
						
							
							
								
								Store group ids as strings  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								8288e298fc 
								
							
								 
							
						 
						
							
							
								
								Group ids should be converted to ArrayBuffers for transport  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								143254cec8 
								
							
								 
							
						 
						
							
							
								
								Group ids are stored in groupId  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								bbe57ef0bf 
								
							
								 
							
						 
						
							
							
								
								Stringify incoming group ids  
							
							 
							
							... 
							
							
							
							Otherwise when we try to make their local storage keys they look like:
"egroupByteBuffer(offset=4,markedOffset=-1,length=28,capacity=112)" 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								13c06a26f9 
								
							
								 
							
						 
						
							
							
								
								Add phone number utils to background page  
							
							 
							
							... 
							
							
							
							Quickfix.
Probably it shouldn't actually be verifying any phone numbers. 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								4f21bbd21f 
								
							
								 
							
						 
						
							
							
								
								Use textsecure.messaging to create groups  
							
							 
							
							... 
							
							
							
							Not textsecure.storage. Sigh. Also accomodate the fact that
the group id is not returned directly, but rather at the end
of a promise chain. 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								fa4c385598 
								
							
								 
							
						 
						
							
							
								
								Make initial timestamp on a thread match the 1st message  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								f14cd2eed1 
								
							
								 
							
						 
						
							
							
								
								Don't validate presence of thread id  
							
							 
							
							... 
							
							
							
							It's undefined until the first save(); 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								7e9c0e2394 
								
							
								 
							
						 
						
							
							
								
								Group ids should be strings (or stringables)  
							
							 
							
							... 
							
							
							
							ArrayBuffer was a bad choice. 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								6db3eeb52e 
								
							
								 
							
						 
						
							
							
								
								Convert incoming timestamps into numbers  
							
							 
							
							... 
							
							
							
							Fixes  #59 
protip: don't use << for anything over 2^32. The operands of all bitwise
operators are converted to signed 32-bit integers 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								7a6c15bb32 
								
							
								 
							
						 
						
							
							
								
								Avoid background thread overwriting outgoing messages  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								d7edfd4efb 
								
							
								 
							
						 
						
							
							
								
								Remove reference to undefined function  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								43f4f6cf99 
								
							
								 
							
						 
						
							
							
								
								Open a group's view after it's created  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								320d1f18ae 
								
							
								 
							
						 
						
							
							
								
								Fix exception when protbuf-encoding groupIds  
							
							 
							
							... 
							
							
							
							An exception is thrown when protobuf tries to encode a number as the
group id, which is declared to have type 'bytes'.
Fix by make it an ArrayBuffer instead, and increase the length to 16,
which is what the Android client uses:
c632b32ff8/src/org/thoughtcrime/securesms/database/GroupDatabase.java (L222) 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								5b0573293f 
								
							
								 
							
						 
						
							
							
								
								Fix references to GroupContext Type ENUM values  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								01f9fc1f17 
								
							
								 
							
						 
						
							
							
								
								More frontend groups fixes  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								e89e691957 
								
							
								 
							
						 
						
							
							
								
								Fix bug in groupId generation  
							
							 
							
							... 
							
							
							
							Previously, if calling createNewGroup with an undefined groupId,
no groupId was generated.
This occurred because no entry for "group" + undefined exists in
localStorage, which caused this code to think undefined was a
valid group id.
Fixed by adding `|| groupId == undefined` to the while clause.
Also decoupled the groupId collision check for clarity. 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								dc41ebf701 
								
							
								 
							
						 
						
							
							
								
								Small frontend fixes for the new group view  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								2bd77693e1 
								
							
								 
							
						 
						
							
							
								
								Refactor options page and style using bootstrap  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								81e4af5827 
								
							
								 
							
						 
						
							
							
								
								Move phonenumbery utils to libphonenumber object  
							
							 
							
							... 
							
							
							
							Slowly whittling away at helpers.js... 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								9fc14cfa30 
								
							
								 
							
						 
						
							
							
								
								Remove erroneous comment re: MDN copyright  
							
							 
							
							... 
							
							
							
							In fact, the code samples we have copied from MDN are declared to be
public domain (see link below):
  "Code samples added on or after August 20, 2010 are in the public
  domain."
https://developer.mozilla.org/en-US/docs/MDN/About#Copyrights_and_licenses 
AFAICT we're using code from this page, last updated 10/4/14:
https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding  
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								75e78caec8 
								
							
								 
							
						 
						
							
							
								
								Function-wrap options.js  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								683c373943 
								
							
								 
							
						 
						
							
							
								
								Relaxes verification code validation  
							
							 
							
							... 
							
							
							
							When codes are sent they are formatted as xxx-xxx. Previously when I
would paste these from GVoice they failed validation thanks to the dash
and whatever whitespace I happened to grab. 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								27708cd8d7 
								
							
								 
							
						 
						
							
							
								
								Switch to staging. -ca is now production  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								0f4b53c176 
								
							
								 
							
						 
						
							
							
								
								Update records list in BBLocalStorage on fetch  
							
							 
							
							... 
							
							
							
							Previously, would only update the known messages. 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								2288f8adc1 
								
							
								 
							
						 
						
							
							
								
								Fix new group ui not showing  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								266600e5ab 
								
							
								 
							
						 
						
							
							
								
								There's no need to wrap this function inside a function afaict  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								ae98b8680f 
								
							
								 
							
						 
						
							
							
								
								Fix whitespace in popup.js  
							
							 
							
							... 
							
							
							
							Our official standard is 4 space indentation. 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								778fa6b627 
								
							
								 
							
						 
						
							
							
								
								Remove some low-value makup  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								40c3bc8640 
								
							
								 
							
						 
						
							
							
								
								Fix nacl not loading  
							
							 
							
							... 
							
							
							
							HEADDESK HEADDESK HEADDESK 
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								0cf5ae3bbf 
								
							
								 
							
						 
						
							
							
								
								Reorganize message view test a bit  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								ef066ea9d2 
								
							
								 
							
						 
						
							
							
								
								Make conversations open when they are created  
							
							 
							
							
							
						 
						
							11 years ago  
						
					 
				
					
						
							
							
								 
								lilia
							
						 
						
							 
							
							
							
								
							
								230d24a69e 
								
							
								 
							
						 
						
							
							
								
								Views already have a #remove()  
							
							 
							
							
							
						 
						
							11 years ago