mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
Testing (#91)
* 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> * Upgrade to v4.2.1 (#88) * Upgrade to v4.2.1 * Auto-update README * Update manifest.toml * Update manifest.toml * Update manifest.toml * Auto-update README * cleaning * Auto-update README --------- Co-authored-by: yalh76 <yalh@yahoo.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
This commit is contained in:
parent
2de387bab9
commit
13cace7b36
6 changed files with 15 additions and 34 deletions
|
@ -16,12 +16,10 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
[Moodle](https://moodle.org) is a learning platform designed to provide educators, administrators and learners with a single robust, secure and integrated system to create personalised learning environments.
|
Moodle is a learning platform designed to provide educators, administrators and learners with a single robust, secure and integrated system to create personalised learning environments. Moodle is widely used around the world by universities, schools, companies and all manner of organisations and individuals.
|
||||||
|
|
||||||
Moodle is widely used around the world by universities, schools, companies and all manner of organisations and individuals.
|
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 4.2.1~ynh1
|
**Shipped version:** 4.2.2~ynh1
|
||||||
|
|
||||||
**Demo:** https://sandbox.moodledemo.net/
|
**Demo:** https://sandbox.moodledemo.net/
|
||||||
|
|
||||||
|
|
|
@ -16,12 +16,10 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
||||||
|
|
||||||
## Vue d’ensemble
|
## Vue d’ensemble
|
||||||
|
|
||||||
[Moodle](https://moodle.org) est une plateforme d'apprentissage conçue pour fournir aux éducateurs, administrateurs et apprenants un système unique robuste, sécurisé et intégré pour créer des environnements d'apprentissage personnalisés.
|
Moodle est une plateforme d'apprentissage conçue pour fournir aux éducateurs, administrateurs et apprenants un système unique robuste, sécurisé et intégré pour créer des environnements d'apprentissage personnalisés. Moodle est largement utilisé dans le monde entier par les universités, les écoles, les entreprises et toutes sortes d'organisations et d'individus.
|
||||||
|
|
||||||
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.2.1~ynh1
|
**Version incluse :** 4.2.2~ynh1
|
||||||
|
|
||||||
**Démo :** https://sandbox.moodledemo.net/
|
**Démo :** https://sandbox.moodledemo.net/
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1 @@
|
||||||
[Moodle](https://moodle.org) is a learning platform designed to provide educators, administrators and learners with a single robust, secure and integrated system to create personalised learning environments.
|
Moodle is a learning platform designed to provide educators, administrators and learners with a single robust, secure and integrated system to create personalised learning environments. Moodle is widely used around the world by universities, schools, companies and all manner of organisations and individuals.
|
||||||
|
|
||||||
Moodle is widely used around the world by universities, schools, companies and all manner of organisations and individuals.
|
|
||||||
|
|
|
@ -1,3 +1 @@
|
||||||
[Moodle](https://moodle.org) est une plateforme d'apprentissage conçue pour fournir aux éducateurs, administrateurs et apprenants un système unique robuste, sécurisé et intégré pour créer des environnements d'apprentissage personnalisés.
|
Moodle est une plateforme d'apprentissage conçue pour fournir aux éducateurs, administrateurs et apprenants un système unique robuste, sécurisé et intégré pour créer des environnements d'apprentissage personnalisés. Moodle est largement utilisé dans le monde entier par les universités, les écoles, les entreprises et toutes sortes d'organisations et d'individus.
|
||||||
|
|
||||||
Moodle est largement utilisé dans le monde entier par les universités, les écoles, les entreprises et toutes sortes d'organisations et d'individus.
|
|
||||||
|
|
|
@ -5,9 +5,9 @@ name = "Moodle"
|
||||||
description.en = "Online learning platform"
|
description.en = "Online learning platform"
|
||||||
description.fr = "Plateforme d'apprentissage en ligne"
|
description.fr = "Plateforme d'apprentissage en ligne"
|
||||||
|
|
||||||
version = "4.2.1~ynh1"
|
version = "4.2.2~ynh1"
|
||||||
|
|
||||||
maintainers = ["Anmol Sharma"]
|
maintainers = [""]
|
||||||
|
|
||||||
[upstream]
|
[upstream]
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
|
@ -17,7 +17,7 @@ admindoc = "https://docs.moodle.org/400/en/Main_page"
|
||||||
code = "https://github.com/moodle/moodle"
|
code = "https://github.com/moodle/moodle"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.1.20"
|
yunohost = ">= 11.2"
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
ldap = true
|
ldap = true
|
||||||
|
@ -46,15 +46,14 @@ ram.runtime = "50M"
|
||||||
ask.fr = "Choisissez un nom pour le site que vous voulez créer"
|
ask.fr = "Choisissez un nom pour le site que vous voulez créer"
|
||||||
type = "string"
|
type = "string"
|
||||||
default = "moodle"
|
default = "moodle"
|
||||||
example = "moodle"
|
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
|
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
|
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://github.com/moodle/moodle/archive/refs/tags/v4.2.1.tar.gz"
|
url = "https://github.com/moodle/moodle/archive/refs/tags/v4.2.2.tar.gz"
|
||||||
sha256 = "b9652bda01051a3bf59d5c5e24997749c3faaa8d1ccad3dd90793a5f68ba6220"
|
sha256 = "bcb33d2911f36b79232873d84ae0567bc872cecad2bf17ded3e86a0c35b8aa6e"
|
||||||
autoupdate.strategy = "latest_github_tag"
|
autoupdate.strategy = "latest_github_tag"
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
|
@ -47,14 +47,13 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=1
|
||||||
# Create a dedicated PHP-FPM config
|
# Create a dedicated PHP-FPM config
|
||||||
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
|
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# NGINX CONFIGURATION
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Configuring NGINX web server..." --weight=2
|
|
||||||
|
|
||||||
# Create a dedicated NGINX config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
|
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
|
||||||
|
chown root: "/etc/cron.d/$app"
|
||||||
|
chmod 644 "/etc/cron.d/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP APPLICATION
|
# SETUP APPLICATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -89,15 +88,6 @@ chmod 750 "$install_dir"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# ADD CRON JOB
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Adding cron job..." --weight=2
|
|
||||||
|
|
||||||
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
|
|
||||||
chown root: "/etc/cron.d/$app"
|
|
||||||
chmod 644 "/etc/cron.d/$app"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue