Skip to content

Commit

Permalink
Merge pull request #26 from YunoHost-Apps/testing
Browse files Browse the repository at this point in the history
Testing
  • Loading branch information
ericgaspar authored May 25, 2024
2 parents 7bcbac0 + 86cfc14 commit 7a9abaa
Show file tree
Hide file tree
Showing 10 changed files with 98 additions and 15 deletions.
1 change: 1 addition & 0 deletions ALL_README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ It shall NOT be edited by hand.

SimpleX - the first messaging platform operating without user identifiers of any kind - 100% private by design! iOS and Android apps are released.

**Shipped version:** 5.7.1~ynh1
**Shipped version:** 5.7.5~ynh1

## Screenshots

Expand Down
47 changes: 47 additions & 0 deletions README_es.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!--
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
No se debe editar a mano.
-->

# SimpleX para Yunohost

[![Nivel de integración](https://dash.yunohost.org/integration/simplex.svg)](https://dash.yunohost.org/appci/app/simplex) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/simplex.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/simplex.maintain.svg)

[![Instalar SimpleX con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=simplex)

*[Leer este README en otros idiomas.](./ALL_README.md)*

> *Este paquete le permite instalarSimpleX 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

SimpleX - the first messaging platform operating without user identifiers of any kind - 100% private by design! iOS and Android apps are released.

**Versión actual:** 5.7.5~ynh1

## Capturas

![Captura de SimpleX](./doc/screenshots/conversation.png)

## Documentaciones y recursos

- Sitio web oficial: <https://simplex.chat/>
- Documentación administrador oficial: <https://github.com/simplex-chat/simplex-chat/blob/stable/docs/SERVER.md>
- Repositorio del código fuente oficial de la aplicación : <https://github.com/simplex-chat/simplexmq>
- Catálogo YunoHost: <https://apps.yunohost.org/app/simplex>
- Reportar un error: <https://github.com/YunoHost-Apps/simplex_ynh/issues>

## Información para desarrolladores

Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/simplex_ynh/tree/testing

Para probar la rama `testing`, sigue asÍ:

```bash
sudo yunohost app install https://github.com/YunoHost-Apps/simplex_ynh/tree/testing --debug
o
sudo yunohost app upgrade simplex -u https://github.com/YunoHost-Apps/simplex_ynh/tree/testing --debug
```

**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
2 changes: 1 addition & 1 deletion README_eu.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ EZ editatu eskuz.

SimpleX - the first messaging platform operating without user identifiers of any kind - 100% private by design! iOS and Android apps are released.

**Paketatutako bertsioa:** 5.7.1~ynh1
**Paketatutako bertsioa:** 5.7.5~ynh1

## Pantaila-argazkiak

Expand Down
2 changes: 1 addition & 1 deletion README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main.

SimpleX - la première plate-forme de messagerie qui n'a aucun identifiant d'utilisateur d'aucune sorte - 100 % privée de par sa conception !

**Version incluse :** 5.7.1~ynh1
**Version incluse :** 5.7.5~ynh1

## Captures d’écran

Expand Down
2 changes: 1 addition & 1 deletion README_gl.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ NON debe editarse manualmente.

SimpleX - the first messaging platform operating without user identifiers of any kind - 100% private by design! iOS and Android apps are released.

**Versión proporcionada:** 5.7.1~ynh1
**Versión proporcionada:** 5.7.5~ynh1

## Capturas de pantalla

Expand Down
2 changes: 1 addition & 1 deletion README_zh_Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

SimpleX - the first messaging platform operating without user identifiers of any kind - 100% private by design! iOS and Android apps are released.

**分发版本:** 5.7.1~ynh1
**分发版本:** 5.7.5~ynh1

## 截图

Expand Down
35 changes: 35 additions & 0 deletions conf/xftp.systemd.service
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,40 @@ KillSignal=SIGINT
TimeoutStopSec=infinity
AmbientCapabilities=CAP_NET_BIND_SERVICE


# Sandboxing options to harden security
# Depending on specificities of your service/app, you may need to tweak these
# .. but this should be a good baseline
# Details for these options: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
RestrictNamespaces=yes
RestrictRealtime=yes
DevicePolicy=closed
ProtectClock=yes
ProtectHostname=yes
ProtectProc=invisible
ProtectSystem=full
ProtectControlGroups=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
LockPersonality=yes
SystemCallArchitectures=native
SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap @cpu-emulation @privileged

# Denying access to capabilities that should not be relevant for webapps
# Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html
CapabilityBoundingSet=~CAP_RAWIO CAP_MKNOD
CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE
CapabilityBoundingSet=~CAP_SYS_BOOT CAP_SYS_TIME CAP_SYS_MODULE CAP_SYS_PACCT
CapabilityBoundingSet=~CAP_LEASE CAP_LINUX_IMMUTABLE CAP_IPC_LOCK
CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_WAKE_ALARM
CapabilityBoundingSet=~CAP_SYS_TTY_CONFIG
CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE
CapabilityBoundingSet=~CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW
CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG

[Install]
WantedBy=multi-user.target
18 changes: 9 additions & 9 deletions manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "SimpleX"
description.en = "Messaging platform operating without user identifiers"
description.fr = "Plate-forme de messagerie fonctionnant sans identifiants d'utilisateurs"

version = "5.7.1~ynh1"
version = "5.7.5~ynh1"

maintainers = []

Expand Down Expand Up @@ -36,19 +36,19 @@ ram.runtime = "50M"

[resources.sources]
[resources.sources.main]
amd64.url = "https://github.com/YunoHost-Apps/simplex_ynh/releases/download/v5.6.2/smp-server_amd64"
amd64.sha256 = "d711cc5bddddf4abd01d971d7d4cda879bc4d4d2beb455154031589ffcb0c891"
arm64.url = "https://github.com/skyuk3000/simplex_ynh/releases/download/5.2.0/smp-server_arm64"
arm64.sha256 = "2a5a6f34230443212d3166ec7c706440eb2748c6cd2b4e47526a4ccf45717584"
amd64.url = "https://github.com/YunoHost-Apps/simplex_ynh/releases/download/v5.7.5/smp-server_amd64"
amd64.sha256 = "b507e3b7c381eefa96ec1f9f7648ded78cc971827e90f5a137335045d67425e8"
arm64.url = "https://github.com/YunoHost-Apps/simplex_ynh/releases/download/v5.7.5/smp-server_arm64"
arm64.sha256 = "525a7f3d2a361cf3344cfff2358c615b827418eb98d6c390d183b7e40fb008d4"
in_subdir = false
extract = false
rename = "smp-server"

[resources.sources.xftp]
amd64.url = "https://github.com/YunoHost-Apps/simplex_ynh/releases/download/v5.6.2/xftp-server_amd64"
amd64.sha256 = "6febc49aa989a02ad8cfc27b657c30acc425878e88a995beca864afeaaff7b3e"
arm64.url = "https://github.com/skyuk3000/simplex_ynh/releases/download/5.2.0/xftp-server_arm64"
arm64.sha256 = "a8f4118610efca9bd7b2d687c04f95a9cf52114d1941c8f94441d80c1c04d92a"
amd64.url = "https://github.com/YunoHost-Apps/simplex_ynh/releases/download/v5.7.5/xftp-server_amd64"
amd64.sha256 = "f4182dd6ad65862705bc7fdd2c10f5e38a5483344e832ec84b7a2fc288c74ef6"
arm64.url = "https://github.com/YunoHost-Apps/simplex_ynh/releases/download/v5.7.5/xftp-server_arm64"
arm64.sha256 = "b406b793383b0dd202d6bd60f9d0054d2c4249ac34e4d87c731bb131019c1561"
in_subdir = false
extract = false
rename = "xftp-server"
Expand Down
2 changes: 1 addition & 1 deletion scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ chown -R $app:$app "/etc/opt/simplex-xftp"
#=================================================
#ynh_script_progression --message="Adding a configuration file..." --weight=1

#ynh_add_config --template="../conf/file-server.ini" --destination="/etc/opt/simplex-xftp/file-server.ini"
#ynh_add_config --template="file-server.ini" --destination="/etc/opt/simplex-xftp/file-server.ini"

#chmod 400 "/etc/opt/simplex-xftp/file-server.ini"
#chown $app:$app "/etc/opt/simplex-xftp/file-server.ini"
Expand Down

0 comments on commit 7a9abaa

Please sign in to comment.