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:
3
src/js/types/config-types.ts
Normal file
3
src/js/types/config-types.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export interface AppConfig {
|
||||
disabledTools?: string[];
|
||||
}
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user