Marina Glancy
e0dfc380c6
Revert "Merge branch 'wip-MDL-40356-master' of git://github.com/abgreeve/moodle"
...
This reverts commit 4b5fd6eb6d34b5c519d778a8d9c5c1a014146f54, reversing
changes made to a788aade7ce694b3f36c8e27295c60a5178c5b23.
2014-09-11 10:54:40 +08:00
Dan Poltawski
4b5fd6eb6d
Merge branch 'wip-MDL-40356-master' of git://github.com/abgreeve/moodle
2014-09-09 10:35:48 +01:00
Damyon Wiese
15ace20460
MDL-46997 Grades: Improve the behat tests for grade aggregation
...
The tests now cover hidden grades in sub categories for all aggregation types. This change
includes a data generator for grade categories, with unit tests and behat tests for
the generator.
2014-09-09 17:11:59 +08:00
Dan Poltawski
fb385cb7af
Merge branch 'MDL-46572_master' of https://github.com/markn86/moodle
2014-09-09 09:18:00 +01:00
Adrian Greeve
4112ef994a
MDL-40356 lib: Unit tests for the alternativefullnameformat setting.
2014-09-09 09:23:19 +08:00
Marina Glancy
9cc66e866c
MDL-45602 behat: add members to cohorts
2014-09-05 16:40:00 +08:00
sam marshall
061e6b2864
MDL-44725 Availability: Replace groupmembersonly - upgrade, core (1)
...
* Upgrades existing data so that the groupmembersonly option is
replaced with equivalent data for the new availability API.
* Removes the database field and admin setting used for
groupmembersonly.
* Changes core modinfo library to remove/deprecate groupmembersonly
data and functions.
* Changes other core library files to remove groupmembersonly
references.
Includes deprecation of several functions, listed in lib/upgrade.txt.
2014-09-02 13:03:07 +01:00
Eloy Lafuente (stronk7)
f034d6d113
Merge branch 'MDL-43639_updatePassEveryLogin' of https://github.com/moodlerooms/moodle
2014-09-02 01:07:36 +02:00
Paul Charsley
352f3f4797
MDL-46861 added missing required field areaname
2014-08-29 09:42:54 +12:00
Rajesh Taneja
3c7bfae29c
MDL-46572 behat: extended table head look up to check if header is link
...
Header can be a link, this step will now look if
header has a text or header link has the text
Part of MDL-46191
2014-08-28 13:06:45 -07:00
Damyon Wiese
a88770d7eb
Merge branch 'MDL-46923_master' of git://github.com/markn86/moodle
2014-08-25 16:48:27 +08:00
Damyon Wiese
4da7f20610
Merge branch 'wip_MDL-43918_m28_cm' of https://github.com/skodak/moodle
2014-08-25 16:45:15 +08:00
Marina Glancy
241d1d42cf
Merge branch 'MDL-46904-master' of git://github.com/damyon/moodle
2014-08-25 14:45:05 +08:00
Petr Skoda
b6f299bb69
MDL-43918 add more validation to $modulename parameter when fetching cms
2014-08-25 12:09:54 +12:00
Mark Nelson
08678f6f45
MDL-46923 core_behat: fixed typos in function names
2014-08-20 22:09:29 -07:00
Damyon Wiese
a0ac406055
MDL-46904 core_task: Gracefully handle rubbish entries in the tasks table.
2014-08-20 17:01:15 +08:00
Damyon Wiese
52ed065131
Merge branch 'MDL-46706-master' of https://github.com/sammarshallou/moodle
...
Conflicts:
lib/tests/modinfolib_test.php
2014-08-19 17:13:05 +08:00
Damyon Wiese
fc9b567f32
Merge branch 'MDL-46772-master' of git://github.com/andrewnicols/moodle
2014-08-19 15:41:32 +08:00
Marina Glancy
2c0ee558e5
Merge branch 'wip-mdl-46817' of git://github.com/rajeshtaneja/moodle
2014-08-19 14:03:27 +08:00
Rajesh Taneja
641459a8a5
MDL-46817 behat: Step to check if value exist/not in table column
2014-08-18 09:59:29 +08:00
Marina Glancy
fb71171fc6
MDL-46589 scheduled task does not send emails
...
Thanks to Luděk Šulák for the patch
2014-08-16 11:29:34 +08:00
sam marshall
d25c41fbc5
MDL-46706 Library: API to get cm_info more easily
...
Creates two new functions that make it easier to get cm_info
objects (both in modinfolib.php):
get_course_and_cm($cmid) - intended for use e.g. in modules;
efficiently loads $course and $cm (normally saves 1 query).
cm_info::from_mixed($cm) - for use in back-end API where we
are not sure whether a $cm is a real cm_info or a stdClass.
2014-08-15 18:24:11 +01:00
Andrew Nicols
7dfaa3aede
MDL-46772 core: html_writer::table should respect tr attributes
2014-08-14 12:06:31 +08:00
Dan Poltawski
023d758513
Merge branch 'wip_MDL-46561_m28_sessexists' of https://github.com/skodak/moodle
2014-08-12 14:28:22 +01:00
Eloy Lafuente (stronk7)
f414c5aa9e
Merge branch 'MDL-46646_master' of https://github.com/Syxton/moodle
2014-08-12 01:53:23 +02:00
Dan Poltawski
c068b0814b
Merge branch 'MDL-46496-master' of git://github.com/andrewnicols/moodle
2014-08-11 14:38:33 +01:00
Tim Hunt
1fa2823de8
MDL-46688 weblib: improve the highlight function.
...
Thanks to Joseph Baxter for suggesting some of the test cases.
2014-08-08 17:51:58 +01:00
Andrew Nicols
c8f596147a
MDL-46496 libraries: Add additional tests for jquery and jqueryUI
...
The additional tests add a clear example of the use of jquery UI images in
addition to working JavaScript.
2014-08-08 14:09:05 +08:00
Petr Skoda
c6b5f18d06
MDL-46561 session: use full session validation in \core\session\manager::session_exists()
2014-08-07 08:59:24 +12:00
Syxton
fc6a0fe294
MDL-46646 course: regression in behat tests
...
Newly introduced unit tests are failing because the timestamps used are
too large. Example timestamps were 11 characters long instead of 10.
2014-08-05 08:43:13 -04:00
Eloy Lafuente (stronk7)
5013c189e9
Merge branch 'm28_MDL-46625' of https://github.com/totara/moodle
2014-08-05 13:04:11 +02:00
Simey Lameze
a0372a4019
MDL-44794 group: unit test for groups_get_user_groups method.
2014-08-04 11:59:06 +08:00
Simey Lameze
93d10d162c
MDL-44794 group: unit test for get_groups method.
2014-08-04 11:59:06 +08:00
Mark Nielsen
b5bad169c2
MDL-43639: Prevent user updated event on every login
...
If auth plugin prevents local passwords, then user
is updated and event is triggered on every login.
2014-08-01 13:36:55 -07:00
Brian Barnes
1c77e2aafa
MDL-46625 theme: Added a way to target the current page
2014-07-31 13:27:14 +12:00
Marina Glancy
5f079af450
MDL-46503 behat: cohort generator allows to create cohort in category
2014-07-25 09:12:21 +08:00
Dan Poltawski
5f7ab6e949
Merge branch '45828-28' of git://github.com/samhemelryk/moodle
2014-07-22 09:33:01 +01:00
Dan Poltawski
65f00f063b
Merge branch 'MDL-45847_master' of https://github.com/Syxton/moodle
2014-07-21 12:09:10 +01:00
Sam Hemelryk
6e247996ea
MDL-45828 cache: definitions now sorted in the admin UI
2014-07-21 09:25:22 +12:00
Tony Butler
817b202018
MDL-46286 lib_htmlpurifier: Add allowed URI scheme for RTMP
...
Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
2014-07-11 15:52:34 +01:00
Syxton
9a4231e993
MDL-45847 resort: Add more course sorting options
...
MDL-45847 resort: Add more course sorting options
Add descending sort options and course timecreated sort options.
Includes behat and unit test changes.
2014-07-10 16:15:26 -04:00
Sam Hemelryk
1c194014bf
MDL-19270 core_text: added unit tests for strrev
2014-07-08 14:14:51 +12:00
Dan Poltawski
99fbe16211
Merge branch 'wip_MDL-46099_m28_userglobal' of https://github.com/skodak/moodle
2014-07-01 10:39:14 +01:00
Petr Skoda
2e00d01db4
MDL-46099 session: fix use of references for session globals
...
This reverses the references used for global $USER and $SESSION,
the reason is that PHP does not allow references to references.
$USER is a reference to $GLOBALS['USER'] which means we cannot
put any references to it. Solution is to store the current user and session
objects in $GLOBALS['USER'] and $GLOBALS['SESSIOn'] are reference
them in $_SESSION.
This patch makes the session code behave the same way in CLI,
phpunit and normal web requests - this allows use to finally
unit test most aspects of the session code in Moodle.
2014-07-01 08:38:00 +12:00
Dan Poltawski
f74b3cd8bc
Merge branch 'wip-mdl-45641' of https://github.com/rajeshtaneja/moodle
2014-06-30 15:12:30 +01:00
Dan Poltawski
6f90b157f3
Merge branch 'MDL-41663-master' of git://github.com/damyon/moodle
2014-06-30 09:24:39 +01:00
Rajesh Taneja
a7466eb448
MDL-45641 event: Removed multiple user_updated event trigger
...
user_updated event was being triggred while
setting password, which is not correct. It now
trigger user_password_updated event. Few more
modifications done:
1. Correct event is being triggred.
2. Event is only triggred when password is chnaged.
3. Password is updated via single api.
4. Updated unit test
2014-06-27 15:44:56 +08:00
Rajesh Taneja
d7a0b72160
MDL-46061 behat: Fixed blur event problem for atto_image
...
atto_image look for blur event after changing width/height
Added a new step to get focus off the element, so this can
work.
2014-06-26 09:59:49 +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
Damyon Wiese
1a1d3665dc
MDL-41663 Output: Allow subtype as a namespace level on it's own
2014-06-25 12:16:53 +08:00