David Monllao
3897608152
MDL-39635 behat: XPath cleanups
...
- Escaping steps arguments redirected to other steps
- Adding normalized-space() in all contains() assertions
- General xpaths review
- Convering provided xpath text strings to xpath literals
to avoid problems with arguments containing both single
quotes and double quotes
2013-07-19 10:02:36 +02:00
David Monllao
dedb973878
MDL-39635 behat: Replacing hardcoded language strings
...
Using get_string() instead.
2013-07-19 10:02:10 +02:00
Dan Poltawski
c5ceaeaf5e
MDL-40604 course: remove deprecated function
...
* course_delete_module was calling delete_event
* Also fix missing inclusion from 379cd2d4
2013-07-17 14:11:11 +08:00
Dan Poltawski
e52c1ea65d
MDL-40604 course: add test to cover course_delete_module
2013-07-17 14:11:10 +08:00
Eloy Lafuente (stronk7)
379cd2d4e3
MDL-40604 Fix 2 uses causing unit test failures
...
There are still a lot of deprecated uses in core
that we should move to the new counterparts ASAP.
This commit just fixes the 2 deprecated uses that
are causing unit tests to fail.
2013-07-17 02:34:07 +02:00
Eloy Lafuente (stronk7)
0b3af0798c
Merge branch 'w29_MDL-40220_m26_core_component' of https://github.com/skodak/moodle
2013-07-17 01:07:21 +02:00
Eloy Lafuente (stronk7)
a980261984
Merge branch 'MDL-40536-master' of git://github.com/danpoltawski/moodle
2013-07-17 00:24:10 +02:00
Petr Škoda
56da374e1e
MDL-40220 use new core_component::normalize_component()
2013-07-16 22:41:00 +02:00
Petr Škoda
bd3b3bba9f
MDL-40220 use new core_component::get_plugin_list()
2013-07-16 22:36:11 +02:00
Damyon Wiese
d981272e64
Merge branch 'wip-mdl-40428' of git://github.com/rajeshtaneja/moodle
2013-07-16 13:33:27 +08:00
Marina Glancy
792e6059be
Merge branch 'wip-MDL-40426-master' of git://github.com/abgreeve/moodle
2013-07-16 13:48:27 +10:00
Eloy Lafuente (stronk7)
88e4c0848a
Merge branch 'MDL-40412' of git://github.com/merrill-oakland/moodle
2013-07-15 22:07:47 +02:00
Marina Glancy
6619945b06
MDL-40121 Support old activities with subtypes
2013-07-15 21:42:04 +10:00
Marina Glancy
28c61e0aa2
MDL-40121 Added plugin format_singleactivity
2013-07-15 21:41:31 +10:00
Dan Poltawski
1b2f549358
MDL-40536 course/externallib fix incorrect variable
...
Fixes test_import_course_invalid_deletecontent_option() from the
previous commit.
2013-07-12 16:39:41 +08:00
Dan Poltawski
fce10644a0
MDL-40536 course: unit tests for course_external::import_course
...
Basic import operations and a specific test case which identifies
a bug.
2013-07-12 16:39:41 +08:00
Rajesh Taneja
c592eea2d3
MDL-40428 Libraries: Deprecated delete_context
2013-07-11 12:18:55 +08:00
Adrian Greeve
1de02d62c9
MDL-40426 - Libraries: Deprecate mark_context_dirty().
2013-07-11 12:16:47 +08:00
Rajesh Taneja
2c5b0eb7fc
MDL-40427 Libraries: Deprecated context_moved in favor of context::update_moved()
2013-07-09 15:51:29 +08:00
Rajesh Taneja
8f7d3d129f
MDL-40407 Libraries: deprecated preload_course_contexts
2013-07-09 15:46:51 +08:00
Ankit Agarwal
0601e0eef6
MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core
2013-07-04 15:41:06 +08:00
Eric Merrill
7829d5d7c3
MDL-40412 course Expanding the height of module description fields.
...
Expanding the default height of mod descriptions to 10, which gives
you 3 real lines once TinyMCE Loads.
2013-07-01 10:24:38 -04:00
Sam Hemelryk
ef6650f703
Merge branch 'wip-MDL-39794-master' of git://github.com/phalacee/moodle
2013-06-18 15:35:37 +12:00
Ruslan Kabalin
f81d63553e
MDL-33546: course: Fix current week hightlighting after dragging the section
2013-06-18 13:01:18 +10:00
Jason Fowler
ee11f4a759
MDL-39794 - Course - Add 'Add a new course' button to front page when page editing is on
2013-06-18 09:26:55 +08:00
Sam Hemelryk
540a8f8499
Merge branch 'MDL-40109_master' of git://github.com/dmonllao/moodle
2013-06-18 11:08:45 +12:00
Damyon Wiese
54106942b3
MDL-37459 admin: Fix for error on updating a locked checkbox
...
Changed the way apply_admin_locked_flags gets the current value for the field.
The old way was plain wrong (looking at getValue from the quickform element).
2013-06-13 11:18:18 +10:00
Damyon Wiese
c30371168f
MDL-37459 admin: Code improvements for admin defaults.
...
Split apply_admin_defaults_after_data so the defaults are set before
set_data is called.
Change function from private to protected.
Change check for if module for is an add or an update.
2013-06-12 14:10:55 +08:00
Damyon Wiese
fa358a83ad
MDL-37459 admin: Change the behaviour of locked admin settings.
...
Now the defaults for settings will never force changes to the module update
form, and settings will only be locked if their value matches the admin default.
2013-06-12 12:30:08 +08:00
Damyon Wiese
7f198356ef
MDL-38359 courselib: Fix unit tests
...
The courselib tests have hardcoded test data sets for forum and assign
modules that need to be updated every time we add a new feature.
2013-06-11 16:20:55 +08:00
Dan Poltawski
3873f6aa60
Merge branch 'MDL-39449' of git://github.com/timhunt/moodle
2013-06-11 14:09:12 +08:00
Damyon Wiese
19127f6f09
MDL-37459: Fix unprintable chars in wierd commit
...
Somehow some unprintable chars made it into the last commit.
Removing them all...
2013-06-11 13:25:28 +08:00
Damyon Wiese
3c88a67821
MDL-37459 admin: Admin settings flags
...
Make "Advanced" and "Lockable" flags for any admin setting.
2013-06-11 12:54:57 +08:00
Sam Hemelryk
9052fc4489
Merge branch 'wip-mdl-33379' of git://github.com/rajeshtaneja/moodle
...
Conflicts:
lib/deprecatedlib.php
2013-06-11 10:35:10 +12:00
David Monllao
af248633f5
MDL-40109 format_weeks: Removing extra space
2013-06-10 13:30:10 +08:00
Sam Hemelryk
fb8010732e
Merge branch 'MDL-36090_log2' of git://github.com/andyjdavis/moodle
2013-06-10 12:31:03 +12:00
Marina Glancy
9f370860a4
MDL-40088 fixed bug with not visible course section
2013-06-07 13:55:19 +10:00
Dan Poltawski
1caff55c2c
Merge branch 'wip-MDL-21097-master' of git://github.com/marinaglancy/moodle
2013-06-05 13:10:12 +08:00
Marina Glancy
3947b8ce4e
MDL-21097 corrected course editing roles
2013-06-05 14:30:21 +10:00
Andrew Davis
afd2efc0e8
MDL-36090 core_grade: added logging of overriding of student grades
2013-06-05 08:51:53 +08:00
Eloy Lafuente (stronk7)
eb5bc31d24
Merge branch 'MDL-38731-master' of git://github.com/danpoltawski/moodle
2013-06-05 02:29:43 +02:00
Eloy Lafuente (stronk7)
32ce8b6803
Merge branch 'wip-MDL-21097-master' of git://github.com/marinaglancy/moodle
2013-06-05 01:43:03 +02:00
Eloy Lafuente (stronk7)
a182f88f7f
MDL-39723 prevent update_courses() bad habits.
...
All the external functions end calling require_login() that is
always in charge of setting the $COURSE global. This is not a
problem, but in the case of core_course_external::update_courses()
testing, where we are, in the same "request", both setting and getting
the $COURSE information and it's clearly outdated, so the test fails.
Alternative solution would be to modify the external function to ensure
that, after updating a course, $COURSE is also updated with the changes
but it does not seem to be necessary for "normal" usage (both UI/WS POVs).
2013-06-04 21:45:15 +02:00
Eloy Lafuente (stronk7)
79452da1c8
Merge branch 'MDL-39723-master' of git://github.com/sammarshallou/moodle
2013-06-04 17:47:45 +02:00
Dan Poltawski
e404e040d3
Merge branch 'wip-MDL-39870-master' of git://github.com/marinaglancy/moodle
2013-06-04 14:14:18 +08:00
Dan Poltawski
4dfadbc99b
Merge branch 'wip-mdl-39827' of git://github.com/rajeshtaneja/moodle
2013-06-04 11:29:38 +08:00
Dan Poltawski
820b66be58
Merge branch 'wip_master_mdl-34085' of https://github.com/iarenaza/moodle
2013-06-04 10:42:45 +08:00
Eloy Lafuente (stronk7)
aed9401e14
MDL-39764 style: phpdoc changed to inline comments
2013-06-04 01:41:58 +02:00
Gareth J Barnard
86f590b45f
MDL-39764 course_format: Allow courses to have numsections > maxsections.
2013-06-03 23:36:32 +01:00
Dan Poltawski
687732ba6e
MDL-38731 course: split course group settings header
...
Allow translators to translate the heading differently.
AMOS BEGIN
CPY [groups,group],[groupsettingsheader,group]
AMOS END
2013-05-31 12:03:35 +08:00