feat(Paperless-Ngx): Add additional OCR options (#10994)

**Description**

Added additional fields for OCR languages as we have an outstanding
issue for it

⚒️ Fixes  #7582 

**⚙️ Type of change**

- [X] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
StevenMcElligott 2023-07-29 12:30:38 -04:00 committed by GitHub
parent 9d73df353d
commit 290882c28f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 1 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: paperless-ngx
version: 1.0.32
version: 1.1.0
appVersion: "1.16.5"
description: Paperless-ngx is an application by Daniel Quinn and contributors that indexes your scanned documents.
type: application

View File

@ -49,6 +49,18 @@ questions:
type: int
required: true
default: 2
- variable: PAPERLESS_OCR_LANGUAGES
label: "Additional Paperless OCR Languages"
description: "Additional OCR languages to install. By default, paperless comes with English, German, Italian, Spanish and French. If your language is not in this list, install additional languages with this configuration option. Use LangCodes for the additional languages in a SPACED list."
schema:
type: string
default: ""
- variable: PAPERLESS_OCR_LANGUAGE
label: "Additional Language Selector"
description: "If additional languages are selected above, you can set the default language used with OCR using LangCodes below, default is none"
schema:
type: string
default: ""
# Include{containerBasic}
# Include{containerAdvanced}

View File

@ -95,3 +95,5 @@ workload:
PAPERLESS_ADMIN_USER: "admin"
PAPERLESS_ADMIN_PASSWORD: "admin"
PAPERLESS_ADMIN_MAIL: "admin@admin.com"
PAPERLESS_OCR_LANGUAGE: ""
PAPERLESS_OCR_LANGUAGES: ""