fix(Invidious) add notifications config option (#13128)

Add enable_user_notifications config option to Invidious

This will allow you to toggle `enable_user_notifications` on or off
(default on) via https://github.com/iv-org/invidious/pull/3473

⚒️ Fixes  #13125

- [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?**
Installed the helm chart locally with no errors

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 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
- [x] ⚠️ My changes generate no new warnings
- [x] 🧪 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

---
This commit is contained in:
tuxsudo 2023-10-01 02:33:42 -04:00 committed by GitHub
parent ea087b3947
commit bf0e3b705c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 1 deletions

View File

@ -21,7 +21,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/invidious
- https://github.com/iv-org/invidious
- https://docs.invidious.io/installation/#docker
version: 6.0.5
version: 6.0.6
annotations:
truecharts.org/catagories: |
- media

View File

@ -219,6 +219,12 @@ questions:
type: string
required: true
default: ""
- variable: enable_user_notifications
label: User Notifications Enabled
description: Enable/Disable user notifications.
schema:
type: boolean
default: true
- variable: background_jobs
label: Background Jobs
schema:

View File

@ -60,6 +60,7 @@ data:
{{- else }}
admins: [""]
{{- end }}
enable_user_notifications: {{ $vUserAcc.enable_user_notifications }}
# Background Jobs
channel_threads: {{ $vBgJobs.channel_threads }}

View File

@ -97,6 +97,7 @@ invidious:
login_enabled: true
captcha_enabled: true
admins: []
enable_user_notifications: true
background_jobs:
channel_threads: 1