From 1a9e2481e4295b391edf20226ec0cdb6d4e91029 Mon Sep 17 00:00:00 2001 From: YunoHost Bot Date: Thu, 11 Apr 2024 04:07:57 +0200 Subject: [PATCH 1/4] Upgrade to v1.19.1 (#21) --- ALL_README.md | 2 ++ README.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++ manifest.toml | 6 +++--- 7 files changed, 60 insertions(+), 7 deletions(-) create mode 100644 README_zh_Hans.md diff --git a/ALL_README.md b/ALL_README.md index 3eeb161..a01b345 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -3,3 +3,5 @@ - [Read the README in English](README.md) - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) +- [Le o README en galego](README_gl.md) +- [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index 0de8619..38f57f8 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ FluffyChat is an open source, nonprofit and cute [[matrix](https://matrix.org)] The goal of the app is to create an easy to use instant messenger which is open source and accessible for everyone. -**Shipped version:** 1.19.0~ynh1 +**Shipped version:** 1.19.1~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index e2c33f6..33b0af9 100644 --- a/README_eu.md +++ b/README_eu.md @@ -20,7 +20,7 @@ FluffyChat is an open source, nonprofit and cute [[matrix](https://matrix.org)] The goal of the app is to create an easy to use instant messenger which is open source and accessible for everyone. -**Paketatutako bertsioa:** 1.19.0~ynh1 +**Paketatutako bertsioa:** 1.19.1~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 9d3e613..8752183 100644 --- a/README_fr.md +++ b/README_fr.md @@ -20,7 +20,7 @@ FluffyChat est un client [[matrix](https://matrix.org)] open-source, à but non Le but de cette app est de créer un client de messagerie instantannée facile d'utilisation, open-source et accessible pour tout le monde. -**Version incluse :** 1.19.0~ynh1 +**Version incluse :** 1.19.1~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 60e1025..c64e9a1 100644 --- a/README_gl.md +++ b/README_gl.md @@ -20,7 +20,7 @@ FluffyChat is an open source, nonprofit and cute [[matrix](https://matrix.org)] The goal of the app is to create an easy to use instant messenger which is open source and accessible for everyone. -**Versión proporcionada:** 1.18.0~ynh2 +**Versión proporcionada:** 1.19.1~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..80f4e59 --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,51 @@ + + +# YunoHost 的 Fluffychat + +[![集成程度](https://dash.yunohost.org/integration/fluffychat.svg)](https://dash.yunohost.org/appci/app/fluffychat) ![工作状态](https://ci-apps.yunohost.org/ci/badges/fluffychat.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/fluffychat.maintain.svg) + +[![使用 YunoHost 安装 Fluffychat](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=fluffychat) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Fluffychat。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +FluffyChat is an open source, nonprofit and cute [[matrix](https://matrix.org)] client written in [Flutter](https://flutter.dev). +The goal of the app is to create an easy to use instant messenger which is open source and accessible for everyone. + + +**分发版本:** 1.19.1~ynh1 + +**演示:** + +## 截图 + +![Fluffychat 的截图](./doc/screenshots/screenshot.png) + +## 文档与资源 + +- 官方应用网站: +- 官方用户文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/fluffychat_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/fluffychat_ynh/tree/testing --debug +或 +sudo yunohost app upgrade fluffychat -u https://github.com/YunoHost-Apps/fluffychat_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** diff --git a/manifest.toml b/manifest.toml index 23d1d03..6699a40 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Fluffychat" description.en = "Matrix messenger client" description.fr = "Client de messagerie Matrix" -version = "1.19.0~ynh1" +version = "1.19.1~ynh1" maintainers = [ "OniriCorpe" ] @@ -56,8 +56,8 @@ ram.runtime = "50M" [resources] [resources.sources] [resources.sources.main] - url = "https://github.com/krille-chan/fluffychat/releases/download/v1.19.0/fluffychat-web.tar.gz" - sha256 = "b5083f9932f711f85d9dd778cec359cb603af375abdc20168fd4504e23b54ae9" + url = "https://github.com/krille-chan/fluffychat/releases/download/v1.19.1/fluffychat-web.tar.gz" + sha256 = "f952c465ebf0278d38b39b7c135b6dd125e34094c77005e3ec4b5ca4dc65783e" in_subdir = 2 autoupdate.asset = "fluffychat-web.tar.gz" From 3f2a71bb97928e0e2dbefb9debe3aefe3accf796 Mon Sep 17 00:00:00 2001 From: YunoHost Bot Date: Mon, 15 Apr 2024 04:35:20 +0200 Subject: [PATCH 2/4] Upgrade to v1.19.2 (#23) --- README.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- manifest.toml | 6 +++--- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 38f57f8..2a14402 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ FluffyChat is an open source, nonprofit and cute [[matrix](https://matrix.org)] The goal of the app is to create an easy to use instant messenger which is open source and accessible for everyone. -**Shipped version:** 1.19.1~ynh1 +**Shipped version:** 1.19.2~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index 33b0af9..ac9963b 100644 --- a/README_eu.md +++ b/README_eu.md @@ -20,7 +20,7 @@ FluffyChat is an open source, nonprofit and cute [[matrix](https://matrix.org)] The goal of the app is to create an easy to use instant messenger which is open source and accessible for everyone. -**Paketatutako bertsioa:** 1.19.1~ynh1 +**Paketatutako bertsioa:** 1.19.2~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 8752183..6091802 100644 --- a/README_fr.md +++ b/README_fr.md @@ -20,7 +20,7 @@ FluffyChat est un client [[matrix](https://matrix.org)] open-source, à but non Le but de cette app est de créer un client de messagerie instantannée facile d'utilisation, open-source et accessible pour tout le monde. -**Version incluse :** 1.19.1~ynh1 +**Version incluse :** 1.19.2~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index c64e9a1..a200e67 100644 --- a/README_gl.md +++ b/README_gl.md @@ -20,7 +20,7 @@ FluffyChat is an open source, nonprofit and cute [[matrix](https://matrix.org)] The goal of the app is to create an easy to use instant messenger which is open source and accessible for everyone. -**Versión proporcionada:** 1.19.1~ynh1 +**Versión proporcionada:** 1.19.2~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 80f4e59..f983ba9 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -20,7 +20,7 @@ FluffyChat is an open source, nonprofit and cute [[matrix](https://matrix.org)] The goal of the app is to create an easy to use instant messenger which is open source and accessible for everyone. -**分发版本:** 1.19.1~ynh1 +**分发版本:** 1.19.2~ynh1 **演示:** diff --git a/manifest.toml b/manifest.toml index 6699a40..6d075b5 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Fluffychat" description.en = "Matrix messenger client" description.fr = "Client de messagerie Matrix" -version = "1.19.1~ynh1" +version = "1.19.2~ynh1" maintainers = [ "OniriCorpe" ] @@ -56,8 +56,8 @@ ram.runtime = "50M" [resources] [resources.sources] [resources.sources.main] - url = "https://github.com/krille-chan/fluffychat/releases/download/v1.19.1/fluffychat-web.tar.gz" - sha256 = "f952c465ebf0278d38b39b7c135b6dd125e34094c77005e3ec4b5ca4dc65783e" + url = "https://github.com/krille-chan/fluffychat/releases/download/v1.19.2/fluffychat-web.tar.gz" + sha256 = "6114f55a82360e4693fa2beed8d0bdc13c8dd706dfd136fa3babff9d957d0192" in_subdir = 2 autoupdate.asset = "fluffychat-web.tar.gz" From f295cb18bab616f826de432d83c6cf0e6c1b1975 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 15 Apr 2024 04:42:59 +0200 Subject: [PATCH 3/4] fix default matrix server substitution in the config panel --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 9501279..c30d401 100644 --- a/scripts/config +++ b/scripts/config @@ -32,7 +32,7 @@ get__default_matrix_server() { set__default_matrix_server() { # patching main.dart.js to replace the default matrix server - ynh_replace_string --match_string="\$\.cmx=\".*\"" --replace_string="\$\.cmx=\"$default_matrix_server\"" --target_file="$install_dir/main.dart.js" + ynh_replace_string --match_string="=\"matrix.org\"" --replace_string="=\"$default_matrix_server\"" --target_file="$install_dir/main.dart.js" ynh_app_setting_set --app="$app" --key=default_matrix_server --value="$default_matrix_server" } From 85d6f61342a1fa887dbec13e35b3fe2f3701a609 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 15 Apr 2024 05:08:20 +0200 Subject: [PATCH 4/4] fix default matrix server substitution in the config panel --- scripts/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index c30d401..b3fd972 100644 --- a/scripts/config +++ b/scripts/config @@ -31,8 +31,10 @@ get__default_matrix_server() { set__default_matrix_server() { + old_value=${old[default_matrix_server]} + # patching main.dart.js to replace the default matrix server - ynh_replace_string --match_string="=\"matrix.org\"" --replace_string="=\"$default_matrix_server\"" --target_file="$install_dir/main.dart.js" + ynh_replace_string --match_string="=\"$old_value\"" --replace_string="=\"$default_matrix_server\"" --target_file="$install_dir/main.dart.js" ynh_app_setting_set --app="$app" --key=default_matrix_server --value="$default_matrix_server" }