Commit Graph

96 Commits (a21751c611140f3e762a50d2bbd5eeea0a226bee)

Author SHA1 Message Date
audric fc916ce94c Fix attachments duplication on message syncing with current device 3 years ago
Audric Ackermann dd52ad336f
use variables for common settings key
also turn off typing message by default
3 years ago
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* 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 #2079
3 years ago
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 3 years ago
Audric Ackermann ce16066313
do not try to do an unsend request on a group swarm 4 years ago
Audric Ackermann bb26680b75
unsend for me only on a closed group only deletes locally
also do not await request to PN server
4 years ago
Audric Ackermann 5d9565a559
fix menu action for unsending messages 4 years ago
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 4 years ago
Audric Ackermann d55c96cb67
setup webrtc between two pubkey 4 years ago
Warrick 1d459ba533
Unsend messages (only message hashes saving for now is enabled) (#1891)
* 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>
4 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
Brice-W f7c7d6a3d8 change source of MessageAttributesOptionals to not null 4 years ago
Audric Ackermann 399041c5b3
cache identity pair and add some per measure 4 years ago
Audric Ackermann 78caaa2bfd
fix tests 4 years ago
Audric Ackermann 9a302fb5ff
add a cache of the keypairs for a closed group 4 years ago
Audric Ackermann 6deb97dbc0
WIP 4 years ago
Audric Ackermann a0afd3efe4
add some performance measure for commit calls 4 years ago
Audric Ackermann 0b410404a3
remove keypair request manager 4 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 4 years ago
Audric Ackermann 8ef9c8ed1a
remove delivery receipt logic 4 years ago
Audric Ackermann 173b49723b
rename groupInvitation in proto and remove more stuff unused 4 years ago
Audric Ackermann 01fd927070
match envelope type with ios protos 4 years ago
Audric Ackermann b055165a5d
display a message when the recipient screenshots an attachemnt 4 years ago
Audric Ackermann 810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats 4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Audric Ackermann c063848167
pad and unpad message everywhere
attachment not padded for opengroup only
4 years ago
Audric Ackermann 7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2) 4 years ago
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
4 years ago
Audric Ackermann 34148e67ec
add return of url after v2 attachment upload 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann c07271109f
Add a ConversationType OPEN_GROUP 4 years ago
Audric Ackermann b9586c90ce
working open group v2 getInfo for https only 4 years ago
Audric Ackermann 0a8335b125
handle message while linking as if were already linked 4 years ago
Audric Ackermann c656dd25cf move configMessage handling to a another file 4 years ago
Audric Ackermann 853222d25b Do not sync configurationMessage on app load if restored from seed 4 years ago
Audric Ackermann 9586c3a06a add linking of a device to the Registration logic 4 years ago
Audric Ackermann 305ece1c7c update our profile on incoming configMessage sent after our last update 4 years ago
Audric Ackermann e466062f15 WIP 4 years ago
Audric Ackermann 8ea9f02cec Move data.js to data.ts 4 years ago
Audric Ackermann 7b81c4213a
Merge clearnet 4 years ago
Audric Ackermann 2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann a31c457c08
allow closedgroup new message to be sent to our other devices
also, do not drop it on the receiving side
4 years ago
Audric Ackermann 01f834ae98
only handle the first ever configuration message incoming 4 years ago
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
4 years ago
Audric Ackermann 375c5ba1a8 add the request and reply of an encryptionKeyPair if needed 4 years ago
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann 3b3378a2ee
finish explicit group updates 4 years ago
Audric Ackermann a51f95d28c
move models to TS part1 4 years ago
Audric Ackermann b88ea110e8
Add multi device v2 support 4 years ago
Audric Ackermann 334da0a169
finish explicit group updates 4 years ago