diff --git a/README.md b/README.md index 7bf193e..e1285c5 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Moodle is widely used around the world by universities, schools, companies and all manner of organisations and individuals. -**Shipped version:** 4.1.2~ynh1 +**Shipped version:** 4.2.0~ynh1 **Demo:** https://sandbox.moodledemo.net/ diff --git a/README_fr.md b/README_fr.md index 83df6a3..47d4625 100644 --- a/README_fr.md +++ b/README_fr.md @@ -21,7 +21,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po Moodle est largement utilisé dans le monde entier par les universités, les écoles, les entreprises et toutes sortes d'organisations et d'individus. -**Version incluse :** 4.1.2~ynh1 +**Version incluse :** 4.2.0~ynh1 **Démo :** https://sandbox.moodledemo.net/ diff --git a/manifest.toml b/manifest.toml index c5d7cfa..d295de4 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Moodle" description.en = "Online learning platform" description.fr = "Plateforme d'apprentissage en ligne" -version = "4.1.2~ynh1" +version = "4.2.0~ynh1" maintainers = ["Anmol Sharma"] @@ -17,7 +17,7 @@ admindoc = "https://docs.moodle.org/400/en/Main_page" code = "https://github.com/moodle/moodle" [integration] -yunohost = ">= 11.1.15" +yunohost = ">= 11.1.19" architectures = "all" multi_instance = true ldap = true @@ -53,8 +53,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/moodle/moodle/archive/v4.1.2.zip" - sha256 = "395523c8a81203636dfe74e8daaa9f98dc5268576728ef01d7fcc5a1753cc13a" + url = "https://github.com/moodle/moodle/archive/v4.2.0.zip" + sha256 = "d74c96795d969a403356ef5f313de61effb5a188ca88690be3c7af5f57eb20e8" autoupdate.strategy = "latest_github_tag" [resources.system_user] @@ -67,7 +67,7 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages = "postgresql php7.4-common php7.4-mbstring php7.4-curl php7.4-xmlrpc php7.4-soap php7.4-zip php7.4-gd php7.4-xml php7.4-intl php7.4-pgsql php7.4-ldap" + packages = "postgresql php8.0-common php8.0-mbstring php8.0-curl php8.0-xmlrpc php8.0-soap php8.0-zip php8.0-gd php8.0-xml php8.0-intl php8.0-pgsql php8.0-ldap" [resources.database] type = "postgresql" diff --git a/scripts/install b/scripts/install index 4659de6..f728546 100644 --- a/scripts/install +++ b/scripts/install @@ -60,7 +60,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Setting up the application..." --weight=19 -php${phpversion} "$install_dir/admin/cli/install.php" --wwwroot="https://${domain}${path%/}" --dataroot="$data_dir" --dbtype='pgsql' --dbname="$db_name" --dbuser="$db_name" --dbpass="$db_pwd" --adminuser="$admin" --adminpass="$password" --adminemail="$email" --fullname="$site_name" --shortname="$site_name" --non-interactive --agree-license +php${phpversion} -d max_input_vars=5000 "$install_dir/admin/cli/install.php" --wwwroot="https://${domain}${path%/}" --dataroot="$data_dir" --dbtype='pgsql' --dbname="$db_name" --dbuser="$db_name" --dbpass="$db_pwd" --adminuser="$admin" --adminpass="$password" --adminemail="$email" --fullname="$site_name" --shortname="$site_name" --non-interactive --agree-license # Calculate and store the config file checksum into the app settings ynh_store_file_checksum "$install_dir/config.php" diff --git a/tests.toml b/tests.toml index eb73b8d..32f9eb1 100644 --- a/tests.toml +++ b/tests.toml @@ -1,3 +1,10 @@ test_format = 1.0 -[default] \ No newline at end of file +[default] + + # ------------------------------- + # Default args to use for install + # ------------------------------- + + args.admin="john" + args.site_name="Moodle" \ No newline at end of file