moodle.git
8 years agoMerge branch 'MDL-37598-abort-after-config' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 12 Feb 2013 21:49:05 +0000 (22:49 +0100)]
Merge branch 'MDL-37598-abort-after-config' of git://github.com/mudrd8mz/moodle

8 years agoMerge branch 'MDL-37953_master' of https://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Tue, 12 Feb 2013 09:12:01 +0000 (10:12 +0100)]
Merge branch 'MDL-37953_master' of https://github.com/markn86/moodle

8 years agoMerge branch 'MDL-37787_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Tue, 12 Feb 2013 09:07:58 +0000 (10:07 +0100)]
Merge branch 'MDL-37787_master' of git://github.com/dmonllao/moodle

8 years agoMDL-37893 Take rid of old comment.
Eloy Lafuente (stronk7) [Tue, 12 Feb 2013 09:03:29 +0000 (10:03 +0100)]
MDL-37893 Take rid of old comment.

8 years agoMerge branch 'MDL-37893-grouped-empty' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 12 Feb 2013 09:02:23 +0000 (10:02 +0100)]
Merge branch 'MDL-37893-grouped-empty' of git://github.com/mudrd8mz/moodle

8 years agoMerge branch 'wip-MDL-37976-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Tue, 12 Feb 2013 08:13:48 +0000 (16:13 +0800)]
Merge branch 'wip-MDL-37976-master' of git://github.com/marinaglancy/moodle

8 years agoMerge branch 'wip-mdl-37633' of git://github.com/rajeshtaneja/moodle
Dan Poltawski [Tue, 12 Feb 2013 07:48:33 +0000 (15:48 +0800)]
Merge branch 'wip-mdl-37633' of git://github.com/rajeshtaneja/moodle

Conflicts:
mod/forum/db/upgrade.php
mod/forum/version.php

8 years agoMerge branch 'MDL-37768_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Tue, 12 Feb 2013 07:44:17 +0000 (15:44 +0800)]
Merge branch 'MDL-37768_master' of git://github.com/dmonllao/moodle

8 years agoMerge branch 'MDL-32076_unlimited2' of git://github.com/andyjdavis/moodle
Dan Poltawski [Tue, 12 Feb 2013 07:08:53 +0000 (15:08 +0800)]
Merge branch 'MDL-32076_unlimited2' of git://github.com/andyjdavis/moodle

8 years agoMDL-37633 Forum: Allow fronpage user to have forum:allowforcesubscribe capability...
Rajesh Taneja [Thu, 31 Jan 2013 06:01:41 +0000 (14:01 +0800)]
MDL-37633 Forum: Allow fronpage user to have forum:allowforcesubscribe capability by default

8 years agoMerge branch 'MDL-37873_master' of git://github.com/dmonllao/moodle
Damyon Wiese [Tue, 12 Feb 2013 06:48:40 +0000 (14:48 +0800)]
Merge branch 'MDL-37873_master' of git://github.com/dmonllao/moodle

Conflicts:
course/tests/behat/add_activities.feature

8 years agoMerge branch 'MDL-37750_master-fix' of git://github.com/dmonllao/moodle
Damyon Wiese [Tue, 12 Feb 2013 06:47:50 +0000 (14:47 +0800)]
Merge branch 'MDL-37750_master-fix' of git://github.com/dmonllao/moodle

8 years agoMerge branch 'MDL-37012-master' of git://github.com/mouneyrac/moodle
Damyon Wiese [Tue, 12 Feb 2013 06:39:20 +0000 (14:39 +0800)]
Merge branch 'MDL-37012-master' of git://github.com/mouneyrac/moodle

8 years agoMerge branch 'wip-mdl-20131' of git://github.com/rajeshtaneja/moodle
Damyon Wiese [Tue, 12 Feb 2013 06:15:29 +0000 (14:15 +0800)]
Merge branch 'wip-mdl-20131' of git://github.com/rajeshtaneja/moodle

8 years agoMDL-37750 behat: Removing (now) collapsed elements
David Monllao [Tue, 12 Feb 2013 06:06:51 +0000 (14:06 +0800)]
MDL-37750 behat: Removing (now) collapsed elements

8 years agoMerge branch 'MDL-37883-master' of git://github.com/damyon/moodle
Dan Poltawski [Tue, 12 Feb 2013 05:47:37 +0000 (13:47 +0800)]
Merge branch 'MDL-37883-master' of git://github.com/damyon/moodle

8 years agoMerge branch 'MDL-37074-master' of git://github.com/damyon/moodle
Dan Poltawski [Tue, 12 Feb 2013 05:39:07 +0000 (13:39 +0800)]
Merge branch 'MDL-37074-master' of git://github.com/damyon/moodle

8 years agoMDL-37924 quiz settings: change wrong 'fix' => 'adv'.
Tim Hunt [Thu, 7 Feb 2013 17:46:55 +0000 (17:46 +0000)]
MDL-37924 quiz settings: change wrong 'fix' => 'adv'.

8 years agoMerge branch 'MDL-37654_master' of https://github.com/markn86/moodle
Damyon Wiese [Tue, 12 Feb 2013 05:09:18 +0000 (13:09 +0800)]
Merge branch 'MDL-37654_master' of https://github.com/markn86/moodle

8 years agoMerge branch 'MDL-37164_message_self' of git://github.com/andyjdavis/moodle
Damyon Wiese [Tue, 12 Feb 2013 04:12:44 +0000 (12:12 +0800)]
Merge branch 'MDL-37164_message_self' of git://github.com/andyjdavis/moodle

8 years agoMerge branch 'MDL-37828_master' of git://github.com/lazydaisy/moodle
Damyon Wiese [Tue, 12 Feb 2013 03:40:40 +0000 (11:40 +0800)]
Merge branch 'MDL-37828_master' of git://github.com/lazydaisy/moodle

8 years agoMDL-20131 Glossary: Fixed courseid typo
Rajesh Taneja [Tue, 12 Feb 2013 02:11:32 +0000 (10:11 +0800)]
MDL-20131 Glossary: Fixed courseid typo

8 years agoMerge branch 'wip-MDL-34798_master-2' of git://github.com/gjb2048/moodle
Dan Poltawski [Tue, 12 Feb 2013 02:34:07 +0000 (10:34 +0800)]
Merge branch 'wip-MDL-34798_master-2' of git://github.com/gjb2048/moodle

8 years agoMDL-37953 mod_forum: using named parameters to build SQL statement
Mark Nelson [Mon, 11 Feb 2013 03:51:41 +0000 (11:51 +0800)]
MDL-37953 mod_forum: using named parameters to build SQL statement

8 years agoMerge branch 'MDL-5875-master' of git://github.com/FMCorz/moodle
Damyon Wiese [Tue, 12 Feb 2013 02:09:26 +0000 (10:09 +0800)]
Merge branch 'MDL-5875-master' of git://github.com/FMCorz/moodle

Conflicts:
version.php

8 years agoMDL-37976 fixed missing global
Marina Glancy [Tue, 12 Feb 2013 01:53:47 +0000 (12:53 +1100)]
MDL-37976 fixed missing global

8 years agoMerge branch 'MDL-37952' of git://github.com/stronk7/moodle
Dan Poltawski [Tue, 12 Feb 2013 01:45:38 +0000 (09:45 +0800)]
Merge branch 'MDL-37952' of git://github.com/stronk7/moodle

8 years agoMerge branch 'MDL-37886_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Tue, 12 Feb 2013 01:43:50 +0000 (09:43 +0800)]
Merge branch 'MDL-37886_master' of git://github.com/dmonllao/moodle

8 years agoMDL-37831: Version bump for js changes.
Damyon Wiese [Tue, 12 Feb 2013 01:33:13 +0000 (09:33 +0800)]
MDL-37831: Version bump for js changes.

8 years agoMerge branch 'MDL-37831_filepicker_buttons' of git://github.com/davosmith/moodle
Damyon Wiese [Tue, 12 Feb 2013 01:15:23 +0000 (09:15 +0800)]
Merge branch 'MDL-37831_filepicker_buttons' of git://github.com/davosmith/moodle

8 years agoMerge branch 'MDL-37943' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 12 Feb 2013 00:20:56 +0000 (01:20 +0100)]
Merge branch 'MDL-37943' of git://github.com/timhunt/moodle

8 years agoMerge branch 'MDL-37686-master' of git://github.com/FMCorz/moodle
Eloy Lafuente (stronk7) [Tue, 12 Feb 2013 00:16:48 +0000 (01:16 +0100)]
Merge branch 'MDL-37686-master' of git://github.com/FMCorz/moodle

8 years agoMerge branch 'MDL-37896' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 12 Feb 2013 00:13:18 +0000 (01:13 +0100)]
Merge branch 'MDL-37896' of git://github.com/timhunt/moodle

8 years agoMerge branch 'MDL-37919-phpunit-exception' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 12 Feb 2013 00:07:43 +0000 (01:07 +0100)]
Merge branch 'MDL-37919-phpunit-exception' of git://github.com/mudrd8mz/moodle

8 years agoMerge branch 'MDL-35037' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Mon, 11 Feb 2013 23:59:39 +0000 (00:59 +0100)]
Merge branch 'MDL-35037' of git://github.com/danpoltawski/moodle

8 years agoMerge branch 'MDL-37961-master' of git://github.com/FMCorz/moodle
Eloy Lafuente (stronk7) [Mon, 11 Feb 2013 23:43:38 +0000 (00:43 +0100)]
Merge branch 'MDL-37961-master' of git://github.com/FMCorz/moodle

8 years agoMerge branch 'wip-MDL-35832-master' of git://github.com/phalacee/moodle
Eloy Lafuente (stronk7) [Mon, 11 Feb 2013 22:31:38 +0000 (23:31 +0100)]
Merge branch 'wip-MDL-35832-master' of git://github.com/phalacee/moodle

8 years agoMDL-37598 Proceed full setup in YUI serving files if needed
David Mudrák [Thu, 24 Jan 2013 17:39:24 +0000 (18:39 +0100)]
MDL-37598 Proceed full setup in YUI serving files if needed

When serving Moodle YUI files, including just moodlelib.php is not enough
any more. We need the full setup in order to use MUC.

Please note that cookies are disabled in these two scripts. This may make
cache_store::MODE_SESSION caches unavailable. We do not expect they will
be needed here.

8 years agoMDL_34798 format_topics and format_weeks: Adjust section names when moving up.
Gareth J Barnard [Mon, 11 Feb 2013 13:43:42 +0000 (13:43 +0000)]
MDL_34798 format_topics and format_weeks: Adjust section names when moving up.

8 years agoMerge branch 'master_MDL-35332' of git://github.com/totara/moodle
Dan Poltawski [Mon, 11 Feb 2013 08:43:34 +0000 (16:43 +0800)]
Merge branch 'master_MDL-35332' of git://github.com/totara/moodle

8 years agoMDL-35332: Use fast hash when generating hashes during tests
Simon Coggins [Mon, 11 Feb 2013 08:38:07 +0000 (21:38 +1300)]
MDL-35332: Use fast hash when generating hashes during tests

8 years agoMDL-37953 mod_forum: replace hard-coded numbers with defined values
Matt Oquist [Sat, 9 Feb 2013 20:50:51 +0000 (15:50 -0500)]
MDL-37953 mod_forum: replace hard-coded numbers with defined values

mod/forum/lib.php sets forum_posts.mailed to 0, 1, and 2. What do these numbers
mean? This patch creates defined values for these otherwise-mysterious
numbers.

8 years agoMDL-37122 core get_max_upload_sizes: Removed unit test for no limit as it is depends...
Damyon Wiese [Mon, 11 Feb 2013 07:18:12 +0000 (15:18 +0800)]
MDL-37122 core get_max_upload_sizes: Removed unit test for no limit as it is depends on settings in php.ini

8 years agoMerge branch 'MDL-34137_label_dndupload' of git://github.com/davosmith/moodle
Dan Poltawski [Mon, 11 Feb 2013 06:55:13 +0000 (14:55 +0800)]
Merge branch 'MDL-34137_label_dndupload' of git://github.com/davosmith/moodle

8 years agoMerge branch 'master_MDL-35332' of git://github.com/totara/moodle
Damyon Wiese [Mon, 11 Feb 2013 06:51:11 +0000 (14:51 +0800)]
Merge branch 'master_MDL-35332' of git://github.com/totara/moodle

Conflicts:
lib/tests/moodlelib_test.php
version.php

8 years agoMDL-37961 webservice: PARAM_BOOL with PARAM_DEFAULT accepts boolean default
Frederic Massart [Mon, 11 Feb 2013 06:37:19 +0000 (14:37 +0800)]
MDL-37961 webservice: PARAM_BOOL with PARAM_DEFAULT accepts boolean default

8 years agoMerge branch 'MDL-37039-master' of git://github.com/damyon/moodle
Dan Poltawski [Mon, 11 Feb 2013 06:32:53 +0000 (14:32 +0800)]
Merge branch 'MDL-37039-master' of git://github.com/damyon/moodle

8 years agoMerge branch 'MDL-37122-master' of git://github.com/damyon/moodle
Dan Poltawski [Mon, 11 Feb 2013 06:24:04 +0000 (14:24 +0800)]
Merge branch 'MDL-37122-master' of git://github.com/damyon/moodle

8 years agoMerge branch 'MDL-37797' of git://github.com/rwijaya/moodle
Dan Poltawski [Mon, 11 Feb 2013 05:58:36 +0000 (13:58 +0800)]
Merge branch 'MDL-37797' of git://github.com/rwijaya/moodle

8 years agoMDL-36091 added debugging() calls in blocks of code marked as "should never happen"
Andrew Davis [Fri, 26 Oct 2012 02:43:39 +0000 (10:43 +0800)]
MDL-36091 added debugging() calls in blocks of code marked as "should never happen"

8 years agoMDL-5875 forum: Option to display post word count
Frederic Massart [Tue, 29 Jan 2013 09:46:02 +0000 (17:46 +0800)]
MDL-5875 forum: Option to display post word count

8 years agoMDL-20131 Glossary: Global glossary can be added in Random glossary entry block.
Rajesh Taneja [Fri, 1 Feb 2013 09:02:39 +0000 (17:02 +0800)]
MDL-20131 Glossary: Global glossary can be added in Random glossary entry block.

8 years agoMDL-35819 - version bump for various JS changes
Dan Poltawski [Mon, 11 Feb 2013 02:56:36 +0000 (10:56 +0800)]
MDL-35819 - version bump for various JS changes

8 years agoMerge branch 'MDL-35819-m' of git://github.com/andrewnicols/moodle
Dan Poltawski [Mon, 11 Feb 2013 02:56:07 +0000 (10:56 +0800)]
Merge branch 'MDL-35819-m' of git://github.com/andrewnicols/moodle

8 years agoMDL-30637 Formslib - Cleanup for shortforms implementation (mostly comments)
Damyon Wiese [Mon, 11 Feb 2013 02:11:20 +0000 (10:11 +0800)]
MDL-30637 Formslib - Cleanup for shortforms implementation (mostly comments)

Also added deprecated functions for the functions that were removed from MoodleQuickForm.

8 years agoMerge branch 'MDL-30637-master' of git://github.com/lucisgit/moodle
Damyon Wiese [Mon, 11 Feb 2013 02:37:03 +0000 (10:37 +0800)]
Merge branch 'MDL-30637-master' of git://github.com/lucisgit/moodle

8 years agoMDL-32076 core_grade: fixed ajax handling of unlimited grades and added some unit...
Andrew Davis [Sat, 26 Jan 2013 01:39:48 +0000 (09:39 +0800)]
MDL-32076 core_grade: fixed ajax handling of unlimited grades and added some unit tests

8 years agoMDL-37164 core_message: prevent users from interacting with themself
Andrew Davis [Mon, 14 Jan 2013 01:08:22 +0000 (09:08 +0800)]
MDL-37164 core_message: prevent users from interacting with themself

8 years agoMDL-35819 AJAX Rewrite Moodle popup help to be more friendly and more efficient
Andrew Robert Nicols [Wed, 10 Oct 2012 10:03:00 +0000 (11:03 +0100)]
MDL-35819 AJAX Rewrite Moodle popup help to be more friendly and more efficient

8 years agoMDL-37952 make helper descendants abstract
Eloy Lafuente (stronk7) [Sat, 9 Feb 2013 15:19:15 +0000 (16:19 +0100)]
MDL-37952 make helper descendants abstract

8 years agoMDL-37831 filepicker - icons / details / tree selector buttons now work more reliably
Davo Smith [Fri, 8 Feb 2013 20:37:19 +0000 (20:37 +0000)]
MDL-37831 filepicker - icons / details / tree selector buttons now work more reliably

8 years agoMDL-35332 lib: Improve security of hashed passwords
Simon Coggins [Sun, 30 Sep 2012 07:58:13 +0000 (20:58 +1300)]
MDL-35332 lib: Improve security of hashed passwords

8 years agoMDL-37896 qtype_essay: correct PARAM_CLEANHTML -> PARAM_RAW.
Tim Hunt [Wed, 6 Feb 2013 17:45:58 +0000 (17:45 +0000)]
MDL-37896 qtype_essay: correct PARAM_CLEANHTML -> PARAM_RAW.

It turns out that you should almost never use PARAM_CLEANHTML.

8 years agoMDL-37943 upgrade: logic error in upgrade_plugins_blocks.
Tim Hunt [Fri, 8 Feb 2013 12:40:49 +0000 (12:40 +0000)]
MDL-37943 upgrade: logic error in upgrade_plugins_blocks.

Derek Woolhead tracked down the problem and what needed to be fixed. I
just made the patch.

The problem was that if $plugin->cron had changed in version.php, then
the version number in the database could end up wrong after the upgrade,
and so the upgrade would immediately run a second time.

8 years agoMDL-37774 Do not pass trailing slash if the method does not want it
David Mudrák [Fri, 8 Feb 2013 11:05:44 +0000 (12:05 +0100)]
MDL-37774 Do not pass trailing slash if the method does not want it

8 years agoMDL-37774 Make moodle1_file_manager::migrate_directory() support trailing slash in...
David Mudrák [Fri, 8 Feb 2013 10:45:24 +0000 (11:45 +0100)]
MDL-37774 Make moodle1_file_manager::migrate_directory() support trailing slash in rootpath

As the $rootpath is concatenated with the $relpath, we would end with a
path like course_files//file.txt. Such a path is detected as not-valid
later and an error would be thrown.

So the patch makes sure that the trailing slash is cut off and a
debugging for the developer is displayed.

8 years agoMDL-37774 Add unit test to illustrate the problem with the trailing slash
David Mudrák [Fri, 8 Feb 2013 10:41:38 +0000 (11:41 +0100)]
MDL-37774 Add unit test to illustrate the problem with the trailing slash

The patch introduces two new tests for moodle1_file_manager::migrate_directory().
The second test with the trailing slash reveals the trouble here.
The expected behaviour is that the method would deal with the trailing
slash. Debugging message for the developer should be displayed though.

8 years agoMDL-37787 behat: Using progress format by default
David Monllao [Thu, 31 Jan 2013 07:41:58 +0000 (15:41 +0800)]
MDL-37787 behat: Using progress format by default

8 years agoMDL-37768 behat: Checking test site version before running tests
David Monllao [Thu, 31 Jan 2013 08:47:41 +0000 (16:47 +0800)]
MDL-37768 behat: Checking test site version before running tests

8 years agoMDL-37873 behat: Fixing CSS-based assertions arguments
David Monllao [Tue, 5 Feb 2013 08:59:17 +0000 (16:59 +0800)]
MDL-37873 behat: Fixing CSS-based assertions arguments

8 years agoMDL-37750 behat: Adding tests for the rest of the steps definitions
David Monllao [Tue, 5 Feb 2013 08:49:47 +0000 (16:49 +0800)]
MDL-37750 behat: Adding tests for the rest of the steps definitions

8 years agoMDL-37750 behat: Using base find* methods
David Monllao [Mon, 4 Feb 2013 08:39:53 +0000 (16:39 +0800)]
MDL-37750 behat: Using base find* methods

8 years agoMDL-37750 behat: Waiting for DOM ready
David Monllao [Mon, 4 Feb 2013 08:38:08 +0000 (16:38 +0800)]
MDL-37750 behat: Waiting for DOM ready

8 years agoMDL-37750 behat: Elements finders at base level
David Monllao [Mon, 4 Feb 2013 08:37:10 +0000 (16:37 +0800)]
MDL-37750 behat: Elements finders at base level

Set of DOM elements finders to
avoid false fails.

8 years agoMDL-34137 mod_label - resize images when uploaded via drag & drop
Davo Smith [Mon, 28 Jan 2013 09:18:31 +0000 (09:18 +0000)]
MDL-34137 mod_label - resize images when uploaded via drag & drop

8 years agoMDL-32456 mod_label - support course drag and drop upload images to create labels
Davo Smith [Fri, 4 Jan 2013 15:39:14 +0000 (15:39 +0000)]
MDL-32456 mod_label - support course drag and drop upload images to create labels

8 years agoMDL-37039 Assignment - Do not apply filters to grading table for offline assignments
Damyon Wiese [Fri, 8 Feb 2013 07:44:18 +0000 (15:44 +0800)]
MDL-37039 Assignment - Do not apply filters to grading table for offline assignments

Because the filters do not make sense for offline assignments, they are hidden. But if the active filter
prevents you from seeing any assignments you cannot change it. This change makes it so the filters are
also not applied when the assignment is an offline assignment.

8 years agoMDL-37074 Assign theming: Use addClass/removeClass instead of setAttribute to preserv...
Damyon Wiese [Fri, 8 Feb 2013 07:16:47 +0000 (15:16 +0800)]
MDL-37074 Assign theming: Use addClass/removeClass instead of setAttribute to preserve existing classes

8 years agoweekly release 2.5dev
Damyon Wiese [Fri, 8 Feb 2013 03:13:54 +0000 (11:13 +0800)]
weekly release 2.5dev

8 years agoie9 svg compatibility fixes
Damyon Wiese [Fri, 8 Feb 2013 03:05:09 +0000 (11:05 +0800)]
ie9 svg compatibility fixes

8 years agoMerge branch 'install_master' of git://git.moodle.cz/moodle-install
Damyon Wiese [Fri, 8 Feb 2013 03:02:42 +0000 (11:02 +0800)]
Merge branch 'install_master' of git://git.moodle.cz/moodle-install

8 years agoAutomatically generated installer lang files
AMOS bot [Fri, 8 Feb 2013 00:45:14 +0000 (00:45 +0000)]
Automatically generated installer lang files

8 years agoMDL-37919 Let PHPUnit display the content of $a even if the error string is not found
David Mudrák [Fri, 8 Feb 2013 00:25:31 +0000 (01:25 +0100)]
MDL-37919 Let PHPUnit display the content of $a even if the error string is not found

8 years agoMDL-37893 Always notify pending starts before dispatching chunk
Eloy Lafuente (stronk7) [Thu, 7 Feb 2013 19:52:28 +0000 (20:52 +0100)]
MDL-37893 Always notify pending starts before dispatching chunk

8 years agoMDL-37645 cache: fixed issue deleting mongo instance
Sam Hemelryk [Thu, 7 Feb 2013 19:04:23 +0000 (08:04 +1300)]
MDL-37645 cache: fixed issue deleting mongo instance

8 years agoMDL-30637 Refactor Advanced fileds functionality
Ruslan Kabalin [Thu, 24 Jan 2013 14:28:40 +0000 (14:28 +0000)]
MDL-30637 Refactor Advanced fileds functionality

The displaying of advanced items has been refactored. The changes are:

* The Advanced button is replaced by the Show Less/More link
* The Show less/more link controls advanced elements only within the section
  it is located at
* The Show less/more state of sections is preserved between form submissions
* When javascript is off, all advanced elements will be displayed by default,
  no show/hide controls will exists on the page

8 years agoMDL-30637 backup: Disable shortforms for backup interface
Ruslan Kabalin [Thu, 7 Feb 2013 14:27:02 +0000 (14:27 +0000)]
MDL-30637 backup: Disable shortforms for backup interface

As all sections requre user attention or input, there is no sense making them
collapsed in backing up interface.

8 years agoMDL-30637 mod_resource: Make content section expanded
Ruslan Kabalin [Thu, 7 Feb 2013 14:26:14 +0000 (14:26 +0000)]
MDL-30637 mod_resource: Make content section expanded

This just makes the interface look better

8 years agoMDL-30637 mod_folder: Make content section expanded
Ruslan Kabalin [Thu, 7 Feb 2013 14:23:26 +0000 (14:23 +0000)]
MDL-30637 mod_folder: Make content section expanded

This just makes the interface better

8 years agoMDL-30638 mod_choice: Add required elements to repeated form items
Ruslan Kabalin [Thu, 7 Feb 2013 14:19:03 +0000 (14:19 +0000)]
MDL-30638 mod_choice: Add required elements to repeated form items

To make it work properly with MDL-30637

8 years agoMDL-30637 Simplify moodle forms
Ruslan Kabalin [Thu, 7 Feb 2013 14:13:36 +0000 (14:13 +0000)]
MDL-30637 Simplify moodle forms

Make the forms easier to use and navigate by adding functionality to
collapse and extend form sections (headers). The logic is as follows:

If form contains 2 and less sections (headers):

* Display the form as non-collapsible at all.
* The point above can be overridden if developer marks the section as expanded
  in form definition (e.g. $mform->setExpanded('foo'));

If form contains 3 and more sections (headers):

* always expanding the first section and closing all others by default;
* always expanding a section containing at least one "required" element;
* expanding any section which contains validation errors after submission;
* expanding any section which was previously open on previous submit (e.g. when
  adding new choices);
* expanding the section which is marked as expanded in form definition (e.g.
  $mform->setExpanded('foo');

8 years agoMDL-37893 Allow elements with no final tags to form a grouped path
David Mudrák [Wed, 6 Feb 2013 16:37:07 +0000 (17:37 +0100)]
MDL-37893 Allow elements with no final tags to form a grouped path

8 years agoMDL-37893 Add unit test to demonstrate the issue
David Mudrák [Wed, 6 Feb 2013 16:36:30 +0000 (17:36 +0100)]
MDL-37893 Add unit test to demonstrate the issue

8 years agoMDL-37686 xmldb: Fixed coding guidelines errors in generated code
Frederic Massart [Wed, 6 Feb 2013 03:48:04 +0000 (11:48 +0800)]
MDL-37686 xmldb: Fixed coding guidelines errors in generated code

8 years agoMDL-35037 tags: dont display blog entries when blogging disabled
Dan Poltawski [Thu, 7 Feb 2013 04:34:07 +0000 (12:34 +0800)]
MDL-35037 tags: dont display blog entries when blogging disabled

8 years agoMDL-37122 core get_max_upload_sizes: Include "Course/Site/Activity limit (X)" in...
Damyon Wiese [Mon, 21 Jan 2013 06:36:57 +0000 (14:36 +0800)]
MDL-37122 core get_max_upload_sizes: Include "Course/Site/Activity limit (X)" in list of options

This change removes the "0 bytes" option from the get_max_upload_sizes list
and replaces it with "Course limit (X)" or "Site limit (X)" (whichever is smaller).
This means we can remove all custom handling in the modules that were removing and
adding these options. It only affects pages that pass valid options for sitelimit and
courselimit - so admin pages will work correctly.

It also orders the list so the course/site limit options will be first
(as it will be the largest).

AMOS START
 REM [courseuploadlimit, core] has been parameterized to get [uploadlimitwithsize, core]
AMOS END

8 years agoMDL-37572 correct active navigation node for add/edit category page
Marina Glancy [Thu, 7 Feb 2013 01:49:56 +0000 (12:49 +1100)]
MDL-37572 correct active navigation node for add/edit category page

8 years agoMDL-37572 small bug fix with misplaced assignment
Marina Glancy [Thu, 7 Feb 2013 01:30:09 +0000 (12:30 +1100)]
MDL-37572 small bug fix with misplaced assignment

8 years agoMerge branch 'MDL-37566-m-integration' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Thu, 7 Feb 2013 00:07:04 +0000 (01:07 +0100)]
Merge branch 'MDL-37566-m-integration' of git://github.com/andrewnicols/moodle

8 years agoMDL-37572 course: fixed bug when moving categories
Sam Hemelryk [Wed, 6 Feb 2013 23:29:03 +0000 (12:29 +1300)]
MDL-37572 course: fixed bug when moving categories