diff --git a/README.md b/README.md index 839d52c..f21c5ff 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview HumHub is an open source social network platform with a wide variety of use cases as social intranet, community or collaboration platform. HumHub consists of a core application, which can be extended through additional modules and adjusted to your needs by many configuration options. -**Shipped version:** 1.8.1 +**Shipped version:** 1.8.2 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 3f142ab..770ad43 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install ## Vue d'ensemble HumHub est une plate-forme de réseau social open source avec une grande variété de cas d'utilisation en tant qu'intranet social, plate-forme de communauté ou de collaboration. HumHub se compose d'une application principale, qui peut être étendue grâce à des modules supplémentaires et ajustée à vos besoins par de nombreuses options de configuration. -**Version incluse :** 1.8.1 +**Version incluse :** 1.8.2 ## Captures d'écran diff --git a/check_process b/check_process index effc25f..44316c4 100644 --- a/check_process +++ b/check_process @@ -12,7 +12,7 @@ setup_private=1 setup_public=1 upgrade=1 - upgrade=1 from_commit=ecc6afe689c02b2d437f9d81abb66df6f2f911c0 + upgrade=1 from_commit=6b47f5e5d81ac3239709d581b25a2fa331226843 backup_restore=1 multi_instance=1 port_already_use=0 @@ -21,7 +21,7 @@ Email= Notification=none ;;; Upgrade options - ; commit=ecc6afe689c02b2d437f9d81abb66df6f2f911c0 + ; commit=6b47f5e5d81ac3239709d581b25a2fa331226843 name=Name and date of the commit. manifest_arg=domain=DOMAIN&path=PATH&admin=USER&is_public=1& diff --git a/conf/app.src b/conf/app.src index 3a57f14..b0020f8 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,9 +1,9 @@ -SOURCE_URL=https://www.humhub.com/download/package/humhub-1.8.1.tar.gz -SOURCE_SUM=2eca1561506bfa06f8e36358659a0ec0f72497547d949d2232a85dc788ad4758 +SOURCE_URL=https://www.humhub.com/download/package/humhub-1.8.2.tar.gz +SOURCE_SUM=181d9c4519f4612949fd67e84f61ead618b200bc813fd179603c7b32f4a6e3b9 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=humhub-1.8.1.tar.gz +SOURCE_FILENAME=humhub-1.8.2.tar.gz SOURCE_EXTRACT=true diff --git a/manifest.json b/manifest.json index 33ced7e..3e87e43 100644 --- a/manifest.json +++ b/manifest.json @@ -12,7 +12,7 @@ "name": "Nils Van Zuijlen", "url": "https://github.com/nils-van-zuijlen" }, - "version": "1.8.1~ynh2", + "version": "1.8.2~ynh1", "requirements": { "yunohost": ">= 4.1.7" }, diff --git a/scripts/upgrade b/scripts/upgrade index 2dde7ab..f29f28d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -112,6 +112,17 @@ ynh_add_fpm_config #================================================= # SPECIFIC UPGRADE +#================================================= +# DEACTIVATE DEBUG MODE +#================================================= + +ynh_replace_string --match_string="defined('YII_DEBUG') or define('YII_DEBUG', true);"\ + --replace_string="// defined('YII_DEBUG') or define('YII_DEBUG', true);"\ + --target_file="$final_path/index.php" +ynh_replace_string --match_string="defined('YII_ENV') or define('YII_ENV', 'dev');"\ + --replace_string="// defined('YII_ENV') or define('YII_ENV', 'dev');"\ + --target_file="$final_path/index.php" + #================================================= # MIGRATE DATABASE #================================================= diff --git a/sources/version b/sources/version deleted file mode 100644 index a8fdfda..0000000 --- a/sources/version +++ /dev/null @@ -1 +0,0 @@ -1.8.1