session-desktop/app
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>
2021-09-20 13:47:59 +10:00
..
.eslintrc.js Use window.log in browser context, turn on console eslint rule 2018-07-21 14:52:43 -07:00
attachment_channel.js move Attachments and Attachments_test to typescript 2021-04-14 10:34:48 +10:00
base_config.d.ts increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
base_config.js increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
config.js increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
ephemeral_config.js Merge signal changes into branch. 2018-11-07 15:26:37 +11:00
global_errors.js remove context in locales 2021-06-16 11:20:31 +10:00
locale.js increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
logging.js increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
menu.js fix tests 2021-06-21 16:58:16 +10:00
permissions.js increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
profile_images.js LINT after prettier upgrade 2020-05-29 16:25:15 +10:00
protocol_filter.js increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
spell_check.js remove context in locales 2021-06-16 11:20:31 +10:00
sql.js Unsend messages (only message hashes saving for now is enabled) (#1891) 2021-09-20 13:47:59 +10:00
sql_channel.js remove spectron dependency 2021-08-13 14:47:00 +10:00
tray_icon.js include a 32x32 icon for tray icon for gnome 2021-08-12 10:54:02 +10:00
user_config.d.ts Lint 2020-03-10 14:30:24 +11:00
user_config.js increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
window_state.d.ts Download and install updates without the help of electron-updater 2019-04-05 17:18:37 -07:00
window_state.js Clean logs on start - and eslint/mocha with code coverage (#1945) 2018-01-08 13:19:25 -08:00