mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
Testing (#87)
* Upgrade (#68) * Apply example_ynh * Fix melange-de-versions https://forum.yunohost.org/t/melange-de-versions-de-moodle-detectees/19985 * Update manifest.json * Auto-update README Co-authored-by: yunohost-bot <yunohost@yunohost.org> * 4.0.2 (#71) * 4.0.2 * Auto-update README Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Auto-update README * Bullseye (#73) * Update manifest.json * Auto-update README * Update upgrade * Fix * Auto-update README * Auto-update README Co-authored-by: yunohost-bot <yunohost@yunohost.org> * 4.0.3 (#74) * 4.0.3 * Auto-update README Co-authored-by: yunohost-bot <yunohost@yunohost.org> * 4.0.4 * Auto-update README * 4.1.0 (#77) * 4.1.0 * Auto-update README * fix PHP * Update config_panel.toml * Update config_panel.toml Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Auto-update README * 4.1.1 * Auto-update README * Update extra_php-fpm.conf * Update extra_php-fpm.conf * Auto-update README * Update manifest.json * Update extra_php-fpm.conf * Update _common.sh * Version 2 (#80) * v2 * Fix * Auto-update README * fix * Fix * Update tests.toml * Update manifest.toml * Update _common.sh * Update upgrade * Update upgrade * Update manifest.toml * fix * upgrade: remove unused code --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> * Update manifest.toml * cleaning * Auto-update README * Update manifest.toml * Auto-update README * Update manifest.toml * fix * 4.2.0 (#85) * Update manifest.toml * Auto-update README * Update manifest.toml * Update manifest.toml * Update extra_php-fpm.conf * Update extra_php-fpm.conf * Update install * Update install --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> --------- Co-authored-by: yalh76 <yalh@yahoo.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
7ff7a6be94
commit
766d38ee7e
5 changed files with 16 additions and 9 deletions
|
@ -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/
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
test_format = 1.0
|
||||
|
||||
[default]
|
||||
[default]
|
||||
|
||||
# -------------------------------
|
||||
# Default args to use for install
|
||||
# -------------------------------
|
||||
|
||||
args.admin="john"
|
||||
args.site_name="Moodle"
|
Loading…
Reference in a new issue