Commit graph

9583 commits

Author SHA1 Message Date
Audric Ackermann 25e03eba35 fix lint 2021-02-19 15:13:43 +11:00
Audric Ackermann 3ee0ccfac8 remove the forceSave logic for a message, always insert or replace 2021-02-19 13:01:24 +11:00
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 986496c2a5
Merge pull request #1498 from Bilb/fix-closed-group
add the request and reply of an encryptionKeyPair if needed
2021-02-11 14:37:07 +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 94a9faec9a
Merge pull request #1493 from Bilb/multi-device-v2
Add Multi device v2 support
2021-02-09 14:48:05 +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 60afbe7b06
fallback to es for moment when given locale is es-419 2021-02-08 15:36:43 +11:00
Audric Ackermann 0d3e515843
fix max size of closed group back to 100 2021-02-08 15:35:59 +11:00
Audric Ackermann 608345f7f0
Revert "bump to v1.4.9"
This reverts commit 258a7b83e8.
2021-02-08 15:35:59 +11:00
Audric Ackermann 9ffe8a84d3
bump to v1.4.9 2021-02-08 15:35:58 +11:00
Audric Ackermann ad1d54ad5e
force ubuntu-18.04 for github actions
building on ubuntu 20.04 was causing issue with a too recent glibc for
some users dependent on ubuntu 18.04 or similar (elementary OS)
The issue arise as github action ubuntu-latest was upgraded recently too
ubuntu 20.04.
This fix forces the app to be built on ubuntu 18.04

Relates #1471
2021-02-08 15:35:58 +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 4d0c7aad06
Bump to v1.4.8 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