Commit Graph

20 Commits (fe60c69f2786d445ba5e9d4f55427ecb0b6242ce)

Author SHA1 Message Date
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues
Audric Ackermann c4e17d0825 fix: add mgmt of members in user groups wrapper
Audric Ackermann 9cf1419ca5 feat: add first try to build SharedConfigMessages
Audric Ackermann 242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver ()
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
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
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 Ackermann 5cab7908b4
add some test for partial path rebuilding
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100
Audric Ackermann e1114c8ce7
add some types to Data.ts calls
Audric Ackermann bb3641b39a remove the forceSave option for unprocessed message too
Audric Ackermann 3ee0ccfac8 remove the forceSave logic for a message, always insert or replace
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
Audric Ackermann 6d28f343c9
try to decrypt unprocessed message when we get a new encryptionkeypair
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
Audric Ackermann 375c5ba1a8 add the request and reply of an encryptionKeyPair if needed
Audric Ackermann 135fc3b366
remove prekeys
Maxim Shishmarev 7dd9469074 Further improve imports
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling
Maxim Shishmarev 8ca7b8cfb4 Message receiving refactor: handleDataMessage onwards