diff --git a/README.md b/README.md index 969dfff7..838655e8 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in [Hubzilla](https://hub.libranet.de/directory?f=&global=1&pubforums=1) is a social networking platform built with control of your privacy at center stage. Your online communications can be as public as you wish or as private as you require. Private conversations, private photos, private videos. Your media isn't hidden behind an obscure URL which can be guessed, it is protected by state-of-the-art cross-domain authentication. What this all means for you: **less drama**. -**Shipped version:** 7.8.3~ynh1 +**Shipped version:** 7.8.7~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 7df8e7ed..2965d244 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour [Hubzilla](https://hub.libranet.de/directory?f=&global=1&pubforums=1) est une plate-forme de réseau social conçue avec le contrôle de votre vie privée au centre de la scène. Vos communications en ligne peuvent être aussi publiques que vous le souhaitez ou aussi privées que vous le souhaitez. Conversations privées, photos privées, vidéos privées. Votre média n'est pas caché derrière une URL obscure qui peut être devinée, il est protégé par une authentification interdomaine de pointe. Qu'est-ce que tout cela signifie pour vous : **moins de drames**. -**Version incluse :** 7.8.3~ynh1 +**Version incluse :** 7.8.7~ynh1 ## Captures d'écran diff --git a/conf/app.src b/conf/app.src index bb763b18..32edabc1 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://framagit.org/hubzilla/core/-/archive/7.8.3/core-7.8.3.tar.gz -SOURCE_SUM=ca128109b1f205b280b9eab71cfa9b511bced6c15adea80fa28d3a2a1c401d14 +SOURCE_URL=https://framagit.org/hubzilla/core/-/archive/7.8.7/core-7.8.7.tar.gz +SOURCE_SUM=68d54a52a967d0fa4000f31c13fd1dace252347fbedbd43be3352b586291af2c SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/app_addons.src b/conf/app_addons.src index d21c58ff..35d02832 100644 --- a/conf/app_addons.src +++ b/conf/app_addons.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://framagit.org/hubzilla/addons/-/archive/7.8.3/addons-7.8.3.tar.gz -SOURCE_SUM=e132086c9db1c71df25656808417305586f6b96fc8f13d02f8502c6409e3bc09 +SOURCE_URL=https://framagit.org/hubzilla/addons/-/archive/7.8.7/addons-7.8.7.tar.gz +SOURCE_SUM=f6a0f688357edd158dfb2b1461083fc5d062c9532fedb3dd6b519f7a914b6705 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index c5f333c8..c228ed90 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Decentralized publication platform and social network.", "fr": "Plateforme de publication décentralisée et un réseau social." }, - "version": "7.8.3~ynh1", + "version": "7.8.7~ynh1", "url": "https://zotlabs.org/page/hubzilla/hubzilla-project", "upstream": { "license": "MIT", diff --git a/scripts/install b/scripts/install index 2e60fd96..a7e7a9f7 100755 --- a/scripts/install +++ b/scripts/install @@ -95,6 +95,10 @@ ynh_app_setting_set --app=$app --key=db_name --value=$db_name if [ $database = "mysql" ]; then ynh_script_progression --message="Creating a MySQL database..." --weight=1 ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name + + ynh_mysql_connect_as --user=$db_user --password="$db_pwd" --database=$db_name \ + <<< "ALTER DATABASE $db_name CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;" + db_type=0 elif [ $database = "postgresql" ]; then ynh_script_progression --message="Creating a PostgreSQL database..." --weight=1 diff --git a/scripts/upgrade b/scripts/upgrade index 596b7566..d086ee34 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -171,6 +171,9 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1 if [ $database = "mysql" ]; then db_type=0 db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) + # Change your databases character set and collation + ynh_mysql_connect_as --user=$db_user --password="$db_pwd" --database=$db_name \ + <<< "ALTER DATABASE $db_name CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;" elif [ $database = "postgresql" ]; then db_type=1 db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)