Commit Graph

48 Commits (16e04551a04b1b67e0087951372efa170f7193d8)

Author SHA1 Message Date
Audric Ackermann d59ecbb471
fix: groupInvite tracks abort signal to cancel request 3 months ago
Audric Ackermann 7a4c0a0377
chore: speed up unit testts 3 months ago
Audric Ackermann 7eb6cec785
fix: fix unit test with groups 5 months ago
Audric Ackermann c1fd66d4e9
fix: break down index files to avoid circular deps 6 months ago
Audric Ackermann a53299377a chore: fix unit tests with group chunk2 1 year ago
Audric Ackermann 5509dc74c5 refactor: move subrequests to classes and fix updateMessages 1 year ago
Audric Ackermann 6d81f5ff36 Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2 1 year ago
Audric Ackermann b61745fd94 fix: use DaR ttl for synced message store request
removing one request at a time
1 year ago
Audric Ackermann 08c5f76a15 fix: store envelopetimestamp in cache, and make sure we use network one
everywhere
1 year ago
Audric Ackermann dbe94f2293 feat: added strings for groupv2 control message and components for them 2 years ago
William Grant 40014544d1 fix: closed group groupId is now PubKey only 2 years ago
Audric Ackermann 1a18054fae feat: add bump of config hashes for groups when we have admin key 2 years ago
Audric Ackermann 46e3675c45 feat: add function to redux to grab group detail outside of store 2 years ago
Audric Ackermann 5b2580c48d feat: add poller changes and closed group keypair gen 2 years ago
Audric Ackermann ab946e69b1 fix: finish updating dependencies 2 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2 years ago
Audric Ackermann 6d1b406c85 fix: add namespace to all sending message calls 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
3 years ago
Audric Ackermann b76797d264
do not use a custom sandbox for testing
instead use the one from Sinon as it is exposed for a good reason
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>
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 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
Audric Ackermann 32cb19125f
remove signalprotocoladress unused 4 years ago
Audric Ackermann 7f76ab274c
added a hook to fetch avatar of closed group members 4 years ago
Audric Ackermann 3456162402
Moved opengroupv1 test to opengroupv2 tests 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann 79193ee7be
refactor to Visible and ControlMessage types 4 years ago
Audric Ackermann 4a794e90a0
signInWithRecovery = show full screen loader 4 years ago
Audric Ackermann 39f8ca293a
speedup tests 4 years ago
Audric Ackermann d5c4108ed6 fix tests 4 years ago
Audric Ackermann 25e03eba35 fix lint 4 years ago
Audric Ackermann 370158951a move events from MessageQueue to MessageSentHandler 4 years ago
Audric Ackermann 2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 4 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
4 years ago
Audric Ackermann 8eb1507fcf fix tests with should() 4 years ago
Audric Ackermann ed84760f0e
add a tslint rule to forbid use of async without await 4 years ago
Audric Ackermann a51f95d28c
move models to TS part1 4 years ago
Audric Ackermann 6e11c6db2e
remove all reference to closed group update v2 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 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)
4 years ago
Audric Ackermann eb9828a3b7 fix tests 4 years ago
Audric Ackermann d43ae09eb0
first working version of closed group v2 4 years ago
Audric Ackermann 80523a9a3e
rename MessageQueue event to be more easily searchable
success -> sendSuccess
fail -> sendFail
4 years ago
Audric Ackermann e6f367a61e
fix messagequeue test 5 years ago
Audric Ackermann 1e446b0a81
fix order for open groups message which are out of sync 5 years ago
Audric Ackermann 933eb73aa1
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests 5 years ago
Audric Ackermann 80b0821781
move unit tests to sub folder 5 years ago