diff --git a/configs/settings.yml b/configs/settings.yml index cf6b3a2a9..d6b0c4493 100755 --- a/configs/settings.yml +++ b/configs/settings.yml @@ -48,6 +48,22 @@ security: scopes: openid, profile, email # Specify the scopes for which the application will request permissions provider: google # Set this to your OAuth provider's name, e.g., 'google' or 'keycloak' +# Enterprise edition settings unused for now please ignore! +EnterpriseEdition: + key: 00000000-0000-0000-0000-000000000000 + CustomMetadata: + autoUpdateMetadata: true # set to 'true' to automatically update metadata with below values + author: username # Supports text such as 'John Doe' or types such as username + creator: Stirling-PDF # Supports text such as 'Company-PDF' + producer: Stirling-PDF # Supports text such as 'Company-PDF' + +legal: + termsAndConditions: '' # URL to the terms and conditions of your application (e.g. https://example.com/terms) Empty string to disable or filename to load from local file in static folder + privacyPolicy: '' # URL to the privacy policy of your application (e.g. https://example.com/privacy) Empty string to disable or filename to load from local file in static folder + accessibilityStatement: '' # URL to the accessibility statement of your application (e.g. https://example.com/accessibility) Empty string to disable or filename to load from local file in static folder + cookiePolicy: '' # URL to the cookie policy of your application (e.g. https://example.com/cookie) Empty string to disable or filename to load from local file in static folder + impressum: '' # URL to the impressum of your application (e.g. https://example.com/impressum) Empty string to disable or filename to load from local file in static folder + system: defaultLocale: en-US # Set the default language (e.g. 'de-DE', 'fr-FR', etc) googlevisibility: true # 'true' to allow Google visibility (via robots.txt), 'false' to disallow diff --git a/configs/settings.yml_14102024 b/configs/settings.yml_14102024 new file mode 100755 index 000000000..f97299f98 --- /dev/null +++ b/configs/settings.yml_14102024 @@ -0,0 +1,29 @@ +# Welcome to settings file +# Remove comment marker # if on start of line to enable the configuration +# If you want to override with environment parameter follow parameter naming SECURITY_INITIALLOGIN_USERNAME + +security: + enableLogin: false # set to 'true' to enable login + csrfDisabled: true # Set to 'true' to disable CSRF protection (not recommended for production) + loginAttemptCount: 5 # lock user account after 5 tries; when using e.g. Fail2Ban you can deactivate the function with -1 + loginResetTimeMinutes: 120 # lock account for 2 hours after x attempts + +system: + + defaultLocale: en-US # Set the default language (e.g. 'de-DE', 'fr-FR', etc) + googlevisibility: true # 'true' to allow Google visibility (via robots.txt), 'false' to disallow + enableAlphaFunctionality: false # Set to enable functionality which might need more testing before it fully goes live (This feature might make no changes) + customApplications: + bookAndHtmlFormatsInstalled: false # Installs Calibre for book format conversion (For non docker it must be manually downloaded but will need to be true to show in UI) + +ui: + appName: Konfuzio PDF Tools # Application's visible name + homeDescription: PDF Tools from Konfuzio # Short description or tagline shown on homepage. + appNameNavbar: Konfuzio # Name displayed on the navigation bar + +endpoints: + toRemove: # List endpoints to disable (e.g. ['img-to-pdf', 'remove-pages']) + groupsToRemove: [] # List groups to disable (e.g. ['LibreOffice']) + +metrics: + enabled: true # 'true' to enable Info APIs (`/api/*`) endpoints, 'false' to disable diff --git a/customFiles/static/apple-touch-icon.png b/customFiles/static/apple-touch-icon.png deleted file mode 100755 index efa5fd157..000000000 --- a/customFiles/static/apple-touch-icon.png +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/customFiles/static/css/theme/theme.dark.css b/customFiles/static/css/theme/theme.dark.css deleted file mode 100755 index bf69d4824..000000000 --- a/customFiles/static/css/theme/theme.dark.css +++ /dev/null @@ -1,73 +0,0 @@ -:root { - /* Colors */ - --md-sys-color-primary: rgb(162 201 255); - --md-sys-color-surface-tint: rgb(162 201 255); - --md-sys-color-on-primary: rgb(0 49 92); - --md-sys-color-primary-container: rgb(0 118 208); - --md-sys-color-on-primary-container: rgb(255 255 255); - --md-sys-color-secondary: rgb(169 201 246); - --md-sys-color-on-secondary: rgb(12 49 87); - --md-sys-color-secondary-container: rgb(29 62 100); - --md-sys-color-on-secondary-container: rgb(180 210 255); - --md-sys-color-tertiary: rgb(193 194 248); - --md-sys-color-on-tertiary: rgb(42 44 88); - --md-sys-color-tertiary-container: rgb(110 112 161); - --md-sys-color-on-tertiary-container: rgb(255 255 255); - --md-sys-color-error: rgb(255 180 171); - --md-sys-color-on-error: rgb(105 0 5); - --md-sys-color-error-container: rgb(147 0 10); - --md-sys-color-on-error-container: rgb(255 218 214); - --md-sys-color-background: rgb(15 20 26); - --md-sys-color-on-background: rgb(223 226 235); - --md-sys-color-surface: rgb(15 20 26); - --md-sys-color-on-surface: rgb(223 226 235); - --md-sys-color-surface-variant: rgb(64 71 83); - --md-sys-color-on-surface-variant: rgb(192 199 213); - --md-sys-color-outline: rgb(138 145 158); - --md-sys-color-outline-variant: rgb(64 71 83); - --md-sys-color-shadow: rgb(0 0 0); - --md-sys-color-scrim: rgb(0 0 0); - --md-sys-color-inverse-surface: rgb(223 226 235); - --md-sys-color-inverse-on-surface: rgb(45 49 55); - --md-sys-color-inverse-primary: rgb(0 96 170); - --md-sys-color-primary-fixed: rgb(211 228 255); - --md-sys-color-on-primary-fixed: rgb(0 28 56); - --md-sys-color-primary-fixed-dim: rgb(162 201 255); - --md-sys-color-on-primary-fixed-variant: rgb(0 72 130); - --md-sys-color-secondary-fixed: rgb(211 228 255); - --md-sys-color-on-secondary-fixed: rgb(0 28 56); - --md-sys-color-secondary-fixed-dim: rgb(169 201 246); - --md-sys-color-on-secondary-fixed-variant: rgb(40 72 111); - --md-sys-color-tertiary-fixed: rgb(225 224 255); - --md-sys-color-on-tertiary-fixed: rgb(20 22 66); - --md-sys-color-tertiary-fixed-dim: rgb(193 194 248); - --md-sys-color-on-tertiary-fixed-variant: rgb(64 67 112); - --md-sys-color-surface-dim: rgb(15 20 26); - --md-sys-color-surface-bright: rgb(53 57 64); - --md-sys-color-surface-container-lowest: rgb(10 14 20); - --md-sys-color-surface-container-low: rgb(24 28 34); - --md-sys-color-surface-container: rgb(28 32 38); - --md-sys-color-surface-container-high: rgb(38 42 49); - --md-sys-color-surface-container-highest: rgb(49 53 60); - /* Tools Color */ - --md-nav-section-color-opacity: 1; - --md-nav-on-section-color-opacity: 1; - --md-nav-section-color-sign: rgba(25, 101, 212, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-sign: rgba(28, 27, 31, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-organize: rgba(120, 130, 255, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-organize: rgba(28, 27, 31, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-convert: rgba(25, 177, 212, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-convert: rgba(28, 27, 31, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-security: rgba(66, 72, 80, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-security: rgba(28, 27, 31, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-other: rgba(72, 189, 84, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-other: rgba(28, 27, 31, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-advance: rgba(68, 183, 139, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-advance: rgba(28, 27, 31, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-image: rgba(212, 172, 25, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-image: rgba(28, 27, 31, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-word: rgba(61, 153, 245, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-word: rgba(28, 27, 31, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-ppt: rgba(255, 128, 0, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-ppt: rgba(28, 27, 31, var(--md-nav-on-section-color-opacity)); -} diff --git a/customFiles/static/css/theme/theme.light.css b/customFiles/static/css/theme/theme.light.css deleted file mode 100755 index adf080ab9..000000000 --- a/customFiles/static/css/theme/theme.light.css +++ /dev/null @@ -1,73 +0,0 @@ -:root { - /* Colors */ - --md-sys-color-primary: rgb(0 96 170); - --md-sys-color-surface-tint: rgb(0 96 170); - --md-sys-color-on-primary: rgb(255 255 255); - --md-sys-color-primary-container: rgb(80 163 255); - --md-sys-color-on-primary-container: rgb(0 20 43); - --md-sys-color-secondary: rgb(65 96 136); - --md-sys-color-on-secondary: rgb(255 255 255); - --md-sys-color-secondary-container: rgb(188 215 255); - --md-sys-color-on-secondary-container: rgb(32 65 103); - --md-sys-color-tertiary: rgb(88 90 138); - --md-sys-color-on-tertiary: rgb(255 255 255); - --md-sys-color-tertiary-container: rgb(151 153 205); - --md-sys-color-on-tertiary-container: rgb(7 9 55); - --md-sys-color-error: rgb(186 26 26); - --md-sys-color-on-error: rgb(255 255 255); - --md-sys-color-error-container: rgb(255 218 214); - --md-sys-color-on-error-container: rgb(65 0 2); - --md-sys-color-background: rgb(248 249 255); - --md-sys-color-on-background: rgb(24 28 34); - --md-sys-color-surface: rgb(248 249 255); - --md-sys-color-on-surface: rgb(24 28 34); - --md-sys-color-surface-variant: rgb(220 227 241); - --md-sys-color-on-surface-variant: rgb(64 71 83); - --md-sys-color-outline: rgb(112 119 132); - --md-sys-color-outline-variant: rgb(192 199 213); - --md-sys-color-shadow: rgb(0 0 0); - --md-sys-color-scrim: rgb(0 0 0); - --md-sys-color-inverse-surface: rgb(45 49 55); - --md-sys-color-inverse-on-surface: rgb(238 241 250); - --md-sys-color-inverse-primary: rgb(162 201 255); - --md-sys-color-primary-fixed: rgb(211 228 255); - --md-sys-color-on-primary-fixed: rgb(0 28 56); - --md-sys-color-primary-fixed-dim: rgb(162 201 255); - --md-sys-color-on-primary-fixed-variant: rgb(0 72 130); - --md-sys-color-secondary-fixed: rgb(211 228 255); - --md-sys-color-on-secondary-fixed: rgb(0 28 56); - --md-sys-color-secondary-fixed-dim: rgb(169 201 246); - --md-sys-color-on-secondary-fixed-variant: rgb(40 72 111); - --md-sys-color-tertiary-fixed: rgb(225 224 255); - --md-sys-color-on-tertiary-fixed: rgb(20 22 66); - --md-sys-color-tertiary-fixed-dim: rgb(193 194 248); - --md-sys-color-on-tertiary-fixed-variant: rgb(64 67 112); - --md-sys-color-surface-dim: rgb(215 218 227); - --md-sys-color-surface-bright: rgb(248 249 255); - --md-sys-color-surface-container-lowest: rgb(255 255 255); - --md-sys-color-surface-container-low: rgb(241 243 253); - --md-sys-color-surface-container: rgb(235 238 247); - --md-sys-color-surface-container-high: rgb(229 232 241); - --md-sys-color-surface-container-highest: rgb(223 226 235); - /* Tools Color */ - --md-nav-section-color-opacity: 1; - --md-nav-on-section-color-opacity: 1; - --md-nav-section-color-sign: rgba(25, 101, 212, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-sign: rgba(255, 251, 254, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-organize: rgba(120, 130, 255, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-organize: rgba(255, 251, 254, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-convert: rgba(25, 177, 212, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-convert: rgba(255, 251, 254, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-security: rgba(66, 72, 80, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-security: rgba(255, 251, 254, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-other: rgba(72, 189, 84, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-other: rgba(255, 251, 254, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-advance: rgba(68, 183, 139, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-advance: rgba(255, 251, 254, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-image: rgba(212, 172, 25, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-image: rgba(255, 251, 254, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-word: rgba(61, 153, 245, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-word: rgba(255, 251, 254, var(--md-nav-on-section-color-opacity)); - --md-nav-section-color-ppt: rgba(255, 128, 0, var(--md-nav-section-color-opacity)); - --md-nav-on-section-color-ppt: rgba(255, 251, 254, var(--md-nav-on-section-color-opacity)); -} diff --git a/customFiles/static/favicon-16x16.png b/customFiles/static/favicon-16x16.png deleted file mode 100755 index efa5fd157..000000000 --- a/customFiles/static/favicon-16x16.png +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/customFiles/static/favicon.ico b/customFiles/static/favicon.ico deleted file mode 100755 index 87a56d05f..000000000 Binary files a/customFiles/static/favicon.ico and /dev/null differ diff --git a/customFiles/templates/error.html b/customFiles/templates/error.html new file mode 100755 index 000000000..7ba2318ed --- /dev/null +++ b/customFiles/templates/error.html @@ -0,0 +1,30 @@ + + + + + + + +
+
+ +
+
+
+

+

+

+
+

+

If you're still having trouble, don't hesitate to reach out to us for help. You can submit a ticket:

+ + +
+
+
+ +
+ + diff --git a/customFiles/templates/fragments/errorBanner.html b/customFiles/templates/fragments/errorBanner.html new file mode 100755 index 000000000..abed89d3b --- /dev/null +++ b/customFiles/templates/fragments/errorBanner.html @@ -0,0 +1,75 @@ + + +
+ + +
diff --git a/customFiles/templates/fragments/errorBannerPerPage.html b/customFiles/templates/fragments/errorBannerPerPage.html new file mode 100755 index 000000000..28cd4c726 --- /dev/null +++ b/customFiles/templates/fragments/errorBannerPerPage.html @@ -0,0 +1,52 @@ + + + + + + diff --git a/customFiles/templates/fragments/footer.html_backup b/customFiles/templates/fragments/footer.html similarity index 95% rename from customFiles/templates/fragments/footer.html_backup rename to customFiles/templates/fragments/footer.html index 4c2035341..92562cfde 100755 --- a/customFiles/templates/fragments/footer.html_backup +++ b/customFiles/templates/fragments/footer.html @@ -4,6 +4,6 @@ --> -
Licenses
+
License