Commit Graph

149 Commits (6de7c5c405e7a9d1214056dda99f45960628f1b9)

Author SHA1 Message Date
Audric Ackermann a51f95d28c
move models to TS part1 4 years ago
Audric Ackermann b88ea110e8
Add multi device v2 support 4 years ago
Audric Ackermann 334da0a169
finish explicit group updates 4 years ago
Audric Ackermann 6e11c6db2e
remove all reference to closed group update v2 4 years ago
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 4 years ago
Audric Ackermann 135fc3b366
remove prekeys 4 years ago
Audric Ackermann 21c62c167e
remove typing indicator when we get a dataMessage 4 years ago
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
4 years ago
Audric Ackermann f1d84177a0 fix expirationTimer updates closed group desktop to ios 4 years ago
Audric Ackermann 58be168227 drop groupUpdates which happened before we joined the group 4 years ago
Audric Ackermann cbd0e63641
add admin dialog to warn him about leaving for v2 closed group 4 years ago
Audric Ackermann d43ae09eb0
first working version of closed group v2 4 years ago
Audric Ackermann 2fe6b11e89
move ConversationController to typescript 4 years ago
Audric Ackermann adf0d03d35
add test for the MessageEncrypter using Session protocol 4 years ago
Audric Ackermann 2af4938ff2
fix SessionProtocol decrypt of messages with Android
also disable the old SessionRequest logic
4 years ago
Audric Ackermann b0a229bf13 add Dialog on app start to ask to update SessionID 4 years ago
Audric Ackermann 1045bfeba8 add SessionProtocol wip 4 years ago
Audric Ackermann 380d296bb2
send session request if we get a message we cannot decode
This handle the case where we delete a contact from A, lets call him B
All message after that delete from B to A will be not decoded correctly.

The issue is that the record is existing, but there is no session in it.
The fix is that if we get a message and a record is found, but has not
session in it, we trigger a session request with that user
4 years ago
Audric Ackermann 209fe460e4
lint and fix toast blur when dialog shwon 4 years ago
Audric Ackermann 357421f161
rename window.console.log to window.log.info 4 years ago
Audric Ackermann 6fd8ea20c7
fix restoring of session after restore from seed 5 years ago
Audric Ackermann 144ae41529
add type for ConversationController, remove showStartConversation
and cleanup scss
5 years ago
Audric Ackermann 2f8f79c5d2
make message clearer when we try to reuse a keyIdx in the ratchet 5 years ago
Audric Ackermann e0e0830d3b
remove all ratchet when needed to get fresh senderKey from members 5 years ago
Audric Ackermann a80f9a5965
fix medium group to match mobile way 5 years ago
Audric Ackermann 8326870b1a
use senderIdentity for incoming messages on mediumGroups 5 years ago
Audric Ackermann 514eb9ba98
fix pubkey regex for mobile medium groups 5 years ago
Audric Ackermann 215c964fab
fix padding for medium group 5 years ago
Audric Ackermann 8123508b51
fix avatar closed group and pubkey for medium mobile groups 5 years ago
Audric Ackermann 04063cd0fb
make medium group pubkey be in bytes rather than str 5 years ago
Audric Ackermann 7054268b14
use source from decoded content and not envelope on ssk 5 years ago
Audric Ackermann 89579ebd35
refactor SessionPasswordModal to handle errors on length 5 years ago
Audric Ackermann 582499be25
do not drop group control message from blocked user 5 years ago
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 5 years ago
Maxim Shishmarev 237bd84b35 Fix medium group sending for single device users; protocol changes 5 years ago
Mikunj 646973e330 Made changes to how messages are sent.
Instead of blocking the message queue when we don't have a session, we instead just send out a session request and send the queued messages using fallback encryption.
This means that users will be able to message right away without having to wait.
The only down side is that all messages sent before sessions are established will be using the weaker encryption.

This change also means we have to detach session requests from envelope type (which is a good thing) and thus now a message is a session request if it contains a preKeyBundle.
5 years ago
Mikunj Varsani f11e0f2cd0
Merge pull request #1222 from Mikunj/blocking
Fix up Blocking
5 years ago
Mikunj f008a8b3ef Always block the primary device instead of all devices.
Added isBlockedAsync function.
5 years ago
Mikunj 2a1afa9fe7 Forgot checking for our own devices 5 years ago
Mikunj 3159baebfa Fix case where blocked user adds a new linked device. 5 years ago
Mikunj aa75205bbd Move BlockedNumberController to ts 5 years ago
Audric Ackermann 2257420523
ignore other empty buffers which should be null after protobuf decode 5 years ago
Mikunj 8f82e7a442 Fix multi device pairing 5 years ago
Maxim Shishmarev 7dd9469074 Further improve imports 5 years ago
Maxim Shishmarev 255c7ada68 More clean up in message_receiver.js 5 years ago
Maxim Shishmarev 468ad9f71d Add more type annotations 5 years ago
Maxim Shishmarev e2b5b6654b Clean up more imports 5 years ago
Maxim Shishmarev 6295e4206d Clean up imports 5 years ago
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 5 years ago