Commit Graph

42 Commits (95e40c95094bd2237e227dd0c399e2b574dec1fb)

Author SHA1 Message Date
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 3 years ago
Audric Ackermann ce16066313
do not try to do an unsend request on a group swarm 4 years ago
Audric Ackermann 8b611a2867
make call UI react to incoming and ongoing calls 4 years ago
Audric Ackermann 4e30614077
disable unsend request on the UI for now (#1934)
* disable unsend request on the UI too

* do not stop propagation of events for message ctx menu
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 e9dfa0704f
do not overwrite sent_at with network time for synced messages (#1921)
* do not update sent_at for synced messages

* reply to message context menu only visible if msg sent
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 Ackermann 9a302fb5ff
add a cache of the keypairs for a closed group 4 years ago
Audric Ackermann 01fd927070
match envelope type with ios protos 4 years ago
Audric Ackermann 3456162402
Moved opengroupv1 test to opengroupv2 tests 4 years ago
Audric Ackermann c063848167
pad and unpad message everywhere
attachment not padded for opengroup only
4 years ago
Audric Ackermann 7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2) 4 years ago
Audric Ackermann 0c0da48150
remove pow 4 years ago
Audric Ackermann 34148e67ec
add return of url after v2 attachment upload 4 years ago
Audric Ackermann f7e163c142
add sending of message for opengroupv2` 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann 39f8ca293a
speedup tests 4 years ago
Audric Ackermann 5c3cb0a165
make moderator dialogs the Session way 4 years ago
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 4 years ago
Audric Ackermann 135fc3b366
remove prekeys 4 years ago
Audric Ackermann eb9828a3b7 fix tests 4 years ago
Audric Ackermann 19f59ca41e
add some logs for message sending 4 years ago
Audric Ackermann d43ae09eb0
first working version of closed group v2 4 years ago
Audric Ackermann a80f9a5965
fix medium group to match mobile way 5 years ago
Audric Ackermann 3a876c7322
add notify to PN server on message sent 5 years ago
Audric Ackermann 7054268b14
use source from decoded content and not envelope on ssk 5 years ago
Audric Ackermann 1e446b0a81
fix order for open groups message which are out of sync 5 years ago
Audric Ackermann 6d65c9cc0a
make sendMessage return -1 on fail rather than false 5 years ago
Audric Ackermann 44349079ab
fix delete of open group messages 5 years ago
Vincent ca96992a44 Pukbeyified 5 years ago
Vincent 68f2a90f7c pubkeys-in-message-encryptor-init 5 years ago
Audric Ackermann f8aa50546b
include verb and path on outgoing websocket message 5 years ago
Mikunj b69ad7db16 Add attachment util 5 years ago
Audric Ackermann cae608fd01
drop typing message for public groups and fix opengroup sending 5 years ago
Mikunj 93c19395c1 Change back to old window syntax and allow stubbing of it 5 years ago
Mikunj 1c84fa6c02 Renamed retries to attempts 5 years ago
Mikunj Varsani 88f87c0a70
Update ts/session/sending/MessageSender.ts
Co-authored-by: Audric Ackermann <audric.bilb@gmail.com>
5 years ago
Mikunj 3b8b9f7306 Added comments 5 years ago
Mikunj 090f0e2c38 Add retrying and tests 5 years ago
Mikunj 9b855a11e1 Added MessageSender tests 5 years ago
Mikunj 1dad49057b Implement MessageSender 5 years ago
Mikunj e0f27ba712 basic classes for message sending 5 years ago