Skip to content

Instantly share code, notes, and snippets.

@Dagefoerde
Dagefoerde / moodle-block_evasys_sync.diff
Created September 2, 2019 16:17
block_evasys_sync Patch für Synchronisationstest
diff --git a/classes/evasys_inviter.php b/classes/evasys_inviter.php
index b0364c4..f0e7267 100644
--- a/classes/evasys_inviter.php
+++ b/classes/evasys_inviter.php
@@ -44,6 +44,9 @@ class evasys_inviter {
}
public static function get_evasysids($courseid) {
+if ($courseid == 24744) {
+return ['1002 WS 2018/19'];}
@Dagefoerde
Dagefoerde / moodle-tool_dataprivacy-filter.diff
Created May 17, 2018 13:44
Reduces the plugin registry report to those plugins that do not implement the Privacy API yet (Screenshot: https://pasteboard.co/HlBmyul.png)
diff --git a/classes/metadata_registry.php b/classes/metadata_registry.php
index 6282cc4..90164e2 100644
--- a/classes/metadata_registry.php
+++ b/classes/metadata_registry.php
@@ -38,7 +38,7 @@ class metadata_registry {
*
* @return array An array with all of the plugin types / plugins and the user data they store.
*/
- public function get_registry_metadata() {
+ public function get_registry_metadata($onlynoncompliant = false) {
@Dagefoerde
Dagefoerde / .gitlab-ci.dist.yml
Last active May 18, 2020 18:32
GitLab CI configuration for testing Moodle plugins using moodle-plugin-ci. Thanks to @danielneis who contributed a first version (cf. https://github.com/moodlerooms/moodle-plugin-ci/pull/36).
services:
- mysql:latest
cache:
paths:
- $HOME/.composer/cache
variables:
DB: "mysqli"
MYSQL_ROOT_PASSWORD: "superrootpass"
@Dagefoerde
Dagefoerde / keybase.md
Last active March 25, 2017 09:39
Keybase proof

Keybase proof

I hereby claim:

  • I am Dagefoerde on github.
  • I am dagefoerde (https://keybase.io/dagefoerde) on keybase.
  • I have a public key whose fingerprint is A37D B261 FFC8 53DD EFB2 2919 2239 CFA6 4B5E 4FCC

To claim this, I am signing this object: