moodle.git
10 years agoMDL-32978 Gradebook: Fix strict standards notices
Frederic Massart [Mon, 14 May 2012 05:27:06 +0000 (13:27 +0800)]
MDL-32978 Gradebook: Fix strict standards notices

10 years agoMerge branch 'MDL-31134-master' of git://github.com/ankitagarwal/moodle
Sam Hemelryk [Mon, 14 May 2012 03:36:55 +0000 (15:36 +1200)]
Merge branch 'MDL-31134-master' of git://github.com/ankitagarwal/moodle

10 years agoMerge branch 'MDL-31944' of git://github.com/ankitagarwal/moodle
Sam Hemelryk [Mon, 14 May 2012 02:52:10 +0000 (14:52 +1200)]
Merge branch 'MDL-31944' of git://github.com/ankitagarwal/moodle

10 years agoMerge branch 'w20_MDL-26553_m23_sqlsrvconfig' of git://github.com/skodak/moodle
Dan Poltawski [Mon, 14 May 2012 02:49:52 +0000 (10:49 +0800)]
Merge branch 'w20_MDL-26553_m23_sqlsrvconfig' of git://github.com/skodak/moodle

10 years agoMerge branch 'MDL-30305-master-1' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 14 May 2012 02:48:31 +0000 (14:48 +1200)]
Merge branch 'MDL-30305-master-1' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-32714-rubric' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Mon, 14 May 2012 02:41:46 +0000 (10:41 +0800)]
Merge branch 'MDL-32714-rubric' of git://github.com/mudrd8mz/moodle

10 years agoMerge branch 'w20_MDL-32659_m23_navcourses' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 14 May 2012 02:37:51 +0000 (14:37 +1200)]
Merge branch 'w20_MDL-32659_m23_navcourses' of git://github.com/skodak/moodle

10 years agoMerge branch 'MDL-31902-master' of git://github.com/ankitagarwal/moodle
Dan Poltawski [Mon, 14 May 2012 02:28:05 +0000 (10:28 +0800)]
Merge branch 'MDL-31902-master' of git://github.com/ankitagarwal/moodle

10 years agoMerge branch 'MDL-27322_export' of git://github.com/andyjdavis/moodle
Dan Poltawski [Mon, 14 May 2012 02:22:21 +0000 (10:22 +0800)]
Merge branch 'MDL-27322_export' of git://github.com/andyjdavis/moodle

10 years agoMerge branch 'MDL-32910' of git://github.com/timhunt/moodle
Dan Poltawski [Mon, 14 May 2012 02:10:03 +0000 (10:10 +0800)]
Merge branch 'MDL-32910' of git://github.com/timhunt/moodle

10 years agoMerge branch 'MDL-32340-master-2' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 14 May 2012 02:04:21 +0000 (14:04 +1200)]
Merge branch 'MDL-32340-master-2' of git://git.luns.net.uk/moodle

10 years agoMDL-32873 course: Fixed up unused global + phpdocs
Sam Hemelryk [Mon, 14 May 2012 01:41:15 +0000 (13:41 +1200)]
MDL-32873 course: Fixed up unused global + phpdocs

10 years agoMerge branch 'MDL-32873-master-1' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 14 May 2012 01:39:55 +0000 (13:39 +1200)]
Merge branch 'MDL-32873-master-1' of git://git.luns.net.uk/moodle

Conflicts:
course/lib.php

10 years agoMerge branch 'MDL-32881-master-2' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 14 May 2012 01:30:16 +0000 (13:30 +1200)]
Merge branch 'MDL-32881-master-2' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'wip-MDL-32126-master' of git://github.com/abgreeve/moodle
Sam Hemelryk [Mon, 14 May 2012 01:20:07 +0000 (13:20 +1200)]
Merge branch 'wip-MDL-32126-master' of git://github.com/abgreeve/moodle

10 years agoMDL-32126 - data - Fix of an error when sorting by other criteria.
Adrian Greeve [Tue, 8 May 2012 01:21:24 +0000 (09:21 +0800)]
MDL-32126 - data - Fix of an error when sorting by other criteria.

10 years agoMDL-26553 add sqlsrv to list of available db types in config-dist.php
Petr Skoda [Sun, 13 May 2012 12:28:25 +0000 (14:28 +0200)]
MDL-26553 add sqlsrv to list of available db types in config-dist.php

10 years agoMDL-32830 add new hidden yuidebug setting for module backtraces
Petr Skoda [Sat, 12 May 2012 15:06:45 +0000 (17:06 +0200)]
MDL-32830 add new hidden yuidebug setting for module backtraces

10 years agoMDL-32659 potential navigation course loading improvements
Petr Skoda [Sat, 12 May 2012 11:19:22 +0000 (13:19 +0200)]
MDL-32659 potential navigation course loading improvements

The idea is to not use inequalities in SQL queries for loading of courses in navigation because ti seems some SQL query optimiser have problems with that.

10 years agoMDL-32714 workshop: fixed SQL to load assessment form fields
David Mudrak [Tue, 8 May 2012 22:57:57 +0000 (00:57 +0200)]
MDL-32714 workshop: fixed SQL to load assessment form fields

Obvious problems emerged once there were some records in the
workshopform_rubric table with no workshopform_rubric_levels. As l.id
(empty in that case) was used as the key of the returned array, they all
were collapsed into a single one.

10 years agoweekly release 2.3dev
Eloy Lafuente (stronk7) [Fri, 11 May 2012 10:18:06 +0000 (12:18 +0200)]
weekly release 2.3dev

10 years agoMerge branch 'install_master' of git://github.com/amosbot/moodle
Eloy Lafuente (stronk7) [Fri, 11 May 2012 10:10:16 +0000 (12:10 +0200)]
Merge branch 'install_master' of git://github.com/amosbot/moodle

10 years agoMDL-32707 Moved fix to make youtube videos use transparent wmode setting into mediali...
Aparup Banerjee [Fri, 11 May 2012 04:57:55 +0000 (12:57 +0800)]
MDL-32707 Moved fix to make youtube videos use transparent wmode setting into medialib.php

(this should have gone in with the previous merge. oops)

10 years agoMerge branch 'MDL-32707-master-1' of git://git.luns.net.uk/moodle
Aparup Banerjee [Fri, 11 May 2012 04:40:38 +0000 (12:40 +0800)]
Merge branch 'MDL-32707-master-1' of git://git.luns.net.uk/moodle

fix moved into medialib.php

Conflicts:
filter/mediaplugin/filter.php

10 years agoMDL-30649 Glossary : Fixed floating element breaking HTML
Frederic Massart [Thu, 10 May 2012 07:09:05 +0000 (15:09 +0800)]
MDL-30649 Glossary : Fixed floating element breaking HTML

10 years agoMDL-31902 general: Removing deprecated functions
Ankit Agarwal [Fri, 11 May 2012 02:30:40 +0000 (10:30 +0800)]
MDL-31902 general: Removing deprecated functions

10 years agoMerge branch 'MDL-32924' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Fri, 11 May 2012 01:13:00 +0000 (03:13 +0200)]
Merge branch 'MDL-32924' of git://github.com/timhunt/moodle

10 years agoMDL-32924 improve unit test performance.
Tim Hunt [Thu, 10 May 2012 15:22:09 +0000 (16:22 +0100)]
MDL-32924 improve unit test performance.

10 years agoMDL-32340 Improve performance of calendar selection
Andrew Robert Nicols [Wed, 9 May 2012 16:34:12 +0000 (17:34 +0100)]
MDL-32340 Improve performance of calendar selection

10 years agoMDL-30305 Automatically hide the dateselector after choosing a date
Andrew Robert Nicols [Thu, 10 May 2012 13:11:19 +0000 (14:11 +0100)]
MDL-30305 Automatically hide the dateselector after choosing a date

10 years agoMDL-32881 Prevent course/view.php from being cached
Andrew Robert Nicols [Wed, 9 May 2012 14:31:41 +0000 (15:31 +0100)]
MDL-32881 Prevent course/view.php from being cached

This should prevent browser caching which will ensure that changes made
using the course javascript (e.g. drag/drop, show/hide) will not be 'lost'
by using the browser back button.

10 years agoMDL-32910 MDL-32569 broke unit tests in third-party qtypes
Tim Hunt [Thu, 10 May 2012 10:16:06 +0000 (11:16 +0100)]
MDL-32910 MDL-32569 broke unit tests in third-party qtypes

10 years agoMerge branch 'MDL-31133-master' of git://github.com/ankitagarwal/moodle
Aparup Banerjee [Thu, 10 May 2012 08:54:35 +0000 (16:54 +0800)]
Merge branch 'MDL-31133-master' of git://github.com/ankitagarwal/moodle

10 years agoMerge branch 'MDL-28134_branch' of git://github.com/nebgor/moodle
Dan Poltawski [Thu, 10 May 2012 08:51:12 +0000 (16:51 +0800)]
Merge branch 'MDL-28134_branch' of git://github.com/nebgor/moodle

10 years agoMDL-28134 General : fixed CFG->branch notice during web/cli installation
Aparup Banerjee [Thu, 10 May 2012 07:43:52 +0000 (15:43 +0800)]
MDL-28134 General : fixed CFG->branch notice during web/cli installation

10 years agoMDL-31944 feedback: remove deprecated function feedback_get_participants()
Ankit Agarwal [Thu, 10 May 2012 07:16:47 +0000 (15:16 +0800)]
MDL-31944 feedback: remove deprecated function feedback_get_participants()

10 years agoMerge branch 'MDL-32901' of git://github.com/netspotau/moodle-mod_assign
Dan Poltawski [Thu, 10 May 2012 06:24:20 +0000 (14:24 +0800)]
Merge branch 'MDL-32901' of git://github.com/netspotau/moodle-mod_assign

10 years agoMDL-32901: Default feedback plugin for gradebook was using incorrect component name
Damyon Wiese [Thu, 10 May 2012 06:16:18 +0000 (14:16 +0800)]
MDL-32901: Default feedback plugin for gradebook was using incorrect component name

This fix allows this setting to be set to the default correctly and prevents it showing on the
front page settings screen for a new install.

10 years agoMDL-32899: Assignment upgrade tool fails to upgrade some online text submissions
Damyon Wiese [Thu, 10 May 2012 04:07:49 +0000 (12:07 +0800)]
MDL-32899: Assignment upgrade tool fails to upgrade some online text submissions

This is a fix for onlinetext assignments with submissions that have feedback but no
actual submission (data1 and data2 are NULL)

10 years agoMerge branch 'MDL-28134_branch' of git://github.com/nebgor/moodle
Dan Poltawski [Thu, 10 May 2012 05:44:03 +0000 (13:44 +0800)]
Merge branch 'MDL-28134_branch' of git://github.com/nebgor/moodle

10 years agoMDL-31763 mod_data: Fixed array iteration reference issue
Sam Hemelryk [Thu, 10 May 2012 05:31:24 +0000 (17:31 +1200)]
MDL-31763 mod_data: Fixed array iteration reference issue

10 years agoMDL-29624 Media embedding system : phpdoc tweaks.
Aparup Banerjee [Thu, 10 May 2012 02:51:15 +0000 (10:51 +0800)]
MDL-29624 Media embedding system : phpdoc tweaks.

10 years agoMerge branch 'MDL-29624-master' of git://github.com/sammarshallou/moodle
Aparup Banerjee [Thu, 10 May 2012 02:52:32 +0000 (10:52 +0800)]
Merge branch 'MDL-29624-master' of git://github.com/sammarshallou/moodle

10 years agoMDL-31134 calendar: Deleting deprecated function calendar_get_link_tag()
Ankit Agarwal [Thu, 10 May 2012 02:48:25 +0000 (10:48 +0800)]
MDL-31134 calendar: Deleting deprecated function calendar_get_link_tag()

10 years agoMerge branch 'wip-MDL-31763-master' of git://github.com/abgreeve/moodle
Sam Hemelryk [Thu, 10 May 2012 02:11:24 +0000 (14:11 +1200)]
Merge branch 'wip-MDL-31763-master' of git://github.com/abgreeve/moodle

10 years agoMDL-31763 - data - users can only override their own presets unless they have manage...
Adrian Greeve [Wed, 2 May 2012 01:03:22 +0000 (09:03 +0800)]
MDL-31763 - data - users can only override their own presets unless they have manage presets permission.

10 years agoMerge branch 'MDL-32780-CLEAN' of git://github.com/netspotau/moodle-mod_assign
Sam Hemelryk [Thu, 10 May 2012 02:04:14 +0000 (14:04 +1200)]
Merge branch 'MDL-32780-CLEAN' of git://github.com/netspotau/moodle-mod_assign

10 years agoMerge branch 'master_MDL-32507' of git://github.com/danmarsden/moodle
Sam Hemelryk [Thu, 10 May 2012 01:58:12 +0000 (13:58 +1200)]
Merge branch 'master_MDL-32507' of git://github.com/danmarsden/moodle

10 years agoMerge branch 'master-MDL-31028_2' of git://github.com/chtombleson/moodle
Sam Hemelryk [Thu, 10 May 2012 01:52:31 +0000 (13:52 +1200)]
Merge branch 'master-MDL-31028_2' of git://github.com/chtombleson/moodle

10 years agoMDL-27322 grade: added the ability to not have suspended students included in a grade...
Andrew Davis [Wed, 2 May 2012 11:15:53 +0000 (18:15 +0700)]
MDL-27322 grade: added the ability to not have suspended students included in a grade export

10 years agoAutomatically generated installer lang files
AMOS bot [Thu, 10 May 2012 00:31:40 +0000 (00:31 +0000)]
Automatically generated installer lang files

10 years agoMerge branch 'MDL-32857' of git://github.com/danpoltawski/moodle
Sam Hemelryk [Thu, 10 May 2012 00:15:50 +0000 (12:15 +1200)]
Merge branch 'MDL-32857' of git://github.com/danpoltawski/moodle

10 years agoMerge branch 'wip-mdl-27562' of git://github.com/rajeshtaneja/moodle
Sam Hemelryk [Thu, 10 May 2012 00:00:54 +0000 (12:00 +1200)]
Merge branch 'wip-mdl-27562' of git://github.com/rajeshtaneja/moodle

10 years agoMDL-30649 Fixed up whitespace
Sam Hemelryk [Wed, 9 May 2012 23:57:59 +0000 (11:57 +1200)]
MDL-30649 Fixed up whitespace

10 years agoMerge branch 'wip-MDL-30649-master' of git://github.com/phalacee/moodle
Sam Hemelryk [Wed, 9 May 2012 23:56:58 +0000 (11:56 +1200)]
Merge branch 'wip-MDL-30649-master' of git://github.com/phalacee/moodle

10 years agoMerge branch 'install_master' of git://github.com/amosbot/moodle
Eloy Lafuente (stronk7) [Wed, 9 May 2012 17:31:03 +0000 (19:31 +0200)]
Merge branch 'install_master' of git://github.com/amosbot/moodle

10 years agoMDL-29624 Media embedding system, part 3: resource module (and URL, lesson)
sam marshall [Tue, 13 Dec 2011 17:21:06 +0000 (17:21 +0000)]
MDL-29624 Media embedding system, part 3: resource module (and URL, lesson)

This change makes the resource module use the new API when it embeds media
files (audio/video/Flash), and removes the resourcelib library functions
which were previously used for this.

The old API is still used for embedding non-media files such as PDFs and
HTML.

The URL and Lesson module both used copy/paste duplicates of a section of
resource module code which called the removed functions. I have changed
these too. As a bonus this significantly reduces the duplication involved.

10 years agoMDL-29624 Media embedding system, part 2: preview in file picker
sam marshall [Tue, 13 Dec 2011 17:19:03 +0000 (17:19 +0000)]
MDL-29624 Media embedding system, part 2: preview in file picker

The JavaScript file picker API shows a preview of the media file you have chosen.
This preview facility now uses an iframe, in order not to duplicate the embed code
in JavaScript. The iframe uses the standard embed API.

10 years agoMDL-29624 Media embedding system, part 1: new API and filter changes
sam marshall [Tue, 13 Dec 2011 17:08:34 +0000 (17:08 +0000)]
MDL-29624 Media embedding system, part 1: new API and filter changes

Includes new API in medialib.php and core_media_renderer in outputrenderers.php.
Enable/disable settings moved from filter to systemwide appearance page.
Filter changed to use new API.

AMOS BEGIN
 MOV [flashanimation,filter_mediaplugin],[flashanimation,core_media]
 MOV [flashanimation_help,filter_mediaplugin],[flashanimation_desc,core_media]
 MOV [flashvideo,filter_mediaplugin],[flashvideo,core_media]
 MOV [flashvideo_help,filter_mediaplugin],[flashvideo_desc,core_media]
 MOV [html5audio,filter_mediaplugin],[html5audio,core_media]
 MOV [html5audio_help,filter_mediaplugin],[html5audio_desc,core_media]
 MOV [html5video,filter_mediaplugin],[html5video,core_media]
 MOV [html5video_help,filter_mediaplugin],[html5video_desc,core_media]
 MOV [mp3audio,filter_mediaplugin],[mp3audio,core_media]
 MOV [mp3audio_help,filter_mediaplugin],[mp3audio_desc,core_media]
 MOV [legacyquicktime,filter_mediaplugin],[legacyquicktime,core_media]
 MOV [legacyquicktime_help,filter_mediaplugin],[legacyquicktime_desc,core_media]
 MOV [legacyreal,filter_mediaplugin],[legacyreal,core_media]
 MOV [legacyreal_help,filter_mediaplugin],[legacyreal_desc,core_media]
 MOV [legacywmp,filter_mediaplugin],[legacywmp,core_media]
 MOV [legacywmp_help,filter_mediaplugin],[legacywmp_desc,core_media]
 MOV [legacyheading,filter_mediaplugin],[legacyheading,core_media]
 MOV [legacyheading_help,filter_mediaplugin],[legacyheading_desc,core_media]
 MOV [sitevimeo,filter_mediaplugin],[sitevimeo,core_media]
 MOV [sitevimeo_help,filter_mediaplugin],[sitevimeo_desc,core_media]
 MOV [siteyoutube,filter_mediaplugin],[siteyoutube,core_media]
 MOV [siteyoutube_help,filter_mediaplugin],[siteyoutube_desc,core_media]
AMOS END

10 years agoMDL-29624 Media embedding system, part 0: Add get_path() to moodle_url
sam marshall [Thu, 19 Apr 2012 15:59:56 +0000 (16:59 +0100)]
MDL-29624 Media embedding system, part 0: Add get_path() to moodle_url

(It may not seem directly related, but this function is needed for the
media embedding system.

10 years agoMDL-32873 Separate out course ajax enabled detection into new function
Andrew Robert Nicols [Wed, 9 May 2012 09:18:39 +0000 (10:18 +0100)]
MDL-32873 Separate out course ajax enabled detection into new function

10 years agoMDL-31133 calendar: Deleting the deprecated function calendar_get_events()
Ankit Agarwal [Wed, 9 May 2012 06:23:13 +0000 (14:23 +0800)]
MDL-31133 calendar: Deleting the deprecated function calendar_get_events()

10 years agoMDL-27562 formslib: Added unit test for dateselector and datetimeselector
Rajesh Taneja [Mon, 7 May 2012 02:11:12 +0000 (10:11 +0800)]
MDL-27562 formslib: Added unit test for dateselector and datetimeselector

10 years agoMDL-31133 calendar: Replace the deprecated function usage with core_calendar_renderer...
Ankit Agarwal [Wed, 9 May 2012 03:37:22 +0000 (11:37 +0800)]
MDL-31133 calendar: Replace the deprecated function usage with core_calendar_renderer class

10 years agoMDL-32857 course: single topic summary rewriting pluginfile urls
Dan Poltawski [Wed, 9 May 2012 02:06:40 +0000 (10:06 +0800)]
MDL-32857 course: single topic summary rewriting pluginfile urls

10 years agoMDL-31028: Added pathname hashes to eventdata
Christopher Tombleson [Wed, 9 May 2012 01:46:20 +0000 (13:46 +1200)]
MDL-31028: Added pathname hashes to eventdata

Also fix strict standard warning

10 years agoAutomatically generated installer lang files
AMOS bot [Tue, 8 May 2012 00:31:40 +0000 (00:31 +0000)]
Automatically generated installer lang files

10 years agoMDL-32507 SCORM fix some strict standard errors
Dan Marsden [Mon, 7 May 2012 20:59:54 +0000 (08:59 +1200)]
MDL-32507 SCORM fix some strict standard errors

10 years agoMDL-27562 formslib: applydst should be always true, hence option removed from datesel...
Rajesh Taneja [Fri, 4 May 2012 05:46:08 +0000 (13:46 +0800)]
MDL-27562 formslib: applydst should be always true, hence option removed from dateselector and datetimeselector form elements

10 years agoMDL-27562 formslib: Timezone option is passed to usergetdate for dateselector and...
Rajesh Taneja [Fri, 4 May 2012 05:42:35 +0000 (13:42 +0800)]
MDL-27562 formslib: Timezone option is passed to usergetdate for dateselector and datetimeselector form element

10 years agoMDL-32780: Use Moodle functions for building SQL in assignment upgrade tool
Damyon Wiese [Fri, 4 May 2012 07:35:51 +0000 (15:35 +0800)]
MDL-32780: Use Moodle functions for building SQL in assignment upgrade tool

Fixed functions:
tool_assignmentupgrade_load_all_upgradable_assignmentids() and
tool_assignmentupgrade_any_upgradable_assignments()

10 years agoweekly release 2.3dev
Eloy Lafuente (stronk7) [Fri, 4 May 2012 11:10:40 +0000 (13:10 +0200)]
weekly release 2.3dev

10 years agoMerge branch 'install_master' of git://github.com/amosbot/moodle
Eloy Lafuente (stronk7) [Fri, 4 May 2012 11:06:42 +0000 (13:06 +0200)]
Merge branch 'install_master' of git://github.com/amosbot/moodle

10 years agoMDL-31731 gradeing form: Fix module name
Dan Marsden [Fri, 4 May 2012 08:05:29 +0000 (20:05 +1200)]
MDL-31731 gradeing form: Fix module name

10 years agoMDL-31731 Advanced Grading: Marking Guide - prevent negative scores when marking...
Dan Marsden [Fri, 4 May 2012 07:26:16 +0000 (19:26 +1200)]
MDL-31731 Advanced Grading: Marking Guide - prevent negative scores when marking users

10 years agoMerge branch 'MDL-32754' of git://github.com/netspotau/moodle-mod_assign
Eloy Lafuente (stronk7) [Fri, 4 May 2012 08:01:07 +0000 (10:01 +0200)]
Merge branch 'MDL-32754' of git://github.com/netspotau/moodle-mod_assign

10 years agoMDL-31731 gradeing form: Fix hardcoded module name
Dan Poltawski [Fri, 4 May 2012 06:02:39 +0000 (14:02 +0800)]
MDL-31731 gradeing form: Fix hardcoded module name

10 years agoMDL-32508 Add error when trying to access an unknown course section
Andrew Robert Nicols [Thu, 3 May 2012 14:02:10 +0000 (15:02 +0100)]
MDL-32508 Add error when trying to access an unknown course section

10 years agoMDL-32508 Trivial whitespace cleanup
Sam Hemelryk [Fri, 4 May 2012 05:13:36 +0000 (17:13 +1200)]
MDL-32508 Trivial whitespace cleanup

10 years agoMDL-32754: Add missing string for assign:addinstance capability
Damyon Wiese [Fri, 4 May 2012 04:05:58 +0000 (12:05 +0800)]
MDL-32754: Add missing string for assign:addinstance capability

AMOS BEGIN
    CPY [assignment:addinstance,mod_assignment],[assign:addinstance,mod_assign]
AMOS END

10 years agoMDL-32508 backup: coursedisplay now included in backup
Dan Poltawski [Fri, 4 May 2012 03:00:53 +0000 (11:00 +0800)]
MDL-32508 backup: coursedisplay now included in backup

10 years agoMDL-32508 Close the topic/week ul before showing the add section link
Andrew Robert Nicols [Thu, 3 May 2012 11:38:31 +0000 (12:38 +0100)]
MDL-32508 Close the topic/week ul before showing the add section link

10 years agoMDL-32508 course formats: make renderer methods protected
Dan Poltawski [Thu, 3 May 2012 11:09:02 +0000 (19:09 +0800)]
MDL-32508 course formats: make renderer methods protected

The renderer isn't a public API yet, its just reducing code duplication
and tidying things up. So not making the methods public for other plugins
to abuse. We hope to solve this properly in 2.4

10 years agoMDL-32508 course_formats: change format_renderer_base to format_section_renderer_base
Dan Poltawski [Thu, 3 May 2012 11:04:46 +0000 (19:04 +0800)]
MDL-32508 course_formats: change format_renderer_base to format_section_renderer_base

Make it clear that this isn't a golden supported API

10 years agoMDL-32505 course_formats: introduce upgrade.txt
Dan Poltawski [Thu, 3 May 2012 11:00:40 +0000 (19:00 +0800)]
MDL-32505 course_formats: introduce upgrade.txt

10 years agoMDL-32508 course_format: fix up some minor style issues
Dan Poltawski [Thu, 3 May 2012 10:43:26 +0000 (18:43 +0800)]
MDL-32508 course_format: fix up some minor style issues

Noticed whilst reviewing again

10 years agoMDL-32508 Remove debuggign warning about callback_format_get_section_url
Dan Poltawski [Thu, 3 May 2012 10:30:18 +0000 (18:30 +0800)]
MDL-32508 Remove debuggign warning about callback_format_get_section_url

It is not the time to deprecate this callback as we may be doing
major changes in 2.4 so removing the warning about it.

10 years agoMDL-32505 lib/tests: fix unit test using removed table
Dan Poltawski [Thu, 3 May 2012 10:13:46 +0000 (18:13 +0800)]
MDL-32505 lib/tests: fix unit test using removed table

10 years agoMDL-32505/MDL-32508 course: fix section_links block
Dan Poltawski [Mon, 30 Apr 2012 07:05:02 +0000 (15:05 +0800)]
MDL-32505/MDL-32508 course: fix section_links block

Now course_display has gone

10 years agoMDL-32508 navigation: show empty sections
Dan Poltawski [Mon, 30 Apr 2012 03:46:15 +0000 (11:46 +0800)]
MDL-32508 navigation: show empty sections

10 years agoMDL-32508 course/format: Display general section above title
Dan Poltawski [Mon, 30 Apr 2012 04:16:55 +0000 (12:16 +0800)]
MDL-32508 course/format: Display general section above title

10 years agoMDL-32508 course/format: Hide 'format outline' titles
Dan Poltawski [Mon, 30 Apr 2012 04:15:11 +0000 (12:15 +0800)]
MDL-32508 course/format: Hide 'format outline' titles

It is now hidden for for accessibility only

10 years agoMDL-32508 course/format: Only display topic number in topic format
Dan Poltawski [Mon, 30 Apr 2012 04:14:15 +0000 (12:14 +0800)]
MDL-32508 course/format: Only display topic number in topic format

10 years agoMDL-32508 course: turn editting on/off stays on current page
Dan Poltawski [Mon, 30 Apr 2012 03:23:37 +0000 (11:23 +0800)]
MDL-32508 course: turn editting on/off stays on current page

Rather than always going to the index page, we can edit on section page

10 years agoMDL-32508 course: Add basic 'add a section' button at the bottom of the course page
Dan Poltawski [Mon, 21 Nov 2011 15:11:35 +0000 (15:11 +0000)]
MDL-32508 course: Add basic 'add a section' button at the bottom of the course page

With thanks to LUNS who provided this code from when I did it working
there.

10 years agoMDL-32508 course/formats: Respect single page course display mode
Dan Poltawski [Fri, 27 Apr 2012 05:11:35 +0000 (13:11 +0800)]
MDL-32508 course/formats: Respect single page course display mode

Topics and weeks have been converted to use a shared renderer to output
their content.

Note, I started with good intentions but this renderer has mixed
paradgims due to fast and cheap winning out on the trinity.

AMOS BEGIN
   MOV [currenttopic,access],[currentsection,format_topics]
   MOV [currentweek,access],[currentsection,format_weeks]
AMOS END

10 years agoMDL-32508 course: make_editting_buttons now takes optionally returns to section
Dan Poltawski [Sat, 28 Apr 2012 05:56:35 +0000 (13:56 +0800)]
MDL-32508 course: make_editting_buttons now takes optionally returns to section

10 years agoMDL-32508 course/mod.php: Use $sectionreturn param
Dan Poltawski [Sat, 28 Apr 2012 06:04:39 +0000 (14:04 +0800)]
MDL-32508 course/mod.php: Use  $sectionreturn param

This param is now used so that users are returned to the
page they started at

10 years agoMDL-32508 course/editsection: add a sectionreturn param
Dan Poltawski [Sat, 28 Apr 2012 05:52:49 +0000 (13:52 +0800)]
MDL-32508 course/editsection: add a sectionreturn param

This is used so that when editing on a section page you
are returned to the section in question.

10 years agoMDL-32508 course: deprecate get_section_url format callback
Dan Poltawski [Fri, 27 Apr 2012 01:36:37 +0000 (09:36 +0800)]
MDL-32508 course: deprecate get_section_url format callback