From d7b6f90b3b0bc3b2d08dcb44c8afc2b12478ca7b Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 18 Apr 2024 03:31:02 +0200 Subject: [PATCH 1/3] Upgrade to v1.11.0 https://code.castopod.org/adaures/castopod/-/releases/v1.11.0 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index e683463..07ccd82 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Castopod" description.en = "Hosting platform made for podcasters" description.fr = "Plateforme d'hébergement conçue pour les podcasteurs" -version = "1.10.5~ynh1" +version = "1.11.0~ynh1" maintainers = ["orhtej2"] @@ -42,8 +42,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://code.castopod.org/adaures/castopod/uploads/194cc599dfcebbdc68e219c00dd0b6ac/castopod-1.10.5.zip" - sha256 = "8a716677ecc10ce4f8be9f58cd146afed0b90a795322748b917cd3b31d9ee542" + url = "https://code.castopod.org/adaures/castopod/uploads/a8028ad34d931d48f7e85a1eb432dda6/castopod-1.11.0.zip" + sha256 = "f3d2126b793d4d3b1b6e9af4d31e597ef3445be42362de89152a5fa8042046cf" autoupdate.strategy = "latest_gitlab_release" autoupdate.asset = "Castopod Package \\(zip\\)" in_subdir = true From 2a241f5f827793d6c248b3666939248dbbfa6e19 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 18 Apr 2024 01:31:06 +0000 Subject: [PATCH 2/3] Auto-update READMEs --- ALL_README.md | 7 ++++++ README.md | 30 +++++++++++----------- README_eu.md | 63 +++++++++++++++++++++++++++++++++++++++++++++++ README_fr.md | 32 ++++++++++++------------ README_gl.md | 63 +++++++++++++++++++++++++++++++++++++++++++++++ README_zh_Hans.md | 63 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 227 insertions(+), 31 deletions(-) create mode 100644 ALL_README.md create mode 100644 README_eu.md create mode 100644 README_gl.md create mode 100644 README_zh_Hans.md diff --git a/ALL_README.md b/ALL_README.md new file mode 100644 index 0000000..a01b345 --- /dev/null +++ b/ALL_README.md @@ -0,0 +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) +- [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index 75d22e8..cacb152 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -9,10 +9,10 @@ It shall NOT be edited by hand. [![Install Castopod with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=castopod) -*[Lire ce readme en français.](./README_fr.md)* +*[Read this README in other languages.](./ALL_README.md)* -> *This package allows you to install Castopod 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.* +> *This package allows you to install Castopod 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.* ## Overview @@ -32,9 +32,9 @@ Castopod is easy to install and was built on top of CodeIgniter4, a powerful PHP - Multi-tenant: host as many podcasts as you want - Multi-user: add contributors and set roles -**Shipped version:** 1.10.4~ynh1 +**Shipped version:** 1.11.0~ynh1 -**Demo:** https://podcast.podlibre.org/@podlibre_fr +**Demo:** ## Screenshots @@ -42,22 +42,22 @@ Castopod is easy to install and was built on top of CodeIgniter4, a powerful PHP ## Documentation and resources -* Official app website: -* Official admin documentation: -* Upstream app code repository: -* YunoHost Store: -* Report a bug: +- Official app website: +- Official admin documentation: +- Upstream app code repository: +- YunoHost Store: +- Report a bug: ## Developer info -Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/castopod_ynh/tree/testing). +Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/castopod_ynh/tree/testing). -To try the testing branch, please proceed like that. +To try the `testing` branch, please proceed like that: -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/castopod_ynh/tree/testing --debug or sudo yunohost app upgrade castopod -u https://github.com/YunoHost-Apps/castopod_ynh/tree/testing --debug ``` -**More info regarding app packaging:** \ No newline at end of file +**More info regarding app packaging:** diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..e0430a0 --- /dev/null +++ b/README_eu.md @@ -0,0 +1,63 @@ + + +# Castopod YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/castopod.svg)](https://dash.yunohost.org/appci/app/castopod) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/castopod.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/castopod.maintain.svg) + +[![Instalatu Castopod YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=castopod) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Castopod YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Castopod is a free & open-source hosting platform made for podcasters who want engage and interact with their audience. +Castopod is easy to install and was built on top of CodeIgniter4, a powerful PHP framework with a very small footprint. + + +### Features + +- Focused on data sovereignty: your content, audience, and analytics belong to you, and you only +- Podcasting 2.0 features: GUID, locked, transcripts, funding, chapters, location, persons, soundbites… +- Built-in social network, analytics, marketing tools +- Monetization +- Publish your episodes everywhere with RSS: +- Podcast import: move your existing podcast into Castopod +- Move your podcast out of Castopod +- Multi-tenant: host as many podcasts as you want +- Multi-user: add contributors and set roles + +**Paketatutako bertsioa:** 1.11.0~ynh1 + +**Demoa:** + +## Pantaila-argazkiak + +![Castopod(r)en pantaila-argazkia](./doc/screenshots/screenshot.png) + +## 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/castopod_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/castopod_ynh/tree/testing --debug +edo +sudo yunohost app upgrade castopod -u https://github.com/YunoHost-Apps/castopod_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index b3c52bb..80a55ba 100755 --- a/README_fr.md +++ b/README_fr.md @@ -1,6 +1,6 @@ # Castopod pour YunoHost @@ -9,10 +9,10 @@ It shall NOT be edited by hand. [![Installer Castopod avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=castopod) -*[Read this readme in english.](./README.md)* +*[Lire le README dans d'autres langues.](./ALL_README.md)* -> *Ce package vous permet d’installer Castopod rapidement et simplement sur un serveur YunoHost. -Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* +> *Ce package vous permet d’installer Castopod rapidement et simplement sur un serveur YunoHost.* +> *Si vous n’avez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment l’installer et en profiter.* ## Vue d’ensemble @@ -31,9 +31,9 @@ Castopod est une plate-forme d'hébergement gratuite et open source conçue pour - Multi-locataire : hébergez autant de podcasts que vous le souhaitez - Multi-utilisateur : ajouter des contributeurs et définir des rôles -**Version incluse :** 1.10.4~ynh1 +**Version incluse :** 1.11.0~ynh1 -**Démo :** https://podcast.podlibre.org/@podlibre_fr +**Démo :** ## Captures d’écran @@ -41,22 +41,22 @@ Castopod est une plate-forme d'hébergement gratuite et open source conçue pour ## Documentations et ressources -* Site officiel de l’app : -* Documentation officielle de l’admin : -* Dépôt de code officiel de l’app : -* YunoHost Store: -* Signaler un bug : +- Site officiel de l’app : +- Documentation officielle de l’admin : +- Dépôt de code officiel de l’app : +- YunoHost Store : +- Signaler un bug : ## Informations pour les développeurs -Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/castopod_ynh/tree/testing). +Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/castopod_ynh/tree/testing). -Pour essayer la branche testing, procédez comme suit. +Pour essayer la branche `testing`, procédez comme suit : -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/castopod_ynh/tree/testing --debug ou sudo yunohost app upgrade castopod -u https://github.com/YunoHost-Apps/castopod_ynh/tree/testing --debug ``` -**Plus d’infos sur le packaging d’applications :** \ No newline at end of file +**Plus d’infos sur le packaging d’applications :** diff --git a/README_gl.md b/README_gl.md new file mode 100644 index 0000000..6e7de8a --- /dev/null +++ b/README_gl.md @@ -0,0 +1,63 @@ + + +# Castopod para YunoHost + +[![Nivel de integración](https://dash.yunohost.org/integration/castopod.svg)](https://dash.yunohost.org/appci/app/castopod) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/castopod.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/castopod.maintain.svg) + +[![Instalar Castopod con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=castopod) + +*[Le este README en outros idiomas.](./ALL_README.md)* + +> *Este paquete permíteche instalar Castopod de xeito rápido e doado nun servidor YunoHost.* +> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.* + +## Vista xeral + +Castopod is a free & open-source hosting platform made for podcasters who want engage and interact with their audience. +Castopod is easy to install and was built on top of CodeIgniter4, a powerful PHP framework with a very small footprint. + + +### Features + +- Focused on data sovereignty: your content, audience, and analytics belong to you, and you only +- Podcasting 2.0 features: GUID, locked, transcripts, funding, chapters, location, persons, soundbites… +- Built-in social network, analytics, marketing tools +- Monetization +- Publish your episodes everywhere with RSS: +- Podcast import: move your existing podcast into Castopod +- Move your podcast out of Castopod +- Multi-tenant: host as many podcasts as you want +- Multi-user: add contributors and set roles + +**Versión proporcionada:** 1.11.0~ynh1 + +**Demo:** + +## Capturas de pantalla + +![Captura de pantalla de Castopod](./doc/screenshots/screenshot.png) + +## Documentación e recursos + +- Web oficial da app: +- Documentación oficial para admin: +- Repositorio de orixe do código: +- Tenda YunoHost: +- Informar dun problema: + +## Info de desenvolvemento + +Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/castopod_ynh/tree/testing). + +Para probar a rama `testing`, procede deste xeito: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/castopod_ynh/tree/testing --debug +ou +sudo yunohost app upgrade castopod -u https://github.com/YunoHost-Apps/castopod_ynh/tree/testing --debug +``` + +**Máis info sobre o empaquetado da app:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..17868ef --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,63 @@ + + +# YunoHost 的 Castopod + +[![集成程度](https://dash.yunohost.org/integration/castopod.svg)](https://dash.yunohost.org/appci/app/castopod) ![工作状态](https://ci-apps.yunohost.org/ci/badges/castopod.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/castopod.maintain.svg) + +[![使用 YunoHost 安装 Castopod](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=castopod) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Castopod。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +Castopod is a free & open-source hosting platform made for podcasters who want engage and interact with their audience. +Castopod is easy to install and was built on top of CodeIgniter4, a powerful PHP framework with a very small footprint. + + +### Features + +- Focused on data sovereignty: your content, audience, and analytics belong to you, and you only +- Podcasting 2.0 features: GUID, locked, transcripts, funding, chapters, location, persons, soundbites… +- Built-in social network, analytics, marketing tools +- Monetization +- Publish your episodes everywhere with RSS: +- Podcast import: move your existing podcast into Castopod +- Move your podcast out of Castopod +- Multi-tenant: host as many podcasts as you want +- Multi-user: add contributors and set roles + +**分发版本:** 1.11.0~ynh1 + +**演示:** + +## 截图 + +![Castopod 的截图](./doc/screenshots/screenshot.png) + +## 文档与资源 + +- 官方应用网站: +- 官方管理文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/castopod_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/castopod_ynh/tree/testing --debug +或 +sudo yunohost app upgrade castopod -u https://github.com/YunoHost-Apps/castopod_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** From 0a51902e25ea97dbb293bfa118115844617d7042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Szyma=C5=84ski?= Date: Thu, 18 Apr 2024 23:07:51 +0200 Subject: [PATCH 3/3] Add migrations for v1.11.0 --- conf/sql/v1.11.0.sql | 4 ++++ scripts/upgrade | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 conf/sql/v1.11.0.sql diff --git a/conf/sql/v1.11.0.sql b/conf/sql/v1.11.0.sql new file mode 100644 index 0000000..2248ad6 --- /dev/null +++ b/conf/sql/v1.11.0.sql @@ -0,0 +1,4 @@ +INSERT INTO `cp_platforms` (`slug`, `type`, `label`, `home_url`, `submit_url`) VALUES +('telegram', 'social', 'Telegram', 'https://www.telegram.org/', ''), +('episodes-fm', 'podcasting', 'Episodes.fm', 'https://episodes.fm/', 'https://podcastindex.org/add'), +('truefans', 'podcasting', 'Truefans', 'https://truefans.fm/', 'https://podcastindex.org/add'); diff --git a/scripts/upgrade b/scripts/upgrade index 7e18af8..15f10d3 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -136,6 +136,10 @@ if ynh_compare_current_package_version --comparison lt --version "1.10.5~ynh1"; # cf https://code.castopod.org/adaures/castopod/-/releases/v1.10.5 ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.10.5.sql" fi +if ynh_compare_current_package_version --comparison lt --version "1.11.0~ynh1"; then + # cf https://code.castopod.org/adaures/castopod/-/releases/v1.11.0 + ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.11.0.sql" +fi #================================================= # END OF SCRIPT