Sara Arjona
49c5b85eba
MDL-63961 core_badges: Use high-resolution image
...
High-resolution image for a badge (f3) should be sent to external
backpacks through JSON and WS methods.
Besides, when a badge is cloned, the high-resolution image should be
used to avoid the copied looks blurry.
2021-02-22 12:43:06 +01:00
Ferran Recio
9ca1707f5a
MDL-70119 core_badges: fix tab names
2020-11-04 12:49:12 +01:00
Peter Dias
d3af959238
MDL-65959 badge: Enable OB2.1 *connection* with cross domain ability
2020-10-27 00:27:20 +08:00
Peter
b6435e0934
MDL-65959 core_badges: Allow ability to upload badges cross domain.
2020-10-27 00:27:18 +08:00
Bas Brands
4394f9e358
MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css
2020-08-17 08:16:42 +00:00
Sara Arjona
3e567085a8
MDL-69002 core_badges: add methods to support backpack validation
...
A more generic method has been added to the API to validate the
backpack connection (for now, there was only one method for
validating current backpack).
Besides, a renderer has been added to display this information
depending on the backpackid.
2020-06-10 12:26:47 +02:00
Tung Thai
15a00bead1
MDL-66992 core_badges: Add support to Open Badges 2.1
2020-05-17 20:01:55 +07:00
Tim Hunt
1dcd0d3499
MDL-68233 renderers/block: remove illegal uses of $PAGE and $OUTPUT
2020-03-29 15:34:26 +01:00
Adrian Greeve
f00542c485
Merge branch 'MDL-66999-master' of git://github.com/bmbrands/moodle
2019-12-23 14:26:39 +08:00
Bas Brands
6c4dbbf061
MDL-66999 theme_boost: @extend use .table classes in badges renderer
...
The table.collection class is not needed if the bootstrap classes
for tables are used in the badges renderer
2019-12-09 10:49:39 +01:00
Sara Arjona
d03d11095f
MDL-67451 badges: use the site OB version as default
2019-12-04 21:01:09 +01:00
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