Commit Graph

67 Commits

Author SHA1 Message Date
lilia de0a1df3ca Fix broken registration flow
Better load the functions defined in chromium.js before trying to use
them. Hmm.. also, options.js should probably wait for the DOM to load
before it tries to initialize things in it.
2014-05-20 21:39:29 -07:00
Matt Corallo d9bf0a41fb textsecure.storage, chromium.js 2014-05-20 22:21:07 -04:00
lilia 1d95fcc027 Fix exception in options.js on first run
Fixes #22 Uncaught ReferenceError: getRandomBytes is not defined
options.js:41
2014-05-12 13:45:52 -07:00
Matt Corallo 3e60368a16 LGPL license (I'd like to be an axolotl/TS JS lib in the future) 2014-05-04 02:34:13 -04:00
Matt Corallo 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
2014-03-25 15:27:19 -04:00
Matt Corallo 000a5e1440 Fix up a few things so registration works 2014-03-23 13:19:53 -04:00
lilia 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.
2014-03-20 00:57:29 -07:00
lilia 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.
2014-03-15 19:57:40 -07:00
Matt Corallo b8357a6464 Unmiified js files, mostly 2014-03-09 17:54:44 -07:00
Matt Corallo fee6a69083 Optional curve25519 in js 2014-03-09 20:32:00 -04:00
Matt Corallo 8db3885659 Updates, NaCL 2014-01-22 06:23:41 +00:00
Matt Corallo eec4c66ef6 Fixup dir structure 2014-01-22 03:28:35 +00:00
Matt Corallo 42de35dd72 Random fixes, stuff 2014-01-17 01:08:33 -05:00
Matt Corallo 7e811c2855 Working registration 2014-01-11 22:49:46 -10:00
Matt Corallo 2427b73057 Untested Code 2014-01-11 21:32:13 -10:00
Matt Corallo 8ad510e00e Minor tweaks and first step towards websocket 2014-01-10 21:58:58 -10:00
Matt Corallo a25cf5f176 Initial Checkin 2014-01-09 21:48:05 -10:00