Sara Arjona
39f4caf351
MDL-65705 badges: fix issued date for external badges
...
The preg_match('~^[1-9][0-9]*$~', x) calls have been replaced to
is_numeric(x).
2019-05-28 09:23:35 +02: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
Damyon Wiese
e8bfd9b4a9
MDL-63876 badges: Remove invalid table from badges
2019-03-29 11:30:09 +08:00
Eloy Lafuente (stronk7)
5a9195d922
Merge branch 'MDL-64211-master' of git://github.com/damyon/moodle
2019-01-24 00:31:54 +01:00
Sara Arjona
706c8d1936
MDL-64441 badges: Remove notice when language is empty
2018-12-20 16:20:05 +01:00
Damyon Wiese
263a58338f
MDL-64211 badges: Display links to related badges
2018-11-26 14:51:18 +08:00
Adrian Greeve
674c00edb2
MDL-64008 badges: Stop displaying empty fields in badge display.
2018-11-19 18:42:49 +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
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
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
Pau Ferrer Ocaña
65ffd0a33a
MDL-63991 badges: Fix links on badge render
2018-11-13 14:19:51 +01:00
Tung Thai
d363a5c2e6
MDL-58454 badges: Open Badges Specification Version 2.0 Changes
2018-11-05 14:20:46 +01:00
Marina Glancy
484b43f456
MDL-60281 general: create_function is deprecated in PHP7.2
2017-10-16 09:37:19 +08: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
Dan Poltawski
356fd5bae7
Merge branch 'm29_MDL-49628a' of https://github.com/totara/moodle
2015-06-02 13:54:01 +01:00
Brian Barnes
508e756eaf
MDL-49922 badges: replaced unnecessary fieldset
2015-04-20 13:20:38 +12:00
Brian Barnes
32bd11cb39
MDL-49628 general: improved accessibility of single selects
2015-04-09 11:12:16 +12:00
Yuliya Bozhko
fffeb03fe7
MDL-49543 badges: Add decription format and backup/restore
...
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2015-03-24 09:22:47 +13:00
Yuliya
0b6ba27a04
MDL-49543 badges: Fix format_text and description layout
...
Signed-off-by: Yuliya <yuliya.bozhko@gmail.com>
2015-03-23 09:43:12 +13:00
Yuliya Bozhko
3784d3be98
MDL-49543 badges: Add description to the badge criteria
...
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2015-03-23 08:47:49 +13:00
Brian Barnes
64d00f4c11
MDL-48567 core_badges: fixed display of badge created date
2014-12-11 15:10:39 +13:00
Yuliya Bozhko
ae17e383ef
MDL-48115 badges: Fix strtoupper() output in badges
...
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-11-12 09:25:58 +13:00
Yuliya Bozhko
ea76b652fc
MDL-46042 badges: Clean up external badge data
...
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-07-07 16:37:36 +01:00
Yuliya
cd243d94cd
MDL-45379 badges: removed unnecessary tables from renderers
...
Signed-off-by: Yuliya <yuliya.bozhko@gmail.com>
Signed-off-by: Brian Barnes <brian.barnes@totaralms.com>
2014-06-27 12:51:41 +12:00
Yuliya Bozhko
774ead81fc
MDL-45079 badges: Remove user email address from badge page
...
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-04-28 10:01:05 +12:00
Yuliya Bozhko
762b2a6b9e
MDL-41585 badges: Add a note that badge recipient is a deleted user
...
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-02-24 14:57:40 +13:00
Yuliya Bozhko
7f964cfdc7
MDL-43621 badges: Don't display deleted users in badge recipients list
2014-01-15 09:31:45 +13:00
Mark Nelson
5241526d20
MDL-42226 badges: retrieve all the name fields when viewing an issued badge
2013-10-14 11:59:41 +08:00
Damyon Wiese
4600853128
Merge branch 'MDL-41659_master' of https://github.com/totara/openbadges
2013-10-09 13:30:40 +08:00
Yuliya Bozhko
5dcda2f871
MDL-41659 badges: Display course/site names through format_string()
2013-10-02 08:58:02 +13:00
Sam Hemelryk
7da590c11b
Merge branch 'MDL-40572_master' of https://github.com/totara/openbadges
2013-10-01 11:05:59 +13:00
Yuliya
853e506a1b
MDL-40572 badges: Update badge assertion to use new specification
2013-09-24 12:29:54 +12:00
Yuliya Bozhko
4d7d17ddcc
MDL-40550 badges: Change wording of badge activation message
...
Add confirmation check when activating badge from management page
2013-09-16 15:37:00 +12:00
Yuliya Bozhko
737a352ff8
MDL-40712 badges: Display recipient information
2013-09-02 13:43:51 +08:00
Yuliya Bozhko
2d3c0faef1
MDL-40924 badges: Add caching to external badges
2013-09-02 13:40:41 +08:00
Frederic Massart
fe5204f92c
MDL-41136 badges: Prevent extra loading due to unnecessary includes
2013-08-12 13:31:21 +08:00
Yuliya Bozhko
2c9108611d
MDL-38837 badges: Check for http or https in badges backpack support
2013-07-18 13:38:18 +12:00
Damyon Wiese
a6673a8b04
Merge branch 'MDL-40369-master' of git://github.com/FMCorz/moodle
2013-07-09 15:28:31 +08:00
Frederic Massart
a8dd22a7d7
MDL-40369 theme: Fix core using deprecated icons
2013-07-03 16:47:35 +08:00
Yuliya Bozhko
19a9f2eada
MDL-39986 badges: Show badge navigation to users with awardbadge capability
...
Also fixes an arror when a user with this capability tries to award a badge,
but their role is not among the criteria set up for a badge
2013-07-03 13:13:55 +08:00
Damyon Wiese
e0fc61f993
Merge branch 'MDL-39162' of git://github.com/totara/openbadges
...
Conflicts:
theme/bootstrapbase/style/moodle.css
2013-05-07 10:41:44 +08:00
Yuliya Bozhko
f8ba185ac5
MDL-39162: Add badges CSS to bootstrap theme
2013-05-06 16:20:02 +12:00
Andrew Davis
36388ba832
MDL-39480 core_badge: prevented a php notice
2013-05-04 11:58:01 +08:00
Yuliya Bozhko
e280531436
MDL-39063 badges: Improve external backpack usability and workflow
2013-04-16 10:47:40 +12:00