Commit Graph

943 Commits (9e584b64aace5f0cf79feccf8153790b8d23f87f)

Author SHA1 Message Date
Ryan Tharp 9e584b64aa
Update js/modules/loki_app_dot_net_api.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
6 years ago
Ryan Tharp 078e95f8c9 use meta.code to emulate proper http response from proxy, logging style updates 6 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 6 years ago
Ryan Tharp 40ebc508fc only show devs the token 6 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 6 years ago
Ryan Tharp b3278a4edf handle timestamp errors better 6 years ago
Ryan Tharp adcc1e186a firstTrue return the return truish value given otherwise false 6 years ago
Ryan Tharp 60abea1454 typo and validAuthorisations bug fix 6 years ago
Ryan Tharp 73b6401097 additional lint-full 6 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 6 years ago
Ryan Tharp 9927eab539 more loki_primitive unification, remove unneeded trace 6 years ago
Ryan Tharp e1ff1c709b lint 6 years ago
Ryan Tharp 6c48ee7e6d lint 6 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 6 years ago
Ryan Tharp bee436ebbb 2.0.2-3 loki-storage support: handle 504, adjust log level/logging/notes 6 years ago
Ryan Tharp f9baac91a1 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into patchopensnapps 6 years ago
Ryan Tharp f632a87b05
Merge pull request #1057 from loki-project/neuroscr-patch-2
open group api - put integration code under guard
6 years ago
Ryan Tharp 3553edcefc
lint 6 years ago
Ryan Tharp 70c4b9b3c7
lint 6 years ago
Ryan Tharp b517ad5286
put integration code under guard 6 years ago
Ryan Tharp 1ee2088343
Fix integration tests slipping into release
Per Mikunj
6 years ago
Vince 5ff7476359
Revert "Clean up unused dependencies." 6 years ago
Vince 6d591d956d
Merge pull request #1033 from Mikunj/package-cleanup
Clean up unused dependencies.
6 years ago
Ryan Tharp 90d2bbb338 refactor refreshRandomPool into small functions, exception clean up 6 years ago
Maxim Shishmarev 804b4e54ac
Merge pull request #1041 from msgmaxim/lns
API implementation for LNS
6 years ago
Maxim Shishmarev 932ea23ceb API implementation for LNS 6 years ago
Ryan Tharp 9ade8cbb1e using undefined instead of false 6 years ago
Ryan Tharp 55acf4c24f make log less confusing 6 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 6 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 6 years ago
Ryan Tharp a2b1c2e8f6 lint 6 years ago
Ryan Tharp 4384229b4c log when _retrieveNextMessages's call to lokiRpc fails 6 years ago
Ryan Tharp 2a7ebe6696 don't say it's sent when it's not 6 years ago
Ryan Tharp 4c870d4b74 improve loki tld host checking, fix proxyFetch calling sendToProxy so tokens can be fetched 6 years ago
Mikunj b16da2c5f5 Linting 6 years ago
Mikunj 9d2417c2f6 Removed proxy-agent and web-socket.
Trimmed down web_api.js to most basic functions we are using. This needs to be completely removed in the future.
6 years ago
Mikunj 828444aadc Linting 6 years ago
Mikunj e875ba2527 remove got.
Fix session IDs not being redacted in logs.
6 years ago
Mikunj a9555e8439 Linting 6 years ago
Mikunj 496afa85cb Remove libsodium-wrapper.
Remove LokiSnodeChannel as we weren't using it.
6 years ago
Ryan Tharp 75ef07048a make sure retries is set 6 years ago
Ryan Tharp dcfae3bedc improve user UX since we shouldn't have to wait on startup 6 years ago
Ryan Tharp a7981b1645 add some notes 6 years ago
Ryan Tharp 6fdde32948 convert reduce back to for...of loop per Maxim, markRandomNodeUnreachable() make handle edge removal cases and optimize snode lookup 6 years ago
Ryan Tharp 055ba2aa66 fix bug with missing ciphertext in log msg, remove unneeded space from log messages 6 years ago
Ryan Tharp ae9bcd45c2 only be picky about file uploads 6 years ago
Ryan Tharp 8ceb47823f fix logging style 6 years ago
Ryan Tharp 40951f0579 this.versionsRetrieved, handle ECONNREFUSED as bad otherwise retry in 1s, randomize list of snodes, only report status every 10% 6 years ago
Ryan Tharp c8b097c60e clean up logging a bit 6 years ago
Ryan Tharp 586aa877da change delay to 10s retry 6 years ago