Commit Graph

91 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 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
3 years ago
Audric Ackermann 5d9565a559
fix menu action for unsending messages 3 years ago
Warrick Corfe-Tan 6743201cc4 added perfect negotiation
Adding toast for cam and audio permission when making a call.

adding missed call message and toast when a call is received while mid-call.

background call message work
3 years ago
Audric Ackermann d55c96cb67
setup webrtc between two pubkey 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 Ackermann f3768a674a
short error on no network for retry sending message 3 years ago
Audric Ackermann 3456162402
Moved opengroupv1 test to opengroupv2 tests 3 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 3 years ago
Warrick 3854d0e10d
WIP: Closed group reliability (#1630)
* WIP: added non-durable messaging function.

* WIP: Non-durable sending

* WIP: adding dialog box.

* Creating dialog if group invite message promises don't return true.

* removed console log

* applied PR changes, linting and formatting.

* WIP: allowing resend invite to failures.

* using lookup.

* WIP: recursively opening dialog.

* WIP: debugging reject triggering on confirmation modal.

* register events fix.

* Closed group invite retry dialog working.

* Added english text to messages.

* Prevent saving of hexkey pair if it already exists.

* Fixed nickname edit
input trimming end letter.

* Don't show closed group invite dialog unless it has failed at least once.

* Fix linting error.

* Fix plurality.

* Ensure admin members are included in all invite reattempts, mixed plurality.
3 years ago
Audric Ackermann f7e163c142
add sending of message for opengroupv2` 3 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 3 years ago
Audric Ackermann ec6a5995db
sync expire timer updates 3 years ago
Audric Ackermann 79193ee7be
refactor to Visible and ControlMessage types 3 years ago
Audric Ackermann ca22b4635f fixup some building of sync message issues 3 years ago
Audric Ackermann 8a800cf58c move the logic of handling when a message is sent to MessageSentHandler 3 years ago
Audric Ackermann 370158951a move events from MessageQueue to MessageSentHandler 3 years ago
Audric Ackermann ebf9714e49
remove MessageQueueInterface 3 years ago
Audric Ackermann 2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 3 years ago
Audric Ackermann a31c457c08
allow closedgroup new message to be sent to our other devices
also, do not drop it on the receiving side
3 years ago
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 3 years ago
Audric Ackermann a51f95d28c
move models to TS part1 3 years ago
Audric Ackermann b88ea110e8
Add multi device v2 support 3 years ago
Audric Ackermann 6e11c6db2e
remove all reference to closed group update v2 3 years ago
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 3 years ago
Audric Ackermann 135fc3b366
remove prekeys 3 years ago
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
3 years ago
Audric Ackermann f1d84177a0 fix expirationTimer updates closed group desktop to ios 3 years ago
Audric Ackermann eb9828a3b7 fix tests 3 years ago
Audric Ackermann d43ae09eb0
first working version of closed group v2 3 years ago
Audric Ackermann 80523a9a3e
rename MessageQueue event to be more easily searchable
success -> sendSuccess
fail -> sendFail
4 years ago
Audric Ackermann a80f9a5965
fix medium group to match mobile way 4 years ago
Audric Ackermann 22afe50c05
make messageQueue handle medium group message in sendToGroup 4 years ago
Audric Ackermann 3a876c7322
add notify to PN server on message sent 4 years ago
Audric Ackermann 1e446b0a81
fix order for open groups message which are out of sync 4 years ago
Audric Ackermann 6d65c9cc0a
make sendMessage return -1 on fail rather than false 4 years ago
Audric Ackermann 44349079ab
fix delete of open group messages 4 years ago
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 4 years ago
Mikunj 646973e330 Made changes to how messages are sent.
Instead of blocking the message queue when we don't have a session, we instead just send out a session request and send the queued messages using fallback encryption.
This means that users will be able to message right away without having to wait.
The only down side is that all messages sent before sessions are established will be using the weaker encryption.

This change also means we have to detach session requests from envelope type (which is a good thing) and thus now a message is a session request if it contains a preKeyBundle.
4 years ago
Mikunj a972c328c7 Change how sync messages are handled 4 years ago
Mikunj fb53f9ff36 Fix message queue 4 years ago
Mikunj b52544e6ba Fix imports 4 years ago
Mikunj c2c56bb9b0 Handle typing and expiration messages when sending to group 4 years ago
Audric Ackermann 0668798b72
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 4 years ago
Audric Ackermann cf7635428a
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 4 years ago
Mikunj 4d0d2727bd Added strict type checking to group id 4 years ago
Mikunj 8f492f8e74 Review changes 4 years ago
Mikunj 3bf5796cd5 Modify periodic check implementation 4 years ago