forked from adlnet/moodle-logstore_xapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* change default site object name to Moodle LMS * use util for LMS site obj * add LMS course to common data, breaking almost everything * amend tests to account for hidden course ID 1 * semantically order all json keys since they got sorted anyhow
- Loading branch information
Showing
488 changed files
with
8,287 additions
and
8,336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,37 @@ | ||
{ | ||
"user": [ | ||
"course": [ | ||
{ | ||
"id": 1, | ||
"firstname": "test_fullname", | ||
"email": "[email protected]" | ||
"fullname": "test_site_fullname", | ||
"lang": "en" | ||
}, | ||
{ | ||
"id": 2, | ||
"fullname": "test_name", | ||
"lang": "en" | ||
} | ||
], | ||
"course": [ | ||
"course_modules": [ | ||
{ | ||
"id": 1, | ||
"fullname": "test_name", | ||
"lang": "en" | ||
"course": 2, | ||
"instance": 1, | ||
"module": 1, | ||
"section": 1 | ||
} | ||
], | ||
"course_sections": [ | ||
{ | ||
"id": 1, | ||
"course": 1, | ||
"course": 2, | ||
"section": 0 | ||
} | ||
], | ||
"course_modules": [ | ||
"user": [ | ||
{ | ||
"id": 1, | ||
"course": 1, | ||
"module": 1, | ||
"instance": 1, | ||
"section": 1 | ||
"firstname": "test_fullname", | ||
"email": "[email protected]" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"timestamp": "2015-06-10T14:31:41.000Z", | ||
"context": { | ||
"language": "en", | ||
"platform": "Moodle", | ||
"registration": "58028332-2277-5b51-a632-7836992917ea" | ||
} | ||
}, | ||
"timestamp": "2015-06-10T14:31:41.000Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,48 @@ | ||
{ | ||
"user": [ | ||
"badge": [ | ||
{ | ||
"courseid": 2, | ||
"id": 1, | ||
"firstname": "test_recipient_firstname", | ||
"lastname": "test_recipient_lastname", | ||
"email": "[email protected]", | ||
"username": "recipient" | ||
}, | ||
"name": "test_badgename", | ||
"description": "test badge description", | ||
"message": "you got the test badge!", | ||
"type": 2, | ||
"version": "1.0" | ||
} | ||
], | ||
"badge_manual_award": [ | ||
{ | ||
"id": 2, | ||
"firstname": "test_awarder_firstname", | ||
"lastname": "test_awarder_lastname", | ||
"email": "[email protected]", | ||
"username": "awarder" | ||
"issuerid": 2 | ||
} | ||
], | ||
"course": [ | ||
{ | ||
"id": 1, | ||
"fullname": "test_course_name", | ||
"fullname": "test_site_fullname", | ||
"lang": "en" | ||
}, | ||
{ | ||
"id": 2, | ||
"fullname": "test_name", | ||
"lang": "en", | ||
"summary": "test_course_summary" | ||
"summary": "test_summary" | ||
} | ||
], | ||
"badge": [ | ||
"user": [ | ||
{ | ||
"id": 1, | ||
"name": "test_badgename", | ||
"description": "test badge description", | ||
"type": 2, | ||
"courseid": 1, | ||
"version": "1.0", | ||
"message": "you got the test badge!" | ||
} | ||
], | ||
"badge_manual_award": [ | ||
"firstname": "test_recipient_firstname", | ||
"lastname": "test_recipient_lastname", | ||
"username": "recipient", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"id": 2, | ||
"issuerid": 2 | ||
"firstname": "test_awarder_firstname", | ||
"lastname": "test_awarder_lastname", | ||
"username": "awarder", | ||
"email": "[email protected]" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"courseid": 2, | ||
"id": 1, | ||
"eventname": "\\core\\event\\badge_awarded", | ||
"timecreated": 1433946701, | ||
"relateduserid": 1, | ||
"courseid": 1, | ||
"objectid": 1, | ||
"relateduserid": 1, | ||
"eventname": "\\core\\event\\badge_awarded", | ||
"objecttable": "badge", | ||
"other": "a:1:{s:13:\"badgeissuedid\";i:2;}", | ||
"objecttable": "badge" | ||
"timecreated": 1433946701 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
{ | ||
"badge": [ | ||
{ | ||
"courseid": null, | ||
"id": 1, | ||
"name": "test_badgename", | ||
"description": "test badge description", | ||
"message": "you got the test badge!", | ||
"type": 1, | ||
"version": "1.0" | ||
} | ||
], | ||
"user": [ | ||
{ | ||
"id": 1, | ||
"firstname": "test_revoker_firstname", | ||
"lastname": "test_revoker_lastname", | ||
"email": "revoker@test.com", | ||
"username": "revoker" | ||
"username": "revoker", | ||
"email": "revoker@test.com" | ||
}, | ||
{ | ||
"id": 2, | ||
"firstname": "test_recipient_firstname", | ||
"lastname": "test_recipient_lastname", | ||
"email": "[email protected]", | ||
"username": "recipient" | ||
} | ||
], | ||
"badge": [ | ||
{ | ||
"id": 1, | ||
"name": "test_badgename", | ||
"description": "test badge description", | ||
"type": 1, | ||
"courseid": null, | ||
"version": "1.0", | ||
"message": "you got the test badge!" | ||
"username": "recipient", | ||
"email": "[email protected]" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"id": 1, | ||
"eventname": "\\core\\event\\badge_revoked", | ||
"relateduserid": 2, | ||
"timecreated": 1433946701, | ||
"objectid": 1, | ||
"relateduserid": 2, | ||
"userid": 1, | ||
"objecttable": "badge" | ||
"eventname": "\\core\\event\\badge_revoked", | ||
"objecttable": "badge", | ||
"timecreated": 1433946701 | ||
} |
Oops, something went wrong.