1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00

Merge pull request #116 from YunoHost-Apps/testing

Testing
This commit is contained in:
yalh76 2022-06-16 15:10:54 +02:00 committed by GitHub
commit 00a60d0dd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 4 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Discourse is modern forum software for your community. Use it as a mailing list, discussion forum, long-form chat room, and more!
**Shipped version:** 2.7.13~ynh3
**Shipped version:** 2.7.13~ynh4
**Demo:** https://try.discourse.org

View file

@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Discourse est un logiciel de forum moderne pour votre communauté. Utilisez-le comme liste de diffusion, forum de discussion, salle de discussion longue durée, et plus encore !
**Version incluse :** 2.7.13~ynh3
**Version incluse :** 2.7.13~ynh4
**Démo :** https://try.discourse.org

View file

@ -193,7 +193,7 @@ connection_reaper_interval = 30
# set to relative URL (for subdirectory hosting)
# IMPORTANT: path must not include a trailing /
# EG: /forum
relative_url_root = "__PATH__"
relative_url_root = "__RELATIVE_URL_ROOT__"
# increasing this number will increase redis memory use
# this ensures backlog (ability of channels to catch up are capped)

View file

@ -6,7 +6,7 @@
"en": "Discussion platform",
"fr": "Plateforme de discussion"
},
"version": "2.7.13~ynh3",
"version": "2.7.13~ynh4",
"url": "http://Discourse.org",
"upstream": {
"license": "GPL-2.0",

View file

@ -140,6 +140,7 @@ ynh_script_progression --message="Adding a configuration file..."
admin_mail=$(ynh_user_get_info --username=$admin --key=mail)
redis_db=$(ynh_redis_get_free_db)
ynh_app_setting_set --app="$app" --key=redis_db --value="$redis_db"
relative_url_root=${path_url%/}
ynh_add_config --template="../conf/discourse_defaults.conf" --destination="$final_path/config/discourse.conf"

View file

@ -206,6 +206,7 @@ then
ynh_script_progression --message="Updating a config file..."
admin_mail=$(ynh_user_get_info --username=$admin --key=mail)
relative_url_root=${path_url%/}
ynh_add_config --template="../conf/discourse_defaults.conf" --destination="$final_path/config/discourse.conf"
ynh_add_config --template="../conf/settings.yml" --destination="$final_path/plugins/discourse-ldap-auth/config/settings.yml"