Commit Graph

97 Commits (7d9f970b2cf5db46f00ca43e74a3c937a2b2f5fe)

Author SHA1 Message Date
Audric Ackermann 7d9f970b2c
remove decrypted_at field from saving message models as unused 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 5e314e4dcc
remove 'recipients' message field and 'destination'
we do not need recipients as it makes no sense for us having medium
groups on the same pubkey

we do not need destination as it can always be guessed from the
direction and the type of conversation of that message
3 years ago
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 3 years ago
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 3 years ago
Audric Ackermann 4349b699cb
remove schemaVersion field and logic from message object 3 years ago
Audric Ackermann 58dc3e26ca
reactify group updates text bubble from redux store (#2083) 3 years ago
warrickct 2d664a2df7 Applying PR changes. 3 years ago
warrickct ac8dbb341b linting and formatting changes 3 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 3 years ago
warrickct 2144a3980f Linting and formatting. 3 years ago
warrickct 40396224dc adding feature flag for config message receiving 3 years ago
warrickct e5a203a48e adding setting of active_at to hide unapproved messages. 3 years ago
Warrick Corfe-Tan 6a62437c3e Blocking, accepting on click and accepting on msg send
working across clients.
3 years ago
Audric Ackermann ef25e5956f
add a spinner for when video call video is loading 3 years ago
Warrick Corfe-Tan 87235641cb fixed typos for translations and method name. 3 years ago
Warrick Corfe-Tan 8d75fde012 yarn ready changes 4 years ago
Warrick Corfe-Tan ff1d7cefe4 changing some code. 4 years ago
Warrick Corfe-Tan 3c7c3220a1 Marking conversation as read if received a sync message from same users other device. 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 Ackermann b17312c13c
Cleanup redux store (#1925)
* do not consider expire timer update unread messages #1881

* cleanup conversation props in redux to only have what cannot be derived

* fix app not starting without the await on convo creation

* cleanup props of message model
4 years ago
Audric Ackermann b45109985c
use timestamp offset in for messages storage requests (#1892)
* add using timestamp offset from network for sending part1

* remove MessageController as we now rely on the database

* fix tests for message sending overriding timestamp
4 years ago
audric 0d90248450 fix scrolling jumping to bottom on new messages 4 years ago
audric 7fa50b4a73 do not pass props not needed between message list components 4 years ago
audric f9988119f9 major UI rewrite of messages view with redux improvements 4 years ago
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 4 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
Audric Ackermann 3f065a7b0e
improve marking message as read with hooks 4 years ago
Audric Ackermann 12d09bc896
preload messages when switching conversation 4 years ago
Audric Ackermann f9ecfccc0a
batch UI updates of message added events 4 years ago
audric fce86989f0 make sure profileKey is a hex string in all convos 4 years ago
audric e72885944b use selector to sort and add first of serie flag 4 years ago
Audric Ackermann 672eb91975
add types for message props and remove props function calls msg 4 years ago
Audric Ackermann e5a60af93f
Merge pull request #1751 from Bilb/fix-expire-without-seeing
do not start expire timer before seing message
4 years ago
audric 9cb69cf8fd do not start expire timer before seing message 4 years ago
Audric Ackermann e9e718bfcb
remove getInstance on MessageController=> getMessageController 4 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 4 years ago
Audric Ackermann a659d5b480
fix open group invitation logic 4 years ago
Audric Ackermann 8ef9c8ed1a
remove delivery receipt logic 4 years ago
Audric Ackermann 03fe67b974
remove unused contact field on message 4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Audric Ackermann c599d0b629
WIP 4 years ago
Warrick e6128fa5a7
Reply attachments (#1591)
* First attachment showing in reply composition.

* WIP: Adding thumbnail to quote response composition component.

* Added icon for voice recording attachment

* Updated formatting.

* Formatting.

* removed duplicate styling.

* WIP: Converting quote component to functional components.

* Fix bug where thumbnails for attachment replies wasn't showing.

* yarn Formatting.

* Removed old quote component.

* Add type to contentTypeSupported method.

* Moved  quote subcomponents out of Quote component.

* yarn format

* Add export to quote subcomponents.

* Fixing linting errors.

* remove commented line.

* Addressing PR comments.
4 years ago
Audric Ackermann cbc816c3ed
update displayname even if we dont have avatar on incoming profile 4 years ago
Audric Ackermann c77b24a2d4
fix avatar loading for opengroupv2 4 years ago
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
4 years ago
Audric Ackermann 98b69c17f0
add userblocking opengroupv2 and quoting back of messages 4 years ago
Audric Ackermann 34148e67ec
add return of url after v2 attachment upload 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago