Commit Graph

22 Commits (87e7cc5ebfe401545e0e4d2d8af17d407de3c27a)

Author SHA1 Message Date
Audric Ackermann f75f63e4e9
handle 421 on sending delete_all 4 years ago
Audric Ackermann 1e8c8991ad
more cleanup 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 67c2124a3b do not try to fetch seed node data with ip as cert will not be valid 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 8760a59875
nodefetch headers as on mobile + cleanup worker code 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 d0c1a2bf3a
add ONS resolve for new ONS and loading on message overlay 4 years ago
Audric Ackermann a2ea02960e
add some retries for not already retries requests 4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Audric Ackermann a83a2afa4f
scoring system kind of working 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 2132395afb
disable getVersion to snodes calls as we don't need it anymore 4 years ago
Audric Ackermann 53d16d7dac
remove fallback to node-fetch 4 years ago
Audric Ackermann 2b13321c23
remove completely send to proxy 5 years ago
Audric Ackermann 4c91d977ca
move token and submit challenge call to onion request 5 years ago
Audric Ackermann 8558764768
fix open group integration tests 5 years ago
Audric Ackermann 52cb50f063
make lokiPlainFetch return a SnodeResponse object 5 years ago
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 5 years ago