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

Bump package version

Directly to ~ynh5 because I had a mishap with the version in last commit
This commit is contained in:
tituspijean 2021-06-06 01:44:44 +02:00
commit 79d20ff73e
5 changed files with 30 additions and 49 deletions

View file

@ -1,7 +1,3 @@
---
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
@ -9,30 +5,25 @@ It shall NOT be edited by hand.
# Flarum for YunoHost
[![Integration level](https://dash.yunohost.org/integration/flarum.svg)](https://dash.yunohost.org/appci/app/flarum) ![](https://ci-apps.yunohost.org/ci/badges/flarum.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/flarum.maintain.svg)
[![Install flarum with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=flarum)
[![Integration level](https://dash.yunohost.org/integration/flarum.svg)](https://dash.yunohost.org/appci/app/flarum) ![](https://ci-apps.yunohost.org/ci/badges/flarum.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/flarum.maintain.svg)
[![Install Flarum with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=flarum)
*[Lire ce readme en français.](./README_fr.md)*
> *This package allows you to install flarum quickly and simply on a YunoHost server.
> *This package allows you to install Flarum quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## Overview
Next-generation forum made simple.
**Shipped version:** 0.1.0.16~ynh4
**Shipped version:** 0.1.0.16~ynh5
**Demo:** https://discuss.flarum.org/d/21101-demos-come-to-flarum
## Screenshots
![](./doc/screenshots/beta16.jpg)
![](./doc/screenshots/beta16.jpg)
## Disclaimers / important information
@ -82,14 +73,11 @@ In `/etc/php/*php_version*/fpm/pool.d/*app_id*.conf`, you can uncomment (remove
Reload PHP-FPM with `sudo service php*php_version*-fpm reload`.
## Documentation and resources
* Official app website: https://flarum.org
* Official admin documentation: https://docs.flarum.org
* Upstream app code repository: https://github.com/flarum/flarum
* Upstream app code repository: https://github.com/flarum/flarum
* YunoHost documentation for this app: https://yunohost.org/app_flarum
* Report a bug: https://github.com/YunoHost-Apps/flarum_ynh/issues

View file

@ -1,30 +1,25 @@
# Flarum pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/flarum.svg)](https://dash.yunohost.org/appci/app/flarum) ![](https://ci-apps.yunohost.org/ci/badges/flarum.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/flarum.maintain.svg)
[![Installer flarum avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=flarum)
[![Niveau d'intégration](https://dash.yunohost.org/integration/flarum.svg)](https://dash.yunohost.org/appci/app/flarum) ![](https://ci-apps.yunohost.org/ci/badges/flarum.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/flarum.maintain.svg)
[![Installer Flarum avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=flarum)
*[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)*
> *This package allows you to install flarum quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
> *Ce package vous permet d'installer Flarum rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
## Vue d'ensemble
Un forum de nouvelle génération, simplement.
**Version incluse:** 0.1.0.16~ynh4
**Démo:** https://discuss.flarum.org/d/21101-demos-come-to-flarum
**Version incluse :** 0.1.0.16~ynh5
**Démo :** https://discuss.flarum.org/d/21101-demos-come-to-flarum
## Captures d'écran
![](./doc/screenshots/beta16.jpg)
![](./doc/screenshots/beta16.jpg)
## Avertissements / informations importantes
@ -75,16 +70,13 @@ Dans `/etc/php/*php_version*/fpm/pool.d/*app_id*.conf`, vous pouvez décommenter
Rechargez PHP-FPM avec `sudo service php*php_version*-fpm reload`.
## Documentations et ressources
* Site official de l'app : https://flarum.org
* Documentation officielle de l'admin: https://docs.flarum.org
* Dépôt de code officiel de l'app: https://github.com/flarum/flarum
* Documentation YunoHost pour cette app: https://yunohost.org/app_flarum
* Signaler un bug: https://github.com/YunoHost-Apps/flarum_ynh/issues
* Site officiel de l'app : https://flarum.org
* Documentation officielle de l'admin : https://docs.flarum.org
* Dépôt de code officiel de l'app : https://github.com/flarum/flarum
* Documentation YunoHost pour cette app : https://yunohost.org/app_flarum
* Signaler un bug : https://github.com/YunoHost-Apps/flarum_ynh/issues
## Informations pour les développeurs
@ -93,8 +85,8 @@ Merci de faire vos pull request sur la [branche testing](https://github.com/Yuno
Pour essayer la branche testing, procédez comme suit.
```
sudo yunohost app install https://github.com/YunoHost-Apps/flarum_ynh/tree/testing --debug
or
ou
sudo yunohost app upgrade flarum -u https://github.com/YunoHost-Apps/flarum_ynh/tree/testing --debug
```
**Plus d'infos sur le packaging d'applications:** https://yunohost.org/packaging_apps
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps

View file

@ -7,7 +7,7 @@
"fr": "Un forum de nouvelle génération, simplement.",
"de": "Forum der nächsten Generation leicht gemacht."
},
"version": "1.0.0~ynh4",
"version": "1.0.0~ynh5",
"url": "http://flarum.org/",
"upstream": {
"license": "MIT",

View file

@ -172,15 +172,15 @@ ynh_mysql_connect_as --user=$app --password="$db_pwd" --database=$db_name < ../c
case $language in
fr)
ynh_script_progression --message="Installing French extension..." --weight=2
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require qiaeru/lang-french\"
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require qiaeru/lang-french:1.10\"
activate_flarum_extension $db_name "qiaeru-lang-french"
sql_command="UPDATE \`settings\` SET \`value\` = 'fr' WHERE \`settings\`.\`key\` = 'default_locale'"
ynh_mysql_execute_as_root --sql="$sql_command" --database=$db_name
;;
de)
ynh_script_progression --message="Installing German extension..." --weight=2
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require cbmainz/flarum-de\"
activate_flarum_extension $db_name "cbmainz-de"
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require kakifrucht/flarum-de:0.14.3\"
activate_flarum_extension $db_name "kakifrucht-de"
sql_command="UPDATE \`settings\` SET \`value\` = 'de' WHERE \`settings\`.\`key\` = 'default_locale'"
ynh_mysql_execute_as_root --sql="$sql_command" --database=$db_name
;;

View file

@ -210,19 +210,20 @@ fi
case $language in
fr)
ynh_script_progression --message="Installing French extension..." --weight=2
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require qiaeru/lang-french\"
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require qiaeru/lang-french:1.10\"
activate_flarum_extension $db_name "qiaeru-lang-french"
sql_command="UPDATE \`settings\` SET \`value\` = 'fr' WHERE \`settings\`.\`key\` = 'default_locale'"
ynh_mysql_execute_as_root "$sql_command" $db_name
ynh_mysql_execute_as_root --sql="$sql_command" --database=$db_name
;;
de)
ynh_script_progression --message="Installing German extension..." --weight=2
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require cbmainz/flarum-de\"
activate_flarum_extension $db_name "cbmainz-de"
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require kakifrucht/flarum-de:0.14.3\"
activate_flarum_extension $db_name "kakifrucht-de"
sql_command="UPDATE \`settings\` SET \`value\` = 'de' WHERE \`settings\`.\`key\` = 'default_locale'"
ynh_mysql_execute_as_root "$sql_command" $db_name
ynh_mysql_execute_as_root --sql="$sql_command" --database=$db_name
;;
esac
ynh_print_info "You may need to manually enable your language extension in Flarum's admin panel."
# Clear cache