Commit Graph

27 Commits (95e40c95094bd2237e227dd0c399e2b574dec1fb)

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
4 years ago
audric 8344c48d88 handle offline status for selectGuardNodes stuff 4 years ago
audric 215f2227c1 move what is used only for PN server api call to pnserver.ts 4 years ago
Audric Ackermann 119b6e1baf
keep scrolled position when adding messages at the bottom 4 years ago
Audric Ackermann 8760a59875
nodefetch headers as on mobile + cleanup worker code 4 years ago
Audric Ackermann ca331b95a6
remove coverage unused 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 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 f3768a674a
short error on no network for retry sending message 4 years ago
Audric Ackermann 94a0748d71
add some logs to opengroup retry 4 years ago
Audric Ackermann c8878f0a19
remove existing opengroups v1 from db along with every messages 4 years ago
Audric Ackermann 372119b17b
WIP 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 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 ad26e50de1
fix attachment upload for opengroupv1 and old file server 4 years ago
Audric Ackermann 710c9fa269
fix http request over onion 4 years ago
Audric Ackermann 98b69c17f0
add userblocking opengroupv2 and quoting back of messages 4 years ago
Audric Ackermann 193fb2a101
move some message interactions logic to another file 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann 19f3b6014d
add poller for open group v2 4 years ago
Audric Ackermann 897bad2d5e
throw only for breaking stuff on ApiV2 calls 4 years ago
Audric Ackermann b68338e26c
working get and post request with opengroup api v2 4 years ago
Audric Ackermann b9586c90ce
working open group v2 getInfo for https only 4 years ago