Commit Graph

131 Commits (267f49ff1ef536f3cd5a177d451e6a815cae429f)

Author SHA1 Message Date
Will G 267f49ff1e
Emoji Reacts (#2320)
Add support for emoji reacts in conversations

Resolves #2375 and #1577
2 years ago
Audric Ackermann 242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver (#2347)
* 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
2 years ago
Audric Ackermann d5e3f73035 fix: read receipts handling for private chats 2 years ago
Audric Ackermann ec76057c5e
Merge integration test (#2313)
* Testing playwright for Desktop automation

* add more data-testid field

* remove commited test-results

* test: skip group upkeep for now

* test: mention test create group instead of restoring from seed

* test: run on testnet

* fix: revert messagebanner unread count changes

from commit 8107d75e89

Co-authored-by: Emily <emily@oxen.io>
2 years ago
Audric Ackermann 01bb200b24
reduce number of commits during opengroup handling of message 2 years ago
Audric Ackermann 0158fd5ebb
filter duplicates on opengroup poll in a single sql call 2 years ago
Audric Ackermann 00d70db0be
queue user profile avatars update
also add some tests for the promise utils
2 years ago
Audric Ackermann 475c92eeb4
migrate about_start to not use jquery 2 years ago
Audric Ackermann 79bf0c53ee move libtextsecure/crypto.js to ts
used mostly for attachments encrypting before upload/decrypt and profile
encrypt/derypt
2 years ago
Audric Ackermann b3a8692240
cleanup incoming message creation for displaying messageresult 2 years ago
Audric Ackermann 5afbd9c19e
cleanup creation of opengroup message on sync 2 years ago
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 2 years ago
audric fc916ce94c Fix attachments duplication on message syncing with current device 2 years ago
audric fe269a0cfe make sure to update displayName even if avatar failed to DL 2 years ago
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 2 years ago
Audric Ackermann 28892ce8cc
remove the deduplication by hash for opengroup messages
Relates #2069
2 years ago
Audric Ackermann 6e102644c3
update english translations 2 years ago
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 3 years ago
Audric Ackermann af75b6f0e2
disable deduplication based serverId+sender
only use the serverTimestamp+sender for searching because
serverId+sender might have false positive
3 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 3 years ago
warrickct 2eab74246b PR changes. Disabling message requests behind feature flags. 3 years ago
Warrick Corfe-Tan cb5551c1e9 PR changes 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 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>
3 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
3 years ago
audric f9988119f9 major UI rewrite of messages view with redux improvements 3 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 3 years ago
Audric Ackermann 3f065a7b0e
improve marking message as read with hooks 3 years ago
audric 8414aa800d fix a bug not making profile name updates in opengroup 3 years ago
audric fce86989f0 make sure profileKey is a hex string in all convos 3 years ago
Audric Ackermann 9a302fb5ff
add a cache of the keypairs for a closed group 3 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 3 years ago
Audric Ackermann 8ef9c8ed1a
remove delivery receipt logic 3 years ago
Audric Ackermann 5bf844241b
fix tests 3 years ago
Audric Ackermann 173b49723b
rename groupInvitation in proto and remove more stuff unused 3 years ago
Audric Ackermann 2e475450ee
fix deduplication using a hash of recent messages 3 years ago
Audric Ackermann 722f240f3d
fix deduplication based on serverTimestamp 3 years ago
Audric Ackermann 118813661d
remove inte tests + handle opengroupv2 messages in chunk
this is to avoid freezing UI and is only a temporary fix

We need to have webworkers in this app
3 years ago
Audric Ackermann 7d73f9a593
drop support for old file server avatar download 3 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 3 years ago
Audric Ackermann e6d78d5830
fallback to envelope timestamp if dataMessage.timestamp is 0 3 years ago
Audric Ackermann c77b24a2d4
fix avatar loading for opengroupv2 3 years ago
Audric Ackermann 6aa699ad23
fix deduplication for opengroups v1 & v2 3 years ago
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
3 years ago
Audric Ackermann 98b69c17f0
add userblocking opengroupv2 and quoting back of messages 3 years ago
Audric Ackermann 4aeec224b4
add download of attachments for opengroupv2 3 years ago
Audric Ackermann 34148e67ec
add return of url after v2 attachment upload 3 years ago
Audric Ackermann 786cd384fb
add the OpenGroupManagerV2 logic to add and remove rooms 3 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 3 years ago