Commit Graph

63 Commits (6401e72265995c0c7be65f3e28a50825a16d3905)

Author SHA1 Message Date
Dmitry Borodaenko 6cd2131f27 Pass archivePath to Store.create always
yflory fc514fb61d Support a callback on channelMessage
yflory 69c26fe8c7 Fix various issues with restricted pads
ansuz faa7ebf399 Fix some bugs with integrated eviction
1. implement SET_LAST_EVICTION as an admin command, not a decree
2. expect a return value from Env.evictInactive and expose it via Env.evictionReport
ansuz 6ec5171518 add support for changing a few more Env parameters at runtime
ansuz 369c92c01d initialize Env from server and deduplicate several attributes
ansuz b5d3a10dc2 guard against possible typeErrors from unvalidated config input
ansuz 964aa2bb79 validate custom limits provided via config at launch
ansuz 145386e944 suppress an inconsequential error
ansuz 928b7e3583 implement GET_LIMITS admin rpc
...and label stored usage limits according to their source
ansuz 0c5db31fbc refactor quota logic for external usage
ansuz 1781ee2585 implement 'UPDATE_DEFAULT_STORAGE' as a decree
ansuz 7aa7d5978f implement persistence of config changes from admin panel
ansuz 04d1bc9cd7 archive inactive data in one of the server's workers
ansuz 02347d134a queue signature validation per-channel to ensure correct ordering
ansuz bac8ef3c6e lint compliance
ansuz 4e57e390da write tasks inside of workers
ansuz ba6faca02e make the number of workers configurable
ansuz dc0460780f Merge branch 'soon' into staging
Martin Alexander Neumann e3f42cbc20 Allow config.defaultStorageLimit to be zero bytes
ansuz e527867e2e queue blob and channel deletions per-user
ansuz d8a88cb4ca run expiration tasks in a worker instead of the main process
ansuz 9dbd32758a improve worker logging and move blob deletion to worker processes as well
ansuz 5f69fc18d0 suppress some noisy errors
ansuz 70a0d4efb4 move more database reads into the database worker
ansuz 4ba36a9173 load user pins in the database worker
ansuz 471e374533 compute metadata in the same child process that builds indexes
ansuz e128683ffb call back with errors instead of throwing within the Storage module
ansuz 4522ffa18a compute indexes in child processes
ansuz 019e5e708b wrap workers in a function scope and add a validateMessage method to HK's Env
ansuz ce6cf6f727 revert some changes that couldn't have possibly worked
ansuz 170aa6d47e clean up a few tasks related to allow lists
ansuz 2f00ff3278 simplify check-in deactivation
ansuz 03ff9bd0d7 start deprecating usage of myDomain
ansuz 94d8e7f2c2 provide a consistent type for 'customLimits'
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 f0e5fc7614 merge some missing code from communities-allow-list
ansuz 033bd361f9 add backwards compatibility with older servers
ansuz 791aad53f2 WIP allow list changes
ansuz 597f417ad6 WIP block history requests that bypass JOIN restriction (where appropriate)
ansuz f579c9b059 semi-functional allow-list implementation in historyKeeper
ansuz eac3e4cbcd sketch out some historyKeeper functionality related to access lists
ansuz a4be6185de merge staging and do a little lint compliance
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 f86196e40a implement shared environment between historyKeeper and RPC
ansuz 725d10fc60 nest storage directory inside './lib'