Commit graph

520 commits

Author SHA1 Message Date
lilia
c0a8c00884 Rebuild libtextsecure also 2015-02-11 12:49:33 -08:00
lilia
c230b47ef2 Rebuild curve25519 for free
Add free to the list of exposed functions so that it can be called,
then `grunt compile concat:curve25519`
2015-02-11 02:55:42 -08:00
lilia
69ce5917f6 Allocate 64 bytes for curve25519 sigs
Closes #145
2015-02-10 13:10:54 -08:00
lilia
256dd5198c Free allocated memory
Closes #146
2015-02-10 13:10:34 -08:00
lilia
9d592bf117 Update contributing.md re: websocket error message
Websocket's fail to open and produce this non-helpful error message when
an exception has not been made for the self-signed staging server cert.
2015-01-24 11:25:11 -10:00
lilia
a91739aec6 Micro edits to README and CONTRIBUTING 2015-01-22 18:22:55 -10:00
Riley Shaw
ffa0b2b94f Add Sass task to watch and dev 2015-01-21 18:58:32 -10:00
lilia
dc4ff850ed Remove search bar
It's not really implemented so let's get it out of the way for now.
2015-01-21 13:53:54 -10:00
lilia
8097db9af7 Micro refactor group update setup in message view 2015-01-21 13:53:41 -10:00
lilia
bea19e7997 Update README, add CONTRIBUTING
Move the development setup instructions to CONTRIBUTING.md and add
some guidelines for pull requests and such.

README now contains crypto export notice, license, etc... Borrowed
heavily from the Signal-iOS readme.
2015-01-19 19:49:22 -10:00
Matt Corallo
29b2ffc769 Update to real server provisioning API 2015-01-19 10:23:25 -10:00
Matt Corallo
c112c59ce6 Fix group send (fixes #129) 2015-01-19 10:04:11 -10:00
lilia
94e14f2c85 Add license headers
Closes #75
2015-01-18 14:21:22 -10:00
lilia
5d044bd00e Fire an event on phone number validation
Fix a bug introduced by recent phone number input work that prevented
the call and sms buttons from being clickable.
2015-01-17 22:51:32 -10:00
lilia
f6376c0fa2 Rename event
'open' seems a better name for an event that triggers the open function.
2015-01-17 22:33:55 -10:00
lilia
ed06161ee7 Quick fix for phone input style 2015-01-17 22:32:47 -10:00
lilia
f73596c240 Add a view for attachment previews 2015-01-16 13:39:01 -10:00
Emily Chao
bb2b53035e Restyled message attachments
Added a size limit, added functionality to delete the attachments before sending in a more user-friendly way
2015-01-16 13:06:49 -10:00
lilia
9baafddb14 Add license to file input view 2015-01-16 13:06:38 -10:00
lilia
d470b0eb53 Less jquery, more templating in conversation view
`if (foo) then jquery-dom-insert...` is a poor pattern to follow.
Instead, let mustache do the work.
2015-01-15 22:34:52 -10:00
Emily Chao
e74cba8a92 Restyled country dropdown
Added jquery plugin that allows for flags and country codes to be
displayed in a user-friendly way, on top of the existing phone view
2015-01-15 15:24:36 -10:00
Emily Chao
5d3020b9ed Refactor phone number input view
Moves validation logic to its own view to be shared on index and options
pages.
2015-01-15 11:51:32 -10:00
lilia
44007ca58f Add rudimentary ui for sending a group update 2015-01-15 09:23:13 -10:00
Matt Corallo
9e9a4c1de6 Merge pull request #126 from WhisperSystems/nonacl
Remove NaCL
2015-01-14 11:43:31 -10:00
Matt Corallo
76cc4f305a Fix re-concat on build task 2015-01-14 11:39:36 -10:00
Matt Corallo
6b0e346193 nacl -> native 2015-01-14 11:39:36 -10:00
Matt Corallo
334550b779 Regenerate components/libts 2015-01-14 11:39:36 -10:00
Matt Corallo
e7f3e52b6c Remove NaCL! 2015-01-14 11:39:36 -10:00
Matt Corallo
2eac191a6a Merge pull request #123 from WhisperSystems/libts
libtextsecure split
2015-01-14 10:33:21 -10:00
Joe Bandenburg
ac8584dd85 Add JSCS and run as grunt test task
This change only introduces a single rule but more can easily be added
going forwards.
2015-01-14 10:00:40 -10:00
Matt Corallo
1d7afd2a3c Also run sauce tests in firefox 2015-01-14 09:35:58 -10:00
Matt Corallo
325115b7ea Skip NaCL if we're not running from chrome-extension: 2015-01-14 09:35:57 -10:00
Matt Corallo
5785f4033c Compile curve25519/webcrypto into libtextsecure.js 2015-01-14 09:35:57 -10:00
Matt Corallo
07899557dc Give libtextsecure its own components (with way fewer deps) 2015-01-14 09:35:57 -10:00
Matt Corallo
899d756469 Split tests between libtextsecure and main 2015-01-14 09:35:57 -10:00
Matt Corallo
8ad1a38b5b Move js files around for libtextsecure split 2015-01-14 09:35:57 -10:00
Matt Corallo
444b765dfc Remove unused function in _test.js 2015-01-14 09:35:57 -10:00
Matt Corallo
13d403b334 Switch to isNumberSane in group storage 2015-01-14 09:35:57 -10:00
Matt Corallo
17782660e2 Add isNumberSane to textsecure.utils for basic validation 2015-01-14 09:35:57 -10:00
Matt Corallo
6b933455e3 Merge pull request #108 from TheBlueMatt/refreshgroup
Replace all the refreshGroups stuff
2015-01-14 09:35:20 -10:00
Matt Corallo
eac506557f Replace refreshGroups with singular refreshGroup on send 2015-01-14 09:34:36 -10:00
Matt Corallo
0b19e5b9c3 Replace numer->group with group->number->registrationId tracking 2015-01-14 09:34:36 -10:00
Matt Corallo
67bb400b87 Revert "Don't refreshGroups in tryMessageAgain", making a better one
This reverts commit f9e68be45b.

Conflicts:
	js/sendmessage.js
2015-01-14 09:34:36 -10:00
lilia
d119bdff01 restore default avatars 2015-01-14 01:37:41 -10:00
Matt Corallo
1e4a7108e3 Merge pull request #120 from WhisperSystems/testvectors
Re-add v3 testvectors with fixed sauce
2015-01-12 23:23:56 -10:00
Matt Corallo
fb03879d02 Re-add v3 testvectors with fixed sauce 2015-01-12 23:20:06 -10:00
lilia
d2ab8ddd5b Use a newer chrome version
One with webcrypto support
2015-01-12 23:16:20 -10:00
lilia
5c2006e159 Fix build: Revert "Update some of the testvectors to v3"
This reverts commit 33429bd6f7.
2015-01-12 22:29:23 -10:00
Matt Corallo
33429bd6f7 Update some of the testvectors to v3 2015-01-12 21:34:12 -10:00
Matt Corallo
2b0866ee1f Bring protocol_test back in-line with new APIs 2015-01-12 21:34:12 -10:00