77316 Commits

Author SHA1 Message Date
Rajesh Taneja
e01012e96d MDL-46891 behat: Driver specific fixes.
1. Browserkit doesn't handle [] in name
2. Grades are not visible in viewport and might fail
   with few drivers, increasing size of window to ensure
   grades are visible and can be modified.
3. Click edit first to see grade link
4. Expand fields before setting value
5. Updated xpath, as crawler update it.
6. Hover fails to show icon
2016-03-11 10:51:16 +08:00
Rajesh Taneja
b73e5047af MDL-46891 core_grade: Steps are not valid as element is disabled 2016-03-11 10:51:16 +08:00
Rajesh Taneja
afccc03f14 MDL-46891 behat: Phantomjs require explicit change event
It fails with multiple select while selecting group
2016-03-11 10:51:16 +08:00
Rajesh Taneja
0f3fba7d66 MDL-46891 behat: If setup problem then stop execution
Exception are handled via CallCenter and execution is
not stopped if execption is thrown in beforescenario.

If any setup problem encountered, then stop execution.
2016-03-11 10:51:16 +08:00
Rajesh Taneja
07298309dc MDL-46891 behat: Move wait in behat_base so it can be used easily 2016-03-11 10:51:16 +08:00
Rajesh Taneja
86055d11f9 MDL-46891 behat: Optimised login step and context helper 2016-03-11 10:51:15 +08:00
Rajesh Taneja
42ad096fdb MDL-46891 Behat: Added support for behat 3 2016-03-11 10:51:15 +08:00
Eloy Lafuente (stronk7)
e8952c5951 weekly release 3.1dev 2016-03-10 13:30:56 +01:00
Eloy Lafuente (stronk7)
cdd89b0ceb Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2016-03-10 13:30:51 +01:00
Rajesh Taneja
d2ee22e744 MDL-27628 behat: Added delay to ensure the value is set.
After user type there is a 400ms delay, then search
Adding 2 sec delay to ensure search is finished before
click event is triggred
2016-03-10 13:17:11 +01:00
Mark Nelson
9621d5a7ae MDL-52252 core_course: removed unused variables
The call to 'context_coursecat::instance($COURSE->category);'
was causing Moodle to throw an exception due to non-existent
category.
2016-03-10 13:17:11 +01:00
Damyon Wiese
6b04655573 MDL-27628 enrol_meta: Set options to exclude existing courses, and the current course
When adding a new meta enrolment, you should not be able to select the current course,
or any courses with an existing meta link.
2016-03-10 13:17:10 +01:00
Eloy Lafuente (stronk7)
fac004e28b MDL-51167 tool_monitor: fix too strict condition & minor cleanup 2016-03-10 13:17:10 +01:00
Eloy Lafuente (stronk7)
7e9b046a50 Merge branch 'MDL-53369' of git://github.com/timhunt/moodle 2016-03-10 13:17:09 +01:00
Simey Lameze
ce59760476 MDL-50705 auth_db: apply standard cleaning to all fields
Also unit tests were added to cover the new clean_data() method.
2016-03-10 13:17:08 +01:00
Simey Lameze
dccf9ca308 MDL-50705 core_user: introduce new fill_properties_cache()
Also the get_property_definition() was created to get the property without retrieve the whole definition cache and
    unit tests were created to tests those new methods.
2016-03-10 13:17:08 +01:00
David Monllao
fb0b522035 Merge branch 'MDL-27628-master' of git://github.com/damyon/moodle 2016-03-10 13:17:07 +01:00
David Monllao
9fff0c469f MDL-52252 tags: Bump version to add course_modules area 2016-03-09 15:36:30 +08:00
David Monllao
b8bc9037f1 Merge branch 'wip-MDL-52252-master' of https://github.com/marinaglancy/moodle 2016-03-09 15:35:16 +08:00
Marina Glancy
1ea2f7d650 MDL-52252 tags: course module tags small correction 2016-03-09 15:33:25 +08:00
David Monllao
9de085c6fc MDL-52786 quiz: Adding mod_quiz_get_combined_review_options to mobile service 2016-03-09 15:29:41 +08:00
David Monllao
da51a9be95 Merge branch 'MDL-52786-master' of git://github.com/jleyva/moodle
Conflicts:
	lib/db/services.php
2016-03-09 15:29:02 +08:00
David Monllao
ba8afbdb07 MDL-52785 quiz: Adding mod_quiz_get_user_best_grade to mobile service 2016-03-09 15:18:11 +08:00
David Monllao
20097a057d Merge branch 'MDL-52785-master' of git://github.com/jleyva/moodle
Conflicts:
	lib/db/services.php
2016-03-09 15:16:48 +08:00
David Monllao
5ca1a77649 MDL-52670 quiz: Adding function to mobile service 2016-03-09 15:12:10 +08:00
David Monllao
9b701a37e4 Merge branch 'MDL-52670-master' of git://github.com/jleyva/moodle
Conflicts:
	lib/db/services.php
2016-03-09 15:10:54 +08:00
David Monllao
11bad2b099 Merge branch 'MDL-51324-master' of git://github.com/damyon/moodle 2016-03-09 14:20:18 +08:00
Nadav Kavalerchik
dffcf46f43 MDL-52252 Tags: Add tags to modules (Resources and Activities) 2016-03-09 14:19:47 +08:00
Andrew Nicols
d84a657dda MDL-53273 search: Whitespace fix 2016-03-09 14:14:33 +08:00
Andrew Nicols
02726a29cc Merge branch 'MDL-53273-master' of git://github.com/merrill-oakland/moodle 2016-03-09 14:11:17 +08:00
Andrew Nicols
0809a0ea02 Merge branch 'MDL-53247_fix' of git://github.com/dmonllao/moodle 2016-03-09 14:05:00 +08:00
David Monllao
ee72a4dbf3 MDL-53247 search: Require search to be available before running indexer script 2016-03-09 13:37:33 +08:00
Damyon Wiese
6f326bd204 MDL-27628 enrol_meta: Use new multi-course selector
Allows adding multiple instances of the meta enrol plugin at once.

I had to add support to the autocomplete element for filling the field from behat
when it was not using tags. I also had to make the shortnames more easily searchable
and unique in the behat feature file.
2016-03-09 13:32:08 +08:00
Damyon Wiese
3e66b0fccd MDL-51324 coursecat: Add to search courses unit test
Cover new option "requiredcapabilities".
2016-03-09 13:30:28 +08:00
Damyon Wiese
91ab264cf5 MDL-51324 forms: fix autocomplete element double selection bug
Incorrect types were preventing the currently selected values from
being removed from the new values returned via ajax.

Also fix a selection bug with autocomplete+ajax+singleselect.
2016-03-09 13:30:27 +08:00
Damyon Wiese
235ef57a3d MDL-51324 forms: Add a new course selector
This is a squashed commit containing a number of changes:

This is an ajax driven course selector that has searching etc. It can select single, or multiple courses.
Make course selector accept a list of courses to exclude
courseselector - lookup coursename on setValue
Use the get_course_display_name_in_list function to generate the course names
Add a throttle to auto-complete to reduce spamming the server
Do a single query to fetch all the courses in the mform element when validation fails
Fix core course search function to return results when there are less than 2 chars in the query.
Handle setData with an empty array in new course selector
2016-03-09 13:30:18 +08:00
Eric Merrill
9502c7f539 MDL-53281 search: Properly set timeout, and don't wait for optimize 2016-03-09 13:30:18 +08:00
Dan Poltawski
be8b6b489a MDL-53327 search: add missing pluginfo lang strings
AMOS BEGIN
 CPY [searchengine,admin],[type_search,plugin]
AMOS END
2016-03-09 13:30:18 +08:00
Andrew Nicols
f758ad33e4 MDL-49897 calendar: mktime => usergetmidnight 2016-03-09 13:18:09 +08:00
Andrew Nicols
233b677bd4 MDL-51571 lti: Whitespace fixes 2016-03-09 12:05:08 +08:00
Andrew Nicols
b80343e223 Merge branch 'MDL-51571_ltiErrorHandler' of https://github.com/moodlerooms/moodle 2016-03-09 11:11:32 +08:00
Andrew Nicols
4f9303c443 Merge branch 'MDL-53271-master' of git://github.com/merrill-oakland/moodle 2016-03-09 11:05:44 +08:00
David Monllao
c17e0034a1 Merge branch 'MDL-50032-master' of git://github.com/jleyva/moodle 2016-03-09 10:55:18 +08:00
Andrew Nicols
bd2e5ef17d Merge branch 'MDL-53325-master' of git://github.com/merrill-oakland/moodle 2016-03-09 10:06:47 +08:00
Andrew Nicols
020d27a733 Merge branch 'MDL-53281-master' of git://github.com/merrill-oakland/moodle 2016-03-09 09:25:07 +08:00
Andrew Nicols
65e7fee267 Merge branch 'MDL-53327-master' of git://github.com/danpoltawski/moodle 2016-03-09 08:48:44 +08:00
Andrew Nicols
f4b6081ebf Merge branch 'MDL-52522-master' of git://github.com/cameron1729/moodle 2016-03-09 08:35:14 +08:00
Simey Lameze
85984545a9 MDL-53031 mod_assign: add session check on assignment plugins management 2016-03-08 19:46:07 +01:00
AMOS bot
416dcf62b1 Automatically generated installer lang files 2016-03-09 00:04:02 +08:00
Jun Pataleta
8e24a54e52 MDL-52433 user: Remove unnecessary capability check 2016-03-08 12:23:44 +01:00