Jake Dallimore
b08e4b5cd6
Merge branch 'MDL-68746-master' of git://github.com/sarjona/moodle
2020-05-28 11:56:23 +08:00
Sara Arjona
a80541ea90
MDL-68567 badges: add/remove site backpacks
2020-05-22 09:01:59 +02:00
Sara Arjona
630a19ebd5
MDL-68746 core_badges: remove Issuer details from badges form
...
When OBv2.0 support was added, the issuername and issuercontact
fields were changed to static.
In order to avoid confusion for the user, these fields shouldn't
be displayed for OBv2.0 or higher.
2020-05-20 08:51:52 +02:00
Tung Thai
15a00bead1
MDL-66992 core_badges: Add support to Open Badges 2.1
2020-05-17 20:01:55 +07:00
Sara Arjona
faf0029eed
MDL-66357 core_badges: remove action=0 usage for issuer
...
In MDL-67971, issuer_json.php was created, to display issuer JSON content.
However, some files were still using action=0 to display this information.
It has been replaced by issuer_json.php.
The action=0 support won't be removed (at least for now), because several
public badges URLs are using it.
2020-04-03 08:09:55 +02:00
Sara Arjona
640628192a
MDL-66357 core_badges: set OBv2 as default
2020-04-03 08:09:55 +02:00
Sara Arjona
2f45b6f7cf
MDL-67971 core_badges: review issuer URL
2020-03-02 08:02:08 +01:00
Paul Holden
5253834d03
MDL-67532 badges: better default for new badge language.
2020-02-07 09:46:56 +00:00
Sara Arjona
d03d11095f
MDL-67451 badges: use the site OB version as default
2019-12-04 21:01:09 +01:00
Peter
e6445c5bd9
MDL-65315 badges: Update the class and issuer OBv2.0 url
2019-09-24 07:33:13 +08:00
Sara Arjona
4221e36b16
MDL-65787 badges: fix warning count() with PHP 7.2
2019-06-05 11:02:53 +02:00
Damyon Wiese
084a42f9f5
MDL-65518 badges: Require the issuercontact
...
For Badges V2 we can't use just any email address to issue badges, it needs to be a valid
account on the backpack.
2019-05-10 15:51:27 +08:00
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