Commit Graph

119 Commits (51575d2f565892d64d9a0a21f6efc12b2ad13242)

Author SHA1 Message Date
Audric Ackermann 6bd835dfc3
move storage.js to ts 3 years ago
Audric Ackermann 0d4059ccb1
move read_receipts to ts 3 years ago
Audric Ackermann 74cf88cf81
create closed group mark as approved
also, do not filter closed group based on the isApproved field in redux
3 years ago
warrickct 821f4d73ff Merge branch 'clearnet' into msg-request-ui-2 3 years ago
warrickct 1ca66e6bcf Fix read receipts being considered as inferred request approvals. Fix preventing subsequent request messages from reactivating the request banner. 3 years ago
warrickct 08ba24c3c9 refactoring 3 years ago
Audric Ackermann 3fed22048b
rename a few loki to session 3 years ago
warrickct f5972a5d1c Calling setting convo isApproved. Removing some unnecessary conditionals. 3 years ago
warrickct abc188e889 Additional PR changes 3 years ago
warrickct efa482b002 adding pr changes 3 years ago
warrickct 0db3c76756 Fixing linting errors 3 years ago
warrickct c3d9912572 Adding handling of edge case for messaging clients without request approval update. 3 years ago
warrickct 6a02846829 Correcting merge errors. 3 years ago
warrickct ee9156d4f8 Merge clearnet into message-request-ui 3 years ago
warrickct 8ebfa4b7a3 Move message receival UI toggling to event. 3 years ago
warrickct bc6edd7774 Adding unhiding of message request banner when receiving a new convo request. 3 years ago
warrickct 8a8a5ca82c removing pubkey from message request response. 3 years ago
warrickct 36ca2a767c Adding PR changes 3 years ago
warrickct 0461454e27 Removing toast on request accept 3 years ago
warrickct d627b8e11d Requesting flow working with sending message as acceptance. 3 years ago
Audric Ackermann b3a8692240
cleanup incoming message creation for displaying messageresult 3 years ago
Audric Ackermann 5afbd9c19e
cleanup creation of opengroup message on sync 3 years ago
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 3 years ago
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 3 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