diff --git a/ALL_README.md b/ALL_README.md index a01b345..152f2e7 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,7 @@ # All available README files by language - [Read the README in English](README.md) +- [Lea el README en español](README_es.md) - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) diff --git a/README.md b/README.md index 50523fa..4d60482 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Group calls with WebRTC that leverage Matrix and an open-source WebRTC toolkit from LiveKit. -**Shipped version:** 0.5.16~ynh1 +**Shipped version:** 0.5.16~ynh2 **Demo:** diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..0bbf795 --- /dev/null +++ b/README_es.md @@ -0,0 +1,49 @@ + + +# Element-Call para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/element-call.svg)](https://dash.yunohost.org/appci/app/element-call) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/element-call.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/element-call.maintain.svg) + +[![Instalar Element-Call con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=element-call) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarElement-Call rapidamente y simplement en un servidor YunoHost.* +> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.* + +## Descripción general + +Group calls with WebRTC that leverage Matrix and an open-source WebRTC toolkit from LiveKit. + + +**Versión actual:** 0.5.16~ynh2 + +**Demo:** + +## Capturas + +![Captura de Element-Call](./doc/screenshots/screenshot.jpg) + +## Documentaciones y recursos + +- Sitio web oficial: +- Repositorio del código fuente oficial de la aplicación : +- Catálogo YunoHost: +- Reportar un error: + +## Información para desarrolladores + +Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/element-call_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/element-call_ynh/tree/testing --debug +o +sudo yunohost app upgrade element-call -u https://github.com/YunoHost-Apps/element-call_ynh/tree/testing --debug +``` + +**Mas informaciones sobre el empaquetado de aplicaciones:** diff --git a/README_eu.md b/README_eu.md index 5ada70e..00c9b05 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Group calls with WebRTC that leverage Matrix and an open-source WebRTC toolkit from LiveKit. -**Paketatutako bertsioa:** 0.5.16~ynh1 +**Paketatutako bertsioa:** 0.5.16~ynh2 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 3f1b3df..0bb17c1 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main. Appels de groupe avec WebRTC qui exploitent Matrix et une boîte à outils WebRTC open source de LiveKit. -**Version incluse :** 0.5.16~ynh1 +**Version incluse :** 0.5.16~ynh2 **Démo :** diff --git a/README_gl.md b/README_gl.md index bb60bd1..fc483f9 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Group calls with WebRTC that leverage Matrix and an open-source WebRTC toolkit from LiveKit. -**Versión proporcionada:** 0.5.16~ynh1 +**Versión proporcionada:** 0.5.16~ynh2 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 13b7c07..502b935 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -3,7 +3,7 @@ 请勿手动编辑。 --> -# YunoHost 的 Element-Call +# YunoHost 上的 Element-Call [![集成程度](https://dash.yunohost.org/integration/element-call.svg)](https://dash.yunohost.org/appci/app/element-call) ![工作状态](https://ci-apps.yunohost.org/ci/badges/element-call.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/element-call.maintain.svg) @@ -19,7 +19,7 @@ Group calls with WebRTC that leverage Matrix and an open-source WebRTC toolkit from LiveKit. -**分发版本:** 0.5.16~ynh1 +**分发版本:** 0.5.16~ynh2 **演示:** diff --git a/doc/PRE_INSTALL.md b/doc/PRE_INSTALL.md new file mode 100644 index 0000000..73e8118 --- /dev/null +++ b/doc/PRE_INSTALL.md @@ -0,0 +1,6 @@ +Element Call requires a homeserver with registration enabled without any 3pid +or token requirements, if you want it to be used by unregistered users. + +Furthermore, it is not recommended to use it with an existing homeserver where +user accounts have joined normal rooms, as it may not be able to handle those +yet and it may behave unreliably. diff --git a/manifest.toml b/manifest.toml index 7426772..6dad673 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Element-Call" description.en = "Group calls powered by Matrix" description.fr = "Appels de groupe alimentés par Matrix" -version = "0.5.16~ynh1" +version = "0.5.16~ynh2" maintainers = [] diff --git a/scripts/install b/scripts/install index f6d0c9f..2006943 100755 --- a/scripts/install +++ b/scripts/install @@ -45,7 +45,7 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_add_config --template="config.json" --destination="$install_dir/public/config.json" -chmod 400 "$install_dir/public/config.json" +chmod 750 "$install_dir/public/config.json" chown $app:$app "$install_dir/public/config.json" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 5bf2403..0d39cc2 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,8 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # STOP SYSTEMD SERVICE #================================================= @@ -23,13 +21,9 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." --weight=1 -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." --weight=1 - - ynh_setup_source --dest_dir="$install_dir" --keep="public/config.json" -fi +ynh_setup_source --dest_dir="$install_dir" --keep="public/config.json" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"