1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moodle_ynh.git synced 2024-09-03 19:46:23 +02:00
* 3.10.4
This commit is contained in:
Éric Gaspar 2021-06-04 11:25:56 +02:00 committed by GitHub
parent f8345b9787
commit 10b6ea211c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 16 deletions

View file

@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/inst
## 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 widely used around the world by universities, schools, companies and all manner of organisations and individuals.
**Shipped version:** 3.10.3
**Shipped version:** 3.10.4
## Screenshots

View file

@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/install)
## Vue d'ensemble
[Moodle](https://moodle.org) est une plateforme d'apprentissage conçue pour fournir aux enseignants, aux administrateurs et aux 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.
**Version incluse :** 3.10.3
**Version incluse :** 3.10.4
## Captures d'écran

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/moodle/moodle/archive/v3.10.3.zip
SOURCE_SUM=f92e603a261d013b1c6f2956d1511b7e5d65ac1e9f05de77a94183bc3faaba7d
SOURCE_URL=https://github.com/moodle/moodle/archive/v3.10.4.zip
SOURCE_SUM=00b6020496e4a7d7d107bbb398d56425c2ba57188bf16756f0480ac973229c33
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Online learning platform",
"fr": "Plateforme d'apprentissage en ligne"
},
"version": "3.10.3~ynh1",
"version": "3.10.4~ynh1",
"url": "https://moodle.org/",
"license": "GPL-3.0-or-later",
"maintainer": {

View file

@ -50,6 +50,7 @@ ynh_script_progression --message="Storing installation settings..." --weight=1
ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_app_setting_set --app=$app --key=admin --value=$admin
ynh_app_setting_set --app=$app --key=data_path --value=$data_path
#=================================================
# STANDARD MODIFICATIONS
@ -114,10 +115,9 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
# SECURE FILES AND DIRECTORIES
#=================================================
ynh_app_setting_set --app=$app --key=data_path --value=$data_path
chown -R $app: "$final_path"
mkdir -p $data_path
chown -R $app: $data_path
chown -R $app: $final_path
#=================================================
# SETUP APPLICATION

View file

@ -75,7 +75,7 @@ ynh_system_user_create --username=$app
ynh_script_progression --message="Restoring user rights..."
# Restore permissions on app files
chown -R $app: $final_path
chown -R $app: "$final_path"
chown -R $app: $data_path
#=================================================

View file

@ -120,14 +120,6 @@ exec_as $app php${phpversion} "$final_path/admin/cli/upgrade.php" --non-interact
# Recalculate and store the checksum of the file for the next upgrade.
ynh_store_file_checksum --file="$final_path/config.php"
#=================================================
# SECURE FILES AND DIRECTORIES
#=================================================
# Set permissions on app files
chown -R $app: $data_path
chown -R $app: $final_path
#=================================================
# ACTIVATE LDAP SUPPORT
#=================================================