Commit Graph

104 Commits (cf93fa5d3a6c04e749e6dd9c4aa45f7166d56168)

Author SHA1 Message Date
ansuz 471e374533 compute metadata in the same child process that builds indexes
ansuz 479b76f848 lint compliance
ansuz 40251948d4 check authenticated rpc signatures in separate threads
ansuz 90899aa2f4 start reviewing and removing XXX notes
ansuz 631ea54b49 lint compliance
ansuz 67dd4a608c Merge remote-tracking branch 'origin/scaling' into scaling2
ansuz b2fcde87d8 implement an admin command to update the default storage limit without a restart
yflory 0d636dabc9 Check signature for history keeper in a different process
ansuz 2a9780abcf lint compliance
ansuz 2d47e7e2cf implement an admin rpc to fetch ulimit data
ansuz 81c7416095 lint compliance
ansuz f644c24362 add an admin-rpc to count the number of open files
ansuz 1230057970 disable IS_PAD_PINNED
ansuz 6d8cdca7a3 add 'rejected' field to metadata when getMetadata requests are blocked
ansuz 9d8bb43d03 finally untangle metadata and index caches
ansuz 32d769447a begin standardizing our method of streaming lines from files
ansuz b126e4456b simplify quota logic
ansuz 170aa6d47e clean up a few tasks related to allow lists
ansuz 2f00ff3278 simplify check-in deactivation
ansuz c26560e3f9 commit stashed admin-rpc refactor
ansuz 59ad80d7f1 support larger upload sizes for users with premium accounts
ansuz f951951077 merge communities-allow-list and lint compliance
ansuz 021a6b361f remove a bogus XXX note
ansuz 7ee8778210 kick unauthorized users from restricted channels
and update dependencies
ansuz fe0e02a421 restrict access to metadata
ansuz 791aad53f2 WIP allow list changes
ansuz f579c9b059 semi-functional allow-list implementation in historyKeeper
ansuz 0edcdcb1b8 oups! fix a missing callback that's been here for a while...
ansuz 27e57e7af0 oups! fix a missing callback that's been here for a while...
ansuz f86196e40a implement shared environment between historyKeeper and RPC
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 3dc789cbca replace pinned.js with low-profile streaming implementation
ansuz 1231cacef1 remove XXX
ansuz 7f22da0f57 fix use of incorrect key format in admin-rpc
ansuz 802034616c centralize historykeeper-rpc interaction in rpc methods
ansuz b4172676f3 lint compliance
ansuz f17d14fd99 simpler limit updates
ansuz bde17a62a1 continue refactoring rpc
ansuz fa525817ba fix broken removePins RPC
ansuz 5808c534b5 fix function signature for trimHistory RPC
ansuz 9c28941f6c lint compliance
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 b093d3f0d2 WIP massive rpc refactor
ansuz ceb351326c split out some more rpc functionality and fix broken module paths
ansuz c1f222dd6c move metadata commands from rpc to their own module
ansuz bb7e8e4512 move login block functionality into its own rpc module
ansuz c765362744 move more rpc functionality into modules
ansuz c93b39c094 separate more rpc functionality into pinning and core submodules
ansuz ba6e3f33bd move admin commands into their own module