From bcc77f6ed9358afad91531b84e208b7bdad3cc3a Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 17 Apr 2024 18:41:30 +0200 Subject: [PATCH 1/4] Add PostgreSQL database restoration --- scripts/restore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/restore b/scripts/restore index 3e534d4..b6c8bee 100755 --- a/scripts/restore +++ b/scripts/restore @@ -55,6 +55,13 @@ chmod 750 "$data_dir" chmod -R o-rwx "$data_dir" chown -R "$app:www-data" "$data_dir" +#================================================= +# RESTORE THE POSTGRESQL DATABASE +#================================================= +ynh_script_progression --message="Restoring the PostgreSQL database..." + +ynh_psql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < ./db.sql + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= From 6df11a24b3096be33099eb337a65a2e48f8187dd Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 17 Apr 2024 18:42:14 +0200 Subject: [PATCH 2/4] bump version --- manifest.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 66f1100..4ab6dd7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -9,9 +9,9 @@ description.gl = "Un servidor áxil para a rede social ActivityPub escrito en Go description.ca = "Un servidor de xarxa social basat en ActivityPub escrit en GO" description.fr = "Serveur de réseau social véloce basé sur ActivityPub écrit en Go" -version = "0.15.0~ynh1" +version = "0.15.0~ynh2" -maintainers = ["OniriCorpe"] +maintainers = [ "OniriCorpe" ] [upstream] license = "AGPL-3.0-only" From a0b7214a75ce2a7ba4c0e7c38d9ee8469dfe66e1 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 17 Apr 2024 16:42:19 +0000 Subject: [PATCH 3/4] Auto-update READMEs --- README.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 299541d..06f337e 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The documentation for this YunoHost package [can be read here](./doc/DOCS.md) an Please note that this package uses the ["i'm so tired" software license 1.0](https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/LICENSE), please read it and accept it before proceeding with installation. -**Shipped version:** 0.15.0~ynh1 +**Shipped version:** 0.15.0~ynh2 ## Screenshots diff --git a/README_eu.md b/README_eu.md index 2095dca..f55dae2 100644 --- a/README_eu.md +++ b/README_eu.md @@ -26,7 +26,7 @@ The documentation for this YunoHost package [can be read here](./doc/DOCS.md) an Please note that this package uses the ["i'm so tired" software license 1.0](https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/LICENSE), please read it and accept it before proceeding with installation. -**Paketatutako bertsioa:** 0.15.0~ynh1 +**Paketatutako bertsioa:** 0.15.0~ynh2 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index fa720af..573541c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -26,7 +26,7 @@ La documentation de ce paquet YunoHost [est lisible ici](./doc/DOCS_fr.md) et l' Veuillez noter que ce paquet utilise la ["i'm so tired" software license 1.0](https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/LICENSE), veuillez la lire et l'accepter avant de procéder à l'installation. -**Version incluse :** 0.15.0~ynh1 +**Version incluse :** 0.15.0~ynh2 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 20eb52a..c7b5340 100644 --- a/README_gl.md +++ b/README_gl.md @@ -26,7 +26,7 @@ The documentation for this YunoHost package [can be read here](./doc/DOCS.md) an Please note that this package uses the ["i'm so tired" software license 1.0](https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/LICENSE), please read it and accept it before proceeding with installation. -**Versión proporcionada:** 0.15.0~ynh1 +**Versión proporcionada:** 0.15.0~ynh2 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index e7046d8..6987096 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -26,7 +26,7 @@ The documentation for this YunoHost package [can be read here](./doc/DOCS.md) an Please note that this package uses the ["i'm so tired" software license 1.0](https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/LICENSE), please read it and accept it before proceeding with installation. -**分发版本:** 0.15.0~ynh1 +**分发版本:** 0.15.0~ynh2 ## 截图 From 1e9a667c7a228baa61ff4ec8dc1628d7cd32b7bc Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 18 May 2024 15:37:59 +0000 Subject: [PATCH 4/4] Auto-update READMEs --- ALL_README.md | 1 + README.md | 2 +- README_es.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++ README_gl.md | 4 ++-- README_zh_Hans.md | 4 ++-- 5 files changed, 67 insertions(+), 5 deletions(-) create mode 100644 README_es.md diff --git a/ALL_README.md b/ALL_README.md index a01b345..8938aae 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) +- [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) diff --git a/README.md b/README.md index 06f337e..7707586 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Please note that this package uses the ["i'm so tired" software license 1.0](htt ## :red_circle: Antifeatures - **Alpha software**: Early development stage. May contain changing or unstable features, bugs, and security vulnerability. -- **Not totally free package**: The YunoHost package of this app is under an overall free licence, but with clauses that restrict its use. +- **Not totally free package**: The YunoHost package of this app is under an overall free license, but with clauses that may restrict its use. ## Documentation and resources diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..d5f875a --- /dev/null +++ b/README_es.md @@ -0,0 +1,61 @@ + + +# GoToSocial para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/gotosocial.svg)](https://dash.yunohost.org/appci/app/gotosocial) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/gotosocial.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/gotosocial.maintain.svg) + +[![Instalar GoToSocial con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gotosocial) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarGoToSocial 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 + +GoToSocial is a fast [ActivityPub](https://activitypub.rocks/) social network server, written in Golang. + +With GoToSocial, you can keep in touch with your friends, post, read, and share images and articles. All without being tracked or advertised to! + +The official documentation is at [docs.gotosocial.org](https://docs.gotosocial.org). +The documentation for this YunoHost package [can be read here](./doc/DOCS.md) and the admin is **strongly encouraged to read it**! + +Please note that this package uses the ["i'm so tired" software license 1.0](https://github.com/YunoHost-Apps/gotosocial_ynh/blob/master/LICENSE), please read it and accept it before proceeding with installation. + + +**Versión actual:** 0.15.0~ynh2 + +## Capturas + +![Captura de GoToSocial](./doc/screenshots/screenshot.png) + +## :red_circle: funcionalidades no deseadas + +- **Alpha software**: Early development stage. May contain changing or unstable features, bugs, and security vulnerability. +- **Not totally free package**: The YunoHost package of this app is under an overall free license, but with clauses that may restrict its use. + +## Documentaciones y recursos + +- Sitio web oficial: +- Documentación usuario oficial: +- Documentación administrador 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/gotosocial_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/gotosocial_ynh/tree/testing --debug +o +sudo yunohost app upgrade gotosocial -u https://github.com/YunoHost-Apps/gotosocial_ynh/tree/testing --debug +``` + +**Mas informaciones sobre el empaquetado de aplicaciones:** diff --git a/README_gl.md b/README_gl.md index c7b5340..8305c73 100644 --- a/README_gl.md +++ b/README_gl.md @@ -32,10 +32,10 @@ Please note that this package uses the ["i'm so tired" software license 1.0](htt ![Captura de pantalla de GoToSocial](./doc/screenshots/screenshot.png) -## :red_circle: Caraterísticas cuestionables +## :red_circle: Debes considerar - **Alpha software**: Early development stage. May contain changing or unstable features, bugs, and security vulnerability. -- **Not totally free package**: The YunoHost package of this app is under an overall free licence, but with clauses that restrict its use. +- **Not totally free package**: The YunoHost package of this app is under an overall free license, but with clauses that may restrict its use. ## Documentación e recursos diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 6987096..2b3e759 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -3,7 +3,7 @@ 请勿手动编辑。 --> -# YunoHost 的 GoToSocial +# YunoHost 上的 GoToSocial [![集成程度](https://dash.yunohost.org/integration/gotosocial.svg)](https://dash.yunohost.org/appci/app/gotosocial) ![工作状态](https://ci-apps.yunohost.org/ci/badges/gotosocial.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/gotosocial.maintain.svg) @@ -35,7 +35,7 @@ Please note that this package uses the ["i'm so tired" software license 1.0](htt ## :red_circle: 负面特征 - **Alpha software**: Early development stage. May contain changing or unstable features, bugs, and security vulnerability. -- **Not totally free package**: The YunoHost package of this app is under an overall free licence, but with clauses that restrict its use. +- **Not totally free package**: The YunoHost package of this app is under an overall free license, but with clauses that may restrict its use. ## 文档与资源