Commit Graph

104 Commits (ecce654ca66f60e43ad818f503a534a00de26b6b)

Author SHA1 Message Date
ansuz 626a031115 resolve conflict with master/staging
ansuz ff73e96cb8 reimplement the trim history fix from staging
ansuz 79f1280cf3 Merge branch 'soon' into staging
ansuz b56367414b don't overwrite cached indices when new users join a channel
ansuz e8949168ec lint compliance
ansuz 5dff6535ed add a simple guard against unparsed messages when trimming history
ansuz f86196e40a implement shared environment between historyKeeper and RPC
ansuz 3f606d8c75 remove some duplicated code
ansuz 725d10fc60 nest storage directory inside './lib'
ansuz 38c1700173 Respond to pinning RPCs as soon as possible
(instead of waiting until you've read an unbounded number
of pin logs while queries back up in memory)

Also replace instances of 'publicKey' with 'safeKey' or 'unsafeKey'
to clearly and correctly indicate their format.
ansuz cded52f83f replicate existing pinned.load API correctly
ansuz 65f88617cf add support for an optional handler for each pin log
great for analyzing which files are most in need of optimization
ansuz 3dc789cbca replace pinned.js with low-profile streaming implementation
ansuz 609eddc9e1 reimplement the the Pinned.load API
* recurse into directories on demand
* optimized for lower memory consumption
* less parallelism than before
ansuz 2345323f0d lint compliance
ansuz 2d6626234b yet another async scheduler, this time supporting flexible runtime control flow based on declarative priority levels
yflory 0f697ac865 Merge branch 'staging' into communities-trim
ansuz 1231cacef1 remove XXX
ansuz 57be324850 remove some XXX notes
ansuz 68a77885d4 suppress some routine server logs
ansuz 7f22da0f57 fix use of incorrect key format in admin-rpc
ansuz 7000be0e70 clean up historykeeper
ansuz 802034616c centralize historykeeper-rpc interaction in rpc methods
yflory fd095644a2 Merge branch 'staging' into communities-trim
yflory 64c0f3a90d Add missing RPC command
yflory 9a857ea058 Merge branch 'staging' into communities-trim
ansuz b4172676f3 lint compliance
ansuz f17d14fd99 simpler limit updates
ansuz bde17a62a1 continue refactoring rpc
ansuz fa525817ba fix broken removePins RPC
ansuz a00a9fd018 don't hang when reading unparseable lines from history
yflory 1d56c08700 Merge branch 'staging' into communities-trim
ansuz 3741cbcbc0 rewrite trimmed history WITH newlines
yflory 4079f1bfdb Fix RPC command
yflory 6655f493e0 Merge branch 'staging' into communities-trim
ansuz 5808c534b5 fix function signature for trimHistory RPC
yflory c9676e1c91 Merge branch 'staging' into communities-trim
ansuz 9c28941f6c lint compliance
yflory 5cb266838a Fix syntax error
ansuz 0d69620687 tweak the metadata line handler to handle an edge case in trim history
ansuz f8f3a48e8b use latest chainpad-server
ansuz 46dfa026f0 fix an API change that caused a typeError
ansuz 88be40ede3 standardize some function signatures and factor out a lot of boilerplate
ansuz 65ba85d97b clear historyKeeper cache when we trim a channel
ansuz 43307ffb1a define all server intervals in a map so we can easily clear them all
ansuz 6523974ca2 fix a WRITE_PRIVATE_MESSAGE rpc regression
ansuz 779e817443 stop relying on netflux-server internals
* create RPC module from inside historyKeeper
* stop passing around netflux-server context
  * update to use newer netflux-server's formal APIs
* manage your own cache of indexes instead of storing things in the netflux context
ansuz 06c29ef1d1 latest api changes to match the netflux-server refactor
ansuz b922860339 drop usage of historyKeeper.setConfig
ansuz 80c012f34d prepare to merge history keeper and rpc