moodle.git
5 years agoMerge branch 'MDL-53077' of git://github.com/Dave-B/moodle
Dan Poltawski [Tue, 1 Mar 2016 05:10:57 +0000 (13:10 +0800)]
Merge branch 'MDL-53077' of git://github.com/Dave-B/moodle

5 years agoMerge branch 'MDL-53166' of https://github.com/eugeneventer/moodle-fixes
Dan Poltawski [Tue, 1 Mar 2016 05:03:06 +0000 (13:03 +0800)]
Merge branch 'MDL-53166' of https://github.com/eugeneventer/moodle-fixes

5 years agoMerge branch 'MDL-48362-master-fix1' of http://github.com/damyon/moodle
Andrew Nicols [Tue, 1 Mar 2016 04:58:54 +0000 (12:58 +0800)]
Merge branch 'MDL-48362-master-fix1' of github.com/damyon/moodle

5 years agoMerge branch 'MDL-53263-forum-reply-deeplink' of https://github.com/brendanheywood...
Dan Poltawski [Tue, 1 Mar 2016 04:53:10 +0000 (12:53 +0800)]
Merge branch 'MDL-53263-forum-reply-deeplink' of https://github.com/brendanheywood/moodle

5 years agoMerge branch 'MDL-46424_master' of https://github.com/dmonllao/moodle
Dan Poltawski [Tue, 1 Mar 2016 04:38:54 +0000 (12:38 +0800)]
Merge branch 'MDL-46424_master' of https://github.com/dmonllao/moodle

5 years agoMerge branch 'wip-MDL-44952-master' of https://github.com/marinaglancy/moodle
Dan Poltawski [Tue, 1 Mar 2016 04:30:56 +0000 (12:30 +0800)]
Merge branch 'wip-MDL-44952-master' of https://github.com/marinaglancy/moodle

5 years agoMDL-48362 enrol_cohort: Perform immediate sync on add/update instance
Damyon Wiese [Tue, 1 Mar 2016 04:29:09 +0000 (12:29 +0800)]
MDL-48362 enrol_cohort: Perform immediate sync on add/update instance

This restores backwards compatible behaviour.

5 years agoMDL-51687 mod_folder: Trigger event when downloading all files.
Andrew Hancox [Wed, 7 Oct 2015 10:52:08 +0000 (11:52 +0100)]
MDL-51687 mod_folder: Trigger event when downloading all files.

5 years agoMerge branch 'MDL-30811-fix' of git://github.com/andrewnicols/moodle
Dan Poltawski [Tue, 1 Mar 2016 04:26:33 +0000 (12:26 +0800)]
Merge branch 'MDL-30811-fix' of git://github.com/andrewnicols/moodle

5 years agoMerge branch 'MDL-52809-master' of git://github.com/dpalou/moodle
Dan Poltawski [Tue, 1 Mar 2016 04:23:54 +0000 (12:23 +0800)]
Merge branch 'MDL-52809-master' of git://github.com/dpalou/moodle

5 years agoMDL-44952 mod_feedback: set value for hidenoselect if disabled
Marina Glancy [Tue, 1 Mar 2016 04:21:00 +0000 (12:21 +0800)]
MDL-44952 mod_feedback: set value for hidenoselect if disabled

5 years agoMDL-30811 form: Remove continue from test.
Andrew Nicols [Tue, 1 Mar 2016 04:10:59 +0000 (12:10 +0800)]
MDL-30811 form: Remove continue from test.

5 years agoMDL-52974 mod_assign: Improve tests for view_submission_status
Andrew Nicols [Tue, 1 Mar 2016 03:46:13 +0000 (11:46 +0800)]
MDL-52974 mod_assign: Improve tests for view_submission_status

External tests only

5 years agoMerge branch 'MDL-52974-master' of git://github.com/jleyva/moodle
Andrew Nicols [Tue, 1 Mar 2016 03:48:16 +0000 (11:48 +0800)]
Merge branch 'MDL-52974-master' of git://github.com/jleyva/moodle

5 years agoMerge branch 'MDL-52928-master' of git://github.com/andrewnicols/moodle
Dan Poltawski [Tue, 1 Mar 2016 03:34:04 +0000 (11:34 +0800)]
Merge branch 'MDL-52928-master' of git://github.com/andrewnicols/moodle

5 years agoMerge branch 'MDL-52999-master' of git://github.com/jleyva/moodle
Dan Poltawski [Tue, 1 Mar 2016 02:43:12 +0000 (10:43 +0800)]
Merge branch 'MDL-52999-master' of git://github.com/jleyva/moodle

5 years agoMerge branch 'MDL-53027-master' of git://github.com/cameron1729/moodle
Andrew Nicols [Tue, 1 Mar 2016 02:40:27 +0000 (10:40 +0800)]
Merge branch 'MDL-53027-master' of git://github.com/cameron1729/moodle

5 years agoMerge branch 'MDL-53050-forum-target' of https://github.com/brendanheywood/moodle
Dan Poltawski [Tue, 1 Mar 2016 02:38:55 +0000 (10:38 +0800)]
Merge branch 'MDL-53050-forum-target' of https://github.com/brendanheywood/moodle

5 years agoMerge branch 'MDL-53072_master' of git://github.com/markn86/moodle
Dan Poltawski [Tue, 1 Mar 2016 02:12:46 +0000 (10:12 +0800)]
Merge branch 'MDL-53072_master' of git://github.com/markn86/moodle

5 years agoMerge branch 'MDL-52936_master' of https://github.com/marxjohnson/moodle
Andrew Nicols [Tue, 1 Mar 2016 02:05:53 +0000 (10:05 +0800)]
Merge branch 'MDL-52936_master' of https://github.com/marxjohnson/moodle

5 years agoMerge branch 'MDL-53214-master' of git://github.com/cameron1729/moodle
Andrew Nicols [Tue, 1 Mar 2016 01:40:44 +0000 (09:40 +0800)]
Merge branch 'MDL-53214-master' of git://github.com/cameron1729/moodle

5 years agoMerge branch 'wip-MDL-53172-master' of https://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Tue, 1 Mar 2016 00:59:31 +0000 (01:59 +0100)]
Merge branch 'wip-MDL-53172-master' of https://github.com/marinaglancy/moodle

5 years agoMerge branch 'MDL-50175-master' of git://github.com/danpoltawski/moodle
Andrew Nicols [Tue, 1 Mar 2016 00:07:56 +0000 (08:07 +0800)]
Merge branch 'MDL-50175-master' of git://github.com/danpoltawski/moodle

5 years agoMerge branch 'MDL-44952-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 29 Feb 2016 08:34:22 +0000 (16:34 +0800)]
Merge branch 'MDL-44952-master' of git://github.com/marinaglancy/moodle

5 years agoMerge branch 'MDL-50794-master-workshop-restrict-filetypes' of git://github.com/mudrd...
Dan Poltawski [Mon, 29 Feb 2016 08:15:27 +0000 (16:15 +0800)]
Merge branch 'MDL-50794-master-workshop-restrict-filetypes' of git://github.com/mudrd8mz/moodle

5 years agoMerge branch 'MDL-53213' of https://github.com/mr-russ/moodle
Dan Poltawski [Mon, 29 Feb 2016 07:37:25 +0000 (15:37 +0800)]
Merge branch 'MDL-53213' of https://github.com/mr-russ/moodle

5 years agoMerge branch 'MDL-52965_master' of git://github.com/dmonllao/moodle
Andrew Nicols [Mon, 29 Feb 2016 07:20:44 +0000 (15:20 +0800)]
Merge branch 'MDL-52965_master' of git://github.com/dmonllao/moodle

5 years agoMDL-48362 enrol: Correct singleselect use in behat test
Andrew Nicols [Mon, 29 Feb 2016 07:16:09 +0000 (15:16 +0800)]
MDL-48362 enrol: Correct singleselect use in behat test

5 years agoMerge branch 'MDL-48362-master' of git://github.com/damyon/moodle
Andrew Nicols [Mon, 29 Feb 2016 06:46:20 +0000 (14:46 +0800)]
Merge branch 'MDL-48362-master' of git://github.com/damyon/moodle

5 years agoMDL-48362 enrol: Convert guest to standard enrolment ui
Damyon Wiese [Mon, 29 Feb 2016 06:29:00 +0000 (14:29 +0800)]
MDL-48362 enrol: Convert guest to standard enrolment ui

Also - provide automatic course navigation links when using the standard ui.

5 years agoMerge branch 'MDL-53249-master' of git://github.com/merrill-oakland/moodle
Andrew Nicols [Mon, 29 Feb 2016 06:22:31 +0000 (14:22 +0800)]
Merge branch 'MDL-53249-master' of git://github.com/merrill-oakland/moodle

5 years agoMDL-52346 caching: Coding style fixes
Andrew Nicols [Mon, 29 Feb 2016 06:14:01 +0000 (14:14 +0800)]
MDL-52346 caching: Coding style fixes

5 years agoMerge branch 'MDL-52346' of git://github.com/mr-russ/moodle
Andrew Nicols [Mon, 29 Feb 2016 06:12:03 +0000 (14:12 +0800)]
Merge branch 'MDL-52346' of git://github.com/mr-russ/moodle

5 years agoMDL-48362 enrol: Auto generate the edit action icons when using the new ui
Damyon Wiese [Mon, 29 Feb 2016 05:53:29 +0000 (13:53 +0800)]
MDL-48362 enrol: Auto generate the edit action icons when using the new ui

5 years agoMerge branch 'MDL-30811-master' of git://github.com/andrewnicols/moodle
Dan Poltawski [Mon, 29 Feb 2016 05:43:53 +0000 (13:43 +0800)]
Merge branch 'MDL-30811-master' of git://github.com/andrewnicols/moodle

5 years agoMDL-53206 caching: Remove accidental use of fullresult variable
Andrew Nicols [Mon, 29 Feb 2016 05:20:19 +0000 (13:20 +0800)]
MDL-53206 caching: Remove accidental use of fullresult variable

5 years agoMDL-48362 enrol: Use a standard UI and validation for enrolment plugins
Damyon Wiese [Tue, 11 Aug 2015 07:39:17 +0000 (15:39 +0800)]
MDL-48362 enrol: Use a standard UI and validation for enrolment plugins

Convert core enrolment plugins to use standard editing ui.

5 years agoMerge branch 'MDL-53208' of https://github.com/mr-russ/moodle
Dan Poltawski [Mon, 29 Feb 2016 02:29:09 +0000 (10:29 +0800)]
Merge branch 'MDL-53208' of https://github.com/mr-russ/moodle

5 years agoMerge branch 'MDL-53154-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Mon, 29 Feb 2016 02:13:06 +0000 (10:13 +0800)]
Merge branch 'MDL-53154-master' of git://github.com/junpataleta/moodle

5 years agoMDL-30811 core: Fix tests where continue button has been removed
Andrew Nicols [Tue, 16 Feb 2016 01:27:59 +0000 (09:27 +0800)]
MDL-30811 core: Fix tests where continue button has been removed

5 years agoMDL-30811 core: Replace use of continue_button with redirect
Andrew Nicols [Tue, 16 Feb 2016 00:52:22 +0000 (08:52 +0800)]
MDL-30811 core: Replace use of continue_button with redirect

5 years agoMDL-30811 forum: Update use of redirect to include message and type
Andrew Nicols [Tue, 16 Feb 2016 01:22:17 +0000 (09:22 +0800)]
MDL-30811 forum: Update use of redirect to include message and type

5 years agoMDL-30811 core: Make use of session notifications in redirect()
Andrew Nicols [Tue, 16 Feb 2016 00:49:42 +0000 (08:49 +0800)]
MDL-30811 core: Make use of session notifications in redirect()

5 years agoMDL-30811 output: Add support for session notifications
Andrew Nicols [Tue, 16 Feb 2016 00:48:39 +0000 (08:48 +0800)]
MDL-30811 output: Add support for session notifications

5 years agoMDL-46424 Upload: Error message for a file exceeding maxsize
Rushikesh [Sat, 13 Feb 2016 11:48:24 +0000 (17:18 +0530)]
MDL-46424 Upload: Error message for a file exceeding maxsize

5 years agoMerge branch 'wip-MDL-52397-master' of git://github.com/abgreeve/moodle
Andrew Nicols [Mon, 29 Feb 2016 00:33:41 +0000 (08:33 +0800)]
Merge branch 'wip-MDL-52397-master' of git://github.com/abgreeve/moodle

5 years agoMDL-30811 output: Tidy up notifications
Andrew Nicols [Tue, 16 Feb 2016 00:45:29 +0000 (08:45 +0800)]
MDL-30811 output: Tidy up notifications

5 years agoMDL-53213 caching: Faster databasemeta caching for all databases.
Russell Smith [Tue, 23 Feb 2016 07:13:57 +0000 (18:13 +1100)]
MDL-53213 caching: Faster databasemeta caching for all databases.

5 years agoMDL-53208 caching: Update serialization rules for performance.
Russell Smith [Tue, 23 Feb 2016 03:22:58 +0000 (14:22 +1100)]
MDL-53208 caching: Update serialization rules for performance.

- We only now serialize when required, eg when the store doesn't do it.
- static acceleration now serializes on set to reduce overhead on load.
- null now works in static acceleration as we use an array for storage metadata
- static acceleration delete uses isset rather than an array_search.

5 years agoMDL-53208 caching: Remove TTL wrapper on static acceleration.
Russell Smith [Tue, 23 Feb 2016 23:59:14 +0000 (10:59 +1100)]
MDL-53208 caching: Remove TTL wrapper on static acceleration.

TTL is only updated between script runs.  If it's valid
when it's added to static acceleration, it will be valid
for the entire script run.

5 years agoMDL-53208 caching: parse_key not required for static cache.
Russell Smith [Tue, 23 Feb 2016 23:03:26 +0000 (10:03 +1100)]
MDL-53208 caching: parse_key not required for static cache.

static cache operates on a single cache instance, it can't share
with others and can use the supplied key immediately.

5 years agoMDL-53208 caching: Update serialization rules for performance.
Russell Smith [Tue, 23 Feb 2016 03:22:58 +0000 (14:22 +1100)]
MDL-53208 caching: Update serialization rules for performance.

- We only now serialize when required, eg when the store doesn't do it.
- static acceleration now serializes on set to reduce overhead on load.
- null now works in static acceleration as we use an array for storage metadata
- static acceleration delete uses isset rather than an array_search.

5 years agoMDL-53208 caching: Enable dereferencing as a feature.
Russell Smith [Tue, 23 Feb 2016 02:22:48 +0000 (13:22 +1100)]
MDL-53208 caching: Enable dereferencing as a feature.

If the cache does all the dereferencing when it stores and loads
the objects, then the cache loaders don't need to do that work.
This is true of all caches that use something other than PHP's memory
to store their results.

5 years agoMDL-53206 caching: Ensure get_many and set_many dereference objects.
Russell Smith [Tue, 23 Feb 2016 00:48:05 +0000 (11:48 +1100)]
MDL-53206 caching: Ensure get_many and set_many dereference objects.

5 years agoMDL-53263 forum: Add anchor to reply by email confirmation link
Brendan Heywood [Sat, 27 Feb 2016 12:39:59 +0000 (23:39 +1100)]
MDL-53263 forum: Add anchor to reply by email confirmation link

5 years agoMDL-53172 core: adjust CSS for inplace_editable
Marina Glancy [Fri, 26 Feb 2016 01:52:23 +0000 (09:52 +0800)]
MDL-53172 core: adjust CSS for inplace_editable

5 years agoMDL-53172 javascript: Fix coding style violations
Andrew Nicols [Thu, 25 Feb 2016 04:30:06 +0000 (12:30 +0800)]
MDL-53172 javascript: Fix coding style violations

5 years agoMDL-53172 javascript: Stop requiring body manipulation on load
Andrew Nicols [Thu, 25 Feb 2016 04:22:52 +0000 (12:22 +0800)]
MDL-53172 javascript: Stop requiring body manipulation on load

5 years agoMDL-53172 core: toggle and select in inplace_editable
Marina Glancy [Fri, 19 Feb 2016 14:47:02 +0000 (22:47 +0800)]
MDL-53172 core: toggle and select in inplace_editable

5 years agoMDL-52809 wiki: Add tests for mod_wiki_get_subwikis
Dani Palou [Thu, 4 Feb 2016 08:58:28 +0000 (09:58 +0100)]
MDL-52809 wiki: Add tests for mod_wiki_get_subwikis

5 years agoMDL-52809 wiki: New WS mod_wiki_get_subwikis
Dani Palou [Tue, 19 Jan 2016 09:01:48 +0000 (10:01 +0100)]
MDL-52809 wiki: New WS mod_wiki_get_subwikis

5 years agoMDL-53050 mod_forum: Add anchor target highlight style
Brendan Heywood [Thu, 25 Feb 2016 10:13:11 +0000 (21:13 +1100)]
MDL-53050 mod_forum: Add anchor target highlight style

5 years agoMDL-53072 group: minor changes to existing code
Mark Nelson [Thu, 11 Feb 2016 03:18:47 +0000 (11:18 +0800)]
MDL-53072 group: minor changes to existing code

1) Tidied up conditional check and put additional variable on new line.
2) Prevented change of the default behaviour for 'groups_get_potential_members()'.
3) Added another behat test.

5 years agoMDL-53072 group: added related behat tests
Rex Lorenzo [Thu, 4 Dec 2014 07:39:19 +0000 (23:39 -0800)]
MDL-53072 group: added related behat tests

5 years agoMDL-53072 group: added 'only active' option when auto-creating groups
Niclas Tollstorff [Thu, 11 Feb 2016 02:23:22 +0000 (10:23 +0800)]
MDL-53072 group: added 'only active' option when auto-creating groups

5 years agoMDL-53249 atto: Make sure all editors see end move event
Eric Merrill [Fri, 26 Feb 2016 02:37:16 +0000 (21:37 -0500)]
MDL-53249 atto: Make sure all editors see end move event

5 years agoMDL-52346 caching: Allow localstorage as a cache option.
Russell Smith [Tue, 24 Nov 2015 08:27:25 +0000 (19:27 +1100)]
MDL-52346 caching: Allow localstorage as a cache option.

We display a notification on screen during configuration telling
the administrator if it's safe to map this store to a local storage
cache or not.

5 years agoMDL-50794 workshop: Improve the file type restricting implementation
David Mudrák [Wed, 24 Feb 2016 15:49:32 +0000 (16:49 +0100)]
MDL-50794 workshop: Improve the file type restricting implementation

This is basically a clean up and what I think improved version of the
original Mahmoud's patch.

The actual checking for allowed file extensions has been re-implemented
and is now covered by unit tests. The list of allowed extensions is now
also assed to the filemanager element's accepted_types option to prevent
picking other files (we still need the in-place validation though). The
form validation is simplified a bit. The custom validation of file size
introduced in the previous patch has been removed as not related to this
issue (also I believe it should not be done at this level).

5 years agoMDL-50794 workshop: Allow restricting submitted file types
M Kassaei [Thu, 17 Dec 2015 10:00:48 +0000 (10:00 +0000)]
MDL-50794 workshop: Allow restricting submitted file types

It was reported at the Open University that there have been some
problems with the formats of files submitted by students. Not all
students completed their outlines as a Word .doc (despite this being the
format of the template provided). Some formats (e.g. .pages) couldn’t be
translated by some of the reviewing students. Therefore, they were
unable to provide a review and the submitting students not receiving any
comments.

This patch allows the teacher to define list of allowed file types that
can be attached to submitted work and/or overall feedback in the
workshop.

5 years agoMDL-50175 graphics: Optimized SVGs with SVGO.
KeenRivals [Sat, 20 Feb 2016 20:22:19 +0000 (15:22 -0500)]
MDL-50175 graphics: Optimized SVGs with SVGO.

5 years agoMDL-50175 graphics: Optimized PNG images with optipng
KeenRivals [Sat, 20 Feb 2016 20:16:00 +0000 (15:16 -0500)]
MDL-50175 graphics: Optimized PNG images with optipng

Used options: -o7 -strip all and advdef -z4 -i50.

(With ./lib excluded)

5 years agoMDL-52936 theme_bootstrapbase: Fix link hover bug on iOS
Mark Johnson [Thu, 25 Feb 2016 11:38:11 +0000 (11:38 +0000)]
MDL-52936 theme_bootstrapbase: Fix link hover bug on iOS

5 years agoMDL-52965 medialib: fix preload attribute
Davo Smith [Mon, 1 Feb 2016 16:05:22 +0000 (16:05 +0000)]
MDL-52965 medialib: fix preload attribute

5 years agoweekly release 3.1dev
Andrew Nicols [Thu, 25 Feb 2016 05:52:15 +0000 (13:52 +0800)]
weekly release 3.1dev

5 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Andrew Nicols [Thu, 25 Feb 2016 05:52:11 +0000 (13:52 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

5 years agoMerge branch 'MDL-45104-master-fix' of github.com:xow/moodle
Andrew Nicols [Thu, 25 Feb 2016 02:14:06 +0000 (10:14 +0800)]
Merge branch 'MDL-45104-master-fix' of github.com:xow/moodle

5 years agoMDL-45104 logging: Check if legacy log is enabled
John Okely [Thu, 25 Feb 2016 02:00:02 +0000 (10:00 +0800)]
MDL-45104 logging: Check if legacy log is enabled

5 years agoMDL-45104 logging: Fix spelling of writing
John Okely [Thu, 25 Feb 2016 01:59:28 +0000 (09:59 +0800)]
MDL-45104 logging: Fix spelling of writing

5 years agoMerge branch 'wip-mdl-49324' of https://github.com/rajeshtaneja/moodle
Andrew Nicols [Thu, 25 Feb 2016 01:53:43 +0000 (09:53 +0800)]
Merge branch 'wip-mdl-49324' of https://github.com/rajeshtaneja/moodle

5 years agoMDL-49324 behat: Use singleselect step to select user
Rajesh Taneja [Thu, 25 Feb 2016 01:49:24 +0000 (09:49 +0800)]
MDL-49324 behat: Use singleselect step to select user

5 years agoAutomatically generated installer lang files
AMOS bot [Wed, 24 Feb 2016 16:11:21 +0000 (00:11 +0800)]
Automatically generated installer lang files

5 years agoMDL-53027 calendar: Fix false empty result from calendar_get_events().
David Balch [Mon, 8 Feb 2016 11:42:28 +0000 (11:42 +0000)]
MDL-53027 calendar: Fix false empty result from calendar_get_events().

5 years agoMerge branch 'MDL-53071-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Wed, 24 Feb 2016 10:01:15 +0000 (11:01 +0100)]
Merge branch 'MDL-53071-master' of git://github.com/junpataleta/moodle

5 years agoMDL-45104 admin: convert error to warning
Dan Poltawski [Wed, 24 Feb 2016 08:29:41 +0000 (08:29 +0000)]
MDL-45104 admin: convert error to warning

5 years agoMDL-52397 mod_assign: Unit tests for feedback plugins.
Adrian Greeve [Tue, 9 Feb 2016 07:00:53 +0000 (15:00 +0800)]
MDL-52397 mod_assign: Unit tests for feedback plugins.

Testing that the new method is_feedback_modified() works
as it should with the standard plugins.

5 years agoMDL-52397 mod_assign: Added new method to feedback plugins.
Adrian Greeve [Thu, 28 Jan 2016 04:05:35 +0000 (12:05 +0800)]
MDL-52397 mod_assign: Added new method to feedback plugins.

Added a method to the feedback plugins to check if feedback
has been modified. This allows for a more accurate record
of when the grade has been modified.

5 years agoMerge branch 'MDL-49324-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 24 Feb 2016 06:55:51 +0000 (07:55 +0100)]
Merge branch 'MDL-49324-master' of git://github.com/andrewnicols/moodle

5 years agoMDL-49324 grade: Ensure report appears in breadcrumbs
Andrew Nicols [Mon, 1 Feb 2016 05:23:41 +0000 (13:23 +0800)]
MDL-49324 grade: Ensure report appears in breadcrumbs

5 years agoMDL-49324 gradereport_singleview: Fix unit tests
Andrew Nicols [Mon, 1 Feb 2016 03:46:43 +0000 (11:46 +0800)]
MDL-49324 gradereport_singleview: Fix unit tests

5 years agoMDL-49324 grades: Remove old variable usage
Andrew Nicols [Fri, 29 Jan 2016 07:03:57 +0000 (15:03 +0800)]
MDL-49324 grades: Remove old variable usage

5 years agoMDL-49324 grades: Remove unnecessary @javascript tag from tests
Andrew Nicols [Fri, 29 Jan 2016 06:19:23 +0000 (14:19 +0800)]
MDL-49324 grades: Remove unnecessary @javascript tag from tests

5 years agoMDL-49324 grade: Ensure weights adjusted message is displayed
Andrew Nicols [Mon, 1 Feb 2016 01:05:05 +0000 (09:05 +0800)]
MDL-49324 grade: Ensure weights adjusted message is displayed

The grade settings page displays a message to inform users that weights
have been adjusted if they did not previously add up to the required 100%.

With the change to sometimes displaying a progress bar, whether the message
is displayed must be calculated immediately after the regrade took place,
and before the page redirects.

I have added a callback with arguments to the regrade_if_required function
which is called immediately after regrade has taken place (regardless of
whether the progress bar is required).

This callback modifies the PAGE URL such that the redirect message will be
displayed after the redirect. This does not use the session as the message
should only be displayed immediately after a change. If the user does not
click on the continue button after the progress bar has been displayed, and
comes back to the page later, this may be confusing.

5 years agoMDL-49324 grades: Remove category aggregation change backend
Andrew Nicols [Fri, 29 Jan 2016 06:03:34 +0000 (14:03 +0800)]
MDL-49324 grades: Remove category aggregation change backend

The UI for this was removed several releases ago and this code is no longer
called.

5 years agoMDL-49324 gradereport_singleview: Correct url params supplied to PAGE
Andrew Nicols [Fri, 29 Jan 2016 06:02:39 +0000 (14:02 +0800)]
MDL-49324 gradereport_singleview: Correct url params supplied to PAGE

5 years agoMDL-49324 grades: Create helper function for regrading on report view
Andrew Nicols [Fri, 29 Jan 2016 06:02:03 +0000 (14:02 +0800)]
MDL-49324 grades: Create helper function for regrading on report view

5 years agoMerge branch 'MDL-31989_admin-performance' of git://github.com/dmonllao/moodle
Andrew Nicols [Wed, 24 Feb 2016 03:05:41 +0000 (11:05 +0800)]
Merge branch 'MDL-31989_admin-performance' of git://github.com/dmonllao/moodle

5 years agoMDL-31989 admin: Search admin settings only when needed
David Monllao [Wed, 24 Feb 2016 02:46:15 +0000 (10:46 +0800)]
MDL-31989 admin: Search admin settings only when needed

5 years agoMerge branch 'wip-mdl-52996' of https://github.com/rajeshtaneja/moodle
Andrew Nicols [Wed, 24 Feb 2016 02:38:17 +0000 (10:38 +0800)]
Merge branch 'wip-mdl-52996' of https://github.com/rajeshtaneja/moodle

5 years agoMDL-53214 grades: Ensure grader report correctly labels fields.
Cameron Ball [Wed, 24 Feb 2016 02:30:43 +0000 (10:30 +0800)]
MDL-53214 grades: Ensure grader report correctly labels fields.

The editable fields for the grader report should have unique labels.
Previously category grade items were not being labelled with the
category name.

5 years agoMDL-52996 Atto: Only check if plugins are loaded
Rajesh Taneja [Wed, 24 Feb 2016 02:09:15 +0000 (10:09 +0800)]
MDL-52996 Atto: Only check if plugins are loaded

Atto bold using behat with phantomjs doesn't work.
In this case there is no need to test plugin functionality.
Only checking if plugin is loaded in toolbar is sufficient.