MDL-63262 badges: Add badgr.io

Upgrade the support for Open Badges 2 to support a real open badges 2 backpack.
Moodle can only talk to one backpack at a time, so after switching backpacks, users
will have to manually disconnect and then reconnect their backpack to the new one.

This commit combines several changes:
* Split classes into badges namespace
* Publish expiry data with a badge
* Publish badge alignments in badges exported to the backpack.
* Export the criteria for a badge to the backpack.
This commit is contained in:
Damyon Wiese
2019-05-03 15:00:00 +08:00
parent 09cbe51999
commit aae219acce
58 changed files with 4950 additions and 1643 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2019050100.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2019050100.01; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.