Commit graph

235 commits

Author SHA1 Message Date
Audric Ackermann 8716fbf495 improve sent message handling by setting the correct convoId at start 2021-02-19 17:47:54 +11:00
Audric Ackermann bb3641b39a remove the forceSave option for unprocessed message too 2021-02-19 17:46:13 +11:00
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 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 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 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 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 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 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 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 2462e12a04
Merge pull request #1461 from Bilb/explicit-group-updates
Explicit group updates
2021-02-01 15:45:11 +11:00
Audric Ackermann c06f710b3b
fix order of added new group in leftPane 2021-02-01 13:12:44 +11:00
Audric Ackermann 334da0a169
finish explicit group updates 2021-02-01 11:35:06 +11:00
Audric Ackermann 82a7ed73df
trigger new message onError while handling a request 2021-01-29 11:44:22 +11:00
Audric Ackermann 46fdebe3d7
Merge pull request #1459 from Bilb/improve-open-group-loading-speed
Improve open group loading speed
2021-01-29 11:43:41 +11:00
Audric Ackermann 0e25ab2874
WIP 2021-01-29 11:29:42 +11:00
Audric Ackermann 6e11c6db2e
remove all reference to closed group update v2 2021-01-28 12:06:51 +11:00
Audric Ackermann 999e6fc712
replace GroupUpdateV2 in proto to ClosedGroupControlMessage 2021-01-28 11:39:07 +11:00
Audric Ackermann 79028ebaeb
remove isUnidentifiedDelivery 2021-01-28 11:28:57 +11:00
Audric Ackermann c5ad206239
fix message added not shwon on SessionMessageList 2021-01-28 11:11:35 +11:00
Audric Ackermann 8b8fe66615 update profile of users when getting profile from opengroup message 2021-01-27 18:08:37 +11:00
Audric Ackermann 34e5648681 fix metadatabadges for closed group
do not show crown nor Mod badge
2021-01-27 18:08:02 +11:00
Audric Ackermann b218611831 remove contactCollection in convos. 2021-01-27 16:12:32 +11:00
Audric Ackermann 273eedc6a9 remove hasSignalAccount and Sealed Sender unused 2021-01-27 15:33:51 +11:00
Audric Ackermann e3a6e24898 remove body pending loading of message > 2000.
Also remove the limit when sending text messages
2021-01-27 15:26:30 +11:00
Audric Ackermann eadfbc9f6d
Merge remote-tracking branch 'upstream/clearnet' into clean-and-moderator-dialog-update 2021-01-22 14:41:06 +11:00
Audric Ackermann bb037f7edb
fix profile updates when flag is set (do not drop message) 2021-01-22 13:51:48 +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 fd18345c5a
remove handling of rss related things completely 2021-01-19 16:11:33 +11:00