diff --git a/ALL_README.md b/ALL_README.md index 3d6c579..a01b345 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) +- [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) -- [Leggi il “README” in italiano](README_it.md) +- [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index f329fe0..db1dd8a 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install Pytition with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=pytition) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install Pytition quickly and simply on a YunoHost server.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* @@ -29,7 +29,7 @@ Pytition is an application for privacy-friendly online petitions you can host on - You can export signatures in CSV format. -**Shipped version:** 2.8~ynh2 +**Shipped version:** 2.8~ynh3 **Demo:** diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..a3bca65 --- /dev/null +++ b/README_eu.md @@ -0,0 +1,60 @@ + + +# Pytition YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/pytition.svg)](https://dash.yunohost.org/appci/app/pytition) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/pytition.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/pytition.maintain.svg) + +[![Instalatu Pytition YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=pytition) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Pytition YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Pytition is an application for privacy-friendly online petitions you can host on your own server. + +### Features + +- Host petitions without compromising the privacy of your signatories. +- No tracking, ever: CSS, JS and all resources are self-hosted. Pytition does not use CDN. +- Responsive UI: works well on phones/tablets/laptops/desktops. +- Multi-lingual UI with i18n: English, French, Italian, Occitan, Spanish. +- You can pre-visualize petitions before publishing them. +- Easy to use: petition content is typed-in via TinyMCE editors (like WordPress). +- You can export signatures in CSV format. + + +**Paketatutako bertsioa:** 2.8~ynh3 + +**Demoa:** + +## Pantaila-argazkiak + +![Pytition(r)en pantaila-argazkia](./doc/screenshots/stop_doing_teams.webp) + +## Dokumentazioa eta baliabideak + +- Aplikazioaren webgune ofiziala: +- Administratzaileen dokumentazio ofiziala: +- Jatorrizko aplikazioaren kode-gordailua: +- YunoHost Denda: +- Eman errore baten berri: + +## Garatzaileentzako informazioa + +Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/pytition_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug +edo +sudo yunohost app upgrade pytition -u https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index b372e6f..7acacea 100644 --- a/README_fr.md +++ b/README_fr.md @@ -29,7 +29,7 @@ Pytition permet d'héberger des pétitions respectueuses de la vie privée sur v - Vous pouvez exporter les signatures via CSV. -**Version incluse :** 2.8~ynh2 +**Version incluse :** 2.8~ynh3 **Démo :** diff --git a/README_gl.md b/README_gl.md index ff30c46..9bb5780 100644 --- a/README_gl.md +++ b/README_gl.md @@ -29,7 +29,7 @@ Pytition is an application for privacy-friendly online petitions you can host on - You can export signatures in CSV format. -**Versión proporcionada:** 2.8~ynh2 +**Versión proporcionada:** 2.8~ynh3 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..6aec26b --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,60 @@ + + +# YunoHost 的 Pytition + +[![集成程度](https://dash.yunohost.org/integration/pytition.svg)](https://dash.yunohost.org/appci/app/pytition) ![工作状态](https://ci-apps.yunohost.org/ci/badges/pytition.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/pytition.maintain.svg) + +[![使用 YunoHost 安装 Pytition](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=pytition) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Pytition。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +Pytition is an application for privacy-friendly online petitions you can host on your own server. + +### Features + +- Host petitions without compromising the privacy of your signatories. +- No tracking, ever: CSS, JS and all resources are self-hosted. Pytition does not use CDN. +- Responsive UI: works well on phones/tablets/laptops/desktops. +- Multi-lingual UI with i18n: English, French, Italian, Occitan, Spanish. +- You can pre-visualize petitions before publishing them. +- Easy to use: petition content is typed-in via TinyMCE editors (like WordPress). +- You can export signatures in CSV format. + + +**分发版本:** 2.8~ynh3 + +**演示:** + +## 截图 + +![Pytition 的截图](./doc/screenshots/stop_doing_teams.webp) + +## 文档与资源 + +- 官方应用网站: +- 官方管理文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/pytition_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug +或 +sudo yunohost app upgrade pytition -u https://github.com/YunoHost-Apps/pytition_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** diff --git a/manifest.toml b/manifest.toml index 37b2a8b..27809fc 100644 --- a/manifest.toml +++ b/manifest.toml @@ -6,7 +6,7 @@ name = "Pytition" description.en = "Host privacy-friendly online petitions" description.fr = "Hébergez des pétitions en ligne respectueuses de la vie privée" -version = "2.8~ynh2" +version = "2.8~ynh3" maintainers = ["Salamandar"] diff --git a/scripts/install b/scripts/install index cea34a9..e06f1a4 100755 --- a/scripts/install +++ b/scripts/install @@ -55,6 +55,7 @@ virtualenv --python=python3 --system-site-packages "${install_dir}/venv" set -o nounset python3 -m pip install --upgrade pip + python3 -m pip install lxml_html_clean python3 -m pip install -r "$install_dir/pytition/requirements.txt" ) diff --git a/scripts/upgrade b/scripts/upgrade index 118f6a2..321b947 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -61,6 +61,7 @@ ynh_script_progression --message="Installing python dependencies..." --weight=1 set -o nounset python3 -m pip install --upgrade pip + python3 -m pip install --upgrade lxml_html_clean python3 -m pip install --upgrade -r "$install_dir/pytition/requirements.txt" )