Commit Graph

127 Commits (2a5dc5f2a5ad7de41927409d011682d77ea2a417)

Author SHA1 Message Date
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 Ackermann ab75f945ff
Ask confirm before delete account (#1910)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen
4 years ago
Audric Ackermann 25453ee807
Speedup body update composition box (#1911)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* move drafts outside of redux to speedup body message writing
4 years ago
audric bd7d88e170 remove theme from css and used variables instead 4 years ago
audric 350f00283b move tsx and theme to css variables part1 4 years ago
audric a30876fd65 removed the enum from SessionIconType. Just rely on the type itself 4 years ago
audric 8ebcb2d1e1 replace SessionIcon size enum with type 4 years ago
audric 7fa50b4a73 do not pass props not needed between message list components 4 years ago
Warrick Corfe-Tan ebb37b44b6 Merge branch 'clearnet' into registration-progress-banner 4 years ago
Audric Ackermann eed48094fe
Merge pull request #1851 from warrickct/simplify-onboarding
Combining registration steps.
4 years ago
Warrick Corfe-Tan dbc19adeb8 Adding PR changes, running yarn ready 4 years ago
Warrick Corfe-Tan f9ad63d58b Merge branch 'clearnet' into registration-progress-banner 4 years ago
audric 8a19b50c0f fix attachment not being uploaded since electron upgrade 4 years ago
Warrick Corfe-Tan f255f674c8 Refactoring subcomponents to fix ts-lint errors. 4 years ago
Warrick Corfe-Tan 1783c706b5 refactoring seed modal 4 years ago
audric 9f7e20b8b8 showExitIcon in link click dialog 4 years ago
Warrick Corfe-Tan a1194fa7bb Merge branch 'clearnet' into simplify-onboarding 4 years ago
Warrick Corfe-Tan 0c5f2f8232 changing registration component and filename. 4 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
Warrick Corfe-Tan b0a8c6c3eb wip: adding recovery phrase prompt. 4 years ago
Warrick Corfe-Tan 03c14c84cb added styled component and conditional button for sending pausing recording. 4 years ago
audric 9018ae3009 Allow to copy an url on click on it via dialog
Relates #1842
4 years ago
audric 263c48e58b Merge remote-tracking branch 'upstream/clearnet' into network-clear-all 4 years ago
audric 426f2000b8 fixup delete all and handle errors 4 years ago
audric 79c8fada6e move all dialogs to a subfolder 4 years ago
audric 61b48dd06b move delete_all api call to snodeAPI.ts 4 years ago
audric 9991dc2364 move delete account logic to it's own dialog 4 years ago