1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00

Merge pull request #212 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2024-05-13 07:02:02 +02:00 committed by GitHub
commit d01d935657
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 75 additions and 27 deletions

View file

@ -1,6 +1,7 @@
# All available README files by language
- [Read the README in English](README.md)
- [Lee 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)

View file

@ -26,7 +26,7 @@ Rocket.Chat is an open-source fully customizable communications platform develop
- Mobile Apps for [iOS](https://apps.apple.com/app/rocket-chat/id1148741252) and [Android](https://play.google.com/store/apps/details?id=chat.rocket.android)
- Desktop Apps for [macOS](https://apps.apple.com/br/app/rocket-chat/id1086818840), [Linux](https://snapcraft.io/rocketchat-desktop) and [Windows](https://releases.rocket.chat/desktop/latest/download)
**Shipped version:** 6.7.2~ynh1
**Shipped version:** 6.8.0~ynh1
**Demo:** <https://cloud.rocket.chat/trial>

62
README_es.md Normal file
View file

@ -0,0 +1,62 @@
<!--
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
No se debe editar a mano.
-->
# Rocket.Chat para Yunohost
[![Nivel de integración](https://dash.yunohost.org/integration/rocketchat.svg)](https://dash.yunohost.org/appci/app/rocketchat) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/rocketchat.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/rocketchat.maintain.svg)
[![Instalar Rocket.Chat con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=rocketchat)
*[Leer este README en otros idiomas.](./ALL_README.md)*
> *Este paquete le permite instalarRocket.Chat 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
Rocket.Chat is an open-source fully customizable communications platform developed in JavaScript for organizations with high standards of data protection.
### Features
- End to End Encryption
- Multifactor Authentication
- Customizable User Permission
- Mobile Apps for [iOS](https://apps.apple.com/app/rocket-chat/id1148741252) and [Android](https://play.google.com/store/apps/details?id=chat.rocket.android)
- Desktop Apps for [macOS](https://apps.apple.com/br/app/rocket-chat/id1086818840), [Linux](https://snapcraft.io/rocketchat-desktop) and [Windows](https://releases.rocket.chat/desktop/latest/download)
**Versión actual:** 6.8.0~ynh1
**Demo:** <https://cloud.rocket.chat/trial>
## Capturas
![Captura de Rocket.Chat](./doc/screenshots/screenshot.jpg)
## :red_circle: funcionalidades no deseadas
- **Not totally free upstream**: The packaged app is under an overall free license, but with clauses that may restrict its use.
## Documentaciones y recursos
- Sitio web oficial: <https://rocket.chat/>
- Documentación usuario oficial: <https://docs.rocket.chat/guides/user-guides>
- Documentación administrador oficial: <https://docs.rocket.chat/>
- Repositorio del código fuente oficial de la aplicación : <https://github.com/RocketChat/Rocket.Chat>
- Catálogo YunoHost: <https://apps.yunohost.org/app/rocketchat>
- Reportar un error: <https://github.com/YunoHost-Apps/rocketchat_ynh/issues>
## Información para desarrolladores
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/rocketchat_ynh/tree/testing
Para probar la rama `testing`, sigue asÍ:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/rocketchat_ynh/tree/testing --debug
o
sudo yunohost app upgrade rocketchat -u https://github.com/YunoHost-Apps/rocketchat_ynh/tree/testing --debug
```
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>

View file

@ -26,7 +26,7 @@ Rocket.Chat is an open-source fully customizable communications platform develop
- Mobile Apps for [iOS](https://apps.apple.com/app/rocket-chat/id1148741252) and [Android](https://play.google.com/store/apps/details?id=chat.rocket.android)
- Desktop Apps for [macOS](https://apps.apple.com/br/app/rocket-chat/id1086818840), [Linux](https://snapcraft.io/rocketchat-desktop) and [Windows](https://releases.rocket.chat/desktop/latest/download)
**Paketatutako bertsioa:** 6.7.2~ynh1
**Paketatutako bertsioa:** 6.8.0~ynh1
**Demoa:** <https://cloud.rocket.chat/trial>

View file

@ -26,7 +26,7 @@ Rocket.Chat est une plate-forme de communication open source entièrement person
- Applications mobiles pour [iOS](https://apps.apple.com/app/rocket-chat/id1148741252) et [Android](https://play.google.com/store/apps/details?id=chat.rocket.android)
- Applications de bureau pour [macOS](https://apps.apple.com/br/app/rocket-chat/id1086818840), [Linux](https://snapcraft.io/rocketchat-desktop) et [Windows](https://releases.rocket.chat/desktop/latest/download)
**Version incluse:** 6.7.2~ynh1
**Version incluse:** 6.8.0~ynh1
**Démo:** <https://cloud.rocket.chat/trial>

View file

@ -26,7 +26,7 @@ Rocket.Chat is an open-source fully customizable communications platform develop
- Mobile Apps for [iOS](https://apps.apple.com/app/rocket-chat/id1148741252) and [Android](https://play.google.com/store/apps/details?id=chat.rocket.android)
- Desktop Apps for [macOS](https://apps.apple.com/br/app/rocket-chat/id1086818840), [Linux](https://snapcraft.io/rocketchat-desktop) and [Windows](https://releases.rocket.chat/desktop/latest/download)
**Versión proporcionada:** 6.7.2~ynh1
**Versión proporcionada:** 6.8.0~ynh1
**Demo:** <https://cloud.rocket.chat/trial>

View file

@ -26,7 +26,7 @@ Rocket.Chat is an open-source fully customizable communications platform develop
- Mobile Apps for [iOS](https://apps.apple.com/app/rocket-chat/id1148741252) and [Android](https://play.google.com/store/apps/details?id=chat.rocket.android)
- Desktop Apps for [macOS](https://apps.apple.com/br/app/rocket-chat/id1086818840), [Linux](https://snapcraft.io/rocketchat-desktop) and [Windows](https://releases.rocket.chat/desktop/latest/download)
**分发版本:** 6.7.2~ynh1
**分发版本:** 6.8.0~ynh1
**演示:** <https://cloud.rocket.chat/trial>

View file

@ -5,7 +5,7 @@ name = "Rocket.Chat"
description.en = "Team collaboration communication platform"
description.fr = "Plateforme de communication collaborative en équipe"
version = "6.7.2~ynh1"
version = "6.8.0~ynh1"
maintainers = ["eric_G"]
@ -50,8 +50,8 @@ ram.runtime = "50M"
[resources.sources]
[resources.sources.main]
url = "https://releases.rocket.chat/6.7.2/download"
sha256 = "d62431f144d23195ebf839e9e875e4120ffdbda8253d181baf51111fcb0f098b"
url = "https://releases.rocket.chat/6.8.0/download"
sha256 = "9c306d586191a630c76ce981254a1a68d1d14bb4ce3656a321d93c71d94f2944"
in_subdir = true
extract = true
rename = "rocket.chat.tgz"

View file

@ -22,23 +22,13 @@ ynh_print_info --message="Declaring files to be backed up..."
ynh_backup --src_path="$install_dir"
#=================================================
# BACKUP THE NGINX CONFIGURATION
# SYSTEM CONFIGURATION
#=================================================
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# SPECIFIC BACKUP
#=================================================
# BACKUP LOGROTATE
#=================================================
ynh_backup --src_path="/etc/logrotate.d/$app"
#=================================================
# BACKUP SYSTEMD
#=================================================
ynh_backup --src_path="/etc/systemd/system/$app.service"
#=================================================

View file

@ -48,15 +48,10 @@ fi
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_script_progression --message="Upgrading source files..." --weight=22
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=22
# Remove the app directory securely
ynh_secure_remove --file="$install_dir"
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir"
fi
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --full_replace=1
chmod -R o-rwx "$install_dir"
chown -R $app:$app "$install_dir"