Commit Graph

159 Commits (87e7cc5ebfe401545e0e4d2d8af17d407de3c27a)

Author SHA1 Message Date
Audric Ackermann 87e7cc5ebf
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls 4 years ago
Audric Ackermann a629985a4f
fix toggling input source and off in video calls 4 years ago
Audric Ackermann f75f63e4e9
handle 421 on sending delete_all 4 years ago
Audric Ackermann 1e8c8991ad
more cleanup 4 years ago
Audric Ackermann fa32e61982
network delete_all force retries if we get a 421 4 years ago
Audric Ackermann d55c96cb67
setup webrtc between two pubkey 4 years ago
Audric Ackermann 15ac6ed23c
Merge remote-tracking branch 'upstream/master' into clearnet 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 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 797bf0650f
Session 1.7.1 (#1908)
* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* Fix path building (#1903)

* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* fix link preview cropped when received

* make sure we fetch from seed if we end up with not enough snodes

* try to download recent previews if we just trusted a user

* throw if we need to rebuild path while fetching snode list from snode

* fixup no refecthing of snode list while we are fetching them already

* added test for fetch from db or seed

* fetch snode list from snode every hour

also make sure the path building does not try to get more snodes. It
just throws

* do not drop a path if an opengroup room is down and we get errors  back

* do not throw an error if the snode in error in not in any path

* fix tests

* bump to v1.7.11
4 years ago
Audric Ackermann c92baad736
Fix path building (#1903)
* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* fix link preview cropped when received

* make sure we fetch from seed if we end up with not enough snodes

* try to download recent previews if we just trusted a user

* throw if we need to rebuild path while fetching snode list from snode

* fixup no refecthing of snode list while we are fetching them already

* added test for fetch from db or seed

* fetch snode list from snode every hour

also make sure the path building does not try to get more snodes. It
just throws

* do not drop a path if an opengroup room is down and we get errors  back

* do not throw an error if the snode in error in not in any path

* fix tests

* bump to v1.7.11
4 years ago
audric ffe8375dd1 fix build of onion path when snodes count is exactly 12 4 years ago
audric ec2eab6e23 do not trigger redux update if onion path did not change 4 years ago
audric 6a50484597 fix tests for swarm polling 4 years ago
audric e5dab2781e remove spectron dependency 4 years ago
audric 8344c48d88 handle offline status for selectGuardNodes stuff 4 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
audric 1ffadad2ad remove ip_url from seed nodes as this is unused 4 years ago
audric cc4168a858 do not update last fetch timestamp when an exception for retrieve 4 years ago
audric 01ff290f85 fix tests 4 years ago
audric c83776e510 fix the log file space usage on path building error
the issue seems to be coming from the fact that we need at least
minSnodePool count snodes to build a path reliably.
4 years ago
audric abbd0a84a9 increase timeout for snode api requests (mainly for attachment upload)
Relates #1774
4 years ago
audric e9412df60e fix lint and steal autofocus on registration to seed 4 years ago
audric 2ebae9a746 fix tests for variable swarm polling 4 years ago
audric 61b48dd06b move delete_all api call to snodeAPI.ts 4 years ago
audric 9991dc2364 move delete account logic to it's own dialog 4 years ago
audric 67c2124a3b do not try to fetch seed node data with ip as cert will not be valid 4 years ago
audric ab8b6e85b4 Merge remote-tracking branch 'upstream/clearnet' into network-clear-all 4 years ago
audric bea704ecf0 bump react to 17 4 years ago
Audric Ackermann 19c6bebab0
make sure to retry fetch sqwarm with a new targetNode if needed 4 years ago
Audric Ackermann 6e8d25e530
Fixes mentions in message body and resolve them quicker
Relates #1815
4 years ago
Warrick Corfe-Tan ec447b2e2e network clear all WIP 4 years ago
Warrick Corfe-Tan 2e5ffc3196 wip delete all network message. 4 years ago
Audric Ackermann 399041c5b3
cache identity pair and add some per measure 4 years ago
Audric Ackermann e8f0c4aaec
move libloki to webworker and remove unused stuff in it 4 years ago
Audric Ackermann 8760a59875
nodefetch headers as on mobile + cleanup worker code 4 years ago
Audric Ackermann aead3d6510
force headers to be empty for onion_req request 4 years ago
Audric Ackermann c8aa73626e
do not load right panel data unless it is visibl 4 years ago
Audric Ackermann a0afd3efe4
add some performance measure for commit calls 4 years ago
Audric Ackermann ca331b95a6
remove coverage unused 4 years ago
Audric Ackermann 6ca466cc22
fix about window localized string 4 years ago
Audric Ackermann ef0b07bb7a
WIP 4 years ago
Audric Ackermann 447f862ace
add some static glowing to the actionpanel light 4 years ago
Audric Ackermann 504a9afc0a
fix up handling of clock out of sync 4 years ago
Audric Ackermann e85f69a144
use our retrieve status as isOnline status 4 years ago
Audric Ackermann 13bc1a21d9
add test for swarmPolling variable rate 4 years ago
Audric Ackermann 7ea30b70ca
variable swarm polling based on activeAt timestamp 4 years ago
Audric Ackermann e090b8e8c6
remove getInstance on swarmPolling 4 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 4 years ago
Warrick Corfe-Tan 02713328db removed line. 4 years ago