Commit Graph

3491 Commits

Author SHA1 Message Date
Andrew Nicols 314cc22a28 MDL-34209 JavaScript: Simplify section drag/drop to fix reordering issues 2013-10-21 11:42:43 +08:00
Sam Hemelryk 3b5c7727f2 MDL-41828 mod: fixed navbar when adding modules to a course 2013-10-01 13:34:01 +10:00
Andrew Nicols d2674929ba MDL-36465 Course JavaScript: Ensure that the zero section is not draggable 2013-09-23 09:19:11 +01:00
Damyon Wiese 5a730d0a80 Merge branch 'wip-MDL-41517-m24' of git://github.com/marinaglancy/moodle into MOODLE_24_STABLE 2013-09-09 12:11:10 +08:00
Sam Hemelryk b7a4701d1f MDL-41417 course: fixed idnumbertaken string 2013-09-09 12:15:59 +12:00
Mark Nelson eb57e9e60b MDL-41417 course: allow the use of duplicated idnumbers if they existed before fix 2013-09-06 15:24:43 +08:00
Francis Devine 5f8e23c1a9 MDL-41417 course: prevent duplicate idnumbers being used when updating a course 2013-09-06 15:24:19 +08:00
Marina Glancy f68ebb8282 MDL-41517 Do not call fix_course_sortorder unnecessarily
Thanks to Thomas Worthington
2013-09-03 13:55:04 +10:00
Marina Glancy 661d4816df MDL-36690 Do not cache objects inside course.modinfo as they may fail to serialize
convert moodle_url (all other fields are numbers or strings) to string before caching and then back to moodle_url when restoring.
Otherwise serialized modinfo can contain \0 byte which cause problems in Postgres DB
2013-08-21 13:13:35 +10:00
Sam Hemelryk c7f4deecbd Merge branch 'MDL-41045-m24' of git://github.com/sammarshallou/moodle into MOODLE_24_STABLE 2013-08-13 10:19:05 +12:00
sam marshall 1a60cd4e5c MDL-41045 course_add_cm_to_section should not test for sections unless necessary 2013-08-07 17:20:59 +01:00
Dan Poltawski 514132f8a8 MDL-40536 course/externallib fix incorrect variable
Fixes test_import_course_invalid_deletecontent_option() from the
previous commit.
2013-07-12 16:40:59 +08:00
Dan Poltawski c181c6137d 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:40:59 +08:00
Ruslan Kabalin 8401eb9425 MDL-33546: course: Fix current week hightlighting after dragging the section 2013-06-18 13:04:43 +10:00
Sam Hemelryk c8802b6e6c Merge branch 'MDL-40109_24' of git://github.com/dmonllao/moodle into MOODLE_24_STABLE 2013-06-18 11:07:48 +12:00
David Monllao 3f7511f022 MDL-40109 format_weeks: Removing extra space 2013-06-10 13:31:54 +08:00
Sam Hemelryk 4964633e3a Merge branch 'MDL-36090_log2_24' of git://github.com/andyjdavis/moodle into MOODLE_24_STABLE 2013-06-10 12:30:46 +12:00
Dan Poltawski 64a21db766 Merge branch 'wip-MDL-21097-m24' of git://github.com/marinaglancy/moodle into MOODLE_24_STABLE 2013-06-05 13:10:46 +08:00
Marina Glancy 84031db72b MDL-21097 corrected course editing roles 2013-06-05 14:25:13 +10:00
Andrew Davis 4dd5ce20ff MDL-36090 core_grade: added logging of overriding of student grades 2013-06-05 08:58:16 +08:00
Eloy Lafuente (stronk7) f078a515c7 Merge branch 'MDL-38731-24' of git://github.com/danpoltawski/moodle into MOODLE_24_STABLE 2013-06-05 02:31:04 +02:00
Eloy Lafuente (stronk7) b0237a093f Merge branch 'wip-MDL-21097-m24' of git://github.com/marinaglancy/moodle into MOODLE_24_STABLE 2013-06-05 01:43:25 +02:00
Dan Poltawski 4c8664099e Merge branch 'wip_24_mdl-34085' of https://github.com/iarenaza/moodle into MOODLE_24_STABLE 2013-06-04 10:43:18 +08:00
Eloy Lafuente (stronk7) 4746dc557a MDL-39764 style: phpdoc changed to inline comments 2013-06-04 01:44:20 +02:00
Gareth J Barnard b0997b27fc MDL-39764 course_format: Allow courses to have numsections > maxsections. 2013-06-03 23:57:52 +01:00
Dan Poltawski 8228d7a653 MDL-38731 course: split course group settings header
Allow translators to translate the heading differently.

AMOS BEGIN
  CPY [groups,group],[groupsettingsheader,group]
AMOS END

Conflicts:
	course/edit_form.php
2013-05-31 12:14:19 +08:00
Marina Glancy db13f65136 MDL-21097 Correctly check capabilities for course settings items
- Make sure that items in course settings (and frontpage settings) are shown depending on user capabilities
- Make sure user is able to turn editing on on the page even if he has only limited number of seciton/modules capabilities
2013-05-31 13:21:03 +10:00
Iñaki Arenaza aefa1b0e3e MDL-34085 Fix the backup options names in core_course_duplicate_course
Fix the option names to match those used by the backup subsystem.
2013-05-30 17:49:07 +02:00
Eloy Lafuente (stronk7) 4453f3255f MDL-36482 Fix slipped error, thanks Petr! 2013-05-22 04:13:53 +02:00
Eloy Lafuente (stronk7) ec01b3201d Merge branch 'MDL-36482_24' of https://github.com/mr-russ/moodle into MOODLE_24_STABLE 2013-05-21 02:28:20 +02:00
Russell Smith cd8f8a8cb5 MDL-36482 activities block: Allow mod display without intro's 2013-05-09 09:59:41 +10:00
Damyon Wiese 31dda933e6 Merge branch 'MDL-38315-m24' of git://github.com/sammarshallou/moodle into MOODLE_24_STABLE 2013-05-06 22:19:55 +08:00
Tim Hunt 319fc5cb74 MDL-39450 course formats: add static cache to get_format_or_default
This function gets called hundreds of times on every page, often with
exactly the same input, so I added a static cache.
2013-05-02 15:48:21 +01:00
Damyon Wiese ccd8763ce2 Merge branch 'MDL-30775-24' of git://github.com/mouneyrac/moodle into MOODLE_24_STABLE
Conflicts:
	course/externallib.php
2013-05-02 16:21:55 +08:00
Eloy Lafuente (stronk7) d8d636dfe4 Merge branch 'wip-MDL-39432-m24' of git://github.com/samhemelryk/moodle into MOODLE_24_STABLE 2013-05-01 01:35:10 +02:00
Sam Hemelryk be9d851c07 Merge branch 'MDL-39422-24' of git://github.com/danpoltawski/moodle into MOODLE_24_STABLE 2013-05-01 11:14:28 +12:00
Sam Hemelryk eecd7b4412 Merge branch 'wip-MDL-39099_M24' of git://github.com/gjb2048/moodle into MOODLE_24_STABLE 2013-05-01 11:04:50 +12:00
Sam Hemelryk 5a682ca6f9 MDL-39432 course: converted closures to lambda functions 2013-05-01 10:41:42 +12:00
Dan Poltawski da7b1ecb12 MDL-39422 course: prevent module names longer 255 chars
To prevent ugly DB errors.
2013-04-30 17:42:02 +01:00
Gareth J Barnard 34877d21af MDL-39099 course_format: Allow section_summary() to be overridden. 2013-04-30 17:02:44 +01:00
Jerome Mouneyrac e2bceb5018 MDL-30775 get_course_contents: remove warnings when the section is empty 2013-04-30 14:12:25 +08:00
Damyon Wiese 58498bde56 Merge branch 'MDL-38440-24' of git://github.com/mouneyrac/moodle into MOODLE_24_STABLE 2013-04-29 11:10:35 +08:00
Jerome Mouneyrac 5831c40c5c MDL-38440 WebService get_contents doesn't return the full text of labels 2013-04-26 15:59:14 +08:00
Frederic Massart 442e59e785 MDL-39329 course: Strict standard warning during unpublishing 2013-04-25 10:11:42 +01:00
Dan Poltawski f8e976e56a Merge branch 'MDL-38824-m24' of git://github.com/sammarshallou/moodle into MOODLE_24_STABLE 2013-04-17 14:38:06 +01:00
Damyon Wiese 1b68e51133 MDL-35144 Categories - Allow editing by custom roles
Users with category:manage or course:create should be able to edit
the course/category.php page.
2013-04-11 14:07:46 +08:00
Dan Poltawski 5bad124045 Merge branch 'MOODLE_24_MDL35144' of git://github.com/thepurpleblob/gumoodle into MOODLE_24_STABLE 2013-04-10 12:23:53 +08:00
Damyon Wiese d11c78a127 MDL-38907 Course: Remove unused CSS causing jump menu to be center aligned. 2013-04-09 01:09:50 +02:00
Howard Miller de6e4874ef MDL-35144 adding editing capabiltities to page 2013-04-08 15:47:03 +01:00
sam marshall cfd41befd5 MDL-38824 Activity completion: Automatic completion quotes not escaped 2013-04-08 14:53:38 +01:00