1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00
* 22.02.2
This commit is contained in:
Éric Gaspar 2022-03-02 08:28:16 +01:00 committed by GitHub
parent 3eee0c2888
commit ffa54f55cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 38 additions and 14 deletions

View file

@ -18,6 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
BookStack is an opinionated wiki system that provides a pleasant and simple out of the box experience. New users to an instance should find the experience intuitive and only basic word-processing skills should be required to get involved in creating content on BookStack. The platform should provide advanced power features to those that desire it but they should not interfere with the core simple user experience.
### Features
- Multi-Factor Authentication
- Dark & Light Modes
- LDAP Authentication
@ -25,7 +26,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out
- Multi-Lingual
**Shipped version:** 22.02.1~ynh1
**Shipped version:** 22.02.2~ynh1
**Demo:** https://demo.bookstackapp.com

View file

@ -14,6 +14,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
BookStack is an opinionated wiki system that provides a pleasant and simple out of the box experience. New users to an instance should find the experience intuitive and only basic word-processing skills should be required to get involved in creating content on BookStack. The platform should provide advanced power features to those that desire it but they should not interfere with the core simple user experience.
### Features
- Multi-Factor Authentication
- Dark & Light Modes
- LDAP Authentication
@ -21,7 +22,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out
- Multi-Lingual
**Version incluse :** 22.02.1~ynh1
**Version incluse :** 22.02.2~ynh1
**Démo :** https://demo.bookstackapp.com
@ -31,7 +32,12 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out
## Avertissements / informations importantes
## Configuration
BookStack utilise l'authentification LDAP par défaut.
Vous pouvez passer à l'authentification standard dans le webadmin -> Bookstack -> paramètre du panneau de configuration
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.
## Documentations et ressources

View file

@ -6,6 +6,10 @@
# NOTE: If any of your values contain a space or a hash you will need to
# wrap the entire value in quotes. (eg. MAIL_FROM_NAME="BookStack Mailer")
# Application environment
# Can be 'production', 'development', 'testing' or 'demo'
APP_ENV=production
# Enable debug mode
# Shows advanced debug information and errors.
# CAN EXPOSE OTHER VARIABLES, LEAVE DISABLED
@ -82,5 +86,3 @@ STORAGE_TYPE=local
# Can be 'list' or 'grid'
APP_VIEWS_BOOKS=list
APP_VIEWS_BOOKSHELVES=grid

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/BookStackApp/BookStack/archive/refs/tags/v22.02.1.tar.gz
SOURCE_SUM=af2e816a3b78058f97de167c36560f2d3fa7cb4c680221a0f9d0a0b7a39fcd52
SOURCE_URL=https://github.com/BookStackApp/BookStack/archive/refs/tags/v22.02.2.tar.gz
SOURCE_SUM=7b7345c342bf665a2277ebaa9deead56010660606246d7b0b2d15119dcedf05f
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -1,6 +1,7 @@
BookStack is an opinionated wiki system that provides a pleasant and simple out of the box experience. New users to an instance should find the experience intuitive and only basic word-processing skills should be required to get involved in creating content on BookStack. The platform should provide advanced power features to those that desire it but they should not interfere with the core simple user experience.
### Features
- Multi-Factor Authentication
- Dark & Light Modes
- LDAP Authentication

9
doc/DESCRIPTION_fr.md Normal file
View file

@ -0,0 +1,9 @@
BookStack is an opinionated wiki system that provides a pleasant and simple out of the box experience. New users to an instance should find the experience intuitive and only basic word-processing skills should be required to get involved in creating content on BookStack. The platform should provide advanced power features to those that desire it but they should not interfere with the core simple user experience.
### Features
- Multi-Factor Authentication
- Dark & Light Modes
- LDAP Authentication
- Optional Markdown Editor
- Multi-Lingual

View file

@ -1 +1,6 @@
## Configuration
BookStack utilise l'authentification LDAP par défaut.
Vous pouvez passer à l'authentification standard dans le webadmin -> Bookstack -> paramètre du panneau de configuration
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.

View file

@ -6,7 +6,7 @@
"en": "Platform to create documentation/wiki content",
"fr": "Plateforme pour créer du contenu de documentation/wiki"
},
"version": "22.02.1~ynh1",
"version": "22.02.2~ynh1",
"url": "https://www.bookstackapp.com/",
"upstream": {
"license": "MIT",

View file

@ -8,7 +8,7 @@ YNH_PHP_VERSION="8.0"
pkg_dependencies="php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-tidy php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd"
YNH_COMPOSER_VERSION=2.1.1
YNH_COMPOSER_VERSION=2.2.7
#=================================================
# PERSONAL HELPERS

View file

@ -99,14 +99,13 @@ fi
#=================================================
ynh_script_progression --message="Reconfiguring congif file.." --weight=1
new_app_url_domain="https://${new_domain}${new_path%/}"
old_app_url_domain="https://${old_domain}${old_path%/}"
pushd $final_path
yes | php$phpversion artisan bookstack:update-url $old_app_url_domain $new_app_url_domain
yes | php$phpversion artisan bookstack:update-url $old_app_url_domain https://${new_domain}${new_path}
popd
sed -i "/APP_URL=/c\APP_URL=$new_app_url_domain" $final_path/.env
sed -i "/APP_URL=/c\APP_URL=https://${new_domain}${new_path}" $final_path/.env
#=================================================
# RELOAD NGINX

View file

@ -114,7 +114,7 @@ ynh_add_fpm_config --usage=low --footprint=low
ynh_script_progression --message="Installing BookStack with Composer..." --weight=5
# Install composer
ynh_install_composer --phpversion=$phpversion --workdir=$final_path --install_args="--no-dev"
ynh_install_composer
#=================================================
# MODIFY A CONFIG FILE

View file

@ -27,6 +27,7 @@ phpversion=$YNH_PHP_VERSION
timezone="$(cat /etc/timezone)"
redis_db=$(ynh_app_setting_get --app=$app --key=redis_db)
mail_pwd=$(ynh_string_random --length=12)
timezone="$(cat /etc/timezone)"
fpm_footprint=$(ynh_app_setting_get --app=$app --key=fpm_footprint)
fpm_usage=$(ynh_app_setting_get --app=$app --key=fpm_usage)
@ -123,7 +124,7 @@ ynh_install_app_dependencies $pkg_dependencies
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_footprint
#=================================================
# INSTALL LYCHEE WITH COMPOSER
@ -131,7 +132,7 @@ ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
ynh_script_progression --message="Installing BookStack with Composer..." --weight=5
# Install composer
ynh_install_composer --phpversion=$phpversion --workdir=$final_path --install_args="--no-dev"
ynh_install_composer
#=================================================
# MODIFY A CONFIG FILE