139 Commits

Author SHA1 Message Date
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
Dan Poltawski
6750b66c39 Merge branch 'MDL-48142-master' of git://github.com/lameze/moodle 2015-02-24 11:21:50 +00:00
Simey Lameze
cf34b25d59 MDL-48142 core_badge: unit tests for badge awarded event 2015-02-19 12:34:13 +08:00
Yuliya Bozhko
aebac578db MDL-49170 badges: Backpack connection missing a port colon in URL
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2015-02-16 09:32:54 +13:00
Yuliya Bozhko
62fef3cf7e MDL-47085 badges: Fix badges file download issues
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2015-02-09 16:00:17 +13:00
Sam Hemelryk
d237385e8a MDL-48753 badges: converted func to named params
Converted the SQL params within badges_get_user_badges to
named params.
Unit tests added for this function at the same time.
UI covered by behat already.
2015-01-11 20:08:39 -08:00
Brian Barnes
64d00f4c11 MDL-48567 core_badges: fixed display of badge created date 2014-12-11 15:10:39 +13:00
Eloy Lafuente (stronk7)
38ea5e0a39 MDL-21724 course: change remaining tests to new "Save and display" 2014-12-04 12:14:31 +00:00
Andrew Nicols
fc05c1b8e5 MDL-48197 testing: Normalise uses of noemailever and phpmailer sink 2014-11-19 09:09:50 +08: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
d0053d29ed MDL-47190 Ensure badges cannot be awarded without a role
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-11-04 10:16:45 +13:00
Dan Poltawski
e0a1801e27 MDL-47960 badges: behat failures caused by usermenu 2014-10-30 10:56:16 +08:00
Yuliya Bozhko
369484bf87 MDL-47033 general: Fix incorrect use of 'course' layout
It should use 'incourse' layout in most cases

Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-09-05 09:25:43 +12:00
Sam Hemelryk
1cae31e8c7 Merge branch 'MDL-46073_master' of https://github.com/totara/openbadges 2014-07-14 15:14:49 +12:00
Yuliya Bozhko
17f5e50f57 MDL-46073 badges: Make sure html tags are not used in badge description
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-07-08 09:34:51 +12: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
Eloy Lafuente (stronk7)
5c8ce898ab Merge branch 'MDL-45379' of https://github.com/totara/openbadges 2014-07-01 23:59:31 +02: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
d9fe7dbe78 MDL-46107 badges: Fix badges navigation and remove empty breadcrumbs on pages using Clean
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-06-27 12:45:25 +12:00
Rajesh Taneja
004d7e35b0 MDL-43835 behat: Use proper step for navigation expansion 2014-06-25 12:54:53 +08:00
Rajesh Taneja
6c396b6bb4 MDL-43835 behat: Added new step to set field with xpath defined 2014-06-25 12:54:52 +08:00
Dan Marsden
dafb79106e MDL-45583 badges: check parent contexts consistantly when checking required role. 2014-05-16 13:51:58 +12:00
Mark Nelson
02a5a4b2ff MDL-43557 events: fixed minor issues in existing events 2014-04-29 19:16:11 -07: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
Sam Hemelryk
566889aaa8 MDL-42317 output: reviewed standard/base layouts and converted where a better option was available 2014-04-06 15:57:32 +12:00
Dan Poltawski
7f42ee92eb Merge branch 'MDL-44440_master' of git://github.com/dmonllao/moodle 2014-03-10 13:45:26 +08:00
David Monllao
1f631c7c63 MDL-44440 behat: Changing , for > as a navigation tree nodes separator
Using greater than as seems a more natural separator
than the comma when separating nodes which have a
hierarchy relation.
2014-03-10 13:35:40 +08:00
David Monllao
759b323e0e MDL-43236 behat: Updating references to deprecated methods 2014-03-07 16:05:21 +08:00
David Monllao
a542553d42 MDL-44440 behat: Refactoring features to use I navigate to
Replacing multiple "I expand node" steps by the
new "I navigate to". Also fixing few I navigate to
when dealing with non-JS.
2014-03-07 14:46:54 +08:00
Yuliya Bozhko
100ec86182 MDL-44140 badges: Prevent non-owners to change visibility of issued badges
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-03-06 14:33:51 +08:00
Damyon Wiese
3294c1e6dd Merge branch 'MDL-41585' of https://github.com/totara/openbadges 2014-03-05 13:17:18 +08:00
Damyon Wiese
267c4b4292 Merge branch 'MDL-43738_master' of git://github.com/dmonllao/moodle 2014-03-04 13:29:03 +08: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
David Monllao
f083d6145e MDL-43738 behat: Updating features files
The following used steps were replaced by the ones
added in this issue:
- I fill the moodle form with
- I fill in with
- I select from
- I select radio button
- I check
- I uncheck
- the field should match

Also removing test for deprecated steps:
- the ASD checkbox should be checked
- the ASD checkbox should not be checked
2014-02-27 18:22:05 +08:00
David Monllao
b71419ae04 MDL-25505 behat: Adding a time gap between two cron runs.
According to \core\task\scheduled_task::get_next_scheduled_time() we
wait 61 seconds, as the next scheduled time is in the next minute.
2014-02-27 14:29:20 +08: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
Sam Hemelryk
0527e02390 Merge branch 'MDL-43774_master' of https://github.com/totara/openbadges 2014-02-10 15:21:41 +13:00
Sam Hemelryk
fbf1f6fdea Merge branch 'MDL-43978_master' of https://github.com/totara/openbadges 2014-02-10 09:23:51 +13:00
Yuliya Bozhko
ab8aa5828f MDL-43774 badges: Stop overriding default course navigation 2014-02-05 10:46:34 +13:00
Yuliya Bozhko
a2a114bd6a MDL-43978 badges: Display error message to guest users viewing "My Badges" page 2014-02-05 09:52:32 +13:00
Russell Smith
74b63eae76 MDL-43440 unit testing: Use cmid in unit tests when it should be used.
instance is has been used instead of cmid.  This works as all id's are 1
in most cases, but not always.

accesslib_clear_all_caches_for_unit_testing was updated to clear the
$USER->access cache which would fail test when the wrong user's data was used.
2014-01-25 08:57:32 +11:00
Damyon Wiese
f329801959 Merge branch 'MDL-41810_master' of https://github.com/totara/openbadges
Conflicts:
	badges/upgrade.txt
2014-01-21 13:06:30 +08:00
David Monllao
561e9bb92e MDL-43480 behat: Switching @_only_local and @_alerts to @_file_upload and @_alert 2014-01-17 10:41:37 +08:00
Yuliya Bozhko
7f964cfdc7 MDL-43621 badges: Don't display deleted users in badge recipients list 2014-01-15 09:31:45 +13:00
Yuliya Bozhko
343534a855 MDL-41810 badges: Remove hardcoded references to backpack.openbadges.org 2014-01-08 14:55:30 +13:00
Damyon Wiese
21197e9d4a Merge branch 'MDL-43399-master' of git://github.com/mouneyrac/moodle 2014-01-06 16:13:44 +08:00
Sam Hemelryk
61a79e01fc Merge branch 'MDL-40551_master' of https://github.com/totara/openbadges
Conflicts:
	badges/upgrade.txt
2014-01-06 12:00:11 +13:00
Sam Hemelryk
a0e1168751 Merge branch 'MDL-42965_master' of https://github.com/totara/openbadges 2013-12-19 16:12:46 +13:00
Yuliya Bozhko
acfe72293f MDL-42965 badges: Fix empty string comparison for Oracle 2013-12-19 10:26:44 +13:00
Jerome Mouneyrac
8e4b9a45b1 MDL-43399 Badge: the Choose... option can still be selected once a role is choosen. 2013-12-16 14:33:02 +08:00