diff --git a/manifest.toml b/manifest.toml index f83207c..86e5759 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Movim" description.en = "Decentralized social platform based on XMPP" description.fr = "Plateforme sociale décentralisée basée sur XMPP" -version = "0.19~ynh6" +version = "0.24.1~ynh1" maintainers = [] @@ -25,6 +25,7 @@ architectures = "all" multi_instance = false ldap = false + sso = true disk = "50M" @@ -51,9 +52,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/movim/movim/archive/v0.19.tar.gz" - sha256 = "df98b5b0df6fd6bfa5fda88f387ac017bc7bcead42c462745296604f3e0ee501" - + url = "https://github.com/movim/movim/archive/refs/tags/v0.24.1.tar.gz" + sha256 = "4a596a2aae517be58f185dfd56a182235a9373d524b7e3272d044d4c9805b940" autoupdate.strategy = "latest_github_tag" [resources.ports] @@ -67,12 +67,12 @@ ram.runtime = "50M" [resources.apt] packages = [ - "php7.4-curl", - "php7.4-mbstring", - "php7.4-imagick", - "php7.4-gd", - "php7.4-pgsql", - "php7.4-xml", + "php8.2-curl", + "php8.2-mbstring", + "php8.2-imagick", + "php8.2-gd", + "php8.2-pgsql", + "php8.2-xml", "postgresql", "postgresql-contrib", "apt-transport-https", diff --git a/scripts/_common.sh b/scripts/_common.sh index ff3a014..5714a73 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -YNH_COMPOSER_VERSION="2.2.5" +YNH_COMPOSER_VERSION="2.6.5" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 5811cdd..bca61bb 100644 --- a/scripts/install +++ b/scripts/install @@ -34,9 +34,6 @@ ynh_script_progression --message="Setting up source files..." # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" -# Temporary workaround to fix movim.ERROR: Error: Call to undefined function GuzzleHttp\Psr7\uri_for() -ynh_replace_string --match_string="0.3.5" --replace_string="0.4.1" --target_file="$install_dir/composer.json" - chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" diff --git a/scripts/upgrade b/scripts/upgrade index b41fa4f..fa25076 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -45,9 +45,6 @@ ynh_script_progression --message="Upgrading source files..." # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config/db.inc.php" -# Temporary workaround to fix movim.ERROR: Error: Call to undefined function GuzzleHttp\Psr7\uri_for() -ynh_replace_string --match_string="0.3.5" --replace_string="0.4.1" --target_file="$install_dir/composer.json" - chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" @@ -64,7 +61,7 @@ chown "$app:$app" "$install_dir/config/db.inc.php" #================================================= # BUILD MOVIM #================================================= -ynh_script_progression --message="Building Movim..." +ynh_script_progression --message="Building $app..." ynh_exec_warn_less ynh_install_composer