feat(storage): add managed storage controls
Enforce a global log quota with configurable retention and observable degradation. Add authenticated storage reporting and safe cleanup controls to the settings UI. Protect active stream transfers and isolate parallel test resources.
This commit is contained in:
33 files changed
+5115
-136
No files matched your search
@@ -114,10 +114,21 @@ describe('prepareRestorePlan — strict semantic preflight', () => {
|
||||
webuiHost: '0.0.0.0',
|
||||
webuiTls: { enabled: false },
|
||||
trustProxy: '',
|
||||
logMaxTotalMb: 1024,
|
||||
logRetainDays: 7,
|
||||
logPerUin: false,
|
||||
});
|
||||
expect(prepared.migrated).toEqual([{
|
||||
name: 'runtime.json',
|
||||
fields: ['$.hookAutoLoad', '$.trustProxy', '$.webuiHost', '$.webuiTls'],
|
||||
fields: [
|
||||
'$.hookAutoLoad',
|
||||
'$.logMaxTotalMb',
|
||||
'$.logPerUin',
|
||||
'$.logRetainDays',
|
||||
'$.trustProxy',
|
||||
'$.webuiHost',
|
||||
'$.webuiTls',
|
||||
],
|
||||
}]);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user