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.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 new file mode 100644 index 0000000..eb283ad --- /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~ynh2 + +**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_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 5076fb2..73051aa 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) @@ -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 **演示:** diff --git a/manifest.toml b/manifest.toml index 3549074..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"] @@ -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" 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 0c4615d..6dc49b1 100755 --- a/scripts/install +++ b/scripts/install @@ -52,11 +52,18 @@ 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" +#================================================= +# 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 #================================================= 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 #================================================= 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 #================================================= 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"