From 0eb5e363b99d63c949b0c3a3331be424d737f1a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 21 May 2024 18:13:47 +0200 Subject: [PATCH 1/9] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 6f364e6..63ab5bb 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, php8.2-imagick" + packages = "mariadb-server, imagemagick, php8.3-mysql, php8.3-gd, php8.3-mbstring, php8.3-xml, php8.3-imagick" [resources.database] type = "mysql" From 8864429428dbe0a2bccc52b2de1ce2054d1ab248 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 21 May 2024 16:13:52 +0000 Subject: [PATCH 2/9] Auto-update READMEs --- ALL_README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ALL_README.md b/ALL_README.md index 8938aae..152f2e7 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,7 +1,7 @@ # All available README files by language - [Read the README in English](README.md) -- [Lee el README en español](README_es.md) +- [Lea 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) From e62b888270de9be099a925f801a148c629ddd78e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 21 May 2024 18:15:02 +0200 Subject: [PATCH 3/9] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 63ab5bb..3794812 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~ynh2" +version = "4.1.0~ynh3" maintainers = ["eric_G"] From f5c4cd19b37a312ac1f7aa1c66f9279b23deddc8 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 21 May 2024 16:15:14 +0000 Subject: [PATCH 4/9] 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 fb331da..cb6e950 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~ynh2 +**Shipped version:** 4.1.0~ynh3 **Demo:** diff --git a/README_es.md b/README_es.md index eb283ad..3b0393c 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~ynh2 +**Versión actual:** 4.1.0~ynh3 **Demo:** diff --git a/README_eu.md b/README_eu.md index dac6cde..b7e47b5 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~ynh2 +**Paketatutako bertsioa:** 4.1.0~ynh3 **Demoa:** diff --git a/README_fr.md b/README_fr.md index e9f2c9b..7a2e922 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~ynh2 +**Version incluse :** 4.1.0~ynh3 **Démo :** diff --git a/README_gl.md b/README_gl.md index 09edde8..89074b0 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~ynh2 +**Versión proporcionada:** 4.1.0~ynh3 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 73051aa..cceeba9 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~ynh2 +**分发版本:** 4.1.0~ynh3 **演示:** From db17bac96c152706c67408c91150b33dae3b9092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 22 May 2024 08:34:44 +0200 Subject: [PATCH 5/9] fix --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 6dc49b1..2a7ae41 100755 --- a/scripts/install +++ b/scripts/install @@ -60,7 +60,7 @@ 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 +ynh_script_progression --message="Tweaking ImageMagick conf to allow generation of thumbnails PDF" --weight=1 sed -i 's/^\s*/g' /etc/ImageMagick-*/policy.xml diff --git a/scripts/upgrade b/scripts/upgrade index 44a87ff..ecd74fe 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -55,7 +55,7 @@ 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 +ynh_script_progression --message="Tweaking ImageMagick conf to allow generation of thumbnails PDF" --weight=1 sed -i 's/^\s*/g' /etc/ImageMagick-*/policy.xml From 7e5dfcca59ec29a0647e8fd409f7f6f8e7347851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 13 Jun 2024 11:27:48 +0200 Subject: [PATCH 6/9] Update manifest.toml --- manifest.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifest.toml b/manifest.toml index 3794812..8343dee 100644 --- a/manifest.toml +++ b/manifest.toml @@ -58,6 +58,10 @@ ram.runtime = "50M" [resources.permissions] main.url = "/" + api.url = "/api" + api.allowed = "visitors" + api.auth_header = false + api.show_tile = false [resources.apt] packages = "mariadb-server, imagemagick, php8.3-mysql, php8.3-gd, php8.3-mbstring, php8.3-xml, php8.3-imagick" From 03c8af8665aa3b5e6ce0f9d9f5698a878e990846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 13 Jun 2024 12:33:54 +0200 Subject: [PATCH 7/9] add csv module --- manifest.toml | 5 +++++ scripts/install | 2 +- scripts/upgrade | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 8343dee..de9049f 100644 --- a/manifest.toml +++ b/manifest.toml @@ -52,6 +52,11 @@ ram.runtime = "50M" sha256 = "bc0f87c07906c1aef1538b8cd1ab1ee9c3c3fe227ffea96b433a691fbd72d05f" autoupdate.strategy = "latest_github_tag" + [resources.sources.csvimport] + url = "https://github.com/omeka-s-modules/CSVImport/releases/download/v2.6.1/CSVImport-2.6.1.zip" + sha256 = "95aa91802ef497f6fb33e7bf1d129b041dc11ce1dc2eca4a6790a29becd592ad" + autoupdate.strategy = "latest_github_tag" + [resources.system_user] [resources.install_dir] diff --git a/scripts/install b/scripts/install index 2a7ae41..e91476b 100755 --- a/scripts/install +++ b/scripts/install @@ -30,8 +30,8 @@ ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage #================================================= ynh_script_progression --message="Setting up source files..." --weight=1 -# Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" +ynh_setup_source --dest_dir="$install_dir/modules/" --source_id="csvimport" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" diff --git a/scripts/upgrade b/scripts/upgrade index ecd74fe..28c9c3d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -39,6 +39,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --keep="config/local.config.php config/database.ini modules themes files" +ynh_setup_source --dest_dir="$install_dir/modules/" --source_id="csvimport" --full_replace=1 chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" From 09eb098be3bd70b70a8ab35e292d178e5852cc88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 13 Jun 2024 12:41:28 +0200 Subject: [PATCH 8/9] Update manifest.toml --- manifest.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/manifest.toml b/manifest.toml index de9049f..a6919ef 100644 --- a/manifest.toml +++ b/manifest.toml @@ -53,6 +53,7 @@ ram.runtime = "50M" autoupdate.strategy = "latest_github_tag" [resources.sources.csvimport] + in_subdir = false url = "https://github.com/omeka-s-modules/CSVImport/releases/download/v2.6.1/CSVImport-2.6.1.zip" sha256 = "95aa91802ef497f6fb33e7bf1d129b041dc11ce1dc2eca4a6790a29becd592ad" autoupdate.strategy = "latest_github_tag" From d0d20132744330dae2d6fc43cc98c93858c78e13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 13 Jun 2024 18:53:02 +0200 Subject: [PATCH 9/9] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 28c9c3d..16e1328 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -39,7 +39,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --keep="config/local.config.php config/database.ini modules themes files" -ynh_setup_source --dest_dir="$install_dir/modules/" --source_id="csvimport" --full_replace=1 +ynh_setup_source --dest_dir="$install_dir/modules/" --source_id="csvimport" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"