Commit Graph

241 Commits (16ab506eb63cace3121e2b1249ea6e5e1644dd3d)

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 bd7d88e170 remove theme from css and used variables instead 4 years ago
audric f9988119f9 major UI rewrite of messages view with redux improvements 4 years ago
audric ee4ed2e075 fix attachment logic with ui redesign 4 years ago
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 4 years ago
Brice-W a89c6710fb Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews 4 years ago
Brice-W f6d3715dab add a link icon when there is no image available or when media download is not allowed 4 years ago
audric 4db85a3c01 make background of messages only if there is no text 4 years ago
audric 5d6c2d94ff fix emoji being inserted into mentions identifier
if the cursor is before the first mention => insert it correctly
if the cursor is after the last mention => insert it correctly
if the cursor is between those two => insert it at the end of the
composition box
4 years ago
audric bea704ecf0 bump react to 17 4 years ago
Audric Ackermann 2c174bdac7
fix audio message autoplay as broken with perf improvements
fix bug making "trust contact" first audio message being played on click
to trust
4 years ago
Audric Ackermann 360cb52680
make all messages types a readable message 4 years ago
Audric Ackermann 3f065a7b0e
improve marking message as read with hooks 4 years ago
Audric Ackermann 119b6e1baf
keep scrolled position when adding messages at the bottom 4 years ago
Audric Ackermann 12d09bc896
preload messages when switching conversation 4 years ago
Audric Ackermann e5bbfc8c1e
transparency disabled if png and text are present 4 years ago
Audric Ackermann f9ecfccc0a
batch UI updates of message added events 4 years ago
Brice-W 9c61defc0b small update 4 years ago
Brice-W bec9bd553e Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into filter-expired-messages 4 years ago
Brice-W 751d0b9348 clearTimout call added to checkExpired to avoid multiple calls to setExpired 4 years ago
Brice-W beca14982c manage expired nessage deletion in setExpired 4 years ago
audric 588ae85cda fix at lat types for attachment 4 years ago
audric 12ff3379e1 add key for all messages list so we can scroll to them programnatically 4 years ago
audric c8f0150aaf fix unread banner position when first unread is visible 4 years ago
audric e72885944b use selector to sort and add first of serie flag 4 years ago
audric 6d34a60f94 improve performance by not loading all unread messages 4 years ago
audric 4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
audric 23e9a6d31c move some actions to redux in hooks 4 years ago
Audric Ackermann 6df84fbd1e
Merge pull request #1778 from Brice-W/focus-issue
Fix for focus issue
4 years ago
Warrick Corfe-Tan 4cdc852ea3 cherry-pick conflicts. 4 years ago
Brice-W c38d2a5ea7 revert prev changes + marking read now based on received_at 4 years ago
Audric Ackermann a54345a42e
put back quote a message logic with hook 4 years ago
Audric Ackermann 9a380b716b
put saveAttachemntToDisk outside of component 4 years ago
Audric Ackermann 4ca5a4f093
fixup selected message in redux logic 4 years ago
Audric Ackermann 787e3a32d0
remove count of unread in unread message banner 4 years ago
Audric Ackermann 16d34a7137
moved conversations reducer to createSlice 4 years ago
Audric Ackermann 63b81b4c8e
cleanup SessionMessageList p1 4 years ago
Brice-W 151fc758c0 format 4 years ago
Brice-W 2af9d9e15d use of a custom hook to detect focus 4 years ago
Audric Ackermann f0fad6edfa
uniformized props for Message 4 years ago
Brice-W 936f9a3efc don't mark message as read if app isn't focused 4 years ago
Audric Ackermann f0db797a9a
fix loading of messages props 4 years ago
Audric Ackermann 672eb91975
add types for message props and remove props function calls msg 4 years ago
Audric Ackermann d686076ba8
Merge remote-tracking branch 'upstream/clearnet' into play-custom-speed-button 4 years ago
Audric Ackermann 9bdd6ad139
add button to control speed playback on the player 4 years ago
Warrick Corfe-Tan fc31f8d2b1 Merge branch 'clearnet' into audio-messages-play-all 4 years ago
Audric Ackermann 9e5d33d849
trigger download for past messages when trusting contact 4 years ago
Warrick Corfe-Tan 856ced056a Minor tidying. 4 years ago
Warrick Corfe-Tan d35f3f9e62 WIP: audio autoplay working with consecutive messages. Next step store state on shutdown and rename variables. 4 years ago
Audric Ackermann 013df7fa2c
Merge remote-tracking branch 'upstream/clearnet' into fix-onion-path-light-orange 4 years ago