[skip ci] Update server settings for Authentication modes (#984)

* Update GQL interface

* Update queried server settings

* package.json: Fix GQL script

* Basic AuthMode setting

* Setting disable, disclaimer on login page

* Update gql generated files

* Alphabetical sort en.json

* Fix constants name typos

* Move settings types and constants to corresponding files

* Rename setting constants

* Update required server version

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
This commit is contained in:
Constantin Piber
2025-07-12 01:08:40 +02:00
committed by GitHub
parent cdee6f4efa
commit 0d288afe74
14 changed files with 338 additions and 204 deletions

View File

@@ -1284,11 +1284,33 @@
}
},
"auth": {
"basic": {
"label": {
"enable": "Use basic authentication",
"password": "Basic authentication $t(global.label.password, lowercase)",
"username": "Basic authentication $t(global.label.username, lowercase)"
"label": {
"password": "$t(global.label.password)",
"title": "Authentication Mode",
"username": "$t(global.label.username)"
},
"mode": {
"option": {
"basicAuth": {
"label": {
"description": "Your browser will prompt you to enter credentials with a dialog.",
"title": "Basic Authentication"
}
},
"none": {
"label": {
"description": "Disable authentication",
"info": "Your library will be accessible. Use this only on private networks or when otherwise securing access.",
"title": "None"
}
},
"simpleLogin": {
"label": {
"description": "A simple login page will be presented to login.",
"info": "When you enable this, you may need to refresh this tab for the login page to appear.",
"title": "Simple Login"
}
}
}
},
"title": "Authentication"