moodle new atto plugin
parent
226d0f7861
commit
089876ff28
17
dd-ctl
17
dd-ctl
|
@ -621,6 +621,7 @@ upgrade_plugins_moodle(){
|
||||||
mkdir -p /tmp/moodle/auth/saml2
|
mkdir -p /tmp/moodle/auth/saml2
|
||||||
mkdir -p /tmp/moodle/theme/cbe
|
mkdir -p /tmp/moodle/theme/cbe
|
||||||
mkdir -p /tmp/moodle/blocks
|
mkdir -p /tmp/moodle/blocks
|
||||||
|
mkdir -p /tmp/moodle/lib/editor/atto/plugins/tipnc
|
||||||
|
|
||||||
curl --location "${MOODLE_PLUGIN_JITSI_OVERRIDE:-https://moodle.org/plugins/download.php/27002/mod_jitsi_moodle40_2022070602.zip}" > jitsi.zip
|
curl --location "${MOODLE_PLUGIN_JITSI_OVERRIDE:-https://moodle.org/plugins/download.php/27002/mod_jitsi_moodle40_2022070602.zip}" > jitsi.zip
|
||||||
unzip -q jitsi.zip -d /tmp/moodle/mod/
|
unzip -q jitsi.zip -d /tmp/moodle/mod/
|
||||||
|
@ -705,11 +706,25 @@ upgrade_plugins_moodle(){
|
||||||
else
|
else
|
||||||
PLUGIN_BRANCH=master
|
PLUGIN_BRANCH=master
|
||||||
fi
|
fi
|
||||||
|
|
||||||
curl --location "${MOODLE_MOD_TN_OVERRIDE:-${M3IPTN}}" > tresipunt_mod_tn.zip
|
curl --location "${MOODLE_MOD_TN_OVERRIDE:-${M3IPTN}}" > tresipunt_mod_tn.zip
|
||||||
unzip -q tresipunt_mod_tn.zip -d /tmp/moodle/mod/tipnextcloud/
|
unzip -q tresipunt_mod_tn.zip -d /tmp/moodle/mod/tipnextcloud/
|
||||||
mv /tmp/moodle/mod/tipnextcloud/mod_tipnextcloud-$PLUGIN_BRANCH/* /tmp/moodle/mod/tipnextcloud/
|
mv /tmp/moodle/mod/tipnextcloud/mod_tipnextcloud-$PLUGIN_BRANCH/* /tmp/moodle/mod/tipnextcloud/
|
||||||
rm tresipunt_mod_tn.zip
|
rm tresipunt_mod_tn.zip
|
||||||
|
|
||||||
|
|
||||||
|
# atto_tipnc https://github.com/3iPunt/atto_tipnc
|
||||||
|
M3ATTOTIPTN="https://github.com/3iPunt/atto_tipnc/archive/refs/heads/master.zip"
|
||||||
|
if [[ "${MOODLE_ATTOTIPTN_OVERRIDE:-${M3ATTOTIPTN}}" == *"develop"* ]]; then
|
||||||
|
PLUGIN_BRANCH=develop
|
||||||
|
else
|
||||||
|
PLUGIN_BRANCH=master
|
||||||
|
fi
|
||||||
|
|
||||||
|
curl --location "${MOODLE_ATTOTIPTN_OVERRIDE:-https://github.com/3iPunt/atto_tipnc/archive/refs/heads/master.zip}" > tresipunt_atto_tipnc.zip
|
||||||
|
unzip -q tresipunt_atto_tipnc.zip -d /tmp/moodle/lib/editor/atto/plugins/tipnc/
|
||||||
|
mv /tmp/moodle/lib/editor/atto/plugins/tipnc/atto_tipnc-$PLUGIN_BRANCH/* /tmp/moodle/lib/editor/atto/plugins/tipnc/
|
||||||
|
rm tresipunt_atto_tipnc.zip
|
||||||
|
|
||||||
# local_mail
|
# local_mail
|
||||||
curl --location "${MOODLE_PLUGIN_MAIL_OVERRIDE:-https://moodle.org/plugins/download.php/26393/local_mail_moodle40_2017121407.zip}" > mail.zip
|
curl --location "${MOODLE_PLUGIN_MAIL_OVERRIDE:-https://moodle.org/plugins/download.php/26393/local_mail_moodle40_2017121407.zip}" > mail.zip
|
||||||
|
|
Loading…
Reference in New Issue