Commit graph

268 commits

Author SHA1 Message Date
Audric Ackermann
ed9f4e713e
add type for mnemonic.js and replace some calls with recoveryPhrase 2020-08-20 10:19:47 +10:00
Audric Ackermann
53433261d9
remove outgoing_message.js and everything related to it 2020-07-13 17:10:20 +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
8f82e7a442 Fix multi device pairing 2020-07-06 11:53:52 +10:00
Audric Ackermann
1413b98749
create a conversation with member of a closedgroup we receive 2020-07-02 11:48:43 +10:00
Audric Ackermann
b07b195102
Merge remote-tracking branch 'upstream/clearnet' into other-messages-new-sending 2020-06-25 13:26:33 +10:00
Audric Ackermann
cd79b5051c
move more logic to build sync message in ts for ContactSync and GroupSync 2020-06-25 12:21:12 +10:00
Audric Ackermann
e38ea17e21
paste sessionEstablishedMessage whenever needed 2020-06-25 09:24:22 +10:00
Audric Ackermann
655cc0575e
add sync of closed groups/open groups/ contacts with new pipeline 2020-06-24 17:54:56 +10:00
Mikunj
d4ea483aa0 Filter invalid authorisations from the file server 2020-06-24 10:32:41 +10:00
Mikunj
2e82bf98c1 Added libloki typings 2020-06-23 15:54:22 +10:00
Audric Ackermann
6a13839d9d
address reviews 2020-06-23 15:20:51 +10:00
Audric Ackermann
fbba5575ba
remove buildSessionRequest message 2020-06-19 15:12:56 +10:00
Audric Ackermann
1fe0e3a815
remove sendBackgroundMessage 2020-06-19 14:54:56 +10:00
Audric Ackermann
0a2af13cb1
start of fix of session-request processing 2020-06-18 17:45:32 +10:00
Audric Ackermann
c947d99369
getMessageQueue() rather than .messageQueue to avoid startup issue 2020-06-18 14:23:29 +10:00
Audric Ackermann
b42bc05270
replace unlink message 2020-06-18 08:55:54 +10:00
Audric Ackermann
2e78f755b4
replace sending of established, grant and link request messages 2020-06-18 08:55:28 +10:00
Audric Ackermann
4865b72e93
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 2020-06-17 13:16:31 +10:00
Audric Ackermann
28fb1dd12a
address PR reviews 2020-06-17 11:39:26 +10:00
Audric Ackermann
eb9a838af1
remove friends from UI logic 2020-06-16 10:04:18 +10:00
Audric Ackermann
66de8d9648
remove plenty of the friend logic 2020-06-15 18:05:14 +10:00
Mikunj
ae44f0da0f Remove old multi device functions 2020-06-15 14:38:06 +10:00
Mikunj
7b7d8c0e2a Remove multi device from libloki 2020-06-15 13:57:03 +10:00
Mikunj
b36b3e7725 Slowly replace old multi device functions 2020-06-12 16:09:23 +10:00
Mikunj
c8414fdce6 Simplify sql and data files 2020-06-12 15:44:38 +10:00
Audric Ackermann
f500fed69c
rename missing envelope type FR to SESSION_REQUEST 2020-06-12 11:15:32 +10:00
Mikunj
50ff635673 Fix fallback session cipher test 2020-06-09 09:33:11 +10:00
Mikunj
e6139a5463 Merge branch 'clearnet' into message-sending-refactor 2020-06-05 13:05:23 +10:00
Audric Ackermann
73e15250d7
Merge remote-tracking branch 'upstream/clearnet' into integration-test-logs-rebased 2020-06-03 15:56:48 +10:00
Audric Ackermann
a656e3ba3f
add env variable to enable message_logs 2020-06-03 15:35:11 +10:00
Audric Ackermann
a857406728
rename respondToAll.. FR to updateAll...Messages at is does not send any messages 2020-06-03 10:01:42 +10:00
Mikunj
36762dbbf2 Added libsignal-protocol typings.
Added MessageEncrypter.
2020-06-01 12:14:37 +10:00
Maxim Shishmarev
abde96bc1e Fix medium group updates 2020-05-29 17:48:57 +10:00
Maxim Shishmarev
2a0130ff04 Multidevice support for medium groups 2020-05-29 17:47:39 +10:00
Audric Ackermann
fa853538d0
LINT after prettier upgrade 2020-05-29 16:25:15 +10:00
Audric Ackermann
12b396ce7e
add option to send a message to a single device, or to all device except one 2020-05-27 16:10:12 +10:00
Mikunj
a1f2b38325 Merge changes 2020-05-20 09:04:36 +10:00
Mikunj
a497871ea3 Made changes for new protocol 2020-05-19 12:17:08 +10:00
Audric Ackermann
eb894a9b66
lint 2020-05-15 12:57:23 +10:00
Audric Ackermann
f46c885fdf
merge fix-closed-group to clearnet 2020-05-15 12:53:49 +10:00
Maxim Shishmarev
61d4c7c349 Encrypt source for medium groups 2020-05-05 17:03:21 +10:00
Mikunj
96d42e24d2 Made calculateAgreement async 2020-04-22 09:59:03 +10:00
Mikunj
d8ed1258e1 Made key generation async 2020-04-22 09:48:05 +10:00
Mikunj
496afa85cb Remove libsodium-wrapper.
Remove LokiSnodeChannel as we weren't using it.
2020-03-27 15:51:03 +11:00
Maxim Shishmarev
0221e7b8c0 fix linter warnings 2020-03-24 18:32:00 +11:00
Maxim Shishmarev
3a746109ea Path building for onion requests 2020-03-24 18:25:31 +11:00
Maxim Shishmarev
9e3f16301f Add AES-GCM 2020-03-24 18:25:31 +11:00
Audric Ackermann
a7def71840
multi device: do not sync contacts not friends 2020-03-20 14:28:32 +11:00
Mikunj
33925d69e9 Cleanup 2020-03-19 09:12:06 +11:00