Audric Ackermann
c656dd25cf
move configMessage handling to a another file
4 years ago
Audric Ackermann
853222d25b
Do not sync configurationMessage on app load if restored from seed
4 years ago
Audric Ackermann
9586c3a06a
add linking of a device to the Registration logic
4 years ago
Audric Ackermann
305ece1c7c
update our profile on incoming configMessage sent after our last update
4 years ago
Audric Ackermann
e466062f15
WIP
4 years ago
Audric Ackermann
8ea9f02cec
Move data.js to data.ts
4 years ago
Audric Ackermann
7b81c4213a
Merge clearnet
4 years ago
Audric Ackermann
2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2
4 years ago
Audric Ackermann
a31c457c08
allow closedgroup new message to be sent to our other devices
...
also, do not drop it on the receiving side
4 years ago
Audric Ackermann
01f834ae98
only handle the first ever configuration message incoming
4 years ago
Audric Ackermann
ad06b94708
do not drop a message which was not decrypted for a medium group
...
Instead, trigger a request to the group to get the encryption keypair.
We will try to process those messages on an app restart
4 years ago
Audric Ackermann
375c5ba1a8
add the request and reply of an encryptionKeyPair if needed
4 years ago
Audric Ackermann
36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2
4 years ago
Audric Ackermann
3b3378a2ee
finish explicit group updates
4 years ago
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
4 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