From 6776a97359a7e7dcd7efdcca2676b84adea4cc3c Mon Sep 17 00:00:00 2001 From: darta Date: Fri, 9 Apr 2021 12:53:41 +0000 Subject: [PATCH] Moodle personalization --- SAML_README.md | 2 +- docker/moodle/Dockerfile.test | 25 +++++++++ .../core/templates/layout.user.php | 52 +++++++++++-------- 3 files changed, 56 insertions(+), 23 deletions(-) diff --git a/SAML_README.md b/SAML_README.md index 2592add..45e957f 100644 --- a/SAML_README.md +++ b/SAML_README.md @@ -113,7 +113,7 @@ TODO: Does not map email nor friendlyname (display name). Also not tested to add 1. General 1. Attribute to map de UID to.: username 2. Optioinal display name...: anything - 2. Service Provider Data + 2. Service Provider Data (With BEGIN/END tags!) 1. x509: public.key (generated before) 2. Private key: private.key (generated before) 3. Identity Provider Data diff --git a/docker/moodle/Dockerfile.test b/docker/moodle/Dockerfile.test index 1536201..5b10605 100644 --- a/docker/moodle/Dockerfile.test +++ b/docker/moodle/Dockerfile.test @@ -31,3 +31,28 @@ RUN curl --location https://github.com/isard-vdi/moodle-auth_saml2/archive/refs/ RUN unzip auth_saml2.zip -d /var/www/html/auth/ RUN mv /var/www/html/auth/moodle-auth_saml2-role_map /var/www/html/auth/saml2 RUN rm auth_saml2.zip + +RUN curl --location https://github.com/3iPunt/moodle_mod_tresipuntshare/archive/refs/heads/master.zip > tresipuntshare.zip +RUN unzip tresipuntshare.zip -d /var/www/html/mod/ +RUN mv /var/www/html/mod/moodle_mod_tresipuntshare-master /var/www/html/mod/tresipuntshare +RUN rm tresipuntshare.zip + +RUN curl --location https://github.com/3iPunt/moodle_mod_tresipuntvideo/archive/refs/heads/master.zip > tresipuntvideo.zip +RUN unzip tresipuntvideo.zip -d /var/www/html/mod/ +RUN mv /var/www/html/mod/moodle_mod_tresipuntvideo-master /var/www/html/mod/tresipuntvideo +RUN rm tresipuntvideo.zip + +RUN curl --location https://github.com/3iPunt/moodle_mod_tresipuntaudio/archive/refs/heads/master.zip > tresipuntaudio.zip +RUN unzip tresipuntaudio.zip -d /var/www/html/mod/ +RUN mv /var/www/html/mod/moodle_mod_tresipuntaudio-master /var/www/html/mod/tresipuntaudio +RUN rm tresipuntaudio.zip + +RUN curl --location https://github.com/3iPunt/moodle_mod_tresipuntaudio/archive/refs/heads/master.zip > tresipuntaudio.zip +RUN unzip tresipuntaudio.zip -d /var/www/html/mod/ +RUN mv /var/www/html/mod/moodle_mod_tresipuntaudio-master /var/www/html/mod/tresipuntaudio +RUN rm tresipuntaudio.zip + +RUN curl --location https://github.com/3iPunt/moodle_theme_cbe/archive/refs/heads/master.zip > tresipunt_theme_cbe.zip +RUN unzip tresipunt_theme_cbe.zip -d /var/www/html/mod/ +RUN mv /var/www/html/mod/moodle_theme_cbe-master /var/www/html/theme/cbe +RUN rm tresipunt_theme_cbe.zip \ No newline at end of file diff --git a/docker/nextcloud/themes/digitaldemocratic/core/templates/layout.user.php b/docker/nextcloud/themes/digitaldemocratic/core/templates/layout.user.php index 4f1e0d5..2f5e4a0 100644 --- a/docker/nextcloud/themes/digitaldemocratic/core/templates/layout.user.php +++ b/docker/nextcloud/themes/digitaldemocratic/core/templates/layout.user.php @@ -71,7 +71,7 @@