Damyon Wiese
2fe34536d5
MDL-65518 badges: Retry auth test
...
When testing the site backpack login credentials, don't rely on a previous login
because the username and password could have changed.
2019-05-09 14:56:27 +08:00
Damyon Wiese
d48a52ddb1
MDL-65518 badges: Admin settings warning
...
If the backpack is changed to Open Badges V2 backpack,
attempt the authenticate with the site settings and return a warning
if it fails.
2019-05-09 14:56:21 +08:00
Damyon Wiese
58c7d2ce2b
MDL-63262 badges: Show all public badges
...
Use the "expand" parameter so the backpack returns nested public
information about each badge in a public collection. This saves 2 requests per badge and
fixes the problem where we don't have permission to see some public badge details.
2019-05-06 11:25:26 +08:00
Damyon Wiese
7444ba743f
MDL-63262 badges: More changes for badgr.io
...
This commit combines several changes:
* Show authentication errors.
* Show more detailed authentication errors
* When the site backpack is different to the user backpack, show a warning
* Do not duplicate the apiversion and backpackurls in each user backpack.
* Do not support different issuer information for each badge with Open Badges v2.
* Add obversion to assertion url
* Combine separate badges upgrade steps and bump the version number.
* Don't show private collections.
* Push the larger image size to backpacks (512x512).
* BADGE_BACKPACKURL is deprecated
* Don't use property alignments, only alignment
2019-05-03 15:00:01 +08:00
Damyon Wiese
1837b1d5fd
MDL-63262 badges: Coding style
2019-05-03 15:00:00 +08:00
Damyon Wiese
aae219acce
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.
2019-05-03 15:00:00 +08:00
Sara Arjona
bef6805656
Merge branch 'MDL-64702-master' of git://github.com/damyon/moodle
2019-04-29 08:34:21 +02:00
Shamim Rezaie
30ce76c792
MDL-64782 core_badges: Performance improvement
2019-04-23 17:01:48 +10:00
Damyon Wiese
0dc93da62a
MDL-64702 badges: Add to privacy
...
Add endorsement, related badges and alignment to privacy export.
2019-04-23 11:13:55 +08:00
Damyon Wiese
8aff6f6f14
MDL-63876 badges: Coding style
...
Add comments to document function params and template example context.
2019-03-29 11:31:15 +08:00
Damyon Wiese
f94786e0e1
MDL-63876 badges: Add competency criteria
...
Properly integration badges with competencies provided in Moodle.
Automatically grant the badge when the defined competencies are marked as proficient.
2019-03-29 11:31:15 +08:00
Damyon Wiese
e8bfd9b4a9
MDL-63876 badges: Remove invalid table from badges
2019-03-29 11:30:09 +08:00
dpalou
5bb1889f43
MDL-63729 badges: Return new DB tables data in WS
2018-11-09 12:39:53 +01:00
dpalou
18d27ac2eb
MDL-63729 badges: Return new fields in badge table in WS
2018-11-09 12:11:04 +01:00
dpalou
c776e1dd40
MDL-63729 badges: Create an exporter for badge info
2018-11-09 12:09:45 +01:00
Sara Arjona
5a1ea82835
MDL-58454 badges: Fix some minor errors for Open Badges v2
2018-11-05 18:41:54 +01:00
Tung Thai
d363a5c2e6
MDL-58454 badges: Open Badges Specification Version 2.0 Changes
2018-11-05 14:20:46 +01:00
Mihail Geshoski
541982c01e
MDL-63606 core_badges: Add support for removal of context users
...
This issue is part of the MDL-62560 Epic.
2018-10-30 16:41:44 +08:00
Frédéric Massart
048b266f14
MDL-62167 core_badges: Remove usage of a reserved keyword of Oracle
2018-05-01 15:21:46 +02:00
Frédéric Massart
91161a6325
MDL-62167 core_badges: Prevent SQL error with Oracle
2018-05-01 15:21:46 +02:00
Frédéric Massart
d498287fd7
MDL-62167 core_badges: Implement privacy API
2018-04-27 10:49:48 +08:00
Stephen Bourget
75653a3068
MDL-55491 badges: Add cohort as badge criteria
2018-04-09 11:03:30 +02:00
Eugene Venter
abc07b53a7
MDL-55491 badges: Add cohort as badge criteria
...
commissioned by NZ Customs Service
2018-04-09 10:23:50 +02:00
Damyon Wiese
a569a33097
Merge branch 'MDL-59875_m35v1' of https://github.com/sbourget/moodle
2017-12-06 19:53:31 +13:00
Stephen Bourget
a7370e0dd0
MDL-59875 Badges: Allow badges to be criteria for other badges
2017-11-28 08:03:02 -05:00
Sara Arjona
d77a6026d2
MDL-46768 core_badges: changed badge name type from FILE to TEXT
2017-11-24 11:34:15 +01:00
Juan Leyva
9db43c7341
MDL-57629 webservice: Fix external functions phpdoc
...
Replace external_external_function_parameters with
external_function_parameters
2017-01-11 16:56:25 +01:00
Matt Davidson
b7374faca6
MDL-43230 badges: manually revoke awarded badges
...
A user can be manually awarded a badge, but if given by mistake an
awarded badge cannot be removed.
2016-10-12 05:06:38 +00:00
Juan Leyva
f4fb827ed1
MDL-53462 core_badges: New WS core_badges_get_user_badges
2016-03-30 10:44:55 +01:00
Mark Nelson
02a5a4b2ff
MDL-43557 events: fixed minor issues in existing events
2014-04-29 19:16:11 -07:00
Marina Glancy
cd5be9a504
MDL-44321 events: make sure the full object is passed to add_record_snapshot()
2014-02-28 16:37:36 +08:00
Yuliya
853e506a1b
MDL-40572 badges: Update badge assertion to use new specification
2013-09-24 12:29:54 +12:00
Rajesh Taneja
bb78e249cd
MDL-39961 Events: Replace Legacy events - User
...
This change includes:
* Added user_updated event, replacing old event
* Added user_created event, replacing old event
* Added user_deleted event, replacing old event
* Added user_loggedout event, replacing old event
* Added user_enrolment_created event, replacing old event
* Added user_enrolment_deleted event, replacing old event
* Added user_enrolment_updated event, replacing old event
2013-09-02 16:10:05 +08:00
Rajesh Taneja
06f8ea7bf4
MDL-39955 completion: Added course_completed event
2013-08-13 09:43:38 +08:00
Rajesh Taneja
137d94f335
MDL-39955 completion: Added course_module_completion_updated event
...
Conflicts:
lib/tests/completionlib_advanced_test.php
2013-08-09 17:04:34 +08:00