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' into master

This commit is contained in:
Josué Tille 2020-12-14 15:25:15 +01:00
commit 79f1b4446b
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
5 changed files with 10 additions and 10 deletions

View file

@ -2,7 +2,7 @@ Element For yunohost
================= =================
[![Integration level](https://dash.yunohost.org/integration/element.svg)](https://dash.yunohost.org/appci/app/element) ![](https://ci-apps.yunohost.org/ci/badges/element.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/element.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/element.svg)](https://dash.yunohost.org/appci/app/element) ![](https://ci-apps.yunohost.org/ci/badges/element.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/element.maintain.svg)
[![Install Element with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=element) [![Install Element with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=element)
> *This package allow you to install Element quickly and simply on a YunoHost server. > *This package allow you to install Element quickly and simply on a YunoHost server.
If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.* If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.*
@ -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://app.element.io/#/room/#yunohost:matrix.org](https://app.element.io/#/room/#yunohost:matrix.org) Yunohost chattroom with matrix : [https://app.element.io/#/room/#yunohost:matrix.org](https://app.element.io/#/room/#yunohost:matrix.org)
**Shipped version:** 1.7.14 **Shipped version:** 1.7.15
Screenshots Screenshots
----------- -----------

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/vector-im/element-web/releases/download/v1.7.14/riot-v1.7.14.tar.gz SOURCE_URL=https://github.com/vector-im/element-web/releases/download/v1.7.15/element-v1.7.15.tar.gz
SOURCE_SUM=1288b813617da629de68fb1ed5e5f70514f3af8cabfe22dcd48cd606a20ed3f3 SOURCE_SUM=6528b438b0397723d79f53656649210a65a1ad2af27f28ff3ba531d653b5da7b
# (Optional) Program to check the integrity (sha256sum, md5sum...) # (Optional) Program to check the integrity (sha256sum, md5sum...)
# default: sha256 # default: sha256
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum

View file

@ -9,7 +9,7 @@
"en": "A web client for matrix", "en": "A web client for matrix",
"fr": "Un client web pour matrix" "fr": "Un client web pour matrix"
}, },
"version": "1.7.14~ynh1", "version": "1.7.15~ynh1",
"url": "https://element.im", "url": "https://element.im",
"license": "Apache-2.0", "license": "Apache-2.0",
"maintainer": { "maintainer": {

View file

@ -19,16 +19,16 @@ ynh_abort_if_errors
#================================================= #=================================================
# Retrieve arguments # Retrieve arguments
ynh_script_progression --message="Loading installation settings..." ynh_print_info --message="Loading installation settings..."
domain=$(ynh_app_setting_get --app $app --key domain) domain=$(ynh_app_setting_get --app $app --key domain)
ynh_script_progression --message="Backing configuration..." ynh_print_info --message="Backing configuration..."
# Copy Nginx config # Copy Nginx config
ynh_backup --src_path "/etc/nginx/conf.d/${domain}.d/${app}.conf" ynh_backup --src_path "/etc/nginx/conf.d/${domain}.d/${app}.conf"
# Backup element files # Backup element files
ynh_script_progression --message="Backing up the main app directory..." ynh_print_info --message="Backing up the main app directory..."
ynh_backup --src_path "/var/www/$app" ynh_backup --src_path "/var/www/$app"
ynh_script_progression --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." --last ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)."

View file

@ -18,7 +18,7 @@ ynh_script_progression --message="Validating installation parameters..."
# Retrieve arguments # Retrieve arguments
domain=$YNH_APP_ARG_DOMAIN domain=$YNH_APP_ARG_DOMAIN
path_url=$(ynh_normalize_url_path --path_url $YNH_APP_ARG_PATH) path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
default_home_server=$YNH_APP_ARG_DEFAULT_HOME_SERVER default_home_server=$YNH_APP_ARG_DEFAULT_HOME_SERVER