diff --git a/README.md b/README.md index baef8d6..c810e3e 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ It shall NOT be edited by hand. Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do. -**Shipped version:** 2022.08.18~ynh1 +**Shipped version:** 2024.06.07~ynh1 ## Screenshots diff --git a/README_es.md b/README_es.md index 5f58c4a..7f69753 100644 --- a/README_es.md +++ b/README_es.md @@ -18,7 +18,7 @@ No se debe editar a mano. Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do. -**Versión actual:** 2022.08.18~ynh1 +**Versión actual:** 2024.06.07~ynh1 ## Capturas diff --git a/README_eu.md b/README_eu.md index e7b2966..80c36ae 100644 --- a/README_eu.md +++ b/README_eu.md @@ -18,7 +18,7 @@ EZ editatu eskuz. Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do. -**Paketatutako bertsioa:** 2022.08.18~ynh1 +**Paketatutako bertsioa:** 2024.06.07~ynh1 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index 01dfcc9..e929170 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main. Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do. -**Version incluse :** 2022.08.18~ynh1 +**Version incluse :** 2024.06.07~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 3751f22..31dad08 100644 --- a/README_gl.md +++ b/README_gl.md @@ -18,7 +18,7 @@ NON debe editarse manualmente. Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do. -**Versión proporcionada:** 2022.08.18~ynh1 +**Versión proporcionada:** 2024.06.07~ynh1 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 3d189b8..04abd8b 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -18,7 +18,7 @@ Huginn is a system for building agents that perform automated tasks for you online. They can read the web, watch for events, and take actions on your behalf. Huginn's Agents create and consume events, propagating them along a directed graph. Think of it as a hackable version of IFTTT or Zapier on your own server. You always know who has your data. You do. -**分发版本:** 2022.08.18~ynh1 +**分发版本:** 2024.06.07~ynh1 ## 截图 diff --git a/manifest.toml b/manifest.toml index f141543..f875c8a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -6,7 +6,7 @@ id = "huginn" name = "Huginn" description.en = "Build agents that monitor and act on your behalf. Your agents are standing by" -version = "2022.08.18~ynh1" +version = "2024.06.07~ynh1" maintainers = ["aurel"] @@ -45,8 +45,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/huginn/huginn/archive/refs/tags/v2022.08.18.tar.gz" - sha256 = "845042042089a35c274bef41fc498cfd23733d923ab3772f4311212b42b356d9" + url = "https://github.com/huginn/huginn/archive/5a1509b51188e0d16868be893c983d6fcfd232a5.tar.gz" + sha256 = "d71c27306e6cb63a6e9e02c6a18b8a63c0f4bb4d94311002c8df526d66f6dddf" # Yeah there is a release but it's 2 years old and the doc tells to git commit… autoupdate.strategy = "latest_github_commit" diff --git a/scripts/_common.sh b/scripts/_common.sh index 1704b0d..6a96b69 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -ruby_version=2.7 +ruby_version=3.2.4 #================================================= # PERSONAL HELPERS diff --git a/scripts/backup b/scripts/backup index b32f7ce..715d768 100644 --- a/scripts/backup +++ b/scripts/backup @@ -1,7 +1,5 @@ #!/bin/bash -#================================================= -# GENERIC START #================================================= # IMPORT GENERIC HELPERS #================================================= diff --git a/scripts/change_url b/scripts/change_url index d0706b9..de0fe43 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -1,7 +1,5 @@ #!/bin/bash -#================================================= -# GENERIC STARTING #================================================= # IMPORT GENERIC HELPERS #================================================= diff --git a/scripts/install b/scripts/install index 42a9eef..9c69d43 100755 --- a/scripts/install +++ b/scripts/install @@ -1,7 +1,5 @@ #!/bin/bash -#================================================= -# GENERIC START #================================================= # IMPORT GENERIC HELPERS #================================================= @@ -37,8 +35,6 @@ mkdir -p "$install_dir/log" "$install_dir/tmp/pids" "$install_dir/tmp/sockets" chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" -#================================================= -# SPECIFIC SETUP #================================================= # ADD A CONFIGURATION #================================================= @@ -57,7 +53,7 @@ ynh_script_progression --message="Building app..." pushd "$install_dir" ynh_use_ruby cp config/unicorn.rb.example config/unicorn.rb - chown -R $app:www-data "$install_dir/config/unicorn.rb" + chown -R "$app:www-data" "$install_dir/config/unicorn.rb" ynh_gem install rubygems-update -v 3.4 ynh_gem update --system --no-document ynh_gem install bundler -v 2.4.22 @@ -73,7 +69,7 @@ popd chmod 750 "$install_dir/public" chmod -R o-rwx "$install_dir/public" -chown -R $app:www-data "$install_dir/public" +chown -R "$app:www-data" "$install_dir/public" #================================================= # SYSTEM CONFIGURATION @@ -85,8 +81,9 @@ ynh_add_nginx_config # Create a dedicated systemd config ynh_add_systemd_config --service="$app-web" --template="web.service" -ynh_add_systemd_config --service="$app-jobs" --template="jobs.service" yunohost service add "$app-web" --log="$install_dir/log/unicorn.log" + +ynh_add_systemd_config --service="$app-jobs" --template="jobs.service" yunohost service add "$app-jobs" --log="$install_dir/log/production.log" #================================================= diff --git a/scripts/remove b/scripts/remove index 9ae75f8..8318576 100755 --- a/scripts/remove +++ b/scripts/remove @@ -1,7 +1,5 @@ #!/bin/bash -#================================================= -# GENERIC START #================================================= # IMPORT GENERIC HELPERS #================================================= diff --git a/scripts/restore b/scripts/restore index 3591f53..25dd100 100644 --- a/scripts/restore +++ b/scripts/restore @@ -1,7 +1,5 @@ #!/bin/bash -#================================================= -# GENERIC START #================================================= # IMPORT GENERIC HELPERS #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 563726c..8d6991d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,7 +1,5 @@ #!/bin/bash -#================================================= -# GENERIC START #================================================= # IMPORT GENERIC HELPERS #================================================= @@ -9,8 +7,6 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# STANDARD UPGRADE STEPS #================================================= # STOP SYSTEMD SERVICE #================================================= @@ -38,8 +34,6 @@ mkdir -p "$install_dir/log" "$install_dir/tmp/pids" "$install_dir/tmp/sockets" chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" -#================================================= -# SPECIFIC UPGRADE #================================================= # UPDATE A CONFIG FILE #=================================================