lilia
bba25b22e2
Log session deletions
8 years ago
lilia
527e7878a8
Fix unresolved promise in removeSession
...
Previously if there was no session to remove, the promise returned from
removeSession would never resolve, potentially blocking sending for that
recipient until restart.
// FREEBIE
8 years ago
lilia
e4b9c51f88
Rework expiring messages management
...
// FREEBIE
8 years ago
lilia
08e8c00329
Restore setting lastMessage in handleDataMessage
8 years ago
lilia
0e31644c28
Remove spurious update to conversation on delivery receipts
...
Previously this would trigger the conversation to refresh it's last
message.
// FREEBIE
8 years ago
lilia
b7fac17ec8
Avoid querying groups on delivery receipts if possible
8 years ago
lilia
c8a0fe5a92
Add CallMessage protos
8 years ago
lilia
ace59147ab
Reduce unnecessary updates on conversations at startup
8 years ago
lilia
280f7a74b1
Fix key change errors while retrying key change errors
8 years ago
lilia
e1662f8537
Drop unneeded binds
...
There are no references to `this` in these functions.
// FREEBIE
8 years ago
lilia
7cbaac5590
Provisioning socket events don't block AccountManager tasks
...
// FREEBIE
8 years ago
lilia
38a830c561
Fixup account manager task queue
...
Such that it still pumps tasks if one of them throws/rejects.
// FREEBIE
8 years ago
lilia
51131df23b
Update libsignal-protocol-javascript 1.1.9
...
// FREEBIE
8 years ago
lilia
6509646bdb
Set expireTimer to null to unset
...
// FREEBIE
8 years ago
lilia
0fac2e1d68
Log when we see a 0 registrationId
...
Most likely an indicator that the device we're dealing with is a 3rd
party client.
// FREEBIE
8 years ago
lilia
da9b6c5245
Add logging for install and update events
...
// FREEBIE
8 years ago
lilia
54b856139a
Fix fetchExpiring
8 years ago
lilia
e8925063bc
Bump version
8 years ago
lilia
4e21e783db
Fix tests
8 years ago
lilia
cda22880a0
Update translations
8 years ago
lilia
e648a4b095
Revert "Remove unregistered group members"
...
This reverts commit a768b94471
.
d2ddfc7
was enough to fix #989 . Removing unregistered members from the
group (as opposed to silently ignorning them) creates greater potential
for getting out of sync with the member lists on other devices.
// FREEBIE
8 years ago
lilia
dfe9ee9679
Remove dead code
8 years ago
lilia
536dd7b951
Add signed key rotation scheduler
...
Rotate signed prekey every 48hrs, waiting for online access if
necessary. After a rotation attempt is made, schedule the next run for
48hrs in the future.
We use a timeout to "wake up" and handle the rotation. This timeout gets
set on startup and whenever the next rotation time is changed. For
paranoia's sake, always clear the current timeout before setting the
next one.
Since new registrations necessarily upload new signed keys, we reset the
scheduled time to T+48hrs on `registration_done` events.
// FREEBIE
8 years ago
lilia
b92dd45a22
Add signed key rotation and deletion routines
...
// FREEBIE
8 years ago
lilia
cd0fe7037b
Add replayable error for signed key failure
...
Disable message sending if signed key updates fail too many times, but
allow the user to retry sending.
// FREEBIE
8 years ago
lilia
e0fd188d42
Add loadSignedPreKeys to SignalProtocolStore
8 years ago
lilia
37ad742ccf
Support for server endpoint to set signed key
8 years ago
lilia
54536360ff
Return created_at and keyId with signed prekeys
...
Use `.get()` rather than `attributes.property` access because created_at
may not be present for old keys
// FREEBIE
8 years ago
lilia
829d147d19
Add creation timestamps to signed keys
8 years ago
lilia
dfc292ac70
Serialize prekey refreshes & other account mgmt
...
Fixes #1060
// FREEBIE
8 years ago
lilia
a98857a1d1
Bump version
8 years ago
lilia
04d04962a7
Update translations
8 years ago
lilia
f0f6bbb8c0
Update libsignal-protocol 1.1.8
...
// FREEBIE
8 years ago
lilia
819ba8ee74
Support for undefined preKey
8 years ago
haffenloher
a768b94471
Remove unregistered group members
...
Locally remove unregistered users from group membership lists.
Fixes #989
Related to Whispersystems/Signal-Android#6175
Closes #1052
// FREEBIE
8 years ago
haffenloher
d2ddfc72e4
Throw UnregisteredUserErrors in getKeysForNumber()
8 years ago
haffenloher
e8de2f0c52
Increase image constraints to 6 MB / 4096 px
...
Matches WhisperSystems/Signal-Android@d2be49af
Closes #1055
// FREEBIE
8 years ago
lilia
053bf20185
Group updates never have body or attachments
...
Why would they? And group.added isn't used anywhere else.
// FREEBIE
8 years ago
haffenloher
04f0142b23
Ignore missing members in incoming group updates
...
Previously, updateNumbers would throw an Error, so the whole group
update was discarded.
Signal-Android handles this the same way in
GroupMessageProcessor.handleGroupUpdate().
Closes #1056
8 years ago
beejaygee
76c165a10a
Add copy and paste for images
...
Switch comparison operator to ===
Move to stricter parsing of clipboard items
8 years ago
Blake Griffith
1e498294e0
Add attachment_views_test.js tests
8 years ago
lilia
aa55b6a538
Confirm device name with enter key
...
Use form and submit elements for their built in mouse and keyboard event
handlers.
// FREEBIE
8 years ago
Ikarulus
c9939c8da8
Moving the error badge to the right corner in ios theme
...
// FREEBIE
8 years ago
lilia
4230b11f82
Support future compatibility for new timer options
...
If some future client ever sends us an arbitrary timer value which we do
not currently support, present it as a duration in seconds in timer
update messages and ui, where we would otherwise have rendered nothing,
e.g., "You set the timer to ."
// FREEBIE
8 years ago
lilia
7e06e014c4
Add debug logging for #1030
...
// FREEBIE
8 years ago
karissa
eb5c95e287
Add a few missing translatable strings to conversation search view
8 years ago
lilia
b1a37da68b
Add audio to prod build
...
// FREEBIE
8 years ago
lilia
34eb2fef17
Add bithub badge to readme
8 years ago
Asa Ayers
bda0430805
Add an option to play audio notifications
8 years ago
lilia
b9c8b4afbb
Bump version
8 years ago