Commit Graph

131 Commits (f7581cf4ebee13edb51e6372e9903c5e8745d0e9)

Author SHA1 Message Date
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 3 years ago
Maxim Shishmarev 12f73e23f2 Move onion requests to typescript 4 years ago
Maxim Shishmarev d5a98b8b47 Remove swarm nodes from conversations 4 years ago
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 4 years ago
Audric Ackermann 0668798b72
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 4 years ago
Audric Ackermann aa797f6670
various changes to be reverted. kind of working session chats only. 4 years ago
Ryan Tharp 9c1d2fad78 scope buildNewOnionPathsWorker call properly 4 years ago
Audric Ackermann cf7635428a
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 4 years ago
Mikunj b85348569b Merge branch 'clearnet' into folder-restructure 4 years ago
Ryan Tharp a905703cb4 move internal buildNewOnionPaths function into buildNewOnionPathsWorker per review 4 years ago
Audric Ackermann cf94961736
throw an error if getSwarmNodes cannot find the conversation 4 years ago
Ryan Tharp cec5866c22 Merge branch 'fileonion' of https://github.com/neuroscr/loki-messenger into fileonion 4 years ago
Ryan Tharp e2d5d9e793 put lock around buildNewOnionPaths since it's called multiple times 4 years ago
Ryan Tharp 9e4e524807 lint 4 years ago
Ryan Tharp a22dbbc37e
Merge branch 'clearnet' into fileonion 4 years ago
Mikunj 3ea0689d2f Linting 4 years ago
Mikunj e6139a5463 Merge branch 'clearnet' into message-sending-refactor 4 years ago
Maxim Shishmarev ecde5c235a More robust guard node selection 4 years ago
Audric Ackermann fa853538d0
LINT after prettier upgrade 4 years ago
Vincent 07e7afeb31 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into lns-map 4 years ago
Ryan Tharp 048b5558c1 lint 4 years ago
Ryan Tharp 355005b0c1 buildNewOnionPaths() refresh if too few nodes, mark markPathAsBad as non-async, getOnionPath() retry until good paths, logging adjustment, guards 4 years ago
Ryan Tharp 2d715fdfed getOnionRequestNumber=>assignOnionRequestNumber 4 years ago
Ryan Tharp 1f9df11a0e better seedNode error handling, getOnionRequestNumber(), getOnionPath() fixes 4 years ago
Vincent 47a2ecdf95 LNS mapping finalise 4 years ago
Ryan Tharp a5c61b7a9d
fix snodes retrieval from seed 4 years ago
Ryan Tharp ead2f62b6d
Merge branch 'clearnet' into sender-keys 4 years ago
Ryan Tharp 7baf69ae00 update seedNode format in config, try ip_url as fallback 4 years ago
Maxim Shishmarev debb922521 Medium groups with sender keys essentials 4 years ago
Vincent 4033b70f5c Refined error reporting 4 years ago
Vincent 345c7b12d9 lint 4 years ago
Vincent cd5a2f75de Fix MAX_SAFE_INTEGER on timeout 4 years ago
Vincent d78a49d689 Constants 4 years ago
Vincent 8992234dd7 lns mapping method rewrite 4 years ago
Ryan Tharp 06e1a0eec3 window.lokiFeatureFlags.onionRequestPaths => onionRequestHops, needPaths => nodesNeededPerPaths 4 years ago
Ryan Tharp cc4664e27f buildNewOnionPaths() now uses onionRequestPaths control, include count of paths in log 4 years ago
Ryan Tharp b119a1d0d4 findMatchingSnode => compareSnodes 4 years ago
Ryan Tharp f6233b91a9 getSwarmNodesForPubKey make fetching hashes optional and off by default, get version summary when all downloaded, _getVersion retry bug fix, other notes 4 years ago
Ryan Tharp 73b6401097 additional lint-full 4 years ago
Ryan Tharp 3f5a667989 remove separate version pool vars, loki_primitive refactor, make sure _getAllVerionsForRandomSnodePool can't stack, exception clean up, findMatchingSnode refactor, getSwarmNodesForPubKey() now loads the lasthash, getNodesMinVersion is no longer async, _getSnodesForPubkey no longer takes a snode 4 years ago
Ryan Tharp 90d2bbb338 refactor refreshRandomPool into small functions, exception clean up 4 years ago
Maxim Shishmarev 804b4e54ac
Merge pull request #1041 from msgmaxim/lns
API implementation for LNS
4 years ago
Maxim Shishmarev 932ea23ceb API implementation for LNS 4 years ago
Ryan Tharp 9ade8cbb1e using undefined instead of false 4 years ago
Ryan Tharp 62169e74f6 clear refreshRandomPoolPromise lock so you can refresh your randomPool, handle edge case if not enough snodes in randomPool for guards 4 years ago
Ryan Tharp 75ef07048a make sure retries is set 4 years ago
Ryan Tharp a7981b1645 add some notes 4 years ago
Ryan Tharp 6fdde32948 convert reduce back to for...of loop per Maxim, markRandomNodeUnreachable() make handle edge removal cases and optimize snode lookup 4 years ago
Ryan Tharp 40951f0579 this.versionsRetrieved, handle ECONNREFUSED as bad otherwise retry in 1s, randomize list of snodes, only report status every 10% 4 years ago
Ryan Tharp 91b254d355 versionMap reverse lookup, markRandomNodeUnreachable removes from versionPools now, lint 4 years ago