Commit Graph

862 Commits (849a4074335a76224dbc6508ef3f971c0f8df985)
 

Author SHA1 Message Date
lilia 849a407433 Add mock-socket for testing socket stuff 10 years ago
lilia da34b8e0f8 Rename textsecure.websocket and make it internal-only 10 years ago
lilia 89c24cd2fa Move throwHumanError to api.js
It is only used there.
10 years ago
lilia 36b1e87214 Add textsecure.MessageReceiver
Encapsulate the websocket resources and socket setup process in a
friendly OO class. The MessageReceiver constructor expects an instance
of EventTarget on which to fire message events asynchronously. The
provider of the EventTarget can then add/remove listeners as desired.
10 years ago
lilia bf2bf4cfd9 Remove redirect to index from registration.done() 10 years ago
lilia 6f3de68834 Move browserAction call 10 years ago
Tara Vancil 074bb66a4c Add tests for messages model.
Closes #222
10 years ago
Matt Corallo 4157c2c7a4 Merge pull request #227 from WhisperSystems/devices
Remove unsued argument from getDeviceObject
10 years ago
lilia 37e09da1cc Remove unsued argument from getDeviceObject
Last usage of the `returnIdentityKey` argument was removed in 8b9a16852.
10 years ago
lilia 5a46300581 Reorder database.js include in test 10 years ago
lilia 5888039123 Reorder database.js include
Prep to use indexedDB for axolotl storage.
10 years ago
lilia 026f110d36 Delete the database once, before tests run 10 years ago
lilia c68bf07409 Don't jscs the generated key_worker.js 10 years ago
lilia bdecf5cc44 Generate key_worker.js
Instead of calling importScripts, which is prone to relative path
issues, generate the worker script with everything it needs included.
10 years ago
lilia 7af42a27c5 Fix registerKeys using array indices for key ids
preKeys is an array whose indices may or may not be keyId-based. Since
we have an inline keyId property, use that instead.
10 years ago
lilia 00989962d8 Rename worker script file 10 years ago
lilia de65f9e6bd Add missing resolve 10 years ago
Patrick Connolly b5d724ffc3 Replaced frontend getString calls broken in d3c158f.
Closes #224
10 years ago
lilia 90c742d57c More error logging 10 years ago
lilia c6b0b71383 Change progress dialog header 10 years ago
lilia 25224da12e Fix unsafe eval warning on registration page 10 years ago
lilia 23feeecbcf Wrap libts, don't leak into global namespace 10 years ago
lilia c51773ab0e More helpful error logging 10 years ago
lilia 9effa85e40 Remove libaxolotl concat task 10 years ago
lilia 319332bb6f Add missing semicolon
:[
10 years ago
lilia 5d4298697c Use view.$ shorthand for scoped jquery searches
Wish I'd noticed that one earlier. http://backbonejs.org/#View-dollar
10 years ago
lilia 0373252901 Update stylesheet 10 years ago
lilia 13ce354ab8 Registration UX improvements
Add some nice modal dialogs instead of confirmation alerts.
10 years ago
lilia 6d9c7182c4 Let the key worker close itself when done 10 years ago
lilia d3dbf2328f Set unread count badge when background page is refreshed
Refreshing the background page unsets the badge.
10 years ago
lilia bfe23d86aa Run key generation in a worker
Ground work for a smoother registration flow. Overall UX still needs
some polish but at least now we can have a progress gif or animation or
whatever. Also adds the phonenumber-confirmation step as a simple alert
box, which will be replaced with a nice dialogue in a later commit.
10 years ago
lilia 0a9598ae21 Update CONTRIBUTING.md 10 years ago
Tara Vancil d65e0e5eda Add tests for message and conversation models
Closes #218
10 years ago
lilia 196aa28873 Fix NaN badge
lolNaNcat
10 years ago
Matt Corallo 8b9a168524 Store session information separately 10 years ago
Matt Corallo e33c6fddda Do not rely on deviceObject.sessions anywhere in sendmessage 10 years ago
Matt Corallo 6c0f3ff1f0 Move session-storage logic to storage/devices from axolotl_wrapper 10 years ago
Matt Corallo 169097a409 Remove stale comments in axolotl_wrapper 10 years ago
Matt Corallo 89fefe4323 Create a textsecure.storage.impl to be overriden if desired 10 years ago
Matt Corallo 56bffdcfd3 Prefix libaxolotl-stored objects with "libaxolotl" 10 years ago
Matt Corallo 00cb420d37 Merge (un)encrypted storage layers 10 years ago
Matt Corallo 454b4726bd Replace load/decode/index around our own number with helpers 10 years ago
lilia 3759fe46e9 Account for -1 HTTPError code 10 years ago
lilia c3d875305d Restore delivery receipt checkmarks 10 years ago
lilia e52224e481 Remove libtextsecure's jquery dependency
Use only the finest, hand-crafted, artisanal XMLHttpRequests.
10 years ago
lilia a2d88b4fad Don't trigger notifications for sync messages 10 years ago
lilia 923bb8bbc9 Fix crash in message detail view
Fix crash when there's no contact for a group member.
10 years ago
lilia e8cb4efaa4 Allow key conflict resolution for group updates
Creating a group with a member who's identity key has changed would
previously fail silently. Now, we catch and save the error, allowing the
same conflict resolution process as with regular messages.

Fixes #205
10 years ago
lilia 4bd46f80e7 Allow empty group avatar file input 10 years ago
lilia ce36c36bd0 Include outgoing control messages in message history
So you know it worked.
10 years ago