Commit Graph

959 Commits (c36d0718590ea6ba4abad905bfc59548d6ff550c)

Author SHA1 Message Date
Ryan Tharp e38dff5448 make getPathString functional 5 years ago
Ryan Tharp 06e1a0eec3 window.lokiFeatureFlags.onionRequestPaths => onionRequestHops, needPaths => nodesNeededPerPaths 5 years ago
Ryan Tharp 2907f3d154 remove dead code 5 years ago
Ryan Tharp cd8f67a93a refactor getPathString() out, clean up if result branching 5 years ago
Ryan Tharp 5ef17375c1 sendOnionRequest() now uses onionRequestPaths control, lokiFetch checkResponse() so we handle wrong PoW/Timestamp/Swarm in proxy and onion requests 5 years ago
Ryan Tharp cc4664e27f buildNewOnionPaths() now uses onionRequestPaths control, include count of paths in log 5 years ago
Ryan Tharp a3f51648a5 dead code lint 5 years ago
Ryan Tharp 0bbd265d52 log any sendMessage exceptions, other notes 5 years ago
Ryan Tharp 167ae0e0bd
Merge pull request #1061 from neuroscr/patchopensnapps
snode communication refactor part 4
5 years ago
Ryan Tharp 058cd32746 Merge branch 'patchopensnapps' of https://github.com/neuroscr/loki-messenger into patchopensnapps 5 years ago
Ryan Tharp 158d6a2a2e fix logging, allowOnlyOneAtATime fix timeout clearing 5 years ago
Ryan Tharp 43b8b779f2 add note 5 years ago
Ryan Tharp b119a1d0d4 findMatchingSnode => compareSnodes 5 years ago
Ryan Tharp 2be1a0850c remove 2nd param from Math.floor, refreshSendingSwarm fix refreshSwarmNodesForPubKey pubkey 5 years ago
Ryan Tharp 9e584b64aa
Update js/modules/loki_app_dot_net_api.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Ryan Tharp 078e95f8c9 use meta.code to emulate proper http response from proxy, logging style updates 5 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 5 years ago
Ryan Tharp 40ebc508fc only show devs the token 5 years ago
Ryan Tharp 6dca83a972 return which snode was used to send/storage message, pass fetchHashes to getSwarmNodesForPubKey, indicate if we were requested to be stopped or not, log level adjustments 5 years ago
Ryan Tharp b3278a4edf handle timestamp errors better 5 years ago
Ryan Tharp adcc1e186a firstTrue return the return truish value given otherwise false 5 years ago
Ryan Tharp 60abea1454 typo and validAuthorisations bug fix 5 years ago
Ryan Tharp 73b6401097 additional lint-full 5 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 5 years ago
Ryan Tharp 9927eab539 more loki_primitive unification, remove unneeded trace 5 years ago
Ryan Tharp e1ff1c709b lint 5 years ago
Ryan Tharp 6c48ee7e6d lint 5 years ago
Ryan Tharp 53a624ff1d loki_primitives refactor, pass swarmPool into _openRetrieveConnection, _openSendConnection now returns the snode it used, refreshSendingSwarm() now uses lokiSnodeAPI.refreshSwarmNodesForPubKey, bump MAX_ACCEPTABLE_FAILURES from 1 to 10 to make sure we retry 5 years ago
Ryan Tharp bee436ebbb 2.0.2-3 loki-storage support: handle 504, adjust log level/logging/notes 5 years ago
Mikunj 663d2b0bc6 Merge branch 'clearnet' into revert-1051-revert-1033-package-cleanup 5 years ago
Ryan Tharp f9baac91a1 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into patchopensnapps 5 years ago
Ryan Tharp f632a87b05
Merge pull request #1057 from loki-project/neuroscr-patch-2
open group api - put integration code under guard
5 years ago
Ryan Tharp 3553edcefc
lint 5 years ago
Ryan Tharp 70c4b9b3c7
lint 5 years ago
Ryan Tharp b517ad5286
put integration code under guard 5 years ago
Ryan Tharp 1ee2088343
Fix integration tests slipping into release
Per Mikunj
5 years ago
Mikunj Varsani 24a3e05154
Revert "Revert "Clean up unused dependencies."" 5 years ago
Vince 5ff7476359
Revert "Clean up unused dependencies." 5 years ago
Vince 6d591d956d
Merge pull request #1033 from Mikunj/package-cleanup
Clean up unused dependencies.
5 years ago
Ryan Tharp 90d2bbb338 refactor refreshRandomPool into small functions, exception clean up 5 years ago
Maxim Shishmarev 804b4e54ac
Merge pull request #1041 from msgmaxim/lns
API implementation for LNS
5 years ago
Maxim Shishmarev 932ea23ceb API implementation for LNS 5 years ago
Ryan Tharp 9ade8cbb1e using undefined instead of false 5 years ago
Ryan Tharp 55acf4c24f make log less confusing 5 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 5 years ago
Ryan Tharp c5573cc422 handle edgecase where there's less than 2 snodes in the randomPool (and it wouldn't trigger a refresh), log style, better warning if sendToProxy returns false 5 years ago
Ryan Tharp a2b1c2e8f6 lint 5 years ago
Ryan Tharp 4384229b4c log when _retrieveNextMessages's call to lokiRpc fails 5 years ago
Ryan Tharp 2a7ebe6696 don't say it's sent when it's not 5 years ago
Ryan Tharp 4c870d4b74 improve loki tld host checking, fix proxyFetch calling sendToProxy so tokens can be fetched 5 years ago