moodle.git
6 years agoMDL-46346 blog: coding style fixes
Andrew Davis [Sun, 13 Jul 2014 10:43:09 +0000 (18:43 +0800)]
MDL-46346 blog: coding style fixes

6 years agoMDL-46218 reshuffled access checks in blog and notes
Andrew Davis [Thu, 10 Jul 2014 02:57:39 +0000 (10:57 +0800)]
MDL-46218 reshuffled access checks in blog and notes

6 years agoweekly release 2.8dev
Eloy Lafuente (stronk7) [Thu, 10 Jul 2014 17:15:18 +0000 (19:15 +0200)]
weekly release 2.8dev

6 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Thu, 10 Jul 2014 17:15:06 +0000 (19:15 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

6 years agoMDL-46148 qtype_calculated: low-level defence against bad formulas
Ankit Agarwal [Thu, 10 Jul 2014 09:44:59 +0000 (17:44 +0800)]
MDL-46148 qtype_calculated: low-level defence against bad formulas

This catches things like:
 * Malicious equations coming from backup files.
 * Malicious equations in old questions in the database.

6 years agoMDL-38990 mod_forum: Restrict ability to post to all groups in a forum
Andrew Nicols [Tue, 27 May 2014 09:21:25 +0000 (17:21 +0800)]
MDL-38990 mod_forum: Restrict ability to post to all groups in a forum

In order to post to all groups in a forum, you must have the
moodle/site:accessallgroups capability.

Thanks to Jakob Ackermann <jackermann@onlineschool.ca> for part of the fix
on this one.

6 years agoMDL-46193 phpunit: Replace value in component config.
Russell Smith [Wed, 9 Jul 2014 07:47:19 +0000 (17:47 +1000)]
MDL-46193 phpunit: Replace value in component config.

There are two phpunit.xml build locations, one for overall
and another for individual components.  To reduce id changes
when running different components, we use the same initial ID
in all component files when building.

6 years agoMDL-46148 questions: Added missing allow_commit for transaction
Damyon Wiese [Thu, 10 Jul 2014 03:35:47 +0000 (11:35 +0800)]
MDL-46148 questions: Added missing allow_commit for transaction

6 years agoMerge branch 'MDL-19270_master' of https://github.com/nadavkav/moodle
Damyon Wiese [Thu, 10 Jul 2014 01:57:06 +0000 (09:57 +0800)]
Merge branch 'MDL-19270_master' of https://github.com/nadavkav/moodle

Conflicts:
lib/graphlib.php

6 years agoMDL-46148 qtype_calculatedsimple: fix notice
Tim Hunt [Wed, 9 Jul 2014 12:47:40 +0000 (13:47 +0100)]
MDL-46148 qtype_calculatedsimple: fix notice

... when adding a dataset with a formula error.

6 years agoMDL-46148 qtype_calculated: fix validation when importing.
Tim Hunt [Wed, 9 Jul 2014 12:35:09 +0000 (13:35 +0100)]
MDL-46148 qtype_calculated: fix validation when importing.

In order to do this in a sane way, I cleaned up a lot of old mess,
inclduing:

1. Previously, qtype_calcuated used ->answeres when importing, and
->answer when saving the form. This was crazy, so I fixed it, and
stripped out the code that made the alternative variable name work.

2. Similarly, it could handle ->answer being either an array, such as
you would get form the HTML editor, or a simple string, which is what
you get form the form. I simplified that too.

3. Finally, I made import use a transaction around saving each
question, so we don't get half questions in the database when an error
occurs.

6 years agoMDL-19270 - Quiz graph - Fix reverse display of Hebrew legend text in RTL mode
Nadav Kavalerchik [Wed, 9 Jul 2014 11:57:31 +0000 (14:57 +0300)]
MDL-19270 - Quiz graph - Fix reverse display of Hebrew legend text in RTL mode

6 years agoMDL-46148 qtype_calculated: removed unused method.
Tim Hunt [Wed, 9 Jul 2014 11:56:18 +0000 (12:56 +0100)]
MDL-46148 qtype_calculated: removed unused method.

6 years agoMDL-46223 Fix frequently used comments in the marking guide
David Mudrák [Wed, 9 Jul 2014 08:28:56 +0000 (10:28 +0200)]
MDL-46223 Fix frequently used comments in the marking guide

When the frequently used comment contains a character like >, re-use it
directly instead of its HTML entitiy.

6 years agoMDL-46223 Improve the display of marking guide validation message
David Mudrák [Wed, 9 Jul 2014 08:21:16 +0000 (10:21 +0200)]
MDL-46223 Improve the display of marking guide validation message

6 years agoMDL-46227 fix typo
Dan Poltawski [Wed, 9 Jul 2014 07:22:18 +0000 (08:22 +0100)]
MDL-46227 fix typo

6 years agoMDL-44605 calendar: improved returnurl validation
Dan Poltawski [Thu, 3 Jul 2014 13:30:36 +0000 (14:30 +0100)]
MDL-44605 calendar: improved returnurl validation

Now we will only redirect to a local url (though sesskey was
already preventing this redirect from being open)

6 years agoMerge branch '41502-28' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Tue, 8 Jul 2014 22:51:22 +0000 (00:51 +0200)]
Merge branch '41502-28' of git://github.com/samhemelryk/moodle

6 years agoMDL-42609 course: management default missing bits
Eloy Lafuente (stronk7) [Tue, 8 Jul 2014 19:07:56 +0000 (21:07 +0200)]
MDL-42609 course: management default missing bits

With the previous commit in this issue, now the course management
UI defaults to show the "default category" courses.

But some bits were missing in order to make that default behavior
fully equivalent with the manual navigation to that category.

This patch:
  - Adds the missing categoryid url param, used by some of the options
    in the UI, like sorting, that was completely broken.
  - Sets the context to the default category, previously was being set to
    system context, incorrectly if now we are defaulting to a category.

That way everything is 100% the same than when we land to the category manually.

6 years agoMerge branch '42609-28' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Tue, 8 Jul 2014 18:31:25 +0000 (20:31 +0200)]
Merge branch '42609-28' of git://github.com/samhemelryk/moodle

6 years agoMerge branch 'MDL-43849_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Tue, 8 Jul 2014 18:28:58 +0000 (20:28 +0200)]
Merge branch 'MDL-43849_master' of git://github.com/dmonllao/moodle

6 years agoMerge branch 'MDL-45599-master-addons' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Tue, 8 Jul 2014 14:31:50 +0000 (15:31 +0100)]
Merge branch 'MDL-45599-master-addons' of git://github.com/mudrd8mz/moodle

6 years agoMerge branch 'MDL-44492' of git://github.com/timhunt/moodle
Dan Poltawski [Tue, 8 Jul 2014 13:17:56 +0000 (14:17 +0100)]
Merge branch 'MDL-44492' of git://github.com/timhunt/moodle

6 years agoMDL-44492 quiz: fix hilighting of graded attempt
Tim Hunt [Wed, 2 Jul 2014 18:12:28 +0000 (19:12 +0100)]
MDL-44492 quiz: fix hilighting of graded attempt

In various places, when showing several attempts, we try to hilight the
most significant one (the one that gave the final grade if the quiz is
set to first/last/best attempt). That was not working because the table
zebra stripes were a more specific rule.

Also, the colour was inconsistent, not nice, and not very bootstrapy, so
I changed it.

6 years agoMDL-44492 quiz reports: revert some style overrides.
Tim Hunt [Tue, 1 Jul 2014 15:34:33 +0000 (16:34 +0100)]
MDL-44492 quiz reports: revert some style overrides.

But add one more. This makes Clean theme look a lot better.

6 years agoMDL-44492 Rough unit test for the report SQL.
Tim Hunt [Thu, 3 Jul 2014 16:37:35 +0000 (17:37 +0100)]
MDL-44492 Rough unit test for the report SQL.

We really ought to test more cases, but this hits one of the most tricky cases.

6 years agoMDL-44492 quiz reports: make show only graded attempt work.
Tim Hunt [Tue, 1 Jul 2014 16:43:18 +0000 (17:43 +0100)]
MDL-44492 quiz reports: make show only graded attempt work.

It needs to only affect finished attempts, and the wording needs to be
modified to make it clear that is what it does.

6 years agoMDL-45471 javascript: Escape content of exception dialogs
Frederic Massart [Thu, 8 May 2014 07:58:56 +0000 (15:58 +0800)]
MDL-45471 javascript: Escape content of exception dialogs

6 years agoMerge branch 'MDL-45381_master' of git://github.com/markn86/moodle
Dan Poltawski [Tue, 8 Jul 2014 10:28:58 +0000 (11:28 +0100)]
Merge branch 'MDL-45381_master' of git://github.com/markn86/moodle

6 years agoMerge branch 'MDL-45596-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Tue, 8 Jul 2014 09:50:55 +0000 (10:50 +0100)]
Merge branch 'MDL-45596-master' of git://github.com/FMCorz/moodle

6 years agoMDL-43948 forms: setting types to filemanager and editor elements
Marina Glancy [Tue, 8 Jul 2014 02:11:40 +0000 (10:11 +0800)]
MDL-43948 forms: setting types to filemanager and editor elements

6 years agoMDL-46231 navigation: en_fix behat changes
Dan Poltawski [Tue, 8 Jul 2014 07:33:57 +0000 (08:33 +0100)]
MDL-46231 navigation: en_fix behat changes

6 years agoMerge branch 'MDL-46231-master-en_fix' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Tue, 8 Jul 2014 07:32:32 +0000 (08:32 +0100)]
Merge branch 'MDL-46231-master-en_fix' of git://github.com/mudrd8mz/moodle

6 years agoMDL-45599 Fix tiny grammatical errors in the plugin installer
Helen Foster [Tue, 8 Jul 2014 07:02:06 +0000 (09:02 +0200)]
MDL-45599 Fix tiny grammatical errors in the plugin installer

6 years agoMDL-46227 Fix XSS in scheduled tasks
Skylar Kelty [Wed, 2 Jul 2014 07:35:24 +0000 (08:35 +0100)]
MDL-46227 Fix XSS in scheduled tasks

6 years agoMDL-46223 Improve the marking guide output
David Mudrák [Mon, 7 Jul 2014 07:52:37 +0000 (09:52 +0200)]
MDL-46223 Improve the marking guide output

6 years agoMDL-46223 Improve the rubric output
David Mudrák [Mon, 7 Jul 2014 04:38:47 +0000 (06:38 +0200)]
MDL-46223 Improve the rubric output

6 years agoMDL-46059 mod_lti: fixed invalid decimals attribute
Sam Hemelryk [Tue, 8 Jul 2014 03:35:59 +0000 (15:35 +1200)]
MDL-46059 mod_lti: fixed invalid decimals attribute

6 years agoMerge branch 'wip-MDL-46059-master' of git://github.com/abgreeve/moodle
Sam Hemelryk [Tue, 8 Jul 2014 03:15:12 +0000 (15:15 +1200)]
Merge branch 'wip-MDL-46059-master' of git://github.com/abgreeve/moodle

6 years agoMerge branch 'MDL-46016_master' of https://github.com/markn86/moodle
Sam Hemelryk [Tue, 8 Jul 2014 02:27:47 +0000 (14:27 +1200)]
Merge branch 'MDL-46016_master' of https://github.com/markn86/moodle

6 years agoMDL-19270 core_text: added unit tests for strrev
Sam Hemelryk [Tue, 8 Jul 2014 02:14:51 +0000 (14:14 +1200)]
MDL-19270 core_text: added unit tests for strrev

6 years agoMerge branch 'MDL-19270_master' of https://github.com/nadavkav/moodle
Sam Hemelryk [Tue, 8 Jul 2014 01:53:40 +0000 (13:53 +1200)]
Merge branch 'MDL-19270_master' of https://github.com/nadavkav/moodle

6 years agoMerge branch 'MDL-46200-master' of git://github.com/danpoltawski/moodle
Sam Hemelryk [Tue, 8 Jul 2014 01:38:04 +0000 (13:38 +1200)]
Merge branch 'MDL-46200-master' of git://github.com/danpoltawski/moodle

6 years agoMerge branch 'mdl45982-master' of https://github.com/tlock/moodle
Sam Hemelryk [Tue, 8 Jul 2014 01:26:36 +0000 (13:26 +1200)]
Merge branch 'mdl45982-master' of https://github.com/tlock/moodle

6 years agoMerge branch 'm28_MDL-46144' of https://github.com/totara/moodle
Sam Hemelryk [Tue, 8 Jul 2014 01:10:30 +0000 (13:10 +1200)]
Merge branch 'm28_MDL-46144' of https://github.com/totara/moodle

6 years agoMerge branch 'MDL-46193' of git://github.com/mr-russ/moodle
Sam Hemelryk [Tue, 8 Jul 2014 01:10:24 +0000 (13:10 +1200)]
Merge branch 'MDL-46193' of git://github.com/mr-russ/moodle

6 years agoMerge branch '46208-28' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Tue, 8 Jul 2014 00:13:35 +0000 (02:13 +0200)]
Merge branch '46208-28' of git://github.com/samhemelryk/moodle

6 years agoMerge branch 'MDL-46212' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 7 Jul 2014 23:43:09 +0000 (11:43 +1200)]
Merge branch 'MDL-46212' of git://github.com/timhunt/moodle

Conflicts:
question/type/calculated/question.php

6 years agoMerge branch 'm28_MDL-46225' of https://github.com/totara/moodle
Sam Hemelryk [Mon, 7 Jul 2014 22:36:10 +0000 (10:36 +1200)]
Merge branch 'm28_MDL-46225' of https://github.com/totara/moodle

6 years agoMerge branch 'MDL-46240-master' of git://github.com/danpoltawski/moodle
Sam Hemelryk [Mon, 7 Jul 2014 22:34:28 +0000 (10:34 +1200)]
Merge branch 'MDL-46240-master' of git://github.com/danpoltawski/moodle

6 years agoMerge branch 'wip_MDL-45945_m28_mssqlcol' of https://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Mon, 7 Jul 2014 22:31:54 +0000 (00:31 +0200)]
Merge branch 'wip_MDL-45945_m28_mssqlcol' of https://github.com/skodak/moodle

6 years agoMDL-45678 cache: renamed new cache and better comments
Sam Hemelryk [Mon, 7 Jul 2014 21:52:41 +0000 (09:52 +1200)]
MDL-45678 cache: renamed new cache and better comments

6 years agoMerge branch 'MDL-45678-006-master' of https://github.com/dbezborodovrp/moodle
Sam Hemelryk [Mon, 7 Jul 2014 21:42:35 +0000 (09:42 +1200)]
Merge branch 'MDL-45678-006-master' of https://github.com/dbezborodovrp/moodle

6 years agoMerge branch 'wip_MDL-46126_m28_passnulls' of https://github.com/skodak/moodle
Sam Hemelryk [Mon, 7 Jul 2014 21:37:08 +0000 (09:37 +1200)]
Merge branch 'wip_MDL-46126_m28_passnulls' of https://github.com/skodak/moodle

6 years agoMerge branch 'MDL-43347-master' of https://github.com/mackensen/moodle
Sam Hemelryk [Mon, 7 Jul 2014 21:28:20 +0000 (09:28 +1200)]
Merge branch 'MDL-43347-master' of https://github.com/mackensen/moodle

6 years agoMerge branch 'MDL-16474-master' of git://github.com/FMCorz/moodle
Sam Hemelryk [Mon, 7 Jul 2014 20:29:45 +0000 (08:29 +1200)]
Merge branch 'MDL-16474-master' of git://github.com/FMCorz/moodle

6 years agoMDL-46201 events: Sanitization of username before returning the description.
Adrian Greeve [Tue, 1 Jul 2014 05:46:25 +0000 (13:46 +0800)]
MDL-46201 events: Sanitization of username before returning the description.

6 years agoMDL-46042 badges: Clean up external badge data
Yuliya Bozhko [Wed, 18 Jun 2014 22:54:11 +0000 (10:54 +1200)]
MDL-46042 badges: Clean up external badge data

Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
6 years agoMerge branch 'MDL-42393-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 7 Jul 2014 15:27:29 +0000 (16:27 +0100)]
Merge branch 'MDL-42393-master' of git://github.com/FMCorz/moodle

6 years agoMDL-45683 user: Escaping Skype ID used in profile
Osanda Malith Jayathissa [Wed, 4 Jun 2014 05:55:11 +0000 (13:55 +0800)]
MDL-45683 user: Escaping Skype ID used in profile

6 years agoMDL-45760 make sure to check permission before setting header
Marina Glancy [Mon, 30 Jun 2014 08:36:49 +0000 (16:36 +0800)]
MDL-45760 make sure to check permission before setting header

6 years agoMDL-46148 qtype_calculated: validate formulas everywhere.
Tim Hunt [Thu, 26 Jun 2014 14:37:33 +0000 (15:37 +0100)]
MDL-46148 qtype_calculated: validate formulas everywhere.

6 years agoMDL-46148 qtype_calculated: function to validate equations in text.
Tim Hunt [Thu, 26 Jun 2014 13:54:52 +0000 (14:54 +0100)]
MDL-46148 qtype_calculated: function to validate equations in text.

6 years agoMDL-46148 qtype_calculated: Remove unused function.
Tim Hunt [Thu, 26 Jun 2014 09:51:28 +0000 (10:51 +0100)]
MDL-46148 qtype_calculated: Remove unused function.

6 years agoMDL-46148 qtype_calculated: unit tests + fixes for validation
Tim Hunt [Thu, 26 Jun 2014 09:48:02 +0000 (10:48 +0100)]
MDL-46148 qtype_calculated: unit tests + fixes for validation

6 years agoMDL-45417 mod_imscp: Prevent entity injections from package content
Frederic Massart [Fri, 13 Jun 2014 07:40:15 +0000 (15:40 +0800)]
MDL-45417 mod_imscp: Prevent entity injections from package content

6 years agoMDL-45463 mod_lti: Prevent XML entity injections from provider
Frederic Massart [Tue, 10 Jun 2014 04:53:43 +0000 (12:53 +0800)]
MDL-45463 mod_lti: Prevent XML entity injections from provider

6 years agoMDL-45616 repositories: API changes to avoid serialized data in user input
Marina Glancy [Wed, 25 Jun 2014 06:46:13 +0000 (14:46 +0800)]
MDL-45616 repositories: API changes to avoid serialized data in user input

6 years agoMDL-45616 repositories: use json encoding instead of serialization
Marina Glancy [Thu, 26 Jun 2014 00:53:25 +0000 (08:53 +0800)]
MDL-45616 repositories: use json encoding instead of serialization

6 years agoMDL-45616 repositories: more clearly distinguish when we use source and when reference
Marina Glancy [Wed, 25 Jun 2014 06:40:27 +0000 (14:40 +0800)]
MDL-45616 repositories: more clearly distinguish when we use source and when reference

Function repository::get_moodle_file() should always be called on packed reference and not on the source received from user.
Also added phpdocs to some other methods that were confusing source and reference

6 years agoMDL-43848 message: remove unused strings
Dan Poltawski [Fri, 4 Jul 2014 11:15:23 +0000 (12:15 +0100)]
MDL-43848 message: remove unused strings

6 years agoMDL-43848 messages: do not display message content in popups
Dan Poltawski [Thu, 3 Jul 2014 14:18:39 +0000 (15:18 +0100)]
MDL-43848 messages: do not display message content in popups

The user is not in control of when these popups show up and it
may not be appropiate to have part of this content display whilst
in the presence of other users.

6 years agoMDL-19270 - Quiz graph - Fix reverse display of Hebrew legend text in RTL mode
Nadav Kavalerchik [Sun, 6 Jul 2014 15:46:45 +0000 (18:46 +0300)]
MDL-19270 - Quiz graph - Fix reverse display of Hebrew legend text in RTL mode

6 years agoMDL-46231 Merge English strings from the en_fix language pack
Helen Foster [Fri, 4 Jul 2014 20:32:38 +0000 (22:32 +0200)]
MDL-46231 Merge English strings from the en_fix language pack

6 years agoMDL-46200 fix missing space in failed login message
Dan Poltawski [Fri, 4 Jul 2014 13:48:10 +0000 (14:48 +0100)]
MDL-46200 fix missing space in failed login message

6 years agoMDL-46240 atto_collapse: fix icon url
Dan Poltawski [Fri, 4 Jul 2014 13:33:39 +0000 (14:33 +0100)]
MDL-46240 atto_collapse: fix icon url

6 years agoMDL-45599 Stop using the 'add-on' term
David Mudrák [Fri, 4 Jul 2014 09:34:34 +0000 (11:34 +0200)]
MDL-45599 Stop using the 'add-on' term

We now call them all as just 'plugins' for consistency. There where we need to
explicitly distinguish the source of the plugin, we say they are 'additional
plugins' on contrary to 'standards plugins' coming with the core.

6 years agoMDL-45599 Remove string editingnoncorelangfile from core_admin
David Mudrák [Fri, 4 Jul 2014 08:36:53 +0000 (10:36 +0200)]
MDL-45599 Remove string editingnoncorelangfile from core_admin

This string mentions 'add-on' and has been greylisted in AMOS since 2.0. The
usage of it was removed in 00b41d.

6 years agoMDL-46059 mod_lti: Changed LTI table column grade to an int.
Adrian Greeve [Thu, 19 Jun 2014 07:17:47 +0000 (15:17 +0800)]
MDL-46059 mod_lti: Changed LTI table column grade to an int.

6 years agoMDL-46193 phpunit: Use random starting value on initialization.
Russell Smith [Tue, 24 Jun 2014 09:25:51 +0000 (19:25 +1000)]
MDL-46193 phpunit: Use random starting value on initialization.

6 years agoMDL-45678 assignsubmission_comments: Improve performance for permissions checking
Damien Bezborodov [Wed, 25 Jun 2014 08:03:10 +0000 (17:33 +0930)]
MDL-45678 assignsubmission_comments: Improve performance for permissions checking

6 years agoMDL-46126 upgrade: fix bogus nulls in user.password before changing precission
Petr Skoda [Fri, 4 Jul 2014 04:28:59 +0000 (16:28 +1200)]
MDL-46126 upgrade: fix bogus nulls in user.password before changing precission

Note: there is no need to deal with Oracle empty strings here
because only MySQL running in non-strict mode is affected.

6 years agoMDL-45596 roles: Escape filter value before using it in form field
Frederic Massart [Fri, 4 Jul 2014 03:48:39 +0000 (11:48 +0800)]
MDL-45596 roles: Escape filter value before using it in form field

6 years agoMDL-45945 mssql: force default database collation in all tables including temp table
Petr Skoda [Fri, 4 Jul 2014 03:04:50 +0000 (15:04 +1200)]
MDL-45945 mssql: force default database collation in all tables including temp table

6 years agoAutomatically generated installer lang files
AMOS bot [Fri, 4 Jul 2014 00:44:09 +0000 (00:44 +0000)]
Automatically generated installer lang files

6 years agoMDL-46016 auth_shibboleth: updated misleading comment
Mark Nelson [Mon, 30 Jun 2014 02:23:17 +0000 (19:23 -0700)]
MDL-46016 auth_shibboleth: updated misleading comment

Also generated a random string for the password field in case it is ever used.

6 years agoMDL-42609 course: management page now selected default category initially
Sam Hemelryk [Thu, 3 Jul 2014 21:09:15 +0000 (09:09 +1200)]
MDL-42609 course: management page now selected default category initially

6 years agoMDL-41502 course: removed classes and files deprecated in 2.6
Sam Hemelryk [Thu, 3 Jul 2014 21:29:03 +0000 (09:29 +1200)]
MDL-41502 course: removed classes and files deprecated in 2.6

6 years agoMDL-46208 cachestore_mongo: fixed invalid collection name use
Sam Hemelryk [Tue, 1 Jul 2014 03:40:28 +0000 (15:40 +1200)]
MDL-46208 cachestore_mongo: fixed invalid collection name use

6 years agoMDL-46212 questions: add {} whenver vars are put into "" strings
Tim Hunt [Mon, 30 Jun 2014 18:09:54 +0000 (19:09 +0100)]
MDL-46212 questions: add {} whenver vars are put into "" strings

Having had one subtle bug cased be this, I decided to do a search and
fix all of these.

6 years agoMDL-46212 question editing: extra answer fields notice.
Tim Hunt [Mon, 30 Jun 2014 17:58:50 +0000 (18:58 +0100)]
MDL-46212 question editing: extra answer fields notice.

It turns out that PHP does not interpret "$field[$key]" the way we were
expecting.

6 years agoweekly release 2.8dev
Dan Poltawski [Thu, 3 Jul 2014 09:53:14 +0000 (10:53 +0100)]
weekly release 2.8dev

6 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Dan Poltawski [Thu, 3 Jul 2014 09:53:11 +0000 (10:53 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

6 years agoMDL-46163 question/quiz: fix elements ids and their labels
Marina Glancy [Thu, 3 Jul 2014 06:00:40 +0000 (14:00 +0800)]
MDL-46163 question/quiz: fix elements ids and their labels

6 years agoMDL-43849 enrol_meta: Renaming methods according to what they test
David Monllao [Mon, 30 Jun 2014 02:54:20 +0000 (10:54 +0800)]
MDL-43849 enrol_meta: Renaming methods according to what they test

6 years agoMDL-43849 mod_forum: Adding tests for observers
David Monllao [Mon, 30 Jun 2014 02:50:05 +0000 (10:50 +0800)]
MDL-43849 mod_forum: Adding tests for observers

6 years agoMDL-46225 core_admin: Changed heading to add a new user to a button
Brian Barnes [Tue, 1 Jul 2014 23:54:54 +0000 (11:54 +1200)]
MDL-46225 core_admin: Changed heading to add a new user to a button

6 years agoMDL-46163 quiz/questions: fix missing hidden fields.
Tim Hunt [Wed, 2 Jul 2014 13:26:59 +0000 (14:26 +0100)]
MDL-46163 quiz/questions: fix missing hidden fields.

I have done this by eliminating the duplication between the base class
and the subclass.

This was a regression introdcued by MDL-40313.

6 years agoMDL-46163 question: fix missing ;
Dan Poltawski [Wed, 2 Jul 2014 06:22:15 +0000 (07:22 +0100)]
MDL-46163 question: fix missing ;

6 years agoMerge branch '41663-28' of git://github.com/samhemelryk/moodle
Marina Glancy [Wed, 2 Jul 2014 03:52:12 +0000 (11:52 +0800)]
Merge branch '41663-28' of git://github.com/samhemelryk/moodle