Commit Graph

67 Commits (849a4074335a76224dbc6508ef3f971c0f8df985)

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.
11 years ago
Matt Corallo d9bf0a41fb textsecure.storage, chromium.js 11 years ago
lilia 1d95fcc027 Fix exception in options.js on first run
Fixes #22 Uncaught ReferenceError: getRandomBytes is not defined
options.js:41
11 years ago
Matt Corallo 3e60368a16 LGPL license (I'd like to be an axolotl/TS JS lib in the future) 11 years ago
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
11 years ago
Matt Corallo 000a5e1440 Fix up a few things so registration works 11 years ago
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.
11 years ago
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.
11 years ago
Matt Corallo b8357a6464 Unmiified js files, mostly 11 years ago
Matt Corallo fee6a69083 Optional curve25519 in js 11 years ago
Matt Corallo 8db3885659 Updates, NaCL 11 years ago
Matt Corallo eec4c66ef6 Fixup dir structure 11 years ago
Matt Corallo 42de35dd72 Random fixes, stuff 11 years ago
Matt Corallo 7e811c2855 Working registration 11 years ago
Matt Corallo 2427b73057 Untested Code 11 years ago
Matt Corallo 8ad510e00e Minor tweaks and first step towards websocket 11 years ago
Matt Corallo a25cf5f176 Initial Checkin 11 years ago