Audric Ackermann
0b410404a3
remove keypair request manager
4 years ago
Audric Ackermann
89a0868fc3
remove getInstance of conversationController to get()
4 years ago
Audric Ackermann
8ef9c8ed1a
remove delivery receipt logic
4 years ago
Audric Ackermann
173b49723b
rename groupInvitation in proto and remove more stuff unused
4 years ago
Audric Ackermann
01fd927070
match envelope type with ios protos
4 years ago
Audric Ackermann
b055165a5d
display a message when the recipient screenshots an attachemnt
4 years ago
Audric Ackermann
810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats
4 years ago
Audric Ackermann
5cab7908b4
add some test for partial path rebuilding
4 years ago
Audric Ackermann
c063848167
pad and unpad message everywhere
...
attachment not padded for opengroup only
4 years ago
Audric Ackermann
7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2)
4 years ago
Audric Ackermann
a26c5da6cb
Uniformize once and for all the conversation types
...
no more 'direct'. those are private convos
4 years ago
Audric Ackermann
34148e67ec
add return of url after v2 attachment upload
4 years ago
Audric Ackermann
f7581cf4eb
increase prettier maxWidth to 100
4 years ago
Audric Ackermann
c07271109f
Add a ConversationType OPEN_GROUP
4 years ago
Audric Ackermann
b9586c90ce
working open group v2 getInfo for https only
4 years ago
Audric Ackermann
0a8335b125
handle message while linking as if were already linked
4 years ago
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
5 years ago
Audric Ackermann
357421f161
rename window.console.log to window.log.info
5 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