Commit Graph

102 Commits (8ebfa4b7a372143af41c56f57f98a3856fa2d9a9)

Author SHA1 Message Date
warrickct 8ebfa4b7a3 Move message receival UI toggling to event.
warrickct bc6edd7774 Adding unhiding of message request banner when receiving a new convo request.
warrickct 8a8a5ca82c removing pubkey from message request response.
warrickct 36ca2a767c Adding PR changes
warrickct 0461454e27 Removing toast on request accept
warrickct d627b8e11d Requesting flow working with sending message as acceptance.
audric fc916ce94c Fix attachments duplication on message syncing with current device
Audric Ackermann dd52ad336f
use variables for common settings key
also turn off typing message by default
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder ()
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes 
Audric Ackermann 6f3625f99c
move the state of calling to its own slice
Audric Ackermann ce16066313
do not try to do an unsend request on a group swarm
Audric Ackermann bb26680b75
unsend for me only on a closed group only deletes locally
also do not await request to PN server
Audric Ackermann 5d9565a559
fix menu action for unsending messages
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working
Audric Ackermann d55c96cb67
setup webrtc between two pubkey
Warrick 1d459ba533
Unsend messages (only message hashes saving for now is enabled) ()
* WIP unsending message.

* retrieving message with hash from db on receiving unsend request.

* outgoing messages hashes updated on message sent success

* unsend messaging

* unsend message - deleting messages and marking as isDeleted.

* add msg hash to unprocessed records.

* Message unsending working for closed groups provided the message has been updated with a hash from server.

* adding 2-stage confirmation modal for message deletion

* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.

* Adding logging

* debugging.

* outgoing only saved for sync message instead of regular message.

* deleting locally

* adding post unsend deletioncode.

* starting adding feature flag.

* Added feature flag.

* addding mandatory messageHash  pollling pipeline methods swarm polling.

* Conversation list item message preview showing deletion placeholder text if deleted.

* add condition to drop unsend requests not send by message author

* refactoring deleteMessage. Saving response hash for closed group message sending

* running yarn ready

* removing logging.

* Adding PR fixes

* Minor changes and running yarn ready

* fix typo

* Moved feature flag to lokiFeatureFlags. Fixing linting errors


Co-authored-by: Audric Ackermann <audric@loki.network>
audric 9e37985d03 enable no-unused local and imports and fix tslint
Brice-W f7c7d6a3d8 change source of MessageAttributesOptionals to not null
Audric Ackermann 399041c5b3
cache identity pair and add some per measure
Audric Ackermann 78caaa2bfd
fix tests
Audric Ackermann 9a302fb5ff
add a cache of the keypairs for a closed group
Audric Ackermann 6deb97dbc0
WIP
Audric Ackermann a0afd3efe4
add some performance measure for commit calls
Audric Ackermann 0b410404a3
remove keypair request manager
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get()
Audric Ackermann 8ef9c8ed1a
remove delivery receipt logic
Audric Ackermann 173b49723b
rename groupInvitation in proto and remove more stuff unused
Audric Ackermann 01fd927070
match envelope type with ios protos
Audric Ackermann b055165a5d
display a message when the recipient screenshots an attachemnt
Audric Ackermann 810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding
Audric Ackermann c063848167
pad and unpad message everywhere
attachment not padded for opengroup only
Audric Ackermann 7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2)
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
Audric Ackermann 34148e67ec
add return of url after v2 attachment upload
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100
Audric Ackermann c07271109f
Add a ConversationType OPEN_GROUP
Audric Ackermann b9586c90ce
working open group v2 getInfo for https only
Audric Ackermann 0a8335b125
handle message while linking as if were already linked
Audric Ackermann c656dd25cf move configMessage handling to a another file
Audric Ackermann 853222d25b Do not sync configurationMessage on app load if restored from seed
Audric Ackermann 9586c3a06a add linking of a device to the Registration logic
Audric Ackermann 305ece1c7c update our profile on incoming configMessage sent after our last update
Audric Ackermann e466062f15 WIP
Audric Ackermann 8ea9f02cec Move data.js to data.ts
Audric Ackermann 7b81c4213a
Merge clearnet
Audric Ackermann 2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2
Audric Ackermann a31c457c08
allow closedgroup new message to be sent to our other devices
also, do not drop it on the receiving side
Audric Ackermann 01f834ae98
only handle the first ever configuration message incoming
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