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

Merge branch 'testing'

This commit is contained in:
Josué Tille 2020-04-23 12:10:12 +02:00
commit 20a09293ff
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
5 changed files with 9 additions and 11 deletions

View file

@ -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
-----------

View file

@ -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

View file

@ -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": {

View file

@ -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

View file

@ -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..."