mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
parent
499ac857a9
commit
7f071cfc07
6 changed files with 78 additions and 29 deletions
12
README.md
12
README.md
|
@ -3,15 +3,15 @@
|
||||||
[](https://dash.yunohost.org/appci/app/moodle)  
|
[](https://dash.yunohost.org/appci/app/moodle)  
|
||||||
[](https://install-app.yunohost.org/?app=moodle)
|
[](https://install-app.yunohost.org/?app=moodle)
|
||||||
|
|
||||||
|
*[Lire ce readme en français.](./README_fr.md)*
|
||||||
|
|
||||||
> *This package allows you to install Moodle quickly and simply on a YunoHost server.
|
> *This package allows you to install Moodle quickly and simply on a YunoHost server.
|
||||||
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||||
|
|
||||||
## 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](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.
|
||||||
|
|
||||||
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.2
|
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ How to configure this app: by an admin panel.
|
||||||
|
|
||||||
#### Supported architectures
|
#### Supported architectures
|
||||||
|
|
||||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/moodle/)
|
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/moodle/)
|
||||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/moodle/)
|
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/moodle/)
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
|
|
62
README_fr.md
Normal file
62
README_fr.md
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
# Moodle pour YunoHost
|
||||||
|
|
||||||
|
[](https://dash.yunohost.org/appci/app/moodle)  
|
||||||
|
[](https://install-app.yunohost.org/?app=moodle)
|
||||||
|
|
||||||
|
*[Read this readme in english.](./README.md)*
|
||||||
|
|
||||||
|
> *Ce package vous permet d'installer Moodle rapidement et simplement sur un serveur YunoHost.
|
||||||
|
Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.*
|
||||||
|
|
||||||
|
## 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
|
||||||
|
|
||||||
|
## Captures d'écran
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Démo
|
||||||
|
|
||||||
|
* [Démo officielle](https://sandbox.moodledemo.net/)
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
* Comment configurer cette application : via le panneau d'administration.
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
* Documentation officielle : https://docs.moodle.org/39/en/Main_page
|
||||||
|
|
||||||
|
## Caractéristiques spécifiques YunoHost
|
||||||
|
|
||||||
|
#### Support multi-utilisateur
|
||||||
|
|
||||||
|
* L'authentification LDAP et HTTP est-elle prise en charge ? **Oui**
|
||||||
|
* L'application peut-elle être utilisée par plusieurs utilisateurs ? **Oui**
|
||||||
|
|
||||||
|
#### Architectures supportées
|
||||||
|
|
||||||
|
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/moodle/)
|
||||||
|
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/moodle/)
|
||||||
|
|
||||||
|
## Liens
|
||||||
|
|
||||||
|
* Signaler un bug :https://github.com/YunoHost-Apps/moodle_ynh/issues
|
||||||
|
* Site de l'application : https://moodle.org/
|
||||||
|
* Dépôt de l'application principale : http://git.moodle.org/ - https://github.com/moodle/moodle
|
||||||
|
* Site web YunoHost : https://yunohost.org/
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Informations pour les développeurs
|
||||||
|
|
||||||
|
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/moodle_ynh/tree/testing).
|
||||||
|
|
||||||
|
Pour essayer la branche testing, procédez comme suit.
|
||||||
|
```
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/moodle_ynh/tree/testing --debug
|
||||||
|
ou
|
||||||
|
sudo yunohost app upgrade moodle -u https://github.com/YunoHost-Apps/moodle_ynh/tree/testing --debug
|
||||||
|
```
|
|
@ -14,9 +14,10 @@
|
||||||
upgrade=1
|
upgrade=1
|
||||||
# 3.8.2~ynh2
|
# 3.8.2~ynh2
|
||||||
upgrade=1 from_commit=3bdecdeabdcaaf1fdfade6e5b7dcfa30704c665c
|
upgrade=1 from_commit=3bdecdeabdcaaf1fdfade6e5b7dcfa30704c665c
|
||||||
|
# 3.10.2~ynh1
|
||||||
|
upgrade=1 from_commit=499ac857a9e80bbf56c93e448086e84e09e97ac6
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
port_already_use=0
|
|
||||||
change_url=0
|
change_url=0
|
||||||
;;; Options
|
;;; Options
|
||||||
Email=
|
Email=
|
||||||
|
@ -24,3 +25,5 @@ Notification=none
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=3bdecdeabdcaaf1fdfade6e5b7dcfa30704c665c
|
; commit=3bdecdeabdcaaf1fdfade6e5b7dcfa30704c665c
|
||||||
name=3.8.2~ynh2
|
name=3.8.2~ynh2
|
||||||
|
; commit=499ac857a9e80bbf56c93e448086e84e09e97ac6
|
||||||
|
name=3.10.2~ynh1
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/moodle/moodle/archive/v3.10.2.zip
|
SOURCE_URL=https://github.com/moodle/moodle/archive/v3.10.3.zip
|
||||||
SOURCE_SUM=6c54328ca6c40fb5cb4eb66a449b3c5fe7fe03bb04ab21df1156ba3c9c2ed1c6
|
SOURCE_SUM=f92e603a261d013b1c6f2956d1511b7e5d65ac1e9f05de77a94183bc3faaba7d
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=zip
|
SOURCE_FORMAT=zip
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Online learning platform",
|
"en": "Online learning platform",
|
||||||
"fr": "Plateforme d'apprentissage en ligne"
|
"fr": "Plateforme d'apprentissage en ligne"
|
||||||
},
|
},
|
||||||
"version": "3.10.2~ynh1",
|
"version": "3.10.3~ynh1",
|
||||||
"url": "https://moodle.org/",
|
"url": "https://moodle.org/",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
"email": "anmol@datamol.org"
|
"email": "anmol@datamol.org"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.0.0"
|
"yunohost": ">= 4.1.7"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
@ -26,38 +26,22 @@
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
"type": "domain",
|
||||||
"ask": {
|
|
||||||
"en": "Choose a domain name for Moodle",
|
|
||||||
"fr": "Choisissez un nom de domaine pour Moodle"
|
|
||||||
},
|
|
||||||
"example": "example.com"
|
"example": "example.com"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "path",
|
"name": "path",
|
||||||
"type": "path",
|
"type": "path",
|
||||||
"ask": {
|
|
||||||
"en": "Choose a path for Moodle",
|
|
||||||
"fr": "Choisissez un chemin pour Moodle"
|
|
||||||
},
|
|
||||||
"example": "/moodle",
|
"example": "/moodle",
|
||||||
"default": "/moodle"
|
"default": "/moodle"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
"type": "user",
|
"type": "user",
|
||||||
"ask": {
|
|
||||||
"en": "Choose the Moodle administrator (must be an existing YunoHost user)",
|
|
||||||
"fr": "Administrateur du site (doit être un utilisateur YunoHost existant)"
|
|
||||||
},
|
|
||||||
"example": "johndoe"
|
"example": "johndoe"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "is_public",
|
"name": "is_public",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"ask": {
|
|
||||||
"en": "Is it a public application?",
|
|
||||||
"fr": "Est-ce une application publique ?"
|
|
||||||
},
|
|
||||||
"default": true
|
"default": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -36,7 +36,7 @@ ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||||
|
|
||||||
# If the admin is not defined, We can't upgrade this app
|
# If the admin is not defined, We can't upgrade this app
|
||||||
if [ -z "$admin" ]; then
|
if [ -z "$admin" ]; then
|
||||||
ynh_die --message="This app can't be upgraded from a very old version of the package. Please remove and reinstall moodle_ynh"
|
ynh_die --message="This app can't be upgraded from a very old version of the package. Please remove and reinstall Moodle"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cleaning legacy permissions
|
# Cleaning legacy permissions
|
||||||
|
@ -79,7 +79,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
|
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
|
||||||
|
|
||||||
# Create a dedicated nginx config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue