From 4e5a74ea46141bff04609bbfd1e5028a9b850216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 12 May 2024 19:45:24 +0200 Subject: [PATCH 1/3] Update manifest.toml --- manifest.toml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/manifest.toml b/manifest.toml index 48b953b..8ddbd6b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Misskey" description.en = "Microblogging platform" description.fr = "Platforme de Microblogging" -version = "12.119.2~ynh2" +version = "2024.3.1~ynh1" maintainers = [] @@ -22,11 +22,14 @@ fund = "https://patreon.com/syuilo" yunohost = ">= 11.2" architectures = ["amd64", "arm64"] multi_instance = true + ldap = false + sso = true -disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ... -ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ... -ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ... + +disk = "50M" +ram.build = "50M" +ram.runtime = "50M" [install] [install.domain] @@ -39,10 +42,10 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen default = "visitors" [resources] - [resources.sources.main] - url = "https://github.com/misskey-dev/misskey/archive/refs/tags/12.119.2.tar.gz" - sha256 = "0620c8d4ee82f3bfa5749197b719cff606628413875589918df58f71cae9df57" + [resources.sources.main] + url = "https://github.com/misskey-dev/misskey/archive/refs/tags/2024.3.1.tar.gz" + sha256 = "f962f38fbf71f600fcc8c1969f418f46565fa58b83dc93528d29a3e65fd79571" autoupdate.strategy = "latest_github_tag" [resources.system_user] From 86b07007ba2896adc695acb110fbbce1253e1aba Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 12 May 2024 17:45:29 +0000 Subject: [PATCH 2/3] Auto-update READMEs --- ALL_README.md | 1 + README.md | 2 +- README_es.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 4 ++-- 7 files changed, 54 insertions(+), 6 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 fd41bc8..57865ac 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Misskey is a decentralized microblogging platform. Since it exists within the Fediverse (a universe where various social media platforms are organized), it is mutually linked with other social media platforms. -**Shipped version:** 12.119.2~ynh2 +**Shipped version:** 2024.3.1~ynh1 ## Screenshots diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..82aac12 --- /dev/null +++ b/README_es.md @@ -0,0 +1,47 @@ + + +# Misskey para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/misskey.svg)](https://dash.yunohost.org/appci/app/misskey) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/misskey.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/misskey.maintain.svg) + +[![Instalar Misskey con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=misskey) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarMisskey 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 + +Misskey is a decentralized microblogging platform. Since it exists within the Fediverse (a universe where various social media platforms are organized), it is mutually linked with other social media platforms. + + +**Versión actual:** 2024.3.1~ynh1 + +## Capturas + +![Captura de Misskey](./doc/screenshots/screenshot-desktop.png) + +## 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/misskey_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/misskey_ynh/tree/testing --debug +o +sudo yunohost app upgrade misskey -u https://github.com/YunoHost-Apps/misskey_ynh/tree/testing --debug +``` + +**Mas informaciones sobre el empaquetado de aplicaciones:** diff --git a/README_eu.md b/README_eu.md index cc7665d..8a00398 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Misskey is a decentralized microblogging platform. Since it exists within the Fediverse (a universe where various social media platforms are organized), it is mutually linked with other social media platforms. -**Paketatutako bertsioa:** 12.119.2~ynh2 +**Paketatutako bertsioa:** 2024.3.1~ynh1 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index dffadf8..dc06c03 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main. Misskey est une plateforme de microblogging décentralisée. Puisqu'il existe au sein du Fediverse (un univers où diverses plateformes de médias sociaux sont organisées), il est mutuellement lié à d'autres plateformes de médias sociaux. -**Version incluse :** 12.119.2~ynh2 +**Version incluse :** 2024.3.1~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index ca60c95..d364377 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Misskey is a decentralized microblogging platform. Since it exists within the Fediverse (a universe where various social media platforms are organized), it is mutually linked with other social media platforms. -**Versión proporcionada:** 12.119.2~ynh2 +**Versión proporcionada:** 2024.3.1~ynh1 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 602febd..e287f3e 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -3,7 +3,7 @@ 请勿手动编辑。 --> -# YunoHost 的 Misskey +# YunoHost 上的 Misskey [![集成程度](https://dash.yunohost.org/integration/misskey.svg)](https://dash.yunohost.org/appci/app/misskey) ![工作状态](https://ci-apps.yunohost.org/ci/badges/misskey.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/misskey.maintain.svg) @@ -19,7 +19,7 @@ Misskey is a decentralized microblogging platform. Since it exists within the Fediverse (a universe where various social media platforms are organized), it is mutually linked with other social media platforms. -**分发版本:** 12.119.2~ynh2 +**分发版本:** 2024.3.1~ynh1 ## 截图 From af7903eae8c3f1bd114cab77dffa258e8a39804d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 12 May 2024 19:46:32 +0200 Subject: [PATCH 3/3] fix --- scripts/remove | 14 -------------- scripts/restore | 1 + scripts/upgrade | 5 ----- 3 files changed, 1 insertion(+), 19 deletions(-) diff --git a/scripts/remove b/scripts/remove index ac43ded..797f15d 100755 --- a/scripts/remove +++ b/scripts/remove @@ -26,25 +26,11 @@ ynh_remove_logrotate # Remove the dedicated NGINX config ynh_remove_nginx_config -#================================================= -# REMOVE THE REDIS DATABASE -#================================================= -ynh_script_progression --message="Removing the redis database..." --weight=1 - ynh_redis_remove_db "$redis_db" -#================================================= -# REMOVE DEPENDENCIES -#================================================= -ynh_script_progression --message="Removing NodeJS..." --weight=1 - # Remove metapackage and its dependencies ynh_remove_nodejs -#================================================= -# REMOVE VARIOUS FILES -#================================================= - # Remove the log files ynh_secure_remove --file="/var/log/$app" diff --git a/scripts/restore b/scripts/restore index ecfe294..ecd592e 100755 --- a/scripts/restore +++ b/scripts/restore @@ -42,6 +42,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable "$app.service" --quiet + yunohost service add "$app" --description="A interplanetary blogging platform" --log="/var/log/$app/$app.log" ynh_restore_file --origin_path="/etc/logrotate.d/$app" diff --git a/scripts/upgrade b/scripts/upgrade index 3c28cd8..50a2511 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -23,11 +23,6 @@ ynh_script_progression --message="Stopping $app's systemd service..." --weight=1 # Stop bservice before backup, to not loose message in case of failed upgrade and restore ynh_systemd_action --service_name="$app" --action="stop" --log_path=systemd -#================================================= -# ENSURE DOWNWARD COMPATIBILITY -#================================================= -# ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 - #================================================= # UPGRADE DEPENDENCIES #=================================================