Commit Graph

83 Commits (a2f6d8c3d381e26b4303ffb15ca41dd58bbcea07)

Author SHA1 Message Date
Audric Ackermann dd281de903
cleanup feature flags 4 years ago
Audric Ackermann fa32e61982
network delete_all force retries if we get a 421 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 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 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 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
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 e9217168e4
improve 502 handling with guard node in fault in some cases 4 years ago
Audric Ackermann b403b89224
fix bug with quote empty profileName 4 years ago
Audric Ackermann 3c80869418
improve bad path handling when snode not in path 4 years ago
Audric Ackermann 5bf844241b
fix tests 4 years ago
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
4 years ago
Audric Ackermann 6b399e3683
add pn server dev url fallback to v2/lsrpc
the dev pn server is not used in the app, this change is just here to
not have to think of switching this part too when debugging against the
pn dev server
4 years ago
Audric Ackermann f3768a674a
short error on no network for retry sending message 4 years ago
Audric Ackermann db54cb37b9
hide failing call to deleteAuthToken logs 4 years ago
Audric Ackermann 88036edd38
add more tests for multi errors onion rebuild 4 years ago
Audric Ackermann 05745d7726
add tests to drop snode from path after 3 failure 4 years ago
Audric Ackermann 2e9a34f72b
add tests for handling of OXEN_SERVER_ERRORS 4 years ago
Audric Ackermann 53c9bb1012
add some tests for 421 handling at destination 4 years ago
Audric Ackermann adb9208491
do not retry Oxen Server Error 4 years ago
Audric Ackermann 372119b17b
WIP 4 years ago
Audric Ackermann a2ea02960e
add some retries for not already retries requests 4 years ago
Audric Ackermann f4c3c82e31
Add some test for onion path rebuild handling 4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Audric Ackermann 4514714d60
WIP 4 years ago
Audric Ackermann ed53ab43e6
WIP 4 years ago
Audric Ackermann c599d0b629
WIP 4 years ago
Audric Ackermann a83a2afa4f
scoring system kind of working 4 years ago
Audric Ackermann c63d5a4581
rename serviceNodeApi to SNodeApi 4 years ago
Audric Ackermann 8cb50ebc91
move onionPath building to outside of index.ts 4 years ago
Audric Ackermann 58abd08e6d
Get snode from snode (#1614)
* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo
4 years ago
Audric Ackermann 248494f15b
redesign group invitation message type 4 years ago