112 Commits (92055f256727190102646fec3034a4762dce7c5f)

Author SHA1 Message Date
ansuz 646fdcc43e Merge branch 'cache-metadata' into staging 4 years ago
ansuz 4c7f7e271e remove an XXX note, log when restoring docs by admin rpc 4 years ago
ansuz d0df2f5840 log when archiving content via the admin panel 4 years ago
ansuz 4495d99e49 use the standard method of checking whether metadata is valid 4 years ago
ansuz 6bc103be5f delay cache eviction each time the metadata is requested 4 years ago
ansuz d4f94f3091 briefly cache server metadata in-memory to avoid repeated reads 4 years ago
ansuz 820f2a0054 Merge branch 'soon' into staging 4 years ago
ansuz 93d56e5e3d profile worker commands by total running time in seconds 4 years ago
ansuz cd77b5ffc8 Merge branch 'soon' into staging 4 years ago
yflory bd4b44476d Archive and restore UI in the admin panel 4 years ago
ansuz e185008846 complete uploads in child processes
also fix a nasty race condition for unowned file uploads
4 years ago
ansuz 1f1b40b83d move some implictly global state to env.js 4 years ago
ansuz 5cf8ca70e6 don't pin falsey document ids 4 years ago
ansuz 034472d3dd move some implictly global state to env.js 4 years ago
ansuz f7bd3bdc23 don't pin falsey document ids 4 years ago
ansuz fbc9edd795 rename latest admin commands and implement metadata getter/remover 4 years ago
ansuz 488ec93ece allow expert admins to get and clear cached channel indices 4 years ago
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
4 years ago
ansuz a2c0d2165b implement a few more admin decrees 4 years ago
ansuz abd84665ae lint compliance 4 years ago
ansuz 6ec5171518 add support for changing a few more Env parameters at runtime 4 years ago
ansuz f2ec9cbe33 load premium and customLimits to avoid evicting them even if inactive 4 years ago
ansuz 854e4c06ff report lastEviction in an admin INSTANCE_STATUS 4 years ago
ansuz 471a9a33ac take note of a minor error with pin RPCs 4 years ago
ansuz 6d13a785c6 downgrade a non-critical XXX to a FIXME 4 years ago
ansuz b5d3a10dc2 guard against possible typeErrors from unvalidated config input 4 years ago
ansuz f4f803ccd9 reuse Keys.canonicalize to accept any pubkey format 4 years ago
ansuz 914139dbfa lint compliance 4 years ago
yflory 51e1b9b043 Fix custom limit not applied when using a raw edPublic 4 years ago
ansuz aa35e092f7 update an inaccurate comment 4 years ago
ansuz 928b7e3583 implement GET_LIMITS admin rpc
...and label stored usage limits according to their source
4 years ago
ansuz b62d4387a6 drop support for SET_DEFAULT_STORAGE_LIMIT
it's redundant now that we support persistent admin decrees
and it was never exposed via the UI anyway
4 years ago
ansuz 0c5db31fbc refactor quota logic for external usage 4 years ago
ansuz bd6234c5bc lint compliance and some notes 4 years ago
ansuz 1781ee2585 implement 'UPDATE_DEFAULT_STORAGE' as a decree 4 years ago
ansuz 7aa7d5978f implement persistence of config changes from admin panel 4 years ago
ansuz fcfcb3dca6 fix history trim for channels with access lists 4 years ago
ansuz 6ada5fd751 always consider premium accounts to be active 4 years ago
ansuz d9219f4ecc add a note for later 4 years ago
ansuz 5749b6fd7b add an admin RPC to archive documents 4 years ago
ansuz 95778cc7c9 respond with ENOENT instead of E_NO_OWNERS when archiving a file that does not exist 4 years ago
yflory 04af753a81 lint compliance 4 years ago
ansuz ebcc9a069b add server-side support for the new format of public signing keys 4 years ago
ansuz d35b015c3f log some info on successful file uploads 5 years ago
ansuz 9ed26cfeb0 lint compliance 5 years ago
ansuz 74567e0cf4 return process memory usage in GET CACHE STATS RPC 5 years ago
ansuz e527867e2e queue blob and channel deletions per-user 5 years ago
ansuz bd3e18d1a8 only cache a user's pinned channels if there are no errors when loading them 5 years ago
ansuz bef18a9320 hotfix 5 years ago
ansuz 3d8e78a268 fix overly broad config interpretation for daily check 5 years ago