From 4517cec08ef809413498e4d39612565ffab8f332 Mon Sep 17 00:00:00 2001 From: vincent-lucy Date: Wed, 15 May 2024 10:16:50 +0200 Subject: [PATCH 1/8] Update manifest.toml add php8.2-imagick --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 3549074..47bce33 100644 --- a/manifest.toml +++ b/manifest.toml @@ -60,7 +60,7 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages = "mariadb-server, imagemagick, php8.2-mysql, php8.2-gd, php8.2-mbstring, php8.2-xml" + packages = "mariadb-server, imagemagick, php8.2-mysql, php8.2-gd, php8.2-mbstring, php8.2-xml, php8.2-imagick" [resources.database] type = "mysql" From 01d02d0e2c2e8b6caf2039289ea0d714c8f069a5 Mon Sep 17 00:00:00 2001 From: vincent-lucy Date: Wed, 15 May 2024 10:29:54 +0200 Subject: [PATCH 2/8] Update install: Tweaking imagemagick conf to allow generation of thumbnails PDF --- scripts/install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/install b/scripts/install index 0c4615d..8def79e 100755 --- a/scripts/install +++ b/scripts/install @@ -57,6 +57,13 @@ ynh_add_config --template="../conf/database.ini.default" --destination="$install chmod 400 "$install_dir/config/database.ini" chown $app "$install_dir/config/database.ini" +#================================================= +# TWEAK IMAGICK CONFIGURATION TO ALLOW PDF THUMBNAILS GENERATION +#================================================= +ynh_script_progression --message="Tweaking imagemagick conf to allow generation of thumbnails PDF" --weight=1 + +sed -i 's/^\s*/g' /etc/ImageMagick-*/policy.xml + #================================================= # END OF SCRIPT #================================================= From 1c804040d8e720da698ff4596525275806207f4d Mon Sep 17 00:00:00 2001 From: vincent-lucy Date: Wed, 15 May 2024 10:30:22 +0200 Subject: [PATCH 3/8] Update upgrade: Tweaking imagemagick conf to allow generation of thumbnails PDF --- scripts/upgrade | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index daaf3ef..44a87ff 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -52,6 +52,13 @@ ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint ynh_add_nginx_config +#================================================= +# TWEAK IMAGICK CONFIGURATION TO ALLOW PDF THUMBNAILS GENERATION +#================================================= +ynh_script_progression --message="Tweaking imagemagick conf to allow generation of thumbnails PDF" --weight=1 + +sed -i 's/^\s*/g' /etc/ImageMagick-*/policy.xml + #================================================= # END OF SCRIPT #================================================= From 5cd47d7cc0605e00db2416c1738532a804d3069e Mon Sep 17 00:00:00 2001 From: vincent-lucy Date: Wed, 15 May 2024 10:30:44 +0200 Subject: [PATCH 4/8] Update restore: Tweaking imagemagick conf to allow generation of thumbnails PDF --- scripts/restore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/restore b/scripts/restore index cd1ea62..8aad9e9 100755 --- a/scripts/restore +++ b/scripts/restore @@ -43,6 +43,13 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" +#================================================= +# TWEAK IMAGICK CONFIGURATION TO ALLOW PDF THUMBNAILS GENERATION +#================================================= +ynh_script_progression --message="Tweaking imagemagick conf to allow generation of thumbnails PDF" --weight=1 + +sed -i 's/^\s*/g' /etc/ImageMagick-*/policy.xml + #================================================= # GENERIC FINALIZATION #================================================= From fe0d6e50803cbc146ad11554cff405dae2e0d8a8 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 15 May 2024 09:26:56 +0000 Subject: [PATCH 5/8] Auto-update READMEs --- ALL_README.md | 1 + README_es.md | 54 +++++++++++++++++++++++++++++++++++++++++++++++ README_zh_Hans.md | 2 +- 3 files changed, 56 insertions(+), 1 deletion(-) 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_es.md b/README_es.md new file mode 100644 index 0000000..5ca8390 --- /dev/null +++ b/README_es.md @@ -0,0 +1,54 @@ + + +# Omeka S para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/omeka-s.svg)](https://dash.yunohost.org/appci/app/omeka-s) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/omeka-s.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/omeka-s.maintain.svg) + +[![Instalar Omeka S con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=omeka-s) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarOmeka S 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 + +Omeka S is a web publication system for universities, galleries, libraries, archives, and museums. It consists of a local network of independently curated exhibits sharing a collaboratively built pool of items, media, and their metadata. + +### Features + +- Connect to the semantic Web +- Share with DPLA + +**Versión actual:** 4.1.0~ynh1 + +**Demo:** + +## Capturas + +![Captura de Omeka S](./doc/screenshots/omeka-s.png) + +## Documentaciones y recursos + +- Sitio web oficial: +- Documentación usuario 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/omeka-s_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug +o +sudo yunohost app upgrade omeka-s -u https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug +``` + +**Mas informaciones sobre el empaquetado de aplicaciones:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 5076fb2..70552fd 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -3,7 +3,7 @@ 请勿手动编辑。 --> -# YunoHost 的 Omeka S +# YunoHost 上的 Omeka S [![集成程度](https://dash.yunohost.org/integration/omeka-s.svg)](https://dash.yunohost.org/appci/app/omeka-s) ![工作状态](https://ci-apps.yunohost.org/ci/badges/omeka-s.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/omeka-s.maintain.svg) From ca410ed1b24f987df71835249bc21d36c0d365e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 15 May 2024 11:28:44 +0200 Subject: [PATCH 6/8] cleaning --- manifest.toml | 2 +- scripts/backup | 6 +----- scripts/install | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/manifest.toml b/manifest.toml index 47bce33..6f364e6 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Omeka S" description.en = "Web publication system for universities, galleries, libraries, archives, and museums" description.fr = "Système de publication Web pour les universités, les galeries, les bibliothèques, les archives et les musées" -version = "4.1.0~ynh1" +version = "4.1.0~ynh2" maintainers = ["eric_G"] diff --git a/scripts/backup b/scripts/backup index 214b288..30f2c81 100755 --- a/scripts/backup +++ b/scripts/backup @@ -22,15 +22,11 @@ ynh_print_info --message="Declaring files to be backed up..." ynh_backup --src_path="$install_dir" #================================================= -# BACKUP THE NGINX CONFIGURATION +# SYSTEM CONFIGURATION #================================================= ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# BACKUP THE PHP-FPM CONFIGURATION -#================================================= - ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" #================================================= diff --git a/scripts/install b/scripts/install index 8def79e..6dc49b1 100755 --- a/scripts/install +++ b/scripts/install @@ -52,7 +52,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/database.ini.default" --destination="$install_dir/config/database.ini" +ynh_add_config --template="database.ini.default" --destination="$install_dir/config/database.ini" chmod 400 "$install_dir/config/database.ini" chown $app "$install_dir/config/database.ini" From 675c23187f6602720cb46cb332b54a2018072d7d Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 15 May 2024 09:28:50 +0000 Subject: [PATCH 7/8] 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 3882d2e..fb331da 100755 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Omeka S is a web publication system for universities, galleries, libraries, arch - Connect to the semantic Web - Share with DPLA -**Shipped version:** 4.1.0~ynh1 +**Shipped version:** 4.1.0~ynh2 **Demo:** diff --git a/README_es.md b/README_es.md index 5ca8390..eb283ad 100644 --- a/README_es.md +++ b/README_es.md @@ -23,7 +23,7 @@ Omeka S is a web publication system for universities, galleries, libraries, arch - Connect to the semantic Web - Share with DPLA -**Versión actual:** 4.1.0~ynh1 +**Versión actual:** 4.1.0~ynh2 **Demo:** diff --git a/README_eu.md b/README_eu.md index 8371262..dac6cde 100644 --- a/README_eu.md +++ b/README_eu.md @@ -23,7 +23,7 @@ Omeka S is a web publication system for universities, galleries, libraries, arch - Connect to the semantic Web - Share with DPLA -**Paketatutako bertsioa:** 4.1.0~ynh1 +**Paketatutako bertsioa:** 4.1.0~ynh2 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 38f8a4e..e9f2c9b 100755 --- a/README_fr.md +++ b/README_fr.md @@ -23,7 +23,7 @@ Omeka S est un système de publication Web pour les universités, les galeries, - Se connecter au Web sémantique - Partager avec DPLA -**Version incluse :** 4.1.0~ynh1 +**Version incluse :** 4.1.0~ynh2 **Démo :** diff --git a/README_gl.md b/README_gl.md index 18c8400..09edde8 100644 --- a/README_gl.md +++ b/README_gl.md @@ -23,7 +23,7 @@ Omeka S is a web publication system for universities, galleries, libraries, arch - Connect to the semantic Web - Share with DPLA -**Versión proporcionada:** 4.1.0~ynh1 +**Versión proporcionada:** 4.1.0~ynh2 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 70552fd..73051aa 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -23,7 +23,7 @@ Omeka S is a web publication system for universities, galleries, libraries, arch - Connect to the semantic Web - Share with DPLA -**分发版本:** 4.1.0~ynh1 +**分发版本:** 4.1.0~ynh2 **演示:** From b4069d86429f98df8e19232bf93dd111fecb6e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 15 May 2024 12:23:17 +0200 Subject: [PATCH 8/8] Update tests.toml --- tests.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.toml b/tests.toml index 1219854..685f79a 100644 --- a/tests.toml +++ b/tests.toml @@ -6,4 +6,4 @@ test_format = 1.0 # Commits to test upgrade from # ------------------------------- - test_upgrade_from.894f1eb9.name = "Upgrade from 3.0.2" + test_upgrade_from.1fd11805251707b295840f1c62def7efa2becc70.name = "Upgrade from 4.0.4"