mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Testing (#122)
* restart config panel * Update manifest.toml * Standard (#119) * fix * Update manifest.toml * Update manifest.toml * Update POST_INSTALL.md * Update POST_INSTALL_fr.md * fix * Update manifest.toml * Auto-update README * Update tests.toml * Update tests.toml * remove standard * Update manifest.toml * Auto-update README * Update tests.toml --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
parent
68a5d52263
commit
6dd9ba2f6a
8 changed files with 4 additions and 40 deletions
|
@ -29,7 +29,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out
|
|||
- Diagrams.net Integration
|
||||
|
||||
|
||||
**Shipped version:** 23.05.2~ynh2
|
||||
**Shipped version:** 23.05.2~ynh3
|
||||
|
||||
**Demo:** https://demo.bookstackapp.com
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ BookStack est un système wiki simple prête à l'emploi. Les nouveaux utilisate
|
|||
- Multilingue
|
||||
|
||||
|
||||
**Version incluse :** 23.05.2~ynh2
|
||||
**Version incluse :** 23.05.2~ynh3
|
||||
|
||||
**Démo :** https://demo.bookstackapp.com
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ MAIL_PASSWORD=null
|
|||
MAIL_ENCRYPTION=null
|
||||
|
||||
# General auth
|
||||
AUTH_METHOD=__AUTH_METHOD__
|
||||
AUTH_METHOD=ldap
|
||||
|
||||
# LDAP authentication configuration
|
||||
# Refer to https://www.bookstackapp.com/docs/admin/ldap-auth/
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
BookStack uses LDAP authentication by default.
|
||||
|
||||
If you choose Standard as authentication, for the first time Login with standard authentication, use the default credentials `admin@admin.com` and `password`. You should change these details immediately after logging in for the first time.
|
|
@ -1,3 +0,0 @@
|
|||
BookStack utilise l'authentification LDAP par défaut.
|
||||
|
||||
Si vous avez choisi la méthode standard d'authentification, pour la première connexion avec une authentification standard, utilisez les informations d'identification par défaut `admin@admin.com` et `password`. Vous devez modifier ces informations immédiatement après vous être connecté pour la première fois.
|
|
@ -5,7 +5,7 @@ name = "BookStack"
|
|||
description.en = "Platform to create documentation/wiki content"
|
||||
description.fr = "Plateforme pour créer du contenu de documentation/wiki"
|
||||
|
||||
version = "23.05.2~ynh2"
|
||||
version = "23.05.2~ynh3"
|
||||
|
||||
maintainers = ["eric_G"]
|
||||
|
||||
|
@ -38,13 +38,6 @@ ram.runtime = "50M"
|
|||
[install.admin]
|
||||
type = "user"
|
||||
|
||||
[install.auth_method]
|
||||
ask.en = "Choose an authentication method"
|
||||
ask.fr = "Choisissez une méthode d'authentification"
|
||||
type = "string"
|
||||
choices = ["standard", "ldap"]
|
||||
default = "ldap"
|
||||
|
||||
[install.language]
|
||||
ask.en = "Choose the application language"
|
||||
ask.fr = "Choisissez la langue de l'application"
|
||||
|
|
|
@ -38,12 +38,6 @@ if [ -z "${fpm_usage:-}" ]; then
|
|||
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
|
||||
fi
|
||||
|
||||
# If auth_method doesn't exist, create it
|
||||
if [ -z "${auth_method:-}" ]; then
|
||||
auth_method="standard"
|
||||
ynh_app_setting_set --app=$app --key=auth_method --value=$auth_method
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
|
17
tests.toml
17
tests.toml
|
@ -6,22 +6,5 @@ test_format = 1.0
|
|||
# Default args to use for install
|
||||
# -------------------------------
|
||||
|
||||
args.auth_method = "ldap"
|
||||
|
||||
# -------------------------------
|
||||
# Default args to use for install
|
||||
# -------------------------------
|
||||
|
||||
exclude = ["install.nourl"]
|
||||
|
||||
# -------------------------------
|
||||
# Commits to test upgrade from
|
||||
# -------------------------------
|
||||
|
||||
test_upgrade_from.d653976.name = "Upgrade from 23.01"
|
||||
|
||||
[standard_auth_method]
|
||||
|
||||
only = ["install.subdir", "backup_restore", "upgrade"]
|
||||
|
||||
args.auth_method = "standard"
|
||||
|
|
Loading…
Reference in a new issue