From 71cfba49c496ef151bd325c56da41e5c561ce484 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Sun, 23 Jun 2024 02:26:28 +0200 Subject: [PATCH 1/7] [autopatch] Do not delete logs on app removal --- scripts/remove | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index a1944a7..74f51b0 100755 --- a/scripts/remove +++ b/scripts/remove @@ -91,7 +91,6 @@ if [ -z /etc/ImageMagick-6/policy.xml ]; then --target_file="/etc/ImageMagick-6/policy.xml" fi -# Remove the log files ynh_script_progression --message="Removing log file..." --weight=1 ynh_secure_remove "$log_file" ynh_secure_remove "$access_log_file" From 8e9d913d6ebe2ad8a110cd9639187dabae73cf50 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Thu, 4 Jul 2024 08:26:46 +0200 Subject: [PATCH 2/7] Update manifest.toml --- manifest.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifest.toml b/manifest.toml index 10c8352..525fb7b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -89,6 +89,10 @@ ram.runtime = "200M" autoupdate.upstream = "https://github.com/pgaskin/kepubify" autoupdate.strategy = "latest_github_release" + autoupdate.asset.amd64 = "kepubify-linux-64bit" + autoupdate.asset.i386 = "kepubify-linux-32bit" + autoupdate.asset.armhf = "kepubify-linux-arm" + autoupdate.asset.arm64 = "kepubify-linux-arm64" [resources.system_user] From 77f4f3bcafc4fc984b2ccd937be05fe3a44fb11b Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 4 Jul 2024 06:26:50 +0000 Subject: [PATCH 3/7] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index aa51196..0d1ec04 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ It shall NOT be edited by hand. # Calibre-web for YunoHost -[![Integration level](https://dash.yunohost.org/integration/calibreweb.svg)](https://dash.yunohost.org/appci/app/calibreweb) ![Working status](https://ci-apps.yunohost.org/ci/badges/calibreweb.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/calibreweb.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/calibreweb.svg)](https://ci-apps.yunohost.org/ci/apps/calibreweb/) ![Working status](https://ci-apps.yunohost.org/ci/badges/calibreweb.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/calibreweb.maintain.svg) [![Install Calibre-web with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=calibreweb) diff --git a/README_es.md b/README_es.md index ae77f26..b18f38d 100644 --- a/README_es.md +++ b/README_es.md @@ -5,7 +5,7 @@ No se debe editar a mano. # Calibre-web para Yunohost -[![Nivel de integración](https://dash.yunohost.org/integration/calibreweb.svg)](https://dash.yunohost.org/appci/app/calibreweb) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/calibreweb.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/calibreweb.maintain.svg) +[![Nivel de integración](https://dash.yunohost.org/integration/calibreweb.svg)](https://ci-apps.yunohost.org/ci/apps/calibreweb/) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/calibreweb.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/calibreweb.maintain.svg) [![Instalar Calibre-web con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=calibreweb) diff --git a/README_eu.md b/README_eu.md index c178cdd..8075ec8 100644 --- a/README_eu.md +++ b/README_eu.md @@ -5,7 +5,7 @@ EZ editatu eskuz. # Calibre-web YunoHost-erako -[![Integrazio maila](https://dash.yunohost.org/integration/calibreweb.svg)](https://dash.yunohost.org/appci/app/calibreweb) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/calibreweb.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/calibreweb.maintain.svg) +[![Integrazio maila](https://dash.yunohost.org/integration/calibreweb.svg)](https://ci-apps.yunohost.org/ci/apps/calibreweb/) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/calibreweb.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/calibreweb.maintain.svg) [![Instalatu Calibre-web YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=calibreweb) diff --git a/README_fr.md b/README_fr.md index e2fccd6..aeec67a 100644 --- a/README_fr.md +++ b/README_fr.md @@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main. # Calibre-web pour YunoHost -[![Niveau d’intégration](https://dash.yunohost.org/integration/calibreweb.svg)](https://dash.yunohost.org/appci/app/calibreweb) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/calibreweb.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/calibreweb.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/calibreweb.svg)](https://ci-apps.yunohost.org/ci/apps/calibreweb/) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/calibreweb.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/calibreweb.maintain.svg) [![Installer Calibre-web avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=calibreweb) diff --git a/README_gl.md b/README_gl.md index f854c72..b246dd0 100644 --- a/README_gl.md +++ b/README_gl.md @@ -5,7 +5,7 @@ NON debe editarse manualmente. # Calibre-web para YunoHost -[![Nivel de integración](https://dash.yunohost.org/integration/calibreweb.svg)](https://dash.yunohost.org/appci/app/calibreweb) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/calibreweb.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/calibreweb.maintain.svg) +[![Nivel de integración](https://dash.yunohost.org/integration/calibreweb.svg)](https://ci-apps.yunohost.org/ci/apps/calibreweb/) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/calibreweb.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/calibreweb.maintain.svg) [![Instalar Calibre-web con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=calibreweb) diff --git a/README_zh_Hans.md b/README_zh_Hans.md index fb578f2..4442813 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -5,7 +5,7 @@ # YunoHost 上的 Calibre-web -[![集成程度](https://dash.yunohost.org/integration/calibreweb.svg)](https://dash.yunohost.org/appci/app/calibreweb) ![工作状态](https://ci-apps.yunohost.org/ci/badges/calibreweb.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/calibreweb.maintain.svg) +[![集成程度](https://dash.yunohost.org/integration/calibreweb.svg)](https://ci-apps.yunohost.org/ci/apps/calibreweb/) ![工作状态](https://ci-apps.yunohost.org/ci/badges/calibreweb.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/calibreweb.maintain.svg) [![使用 YunoHost 安装 Calibre-web](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=calibreweb) From 79c37d25b18257052ca2f9e856a34f9243eee987 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 5 Jul 2024 12:47:56 +0200 Subject: [PATCH 4/7] Terminate ARM asset regex x_x --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index aee17ba..61fd3ea 100644 --- a/manifest.toml +++ b/manifest.toml @@ -93,7 +93,7 @@ ram.runtime = "200M" autoupdate.strategy = "latest_github_release" autoupdate.asset.amd64 = "kepubify-linux-64bit" autoupdate.asset.i386 = "kepubify-linux-32bit" - autoupdate.asset.armhf = "kepubify-linux-arm" + autoupdate.asset.armhf = "kepubify-linux-arm$" autoupdate.asset.arm64 = "kepubify-linux-arm64" [resources.system_user] From 6e5abd933522b6387b79abc7de719b0e18e11e2d Mon Sep 17 00:00:00 2001 From: Krakinou Date: Tue, 9 Jul 2024 23:56:03 +0200 Subject: [PATCH 5/7] 0.6.22 --- manifest.toml | 6 ++-- scripts/install | 5 ++- .../main-optional-requirements.txt.patch | 36 +++++++++++-------- 3 files changed, 26 insertions(+), 21 deletions(-) diff --git a/manifest.toml b/manifest.toml index 61fd3ea..4eda86e 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Calibre-web" description.en = "Browsing, reading and downloading eBooks using a Calibre database" description.fr = "Explorer, lire et télécharger des eBooks à partir d'une base de données Calibre" -version = "0.96.21~ynh2" +version = "0.96.22~ynh1" maintainers = ["Krakinou"] @@ -71,8 +71,8 @@ ram.runtime = "200M" [resources] [resources.sources.main] - url = "https://github.com/janeczku/calibre-web/archive/refs/tags/0.6.21.zip" - sha256 = "570afeb74ec6506380e923244088c656921ffc94a616c9da46d68f5f39237fa4" + url = "https://github.com/janeczku/calibre-web/archive/refs/tags/0.6.22.zip" + sha256 = "59505b0edcf8771ac681cdb4fc9729d546a34ca2f5f4216201d8f09997ec338f" autoupdate.strategy = "latest_github_release" diff --git a/scripts/install b/scripts/install index 65f736d..6131fa8 100755 --- a/scripts/install +++ b/scripts/install @@ -12,7 +12,7 @@ source /usr/share/yunohost/helpers admin_mail=$(ynh_user_get_info --username="$admin" --key=mail) -if [ $public_library -eq 1 ]; then +if [ $public_library -eq 1 ]; then calibre_dir=$DOSSIER_MEDIA/share/eBook else # library is private calibre_dir=$DOSSIER_MEDIA/$admin/eBook @@ -26,7 +26,6 @@ fi # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= ynh_script_progression --message="Installing and patching sources to $install_dir..." --weight=10 -#REMOVEME? ynh_app_setting_set $app install_dir $install_dir #Set settings constant initializer of the app ynh_add_config --template="../sources/patches/main-config_sql.py.patch.src" --destination="../sources/patches/main-config_sql.py.patch" @@ -176,7 +175,7 @@ ynh_add_fail2ban_config --logpath="$log_file" --failregex="^.*LDAP Login failed ynh_script_progression --message="Start $app..." --weight=5 ynh_systemd_action --service_name=$app --action="start" --line_match="Starting Gevent server on" -t 30 -#Setting the proxy authentication in case calibre is not open to visitor. +#Setting the proxy authentication in case calibre is not open to visitor. #https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#login-via-header-from-upstream-authentication-source #We need to update the sso login parameter, but for that the app needs to have run at least once to initialize the tables. if ! $(ynh_permission_has_user --permission=main --user=visitors); then diff --git a/sources/patches/main-optional-requirements.txt.patch b/sources/patches/main-optional-requirements.txt.patch index 9c84db2..47fcef4 100644 --- a/sources/patches/main-optional-requirements.txt.patch +++ b/sources/patches/main-optional-requirements.txt.patch @@ -1,33 +1,39 @@ ---- a/optional-requirements.txt 2023-10-21 12:40:32.000000000 +0200 -+++ b/optional-requirements.txt 2023-11-09 23:07:35.075891057 +0100 +--- a/optional-requirements.txt 2024-07-06 04:29:16.000000000 +0200 ++++ b/optional-requirements.txt 2024-07-09 23:27:11.250122853 +0200 @@ -1,19 +1,5 @@ # GDrive Integration --google-api-python-client>=1.7.11,<2.98.0 - gevent>20.6.0,<24.0.0 --greenlet>=0.4.17,<2.1.0 +-google-api-python-client>=1.7.11,<2.200.0 + gevent>20.6.0,<24.3.0 +-greenlet>=0.4.17,<3.1.0 -httplib2>=0.9.2,<0.23.0 -oauth2client>=4.0.0,<4.1.4 -uritemplate>=3.0.0,<4.2.0 --pyasn1-modules>=0.0.8,<0.4.0 --pyasn1>=0.1.9,<0.6.0 --PyDrive2>=1.3.1,<1.18.0 +-pyasn1-modules>=0.0.8,<0.5.0 +-pyasn1>=0.1.9,<0.7.0 +-PyDrive2>=1.3.1,<1.20.0 -PyYAML>=3.12,<6.1 -rsa>=3.4.2,<4.10.0 - -# Gmail --google-auth-oauthlib>=0.4.3,<1.1.0 --google-api-python-client>=1.7.11,<2.98.0 +-google-auth-oauthlib>=0.4.3,<1.3.0 +-google-api-python-client>=1.7.11,<2.200.0 # goodreads goodreads>=0.3.2,<0.4.0 -@@ -23,10 +9,6 @@ +@@ -23,9 +9,6 @@ python-ldap>=3.0.0,<3.5.0 - Flask-SimpleLDAP>=1.4.0,<1.5.0 + Flask-SimpleLDAP>=1.4.0,<2.1.0 -# oauth -Flask-Dance>=2.0.0,<7.1.0 -SQLAlchemy-Utils>=0.33.5,<0.42.0 -- + # metadata extraction - rarfile>=3.2 - scholarly>=1.2.0,<1.8 + rarfile>=3.2,<5.0 +@@ -43,6 +26,3 @@ + + # Kobo integration + jsonschema>=3.2.0,<4.23.0 +- +-# Hide console Window on Windows +-pywin32>=220,<310 ; sys_platform == 'win32' From 5d2d26af8ed7b279384d982cf7dd2dde8c4f4565 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 9 Jul 2024 21:58:54 +0000 Subject: [PATCH 6/7] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0d1ec04..0f43572 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ It shall NOT be edited by hand. Browsing, reading and downloading eBooks using a Calibre database -**Shipped version:** 0.96.21~ynh2 +**Shipped version:** 0.96.22~ynh1 ## Screenshots diff --git a/README_es.md b/README_es.md index b18f38d..e0d6cec 100644 --- a/README_es.md +++ b/README_es.md @@ -18,7 +18,7 @@ No se debe editar a mano. Browsing, reading and downloading eBooks using a Calibre database -**Versión actual:** 0.96.21~ynh2 +**Versión actual:** 0.96.22~ynh1 ## Capturas diff --git a/README_eu.md b/README_eu.md index 8075ec8..9e92e7b 100644 --- a/README_eu.md +++ b/README_eu.md @@ -18,7 +18,7 @@ EZ editatu eskuz. Browsing, reading and downloading eBooks using a Calibre database -**Paketatutako bertsioa:** 0.96.21~ynh2 +**Paketatutako bertsioa:** 0.96.22~ynh1 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index aeec67a..c98f682 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main. Explorer, lire et télécharger des eBooks à partir d'une base de données Calibre -**Version incluse :** 0.96.21~ynh2 +**Version incluse :** 0.96.22~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index b246dd0..8db4f63 100644 --- a/README_gl.md +++ b/README_gl.md @@ -18,7 +18,7 @@ NON debe editarse manualmente. Browsing, reading and downloading eBooks using a Calibre database -**Versión proporcionada:** 0.96.21~ynh2 +**Versión proporcionada:** 0.96.22~ynh1 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 4442813..10d3a66 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -18,7 +18,7 @@ Browsing, reading and downloading eBooks using a Calibre database -**分发版本:** 0.96.21~ynh2 +**分发版本:** 0.96.22~ynh1 ## 截图 From 7b4568dec9118f1756d72390b2127c3784c7c271 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Thu, 11 Jul 2024 08:08:54 +0200 Subject: [PATCH 7/7] Change upgrade.from origin to 0.6.21 --- tests.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.toml b/tests.toml index fd4b2c5..c5f82f9 100644 --- a/tests.toml +++ b/tests.toml @@ -11,4 +11,4 @@ test_format = 1.0 # Commits to test upgrade from # ------------------------------- - test_upgrade_from.b8f9f95.name = "0.6.19~ynh8" + test_upgrade_from.f5a1739.name = "0.6.21~ynh2"