feat: add support for disabling specific tools in self-hosting

- Introduced build-time and runtime options to disable tools for compliance or security.
- Updated documentation to include instructions for disabling tools in Docker and Kubernetes setups.
- Added translations for disabled tool messages in multiple languages.
- Implemented logic to filter out disabled tools from the toolbox and shortcuts in the application.
- Created utility functions to manage disabled tools configuration.
This commit is contained in:
alam00000 committed 2026-03-28 23:45:17 +05:30
1 parent 59ebb4d358
commit 9a7cf1636b
30 files changed
+417 -7

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
export interface AppConfig {
disabledTools?: string[];
}
+1
View File
@@ -55,3 +55,4 @@ export * from './add-page-labels-type.ts';
export * from './pdf-to-tiff-type.ts';
export * from './pdf-to-cbz-type.ts';
export * from './password-prompt-type.ts';
export * from './config-types.ts';