diff --git a/README.md b/README.md index 4279992..fb3be7b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ It's a webclient for matrix. For a matrix server you can install synapse on your Yunohost chattroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org) -**Shipped version:** 1.5.12 +**Shipped version:** 1.5.15 Screenshots ----------- diff --git a/conf/app.src b/conf/app.src index deef562..c4286ab 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/vector-im/riot-web/releases/download/v1.5.12/riot-v1.5.12.tar.gz -SOURCE_SUM=6671cb71084e34f5ca1e00ff69879bf38106ace4b0f3677ff3880caa337c9f18 +SOURCE_URL=https://github.com/vector-im/riot-web/releases/download/v1.5.15/riot-v1.5.15.tar.gz +SOURCE_SUM=071a0497690bf7369d6439b15d8c1c95ae5a81c5164ae61b254cd46268a04925 # (Optional) Program to check the integrity (sha256sum, md5sum...) # default: sha256 SOURCE_SUM_PRG=sha256sum diff --git a/manifest.json b/manifest.json index e54c7b5..47554b9 100644 --- a/manifest.json +++ b/manifest.json @@ -3,13 +3,13 @@ "id": "riot", "packaging_format": 1, "requirements": { - "yunohost": ">= 3.5.2.2" + "yunohost": ">= 3.7.0.6" }, "description": { "en": "A web client for matrix", "fr": "Un client web pour matrix" }, - "version": "1.5.12~ynh1", + "version": "1.5.15~ynh1", "url": "https://riot.im", "license": "Apache-2.0", "maintainer": { diff --git a/scripts/install b/scripts/install index 3686ae5..5bb4bb4 100644 --- a/scripts/install +++ b/scripts/install @@ -57,11 +57,9 @@ ynh_script_progression --message="Protecting directory" set_permission ynh_script_progression --message="Configuring permissions" -if [ "$is_public" = "0" ]; -then # Retire l'accès public - ynh_app_setting_delete --app $app --key skipped_uris -else - ynh_app_setting_set --app $app --key unprotected_uris --value "/" +if [ "$is_public" == '1' ]; +then + ynh_permission_update --permission "main" --add "visitors" fi # Recharge la configuration Nginx diff --git a/scripts/upgrade b/scripts/upgrade index e7a586f..28ee8d0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -28,7 +28,7 @@ default_home_server=$(ynh_app_setting_get --app $app --key default_home_server) # Get source and install in source dir ynh_script_progression --message="Upgrading source files..." --weight=6 -ynh_secure_remove --file=$final_path/bundles +ynh_secure_remove --file=$final_path install_source ynh_script_progression --message="Configuring application..."