Commit graph

2190 commits

Author SHA1 Message Date
Audric Ackermann
7e77a3f3b6 remove unused functions in Data.ts and sql.js 2021-02-19 11:57:23 +11:00
Audric Ackermann
d844c5141e remove unprocessed from store. Nothing was stored in the store
it was simply as passthrough to the Data file.
No we directly call the data file instead
2021-02-19 10:35:11 +11:00
Audric Ackermann
3f43ae48ad WIP 2021-02-17 11:17:50 +11:00
Audric Ackermann
370158951a move events from MessageQueue to MessageSentHandler 2021-02-16 18:12:49 +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
ebf9714e49
remove MessageQueueInterface 2021-02-11 15:00:52 +11:00
Audric Ackermann
2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 2021-02-11 14:45:09 +11:00
Audric Ackermann
df3ca5d38a
add a sql function to check if a keypair is already saved in db 2021-02-11 14:33:55 +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
6d28f343c9
try to decrypt unprocessed message when we get a new encryptionkeypair 2021-02-11 10:23:21 +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
850233bc9e review PR 2021-02-10 10:31:48 +11:00
Audric Ackermann
8eb1507fcf fix tests with should() 2021-02-10 09:30:56 +11:00
Audric Ackermann
ed84760f0e
add a tslint rule to forbid use of async without await 2021-02-09 17:00:54 +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
c7fa765b65
be sure to have a conversationId on handleMessageEvent() 2021-02-09 14:44:23 +11:00
Audric Ackermann
df0b44db4c
Merge remote-tracking branch 'upstream/clearnet' into multi-device-v2 2021-02-09 13:46:06 +11:00
Audric Ackermann
f41bf31515
fix tests 2021-02-09 12:42:41 +11:00
Audric Ackermann
ea2c4437a3
cleanup models with unused events
also, sort message from DB and on redux by sent_at or received_at when
not a public group
2021-02-09 11:40:32 +11:00
Audric Ackermann
6edcb88788
remove resend as it does not make any sense with medium groups
and sendAnyway
2021-02-09 11:38:11 +11:00
Audric Ackermann
20cf5dbf10
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 2021-02-08 17:27:32 +11:00
Audric Ackermann
5ec9722e00
autobind typescript class methods with autobind 2021-02-08 17:17:26 +11:00
Audric Ackermann
b76ce0f2ff
update models to TS part2 2021-02-08 16:18:36 +11:00
Audric Ackermann
65ed81e980
enable explicit group updates on the sending side 2021-02-08 15:37:40 +11:00
Audric Ackermann
49ca1a0f82
fix registration continue your session button not shown for recovery 2021-02-08 15:35:57 +11:00
Audric Ackermann
85b9f22b04
allow back to leave an open group 2021-02-08 15:35:57 +11:00
Audric Ackermann
5a7c8ffa35
fix previews sent on next message if they are resolved too late 2021-02-08 15:35:56 +11:00
Audric Ackermann
846f396545
show Delete conversation menu when we got removed from the group too 2021-02-08 15:35:54 +11:00
Audric Ackermann
874e3f863b
remove unused worker 2021-02-08 15:35:28 +11:00
Audric Ackermann
1d5d098b06
be able to remove a closed group once we left it already 2021-02-08 15:35:28 +11:00
Audric Ackermann
89ea946b3f
disable sending of explicit group updates for now - only receiving is ON 2021-02-08 15:35:22 +11:00
Audric Ackermann
267a3e6bf6
disable closedgroup update groups for now 2021-02-08 15:34:01 +11:00
Audric Ackermann
ebd94ce15c
fix order of added new group in leftPane 2021-02-08 15:33:39 +11:00
Audric Ackermann
3b3378a2ee
finish explicit group updates 2021-02-08 15:33:16 +11:00
Audric Ackermann
3342c7fd26
lint 2021-02-08 15:30:48 +11:00
Audric Ackermann
1d85a6dc5f
trigger new message onError while handling a request 2021-02-08 15:23:57 +11:00
Audric Ackermann
7054385d4a
remove body pending loading of message > 2000.
Also remove the limit when sending text messages
2021-02-08 15:23:23 +11:00
Audric Ackermann
0fe026ab15
Fix the password length limit when not setting a new password
Relates #1446
2021-02-08 15:21:14 +11:00
Audric Ackermann
a51f95d28c
move models to TS part1 2021-02-08 15:20:47 +11:00
Audric Ackermann
aede96b69b
enable explicit group updates on the sending side 2021-02-08 14:12:44 +11:00
Audric Ackermann
b88ea110e8
Add multi device v2 support 2021-02-08 11:56:14 +11:00
Audric Ackermann
64737a89d7
add ConfigurationMessage 2021-02-04 11:53:37 +11:00
Audric Ackermann
83c852ca60
fix registration continue your session button not shown for recovery 2021-02-02 16:04:50 +11:00
Audric Ackermann
d60e34017a
allow back to leave an open group 2021-02-02 11:09:13 +11:00
Audric Ackermann
fb9f615a11
Merge remote-tracking branch 'upstream/clearnet' into fix-explicit-updates-not-yet-sending 2021-02-02 10:25:52 +11:00
Audric Ackermann
859cbfbe36
Merge pull request #1466 from Bilb/fix-link-previews
fix previews sent on next message if they are resolved too late
2021-02-02 10:23:48 +11:00
Audric Ackermann
e34ffb89fc
Merge pull request #1467 from Bilb/fix-delete-group-menu-left
Be sure to show a right click menu to delete a closed group when we already left it
2021-02-02 10:23:36 +11:00