284 Commits

Author SHA1 Message Date
Sara Arjona
bef6805656 Merge branch 'MDL-64702-master' of git://github.com/damyon/moodle 2019-04-29 08:34:21 +02:00
David Monllaó
b63c0b9079 Merge branch 'MDL-60680-master' of git://github.com/jleyva/moodle 2019-04-25 18:55:45 +02:00
Juan Leyva
2356454f21 MDL-60680 notifications: Include action buttons information 2019-04-25 14:55:57 +02:00
Juan Leyva
36fa0ec900 MDL-60680 notifications: Return custom data in notifications 2019-04-25 14:55:18 +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
Marina Glancy
76f2d89471 MDL-10965 course: search only courses with completion
it is quite often when we need to have an autocomplete element that searches courses that
have completion enabled. This commit adds an option for the 'course' form element, and also
changes two places where we search for courses with completion. This should fix MDL-58989
2019-04-10 12:35:29 +02:00
Eloy Lafuente (stronk7)
dabc69afe5 Merge branch 'MDL-65191-master' of git://github.com/lameze/moodle 2019-04-09 00:46:47 +02:00
Simey Lameze
15263647fa MDL-65191 core_badges: delete badges legacy cron file 2019-04-04 09:36:20 +08:00
Damyon Wiese
f44557d045 MDL-63876 badges: Competency deletion
Do not delete a competency if it is a criteria for a badge.
2019-03-29 11:31:15 +08:00
Damyon Wiese
6bdaf20462 MDL-63876 competencies: Skip enabled check
Allow rendering a competency summary if competencies are disabled, but do not include
links to competencies pages.
2019-03-29 11:31:15 +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
43f1c8e23c MDL-63876 badges: Allow criteria to be optional
Competencies criteria type is only added if competencies are enabled.
2019-03-29 11:31:15 +08:00
Damyon Wiese
da5e19a128 MDL-63876 badges: Do not call tool_lp directly 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
Sara Arjona
0c04a44457 MDL-64974 badges: add missing configurecriteria capability check 2019-03-11 10:24:39 +01:00
Sara Arjona
22348a3b96 MDL-62631 badges: Add manage/add badges buttons on Badges page
Direct access from the navigation Badges section to the "Manage badges"
and "Add a new badge" buttons.
2019-02-22 08:02:35 +01:00
Eloy Lafuente (stronk7)
c94dbc411f Merge branch 'MDL-63614_M37v1' of https://github.com/sbourget/moodle 2019-02-06 13:19:01 +01:00
Eloy Lafuente (stronk7)
5a9195d922 Merge branch 'MDL-64211-master' of git://github.com/damyon/moodle 2019-01-24 00:31:54 +01:00
Eloy Lafuente (stronk7)
59776faf6f Merge branch 'MDL-64441-master' of git://github.com/sarjona/moodle 2019-01-22 18:49:07 +01:00
Sara Arjona
502650a3e2 MDL-64222 badge: Removed backpackurl from the edit_form 2019-01-08 16:24:48 +01:00
Sara Arjona
706c8d1936 MDL-64441 badges: Remove notice when language is empty 2018-12-20 16:20:05 +01:00
Stephen Bourget
3e42942d73 MDL-63614 badges: Add COMPLETION_FAIL support to badge criteria 2018-12-19 10:16:51 -05:00
Damyon Wiese
263a58338f MDL-64211 badges: Display links to related badges 2018-11-26 14:51:18 +08:00
Eloy Lafuente (stronk7)
16d4f75b26 Merge branch 'MDL-63976-master-enfix' of git://github.com/mudrd8mz/moodle 2018-11-19 22:17:44 +01:00
David Mudrák
94693027e0 MDL-63976 lang: Update the Behat scenarios with the new strings 2018-11-19 19:18:53 +01:00
Adrian Greeve
674c00edb2 MDL-64008 badges: Stop displaying empty fields in badge display. 2018-11-19 18:42:49 +01:00
David Monllao
dd2d82e55c Merge branch 'MDL-64010-master' of git://github.com/abgreeve/moodle 2018-11-19 11:12:09 +01:00
Damyon Wiese
a356db0db2 Merge branch 'MDL-63973-master' of https://github.com/snake/moodle 2018-11-19 16:28:13 +08:00
Jake Dallimore
810da68e14 MDL-63973 core_badges: exclude related badges when adding related badges
The form which allows a user to add related badges should exclude any
related badges, regardless of the direction of the relationship.
2018-11-19 11:19:12 +08:00
Jake Dallimore
c660772600 MDL-63973 core_badges: fix related badges count in the badges tabs
If A is related to B, this should show a 1 count for either A or B.
2018-11-19 11:10:14 +08:00
Luca Bösch
2e477f03cc MDL-63487 badges: Style "◀ Award badge" and "Revoke badge ▶" buttons 2018-11-16 17:29:17 +01:00
Adrian Greeve
347b771a4b MDL-64010 badges: Validate URL form fields. 2018-11-16 10:28:09 +08:00
Damyon Wiese
f4ccea6f52 Merge branch 'MDL-64009-master' of git://github.com/abgreeve/moodle 2018-11-15 16:30:20 +08:00
Damyon Wiese
47dc7eb8a4 Merge branch 'MDL-64011-master' of git://github.com/abgreeve/moodle 2018-11-15 16:10:21 +08:00
Adrian Greeve
750f1588fa MDL-64011 badges: Changed the date format of endorsements. 2018-11-15 14:32:15 +08:00
Adrian Greeve
c693beb3fc MDL-64009 badges: Removed additional badge information when null.
On the badge display page if the badge does not have an endorsement,
related badges, or competency allignments, then these sections are
not shown.
2018-11-15 14:04:51 +08:00
David Monllao
03d9f4cda4 Merge branch 'MDL-63991-master' of git://github.com/crazyserver/moodle 2018-11-14 11:57:57 +01:00
Pau Ferrer Ocaña
f687f1459e MDL-63991 badges: Translate notification on endorsement 2018-11-13 15:58:47 +01:00
Pau Ferrer Ocaña
65ffd0a33a MDL-63991 badges: Fix links on badge render 2018-11-13 14:19:51 +01:00
dpalou
ce908f76a6 MDL-63729 badges: Fix course badge test 2018-11-13 10:40:27 +01: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
Jun Pataleta
e75860caea MDL-58454 badges: Use correct function for fetching badge issuer 2018-11-06 15:48:31 +01:00
Jun Pataleta
9639cb487e MDL-58454 badges: Fix related badge deletion
* When deleting a badge, delete badge_related records where this badge
is also set as the related badge.
2018-11-06 11:47:20 +08: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