lilia
76da5bb4f9
Add background.js to jshint
10 years ago
lilia
09704444e9
Fix missing delivery receipt checkmarks
...
The delivered class should be updated on each render to ensure it is
up to date.
10 years ago
lilia
06e8e0dca7
Remove an extension.trigger
...
No need to trigger an extension-wide event now that all our models live
in the background page. We can just update them more or less directly.
10 years ago
lilia
626b63ee7c
Fix some jshints
10 years ago
lilia
3292177a96
Remove resize logic in favor of pure css
10 years ago
lilia
07e44ccf21
Revisit resize and scroll logic once more
...
Wait a little longer on initial scroll down. Previous timeout sometimes
triggered before all text is finished rendering.
Remove redundant resize calls.
10 years ago
lilia
7231bcd5ce
Flesh out font faces
10 years ago
lilia
1bdb42b67e
Fix bug loading conversation upsidedown
...
Sometimes a conversation's messages would be reverse-ordered on first
load, correcting themselves after a refresh. This is an artifact of the
order we load messages from the database. To fix, load them in the
opposite order.
The alternative solution would be to reset the collection every time we
fetch new messages, but this would create an entirely new set of model
objects each time, which seems unnecessary.
10 years ago
lilia
296dae544d
Open conversation on receiving a message w/ errors
10 years ago
lilia
955ef60292
Fix list_view-related error in background page
...
Background page conversations were trying to trigger events on the inbox
list view which had been destroyed, resulting in a background page
console error of "can't read innerHeight of null".
Avoid this by removing listeners when the inbox window is closed.
10 years ago
lilia
1c589f2fad
Fix list_view.js and message_view.js whitespace
10 years ago
lilia
61581bae7f
Fix inbox comparator
10 years ago
lilia
4716754209
Refactor content message class names
10 years ago
lilia
94c94eb7c9
Refactor message view
...
The message view has three flavors so far, a normal text+attachments
message, a group update, and an end session message. This changeset
extracts the normal message rendering into its own subview, and adds
some convenience functions to the message model in order to simplify
some of that flavoring logic.
10 years ago
lilia
85bec04010
Render leave-group messages correctly
10 years ago
lilia
367421d40a
Style end session messages
...
Also add a missing call to render()
10 years ago
lilia
f00a8f1e81
Render end session messages correctly
10 years ago
lilia
488f25635d
Wire up end session and leave group
...
Closes #136
Closes #137
10 years ago
lilia
85b4643e9b
Fixes #161
...
The first message sent to a new contact was throwing 'Unknown Group'.
This was because we didn't wait for the initial save to sync the `type`
attribute to indexedDB. Instead, don't trigger the conversation to open
until it has finished saving.
10 years ago
lilia
eddf4164fa
Hide sender names in private conversations
10 years ago
Matt Corallo
b45c09470f
Merge pull request #155 from WhisperSystems/closeSession
...
Fix textsecure.closeSession
10 years ago
Matt Corallo
04b1ab23a4
Merge pull request #154 from WhisperSystems/fixolotl
...
Fix provisioning flow
10 years ago
lilia
0e8a5806a8
Fix textsecure.closeSession
...
sendIndividualProto requires a timestamp.
10 years ago
lilia
96af6b56ef
Handle incoming sync messages
...
Assign them to the correct conversation and mark them outgoing with the
correct timestamp.
Closes #150
10 years ago
lilia
104b49c371
Add SyncMessageContext
...
The sync field on a push message content indicates that this is a sync
message from a master or sibling device and what conversation it belongs
to.
10 years ago
lilia
65c70a9117
Fix provisioning flow
...
Fix undefined axolotl.protobufs.ProvisionMessage, referenced in
libaxolotl/protocol.js
10 years ago
Matt Corallo
148410a826
Move jquery dep from libaxolotl to libaxolotl tests
10 years ago
Matt Corallo
44a094c324
Re-run concat
10 years ago
Matt Corallo
1e318a8293
Add missing TODO
10 years ago
Matt Corallo
b356403061
De-duplicate registrationId in deviceObject
10 years ago
Matt Corallo
92d0de6837
[de]serialize sessions storage in device storage
10 years ago
Matt Corallo
1bef1ce5d3
Split out identity key storage from session storage
10 years ago
Matt Corallo
298c8624b2
Move test vectors to libaxolotl
10 years ago
Matt Corallo
7e3f1ef452
Actually store on removeDeviceIds
10 years ago
Matt Corallo
1806210b26
Rewrite most of the device storage stuff
10 years ago
Matt Corallo
f1f5914879
Re-run concat
10 years ago
Matt Corallo
412f206efc
Encapsulate message sending to hide parameter
10 years ago
Matt Corallo
bfb3e7751e
Add missing validity check to device storage
10 years ago
Matt Corallo
30dd13e8e3
Return a function instead of a session in decryptWhisperMessage
10 years ago
Matt Corallo
3e648b0ea0
Move groups storage back to libtextsecure
10 years ago
Matt Corallo
04b2a13a75
Naively move device/session storage to wrapper
10 years ago
Matt Corallo
870e5dc9dc
Remove all external non-test deps on libaxolotl/crypto
10 years ago
Matt Corallo
7d2d2d92fc
Copy getRandomBytes from libaxolotl to libtextsecure
10 years ago
Matt Corallo
12844590f5
Move prekey sigcheck to libaxolotl
10 years ago
Matt Corallo
cb6cb4ff89
Re-add jquery as it is needed for our test runners
10 years ago
Matt Corallo
8398a52c20
Re-run concat
10 years ago
Matt Corallo
bb32a51d66
s/textsecure.protocol/axolotl.protocol/
10 years ago
Matt Corallo
c1907b14eb
Use axolotl.api for a few more things in libaxolotl/protocol.js
10 years ago
Matt Corallo
403ae4376d
Move attachment/websocket [en|de]cryption to libtextsecure
10 years ago
Matt Corallo
a9617068a2
Move key updating and retry handling to libtextsecure
10 years ago