Audric Ackermann
a0afd3efe4
add some performance measure for commit calls
2021-07-05 10:30:33 +10:00
Audric Ackermann
0b410404a3
remove keypair request manager
2021-06-24 15:19:04 +10:00
Audric Ackermann
89a0868fc3
remove getInstance of conversationController to get()
2021-06-24 15:10:38 +10:00
Audric Ackermann
8ef9c8ed1a
remove delivery receipt logic
2021-06-15 10:12:43 +10:00
Audric Ackermann
173b49723b
rename groupInvitation in proto and remove more stuff unused
2021-06-10 09:08:20 +10:00
Audric Ackermann
01fd927070
match envelope type with ios protos
2021-06-10 08:55:25 +10:00
Audric Ackermann
b055165a5d
display a message when the recipient screenshots an attachemnt
2021-06-01 15:46:29 +10:00
Audric Ackermann
810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats
2021-06-01 10:08:16 +10:00
Audric Ackermann
5cab7908b4
add some test for partial path rebuilding
2021-05-19 15:54:31 +10:00
Audric Ackermann
c063848167
pad and unpad message everywhere
...
attachment not padded for opengroup only
2021-05-07 10:56:14 +10:00
Audric Ackermann
7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2)
2021-05-07 10:16:15 +10:00
Audric Ackermann
a26c5da6cb
Uniformize once and for all the conversation types
...
no more 'direct'. those are private convos
2021-04-28 14:20:22 +10:00
Audric Ackermann
34148e67ec
add return of url after v2 attachment upload
2021-04-26 16:15:27 +10:00
Audric Ackermann
f7581cf4eb
increase prettier maxWidth to 100
2021-04-22 18:03:58 +10:00
Audric Ackermann
c07271109f
Add a ConversationType OPEN_GROUP
2021-04-20 15:52:19 +10:00
Audric Ackermann
b9586c90ce
working open group v2 getInfo for https only
2021-04-20 14:52:02 +10:00
Audric Ackermann
0a8335b125
handle message while linking as if were already linked
2021-03-03 11:45:43 +11:00
Audric Ackermann
c656dd25cf
move configMessage handling to a another file
2021-03-02 11:27:20 +11:00
Audric Ackermann
853222d25b
Do not sync configurationMessage on app load if restored from seed
2021-03-01 17:55:41 +11:00
Audric Ackermann
9586c3a06a
add linking of a device to the Registration logic
2021-03-01 16:20:35 +11:00
Audric Ackermann
305ece1c7c
update our profile on incoming configMessage sent after our last update
2021-03-01 14:21:29 +11:00
Audric Ackermann
e466062f15
WIP
2021-02-23 14:22:01 +11:00
Audric Ackermann
8ea9f02cec
Move data.js to data.ts
2021-02-15 15:16:52 +11:00
Audric Ackermann
7b81c4213a
Merge clearnet
2021-02-12 14:08:11 +11:00
Audric Ackermann
2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2
2021-02-11 14:45:09 +11:00
Audric Ackermann
a31c457c08
allow closedgroup new message to be sent to our other devices
...
also, do not drop it on the receiving side
2021-02-11 14:04:08 +11:00
Audric Ackermann
01f834ae98
only handle the first ever configuration message incoming
2021-02-11 11:25:03 +11:00
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
2021-02-10 18:12:11 +11:00
Audric Ackermann
375c5ba1a8
add the request and reply of an encryptionKeyPair if needed
2021-02-10 17:45:11 +11:00
Audric Ackermann
36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2
2021-02-09 15:54:34 +11:00
Audric Ackermann
3b3378a2ee
finish explicit group updates
2021-02-08 15:33:16 +11:00
Audric Ackermann
a51f95d28c
move models to TS part1
2021-02-08 15:20:47 +11:00
Audric Ackermann
b88ea110e8
Add multi device v2 support
2021-02-08 11:56:14 +11:00
Audric Ackermann
334da0a169
finish explicit group updates
2021-02-01 11:35:06 +11:00
Audric Ackermann
6e11c6db2e
remove all reference to closed group update v2
2021-01-28 12:06:51 +11:00
Audric Ackermann
a0703bc2f9
remove primary and secondary device separate status
2021-01-21 17:49:13 +11:00
Audric Ackermann
135fc3b366
remove prekeys
2021-01-21 17:49:07 +11:00
Audric Ackermann
21c62c167e
remove typing indicator when we get a dataMessage
2021-01-18 11:53:35 +11:00
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)
2021-01-18 10:58:34 +11:00
Audric Ackermann
f1d84177a0
fix expirationTimer updates closed group desktop to ios
2021-01-14 16:34:05 +11:00
Audric Ackermann
58be168227
drop groupUpdates which happened before we joined the group
2021-01-14 14:37:09 +11:00
Audric Ackermann
cbd0e63641
add admin dialog to warn him about leaving for v2 closed group
2021-01-13 11:02:22 +11:00
Audric Ackermann
d43ae09eb0
first working version of closed group v2
2021-01-12 16:56:21 +11:00
Audric Ackermann
2fe6b11e89
move ConversationController to typescript
2021-01-06 14:26:53 +11:00
Audric Ackermann
adf0d03d35
add test for the MessageEncrypter using Session protocol
2021-01-05 14:48:46 +11:00
Audric Ackermann
2af4938ff2
fix SessionProtocol decrypt of messages with Android
...
also disable the old SessionRequest logic
2020-12-17 12:17:11 +11:00
Audric Ackermann
b0a229bf13
add Dialog on app start to ask to update SessionID
2020-12-16 16:35:30 +11:00
Audric Ackermann
1045bfeba8
add SessionProtocol wip
2020-12-16 13:56:29 +11:00
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
2020-11-23 13:24:57 +11:00
Audric Ackermann
209fe460e4
lint and fix toast blur when dialog shwon
2020-11-10 14:55:10 +11:00
Audric Ackermann
357421f161
rename window.console.log to window.log.info
2020-11-09 14:28:02 +11:00
Audric Ackermann
6fd8ea20c7
fix restoring of session after restore from seed
2020-11-06 14:44:04 +11:00
Audric Ackermann
144ae41529
add type for ConversationController, remove showStartConversation
...
and cleanup scss
2020-10-15 16:43:51 +11:00
Audric Ackermann
2f8f79c5d2
make message clearer when we try to reuse a keyIdx in the ratchet
2020-10-05 12:56:39 +11:00
Audric Ackermann
e0e0830d3b
remove all ratchet when needed to get fresh senderKey from members
2020-10-01 16:13:26 +10:00
Audric Ackermann
a80f9a5965
fix medium group to match mobile way
2020-10-01 15:12:51 +10:00
Audric Ackermann
8326870b1a
use senderIdentity for incoming messages on mediumGroups
2020-09-18 15:44:17 +10:00
Audric Ackermann
514eb9ba98
fix pubkey regex for mobile medium groups
2020-09-17 19:46:06 +10:00
Audric Ackermann
215c964fab
fix padding for medium group
2020-09-17 19:36:58 +10:00
Audric Ackermann
8123508b51
fix avatar closed group and pubkey for medium mobile groups
2020-09-17 19:36:46 +10:00
Audric Ackermann
04063cd0fb
make medium group pubkey be in bytes rather than str
2020-09-15 09:04:10 +10:00
Audric Ackermann
7054268b14
use source from decoded content and not envelope on ssk
2020-09-14 12:15:22 +10:00
Audric Ackermann
89579ebd35
refactor SessionPasswordModal to handle errors on length
2020-07-30 10:58:17 +10:00
Audric Ackermann
582499be25
do not drop group control message from blocked user
2020-07-30 08:42:31 +10:00
Maxim Shishmarev
87144336b7
Large refactor of medium groups. Fixes them for multidevice
2020-07-22 17:41:21 +10:00
Maxim Shishmarev
237bd84b35
Fix medium group sending for single device users; protocol changes
2020-07-10 17:59:33 +10:00
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.
2020-07-10 10:00:21 +10:00
Mikunj Varsani
f11e0f2cd0
Merge pull request #1222 from Mikunj/blocking
...
Fix up Blocking
2020-07-07 15:51:59 +10:00
Mikunj
f008a8b3ef
Always block the primary device instead of all devices.
...
Added isBlockedAsync function.
2020-07-07 15:31:59 +10:00
Mikunj
2a1afa9fe7
Forgot checking for our own devices
2020-07-07 14:47:14 +10:00
Mikunj
3159baebfa
Fix case where blocked user adds a new linked device.
2020-07-07 14:41:37 +10:00
Mikunj
aa75205bbd
Move BlockedNumberController to ts
2020-07-07 10:24:24 +10:00
Audric Ackermann
2257420523
ignore other empty buffers which should be null after protobuf decode
2020-07-06 14:07:37 +10:00
Mikunj
8f82e7a442
Fix multi device pairing
2020-07-06 11:53:52 +10:00
Maxim Shishmarev
7dd9469074
Further improve imports
2020-07-02 15:02:32 +10:00
Maxim Shishmarev
255c7ada68
More clean up in message_receiver.js
2020-07-02 12:32:13 +10:00
Maxim Shishmarev
468ad9f71d
Add more type annotations
2020-07-01 16:20:54 +10:00
Maxim Shishmarev
e2b5b6654b
Clean up more imports
2020-07-01 12:13:01 +10:00
Maxim Shishmarev
6295e4206d
Clean up imports
2020-07-01 11:23:33 +10:00
Maxim Shishmarev
0904e7a8ca
Refactor from message polling to content message handling
2020-06-30 18:10:35 +10:00