68 Commits (v1.6.9)

Author SHA1 Message Date
audric c8f0150aaf fix unread banner position when first unread is visible
Audric Ackermann 16d34a7137
moved conversations reducer to createSlice
Audric Ackermann 399041c5b3
cache identity pair and add some per measure
Audric Ackermann e8f0c4aaec
move libloki to webworker and remove unused stuff in it
Audric Ackermann 9a302fb5ff
add a cache of the keypairs for a closed group
Audric Ackermann e090b8e8c6
remove getInstance on swarmPolling
Audric Ackermann e9e718bfcb
remove getInstance on MessageController=> getMessageController
Audric Ackermann 0b410404a3
remove keypair request manager
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get()
Audric Ackermann b64e8bf610
fix seed dialog and leave group as admin dialog
Audric Ackermann 93e43fe929
move conversation dialogs to redux store
Audric Ackermann c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet
Warrick Corfe-Tan ee7afb6ebf WIP: refacotring. confirm modals mostly done. Working on add moderator modal now. Need to toggle via setModal.
Audric Ackermann 173b49723b
rename groupInvitation in proto and remove more stuff unused
Audric Ackermann c090782919
remove UPDATE type of closed group control message
Audric Ackermann 01fd927070
match envelope type with ios protos
Audric Ackermann 37c9c6b5c3
new closed group send and handle expire timer already set
Warrick Corfe-Tan 1bfdbc5c93 WIP: Refactoring modals.
Audric Ackermann f186bdbe39
clear our zombie list if we get readded to a closed group
Audric Ackermann ecf409bed5
fix slow app while removing v1 convoss
Audric Ackermann e40a2692d6
Merge branch 'clearnet' into accept-keypair-closed-group-existing
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding
Warrick 3854d0e10d
WIP: Closed group reliability ()
* WIP: added non-durable messaging function.

* WIP: Non-durable sending

* WIP: adding dialog box.

* Creating dialog if group invite message promises don't return true.

* removed console log

* applied PR changes, linting and formatting.

* WIP: allowing resend invite to failures.

* using lookup.

* WIP: recursively opening dialog.

* WIP: debugging reject triggering on confirmation modal.

* register events fix.

* Closed group invite retry dialog working.

* Added english text to messages.

* Prevent saving of hexkey pair if it already exists.

* Fixed nickname edit
input trimming end letter.

* Don't show closed group invite dialog unless it has failed at least once.

* Fix linting error.

* Fix plurality.

* Ensure admin members are included in all invite reattempts, mixed plurality.
Audric Ackermann 862f8a8e14
accept a closed group NEW encryption keypair even if group exists
Audric Ackermann 288d4a6a2e
make sure the left member convo exist in rendering GroupUpdate
Audric Ackermann 248494f15b
redesign group invitation message type
Audric Ackermann bc4bee6270
hide some logs
Audric Ackermann 64eab5160d
remove zombies from the UI only
Audric Ackermann 2c40d1e623
hide checkmMark on showing group members
Audric Ackermann c5a4cf674d
remove non explicit group updates support
Audric Ackermann fae80c327a
mark convo as ActiveAt when we get a message adding us after left
Audric Ackermann eb0ddd85f4
add zombies logic for member leaving and removing
Audric Ackermann 7ec663df71
move SwarmPolling from window to require singleton
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100
Audric Ackermann c07271109f
Add a ConversationType OPEN_GROUP
Audric Ackermann 79193ee7be
refactor to Visible and ControlMessage types
Audric Ackermann ad117fe4e5
uniformized redux convo type and getProps() of conversation
Audric Ackermann aac54e6045
Merge remote-tracking branch 'upstream/clearnet' into restore-handle-configuration
Audric Ackermann 2fab4f0940 Use sentAt as lastJoinedTimestamp when we get a new closed group
This is to make sure we do not drop group updates between the message
adding us and now().
We only have to drop messages before we were added to the group, which
is the sent timestamp
Audric Ackermann 533b95c827 fix updateMessage being always at the end of the messagesList
this was because we were using Date.now() always rather than using the
envelope timestamp to save the update
Audric Ackermann 641f9ee368
Fix the bug where if we leave and get added back, we get removed again
Audric Ackermann 7a3a12ccdc Merge branch 'clearnet' into move-models-to-ts-2
Audric Ackermann 720922cc71 be sure to leave a group when leaving from another device
Audric Ackermann 8ea9f02cec Move data.js to data.ts
Audric Ackermann 7b81c4213a
Merge clearnet
Audric Ackermann 0c1343cad5
add a way to share currently distributing keypair to added members
Audric Ackermann 78e7255cb8
send the keypair to added members if we are admin
and remove request encryption keypair handling
Audric Ackermann 2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2
Audric Ackermann df3ca5d38a
add a sql function to check if a keypair is already saved in db