moodle.git
12 years agoMDL-35260 Course formats may have settings, be enabled, disabled and uninstalled
Marina Glancy [Thu, 18 Oct 2012 08:03:11 +0000 (16:03 +0800)]
MDL-35260 Course formats may have settings, be enabled, disabled and uninstalled

12 years agoMDL-36017 renamed formatoptions to courseformatoptions in externallib
Marina Glancy [Mon, 5 Nov 2012 03:40:03 +0000 (11:40 +0800)]
MDL-36017 renamed formatoptions to courseformatoptions in externallib

12 years agoMDL-35768 MDL-36017 Avoid calling format_base::get_course() when not necessary
Marina Glancy [Fri, 2 Nov 2012 06:32:17 +0000 (14:32 +0800)]
MDL-35768 MDL-36017 Avoid calling format_base::get_course() when not necessary

- If we want to check fields 'numsections' or 'hiddensections' call course_get_format()->get_format_options()
- We still use extended course object in course/edit.php, update_course(), create_course(), and inside course formats

12 years agoMDL-35768 MDL-36017 code style corrections
Marina Glancy [Fri, 2 Nov 2012 05:52:28 +0000 (13:52 +0800)]
MDL-35768 MDL-36017 code style corrections

12 years agoMDL-36017 IMS-CC export does not filter result by numsections because it is now optional
Marina Glancy [Tue, 16 Oct 2012 05:50:42 +0000 (13:50 +0800)]
MDL-36017 IMS-CC export does not filter result by numsections because it is now optional

12 years agoMDL-36017 Course now may have format-specific options, numsections and hiddensections...
Marina Glancy [Wed, 17 Oct 2012 03:44:43 +0000 (11:44 +0800)]
MDL-36017 Course now may have format-specific options, numsections and hiddensections are among them

12 years agoMDL-36017 Fields numsections, hiddensections and coursedisplay are now format-specifi...
Marina Glancy [Thu, 11 Oct 2012 07:08:17 +0000 (15:08 +0800)]
MDL-36017 Fields numsections, hiddensections and coursedisplay are now format-specific options

- Fields added to format_legacy as default course format options;
- Upgrade script copies fields values from table course to course_format_options;
- Fields removed from table course;
- Fields removed from edit course form;
- Since front-page course has a 'numsections' setting, format_site defines it as it's option;
- Removed accessing those fields in core code unless we know that format supports them and in this
  case instead of $course = $DB->get_record('course'); we use:
  $course = course_get_format($courseorid)->get_course(); This way all format-specific options
  are added to the $course object

12 years agoMDL-36017 Added default fields to format_legacy::course_format_options()
Marina Glancy [Fri, 12 Oct 2012 02:26:33 +0000 (10:26 +0800)]
MDL-36017 Added default fields to format_legacy::course_format_options()

Fields coursedisplay, numsections, hiddensections are now the default fields for formats being converted from Moodle 2.3 or earlier

12 years agoMDL-35768 Backup and restore of course format-specific options
Marina Glancy [Thu, 11 Oct 2012 08:36:25 +0000 (16:36 +0800)]
MDL-35768 Backup and restore of course format-specific options

12 years agoMDL-35768 Backup and restore of section format-specific options
Marina Glancy [Thu, 11 Oct 2012 08:03:15 +0000 (16:03 +0800)]
MDL-35768 Backup and restore of section format-specific options

12 years agoMDL-35768 Allow caching of section format options in course.sectioncache
Marina Glancy [Tue, 16 Oct 2012 04:02:56 +0000 (12:02 +0800)]
MDL-35768 Allow caching of section format options in course.sectioncache

12 years agoMDL-35768 Added format-specific options to edit course and section forms
Marina Glancy [Thu, 11 Oct 2012 05:31:55 +0000 (13:31 +0800)]
MDL-35768 Added format-specific options to edit course and section forms

- Course format may define additional fields (format options) to store for course and each section
- Edit course form allows to edit format-specific options and refreshes their list on format change
- Course format may provide it's own form for editing a section
- Default form for editing section allows to edit all format-specific fields
- Class section_info refactored, it defines magic methods such as __get() to access basic section
  information and format-specific options (retrieved only on the first request)
- format_base::update_course_format_options() allows to watch pre-update state of the course,
  format_legacy automatically copies the options with the same names between formats

12 years agoMDL-35768 create table course_format_options, increase length of course.format field
Marina Glancy [Thu, 4 Oct 2012 04:34:55 +0000 (12:34 +0800)]
MDL-35768 create table course_format_options, increase length of course.format field

12 years agoweekly release 2.4dev
Dan Poltawski [Thu, 1 Nov 2012 06:52:00 +0000 (14:52 +0800)]
weekly release 2.4dev

12 years agoFix incorrect permissions
Dan Poltawski [Thu, 1 Nov 2012 06:51:29 +0000 (14:51 +0800)]
Fix incorrect permissions

12 years agoweekly release 2.4dev
Dan Poltawski [Thu, 1 Nov 2012 06:15:24 +0000 (14:15 +0800)]
weekly release 2.4dev

12 years agoMerge branch 'install_master' of git://git.moodle.cz/moodle-install
Dan Poltawski [Thu, 1 Nov 2012 06:12:49 +0000 (14:12 +0800)]
Merge branch 'install_master' of git://git.moodle.cz/moodle-install

12 years agoRevert "MDL-34332 completion: timeenrolled not always set correctly"
Dan Poltawski [Thu, 1 Nov 2012 04:02:49 +0000 (12:02 +0800)]
Revert "MDL-34332 completion: timeenrolled not always set correctly"

This reverts commit 154a72b0024761f8fe57ede5aa1b2255a1c2babd.

12 years agoMDL-25290 MUC - add dbname to settings hash
Dan Poltawski [Thu, 1 Nov 2012 02:40:32 +0000 (10:40 +0800)]
MDL-25290 MUC - add dbname to settings hash

12 years agoMerge branch 'MDL-36315' of git://github.com/stronk7/moodle
Dan Poltawski [Thu, 1 Nov 2012 02:02:47 +0000 (10:02 +0800)]
Merge branch 'MDL-36315' of git://github.com/stronk7/moodle

12 years agoMerge branch 'MDL-34910_fix' of git://github.com/dmonllao/moodle
Dan Poltawski [Thu, 1 Nov 2012 01:56:46 +0000 (09:56 +0800)]
Merge branch 'MDL-34910_fix' of git://github.com/dmonllao/moodle

12 years agoMDL-36315 backup: reduce the DST tests failing-window
Eloy Lafuente (stronk7) [Wed, 31 Oct 2012 23:28:59 +0000 (00:28 +0100)]
MDL-36315 backup: reduce the DST tests failing-window

This reduces the period of time that some of the unit tests
for calculate_next_automated_backup() are failing right now
(from 1week to just some hours around the DST changes).

Note it's not the final solution because they will still fail
when New_York or Brussels DST changes are about to happen, but
to get this completely fixed we'll need to wait to switch from
current custom TZ/DST support to PHP built-in one.

12 years agoAutomatically generated installer lang files
AMOS bot [Thu, 1 Nov 2012 00:36:37 +0000 (00:36 +0000)]
Automatically generated installer lang files

12 years agoMDL-36304 - Left align "marked out of" in RTL Q preview
Eloy Lafuente (stronk7) [Wed, 31 Oct 2012 18:30:08 +0000 (19:30 +0100)]
MDL-36304 - Left align "marked out of" in RTL Q preview

Credit goes to Nadav Kavalerchik for fixing it @ MDL-36033

12 years agoMerge branch 'MDL-36130' of git://github.com/aolley/moodle
Aparup Banerjee [Wed, 31 Oct 2012 06:51:16 +0000 (14:51 +0800)]
Merge branch 'MDL-36130' of git://github.com/aolley/moodle

12 years agoMDL-35964 - blocks: add missing global $CFG
Dan Poltawski [Wed, 31 Oct 2012 06:28:24 +0000 (14:28 +0800)]
MDL-35964 - blocks: add missing global $CFG

Thanks Rosie!

12 years agoMerge branch 'MDL-28235-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Wed, 31 Oct 2012 05:42:14 +0000 (13:42 +0800)]
Merge branch 'MDL-28235-master' of git://github.com/FMCorz/moodle

12 years agoMDL-28235 form: Removed reference to unexisting close button in help popup
Frederic Massart [Wed, 31 Oct 2012 04:59:07 +0000 (12:59 +0800)]
MDL-28235 form: Removed reference to unexisting close button in help popup

12 years agoMDL-34910 blog Fixing mod level related issues
David Monllao [Wed, 31 Oct 2012 03:56:36 +0000 (11:56 +0800)]
MDL-34910 blog Fixing mod level related issues

12 years agoMDL-28235 form: Removed close icon of help icon popups
Frederic Massart [Tue, 2 Oct 2012 06:34:15 +0000 (14:34 +0800)]
MDL-28235 form: Removed close icon of help icon popups

12 years agoMDL-28235 form: Help button popup close accessibility improved
Frederic Massart [Tue, 2 Oct 2012 06:28:55 +0000 (14:28 +0800)]
MDL-28235 form: Help button popup close accessibility improved

AMOS BEGIN
 CPY [close,editor],[close,form]
AMOS END

12 years agoMerge branch 'w43_MDL-36145_m24_yui373' of git://github.com/skodak/moodle
Sam Hemelryk [Wed, 31 Oct 2012 04:35:18 +0000 (17:35 +1300)]
Merge branch 'w43_MDL-36145_m24_yui373' of git://github.com/skodak/moodle

12 years agoMDL-34777 Accessibility: Add proper id to select input
Rajesh Taneja [Wed, 31 Oct 2012 03:32:44 +0000 (11:32 +0800)]
MDL-34777 Accessibility: Add proper id to select input

12 years agoMerge branch 'wip-mdl-29762' of git://github.com/rajeshtaneja/moodle
Dan Poltawski [Wed, 31 Oct 2012 02:50:44 +0000 (10:50 +0800)]
Merge branch 'wip-mdl-29762' of git://github.com/rajeshtaneja/moodle

12 years agoMerge branch 'MDL-31708-master' of git://github.com/StudiUM/moodle
Aparup Banerjee [Wed, 31 Oct 2012 02:04:56 +0000 (10:04 +0800)]
Merge branch 'MDL-31708-master' of git://github.com/StudiUM/moodle

12 years agoMerge branch 'wip-mdl-34777' of git://github.com/rajeshtaneja/moodle
Dan Poltawski [Wed, 31 Oct 2012 01:59:44 +0000 (09:59 +0800)]
Merge branch 'wip-mdl-34777' of git://github.com/rajeshtaneja/moodle

12 years agoAutomatically generated installer lang files
AMOS bot [Wed, 31 Oct 2012 00:36:33 +0000 (00:36 +0000)]
Automatically generated installer lang files

12 years agoMerge branch 'MDL-31934_master' of git://github.com/lazydaisy/moodle
Sam Hemelryk [Tue, 30 Oct 2012 21:15:44 +0000 (10:15 +1300)]
Merge branch 'MDL-31934_master' of git://github.com/lazydaisy/moodle

12 years agoMDL-31934 mod/forum: Added CSS fix to mod/forum/styles.css for unread forumposts...
Mary Evans [Tue, 30 Oct 2012 11:34:02 +0000 (11:34 +0000)]
MDL-31934 mod/forum: Added CSS fix to mod/forum/styles.css for unread forumposts also reversed a previous commit in theme/base/core.css.

12 years agoMerge branch 'MDL-34332c' of git://github.com/srynot4sale/moodle
Dan Poltawski [Tue, 30 Oct 2012 08:20:39 +0000 (16:20 +0800)]
Merge branch 'MDL-34332c' of git://github.com/srynot4sale/moodle

12 years agoMerge branch 'MDL-35386b' of git://github.com/srynot4sale/moodle
Dan Poltawski [Tue, 30 Oct 2012 08:12:56 +0000 (16:12 +0800)]
Merge branch 'MDL-35386b' of git://github.com/srynot4sale/moodle

12 years agoMerge branch 'MDL-34965_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Tue, 30 Oct 2012 08:05:43 +0000 (16:05 +0800)]
Merge branch 'MDL-34965_master' of git://github.com/dmonllao/moodle

12 years agoMDL-16660 calendar - remove cron strings
Dan Poltawski [Tue, 30 Oct 2012 07:27:02 +0000 (15:27 +0800)]
MDL-16660 calendar - remove cron strings

We don't translate cronjobs

12 years agoMDL-16660 calendar: remove get_ical_data() from form
Dan Poltawski [Tue, 30 Oct 2012 06:56:39 +0000 (14:56 +0800)]
MDL-16660 calendar: remove get_ical_data() from form

This code was only called in one path and so was not necessary.

12 years agoMDL-16660 - upgrade: split steps up into two
Dan Poltawski [Tue, 30 Oct 2012 06:33:30 +0000 (14:33 +0800)]
MDL-16660 - upgrade: split steps up into two

Be extra safe for potential debugging purposes

12 years agoMerge branch 'wip-MDL-16660-m24' of git://github.com/samhemelryk/moodle
Dan Poltawski [Tue, 30 Oct 2012 06:18:13 +0000 (14:18 +0800)]
Merge branch 'wip-MDL-16660-m24' of git://github.com/samhemelryk/moodle

Conflicts:
lib/db/upgrade.php
version.php

12 years agoMerge branch 'wip-MDL-36094-m24' of git://github.com/samhemelryk/moodle
Dan Poltawski [Tue, 30 Oct 2012 05:44:38 +0000 (13:44 +0800)]
Merge branch 'wip-MDL-36094-m24' of git://github.com/samhemelryk/moodle

12 years agoMerge branch 'wip-MDL-32326-m24' of git://github.com/samhemelryk/moodle
Dan Poltawski [Tue, 30 Oct 2012 05:40:24 +0000 (13:40 +0800)]
Merge branch 'wip-MDL-32326-m24' of git://github.com/samhemelryk/moodle

12 years agoMerge branch 'MDL-28235-master' of git://github.com/FMCorz/moodle
Sam Hemelryk [Tue, 30 Oct 2012 04:37:06 +0000 (17:37 +1300)]
Merge branch 'MDL-28235-master' of git://github.com/FMCorz/moodle

12 years agoMDL-16660 calendar: Cleaned u several areas of the iCal patch in preparation of the...
Sam Hemelryk [Mon, 15 Oct 2012 08:31:12 +0000 (16:31 +0800)]
MDL-16660 calendar: Cleaned u several areas of the iCal patch in preparation of the next peer-review

* Added a bit of AMOS to copy existing strings and save a little translation effort
* Cleaned up fixed strings in several places
* Cleaned up some existing strings as required.
* Fixed install and upgrade code. Split upgrade into two parts (one for each table).
* Fixed fatal error caused by missing forms lib inclusion
* Added param types to forms.
* Converted file_get_content to use curl for URL's.
* Cleaned things up per coding style.
* Separated subscription management and form into separate files.
* Tidied up bennu inclusion to just where required.
* Lots of other small fixes as well.

AMOS BEGIN
  CPY [calendar,calendar],[colcalendar,calendar]
  CPY [actions,moodle],[actions,calendar]
  CPY [never,moodle],[never,calendar]
AMOS END

12 years agoMDL-16660: WIP - fixes as per review
Jonathan Harker [Thu, 11 Oct 2012 22:57:32 +0000 (11:57 +1300)]
MDL-16660: WIP - fixes as per review

12 years agoMDL-16660: Add calendar import.
Jonathan Harker [Mon, 23 Jul 2012 01:49:43 +0000 (13:49 +1200)]
MDL-16660: Add calendar import.

Adds an extra import section alongside the existing export in the
calendar views. Allows the user to import from either a file or a
URL as a subscription, with an optional polling interval of hourly,
daily, weekly, monthly, or annually. This subscription may be added
to the user, group, global or course calendars. These subscriptions
are tracked in a separate database table, and an extra column added
to the events table to relate them to the subscription. The event
uuid field is also expanded to allow for the RFC-2445 UID property.
Subscriptions are listed on the calendar view page, and can be
added and removed, manually polled, and the polling interval
adjusted. Subscription events are updated on cron.

12 years agoMerge branch 'MDL-36064' of git://github.com/netspotau/moodle-mod_assign
Dan Poltawski [Tue, 30 Oct 2012 04:14:40 +0000 (12:14 +0800)]
Merge branch 'MDL-36064' of git://github.com/netspotau/moodle-mod_assign

12 years agoMerge branch 'wip-mdl-35489' of git://github.com/rajeshtaneja/moodle
Dan Poltawski [Tue, 30 Oct 2012 04:11:44 +0000 (12:11 +0800)]
Merge branch 'wip-mdl-35489' of git://github.com/rajeshtaneja/moodle

12 years agoMerge branch 'MDL-4655-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Tue, 30 Oct 2012 03:58:34 +0000 (11:58 +0800)]
Merge branch 'MDL-4655-master' of git://github.com/FMCorz/moodle

12 years agoMerge branch 'MDL-34274-master' of git://github.com/ankitagarwal/moodle
Sam Hemelryk [Tue, 30 Oct 2012 03:00:45 +0000 (16:00 +1300)]
Merge branch 'MDL-34274-master' of git://github.com/ankitagarwal/moodle

12 years agoMerge branch 'MDL-35889-master' of git://github.com/ankitagarwal/moodle
Sam Hemelryk [Tue, 30 Oct 2012 02:48:54 +0000 (15:48 +1300)]
Merge branch 'MDL-35889-master' of git://github.com/ankitagarwal/moodle

12 years agoMerge branch 'MDL-36015_m1' of git://git.catalyst.net.nz/moodle-r2
Dan Poltawski [Tue, 30 Oct 2012 02:18:45 +0000 (10:18 +0800)]
Merge branch 'MDL-36015_m1' of git://git.catalyst.net.nz/moodle-r2

12 years agoMerge branch 'wip-mdl-35910' of git://github.com/rajeshtaneja/moodle
Dan Poltawski [Tue, 30 Oct 2012 02:00:11 +0000 (10:00 +0800)]
Merge branch 'wip-mdl-35910' of git://github.com/rajeshtaneja/moodle

12 years agoMerge branch 'MDL-36135-evaluators' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Tue, 30 Oct 2012 01:37:03 +0000 (09:37 +0800)]
Merge branch 'MDL-36135-evaluators' of git://github.com/mudrd8mz/moodle

12 years agoMerge branch 'MDL-35959-master' of git://git.luns.net.uk/moodle
Sam Hemelryk [Tue, 30 Oct 2012 00:31:30 +0000 (13:31 +1300)]
Merge branch 'MDL-35959-master' of git://git.luns.net.uk/moodle

12 years agoMerge branch 'WIP-MDL-36070-master' of git://github.com/nadavkav/moodle
Sam Hemelryk [Tue, 30 Oct 2012 00:02:24 +0000 (13:02 +1300)]
Merge branch 'WIP-MDL-36070-master' of git://github.com/nadavkav/moodle

12 years agoMerge branch 'MDL-36076' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 29 Oct 2012 23:59:23 +0000 (12:59 +1300)]
Merge branch 'MDL-36076' of git://github.com/timhunt/moodle

12 years agoMerge branch 'MDL-36101-master' of git://github.com/micaherne/moodle
Sam Hemelryk [Mon, 29 Oct 2012 23:54:56 +0000 (12:54 +1300)]
Merge branch 'MDL-36101-master' of git://github.com/micaherne/moodle

12 years agoMerge branch 'MDL-36103' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 29 Oct 2012 23:52:00 +0000 (12:52 +1300)]
Merge branch 'MDL-36103' of git://github.com/timhunt/moodle

12 years agoMerge branch 'MDL-36105-master' of https://github.com/mackensen/moodle
Sam Hemelryk [Mon, 29 Oct 2012 23:31:22 +0000 (12:31 +1300)]
Merge branch 'MDL-36105-master' of https://github.com/mackensen/moodle

12 years agoMerge branch 'wip-mdl-36131' of git://github.com/rajeshtaneja/moodle
Sam Hemelryk [Mon, 29 Oct 2012 23:24:31 +0000 (12:24 +1300)]
Merge branch 'wip-mdl-36131' of git://github.com/rajeshtaneja/moodle

12 years agoMerge branch 'MDL-36137_master' of git://github.com/lazydaisy/moodle
Sam Hemelryk [Mon, 29 Oct 2012 23:17:11 +0000 (12:17 +1300)]
Merge branch 'MDL-36137_master' of git://github.com/lazydaisy/moodle

12 years agoMerge branch 'MDL-34910_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 29 Oct 2012 07:36:07 +0000 (15:36 +0800)]
Merge branch 'MDL-34910_master' of git://github.com/dmonllao/moodle

12 years agoMerge branch 'master_MDL-35215' of git://github.com/totara/moodle
Dan Poltawski [Mon, 29 Oct 2012 07:33:43 +0000 (15:33 +0800)]
Merge branch 'master_MDL-35215' of git://github.com/totara/moodle

12 years agoMerge branch 'MDL-34363' of git://github.com/merrill-oakland/moodle
Dan Poltawski [Mon, 29 Oct 2012 07:21:39 +0000 (15:21 +0800)]
Merge branch 'MDL-34363' of git://github.com/merrill-oakland/moodle

12 years agoMDL-34910 blog Remove new entry link when the context doesn't allows to add new entries
David Monllao [Wed, 15 Aug 2012 08:02:52 +0000 (16:02 +0800)]
MDL-34910 blog Remove new entry link when the context doesn't allows to add new entries

12 years agoMerge branch 'WIP-MDL-36033-master' of git://github.com/nadavkav/moodle
Dan Poltawski [Mon, 29 Oct 2012 06:59:45 +0000 (14:59 +0800)]
Merge branch 'WIP-MDL-36033-master' of git://github.com/nadavkav/moodle

12 years agoMerge branch 'wip-MDL-36075_MASTER' of git://github.com/jason-platts/moodle
Dan Poltawski [Mon, 29 Oct 2012 06:57:14 +0000 (14:57 +0800)]
Merge branch 'wip-MDL-36075_MASTER' of git://github.com/jason-platts/moodle

12 years agoMDL-34354 - remove unused line
Dan Poltawski [Mon, 29 Oct 2012 06:54:14 +0000 (14:54 +0800)]
MDL-34354 - remove unused line

12 years agoMerge branch 'MDL-34354-master' of git://git.luns.net.uk/moodle
Dan Poltawski [Mon, 29 Oct 2012 06:53:43 +0000 (14:53 +0800)]
Merge branch 'MDL-34354-master' of git://git.luns.net.uk/moodle

12 years agoMerge branch 'MDL-36099-master' of git://git.luns.net.uk/moodle
Dan Poltawski [Mon, 29 Oct 2012 06:50:23 +0000 (14:50 +0800)]
Merge branch 'MDL-36099-master' of git://git.luns.net.uk/moodle

12 years agoMerge branch 'MDL-35880-master' of git://github.com/ankitagarwal/moodle
Dan Poltawski [Mon, 29 Oct 2012 06:35:21 +0000 (14:35 +0800)]
Merge branch 'MDL-35880-master' of git://github.com/ankitagarwal/moodle

12 years agoMerge branch 'MDL-35990-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 29 Oct 2012 06:32:11 +0000 (14:32 +0800)]
Merge branch 'MDL-35990-master' of git://github.com/FMCorz/moodle

12 years agoMDL-35116 - update version numbers
Dan Poltawski [Mon, 29 Oct 2012 06:08:28 +0000 (14:08 +0800)]
MDL-35116 - update version numbers

12 years agoMDL-35116 upgrade: Rename backup files having used short name previously
Frederic Massart [Fri, 19 Oct 2012 02:55:07 +0000 (10:55 +0800)]
MDL-35116 upgrade: Rename backup files having used short name previously

12 years agoMerge branch 'MDL-35117-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 29 Oct 2012 06:03:57 +0000 (14:03 +0800)]
Merge branch 'MDL-35117-master' of git://github.com/FMCorz/moodle

12 years agoMerge branch 'MDL-34837-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 29 Oct 2012 05:55:06 +0000 (13:55 +0800)]
Merge branch 'MDL-34837-master' of git://github.com/FMCorz/moodle

12 years agoMerge branch 'w43_MDL-35843_m42_expiryself' of git://github.com/skodak/moodle
Dan Poltawski [Mon, 29 Oct 2012 05:49:47 +0000 (13:49 +0800)]
Merge branch 'w43_MDL-35843_m42_expiryself' of git://github.com/skodak/moodle

12 years agoMerge branch 'MDL-35964' of git://github.com/timhunt/moodle
Dan Poltawski [Mon, 29 Oct 2012 05:48:44 +0000 (13:48 +0800)]
Merge branch 'MDL-35964' of git://github.com/timhunt/moodle

12 years agoMerge branch 'wip-MDL-34343-m24' of git://github.com/samhemelryk/moodle
Dan Poltawski [Mon, 29 Oct 2012 04:39:06 +0000 (12:39 +0800)]
Merge branch 'wip-MDL-34343-m24' of git://github.com/samhemelryk/moodle

12 years agoMDL-34399 - bump version to reload cache definition
Dan Poltawski [Mon, 29 Oct 2012 04:36:22 +0000 (12:36 +0800)]
MDL-34399 - bump version to reload cache definition

12 years agoMerge branch 'MDL-34399' of git://github.com/timhunt/moodle
Dan Poltawski [Mon, 29 Oct 2012 04:18:01 +0000 (12:18 +0800)]
Merge branch 'MDL-34399' of git://github.com/timhunt/moodle

12 years agoMerge branch 'MDL-36086-workshop' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Mon, 29 Oct 2012 04:11:51 +0000 (12:11 +0800)]
Merge branch 'MDL-36086-workshop' of git://github.com/mudrd8mz/moodle

12 years agoMerge branch 'wip-MDL-36052-m24' of git://github.com/samhemelryk/moodle
Dan Poltawski [Mon, 29 Oct 2012 03:52:25 +0000 (11:52 +0800)]
Merge branch 'wip-MDL-36052-m24' of git://github.com/samhemelryk/moodle

12 years agoMerge branch 'wip-MDL-36115-m24' of git://github.com/samhemelryk/moodle
Dan Poltawski [Mon, 29 Oct 2012 03:48:55 +0000 (11:48 +0800)]
Merge branch 'wip-MDL-36115-m24' of git://github.com/samhemelryk/moodle

12 years agoMerge branch 'MDL-35297' of git://github.com/stronk7/moodle
Dan Poltawski [Mon, 29 Oct 2012 01:50:20 +0000 (09:50 +0800)]
Merge branch 'MDL-35297' of git://github.com/stronk7/moodle

12 years agoMDL-34399 quiz cleanup: remove ugly question/page number hack
Tim Hunt [Thu, 18 Oct 2012 19:25:57 +0000 (03:25 +0800)]
MDL-34399 quiz cleanup: remove ugly question/page number hack

It used to be necessary to store the question number and question page
by adding them as random extra fields on the question object (but
I can no longer remember what that reason was). Now it is possible
to store this sensibly in the quiz_attempt object, which is much
cleaner, so do that.

12 years agoMDL-34399 questions cleanup: straighten out strange links to question objects.
Tim Hunt [Thu, 18 Oct 2012 19:23:32 +0000 (03:23 +0800)]
MDL-34399 questions cleanup: straighten out strange links to question objects.

12 years agoMDL-34399 quiz cleanup: remove never used function.
Tim Hunt [Thu, 18 Oct 2012 19:20:49 +0000 (03:20 +0800)]
MDL-34399 quiz cleanup: remove never used function.

This got added during the Moodle 2.0 files API conversion, but was
always part of a failed experiemnt, so should have been deleted
long ago. It was never actually used.

12 years agoMDL-34399 questions: cache to help load question definitions.
Tim Hunt [Wed, 17 Oct 2012 09:25:04 +0000 (17:25 +0800)]
MDL-34399 questions: cache to help load question definitions.

At the moment, it takes several DB queries to load each question definition,
so this cache is potentially a big win.

12 years agoMDL-35836 Rewrite doctonewwindow handling to use delegation instead of individual...
Andrew Robert Nicols [Sun, 7 Oct 2012 08:55:08 +0000 (09:55 +0100)]
MDL-35836 Rewrite doctonewwindow handling to use delegation instead of individual events

12 years agoMDL-35297 book: replay some steps lost when book landed to core
Eloy Lafuente (stronk7) [Sun, 21 Oct 2012 07:56:01 +0000 (15:56 +0800)]
MDL-35297 book: replay some steps lost when book landed to core

This commit replays, conditionally, all the upgrade steps from
MOODLE_19_STABLE to MOODLE_23_STABLE in the mod_book activity. That
guarentees that any site using the mod_book before landing to core,
no matter if it was the latest or an outdated one will upgrade
perfectly to the expected current version.

As a general rule, everytime one contrib plugin lands to core, its
complete upgrade code must be kept, at least until the core version
that introduced it, is out completely from the upgrade requirement
conditions.

In this case, with the missing upgrade code being added to 2.4, it
will be safe to delete the upgrade steps once 2.5 (or upwards) become
a requirement. Never always.

12 years agoMDL-31934 theme_base: Fix to add highlight colour to unread forum posts.
Mary Evans [Sun, 21 Oct 2012 00:24:01 +0000 (01:24 +0100)]
MDL-31934 theme_base: Fix to add highlight colour to unread forum posts.

12 years agoMDL-36145 import latest YUI 3.7.3
Petr Škoda [Sat, 20 Oct 2012 07:22:15 +0000 (15:22 +0800)]
MDL-36145 import latest YUI 3.7.3