Commit graph

21 commits

Author SHA1 Message Date
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
2021-09-13 17:07:53 +10:00
audric ffe8375dd1 fix build of onion path when snodes count is exactly 12 2021-09-06 14:35:10 +10:00
audric 6a50484597 fix tests for swarm polling 2021-08-13 14:51:15 +10:00
audric 8344c48d88 handle offline status for selectGuardNodes stuff 2021-08-13 11:49:45 +10:00
audric 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
audric 01ff290f85 fix tests 2021-08-11 09:35:24 +10:00
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.
2021-08-10 16:51:05 +10:00
Audric Ackermann e8f0c4aaec
move libloki to webworker and remove unused stuff in it 2021-07-13 11:16:59 +10:00
Audric Ackermann 447f862ace
add some static glowing to the actionpanel light 2021-06-29 15:23:48 +10:00
Audric Ackermann a5d7995168
merge dialog refctor with clearnet 2021-06-17 16:38:20 +10:00
Audric Ackermann 4b9d2c0692
fix tests 2021-06-16 15:36:06 +10:00
Audric Ackermann 0a208c0d15
store snodes list on db, use them if possible on app start
if not enough snodes or no snodes at all, a request to the seed node is
made instead
2021-06-08 14:35:30 +10:00
Audric Ackermann 88036edd38
add more tests for multi errors onion rebuild 2021-05-26 13:47:53 +10:00
Audric Ackermann 05745d7726
add tests to drop snode from path after 3 failure 2021-05-25 17:40:08 +10:00
Audric Ackermann 2e9a34f72b
add tests for handling of OXEN_SERVER_ERRORS 2021-05-25 16:10:00 +10:00
Audric Ackermann 53c9bb1012
add some tests for 421 handling at destination 2021-05-25 15:11:58 +10:00
Audric Ackermann 372119b17b
WIP 2021-05-25 09:53:11 +10:00
Audric Ackermann a777b09165
cleanup tests 2021-05-24 11:43:51 +10:00
Audric Ackermann f4c3c82e31
Add some test for onion path rebuild handling 2021-05-24 11:17:31 +10:00
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 2021-05-19 15:54:31 +10:00
Audric Ackermann c599d0b629
WIP 2021-05-17 14:39:56 +10:00