moodle.git
6 years agoMerge branch 'MDL-55170_master' of https://github.com/nadavkav/moodle
David Monllao [Tue, 12 Jul 2016 08:30:31 +0000 (10:30 +0200)]
Merge branch 'MDL-55170_master' of https://github.com/nadavkav/moodle

Conflicts:
theme/bootstrapbase/style/moodle.css

6 years agoMerge branch 'MDL-55007-master' of https://github.com/dthies/moodle
Dan Poltawski [Tue, 12 Jul 2016 08:20:15 +0000 (09:20 +0100)]
Merge branch 'MDL-55007-master' of https://github.com/dthies/moodle

6 years agoMerge branch 'MDL-55134-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Tue, 12 Jul 2016 00:53:58 +0000 (02:53 +0200)]
Merge branch 'MDL-55134-master' of git://github.com/danpoltawski/moodle

6 years agoMDL-5507 filter_mathjaxloader: Add commeents for regexes
Daniel Thies [Mon, 11 Jul 2016 18:20:41 +0000 (13:20 -0500)]
MDL-5507 filter_mathjaxloader: Add commeents for regexes

6 years agoMerge branch 'MDL-54926-master' of git://github.com/merrill-oakland/moodle
Dan Poltawski [Mon, 11 Jul 2016 15:54:40 +0000 (16:54 +0100)]
Merge branch 'MDL-54926-master' of git://github.com/merrill-oakland/moodle

6 years agoMerge branch 'MDL-54944-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Mon, 11 Jul 2016 14:50:51 +0000 (16:50 +0200)]
Merge branch 'MDL-54944-master' of git://github.com/danpoltawski/moodle

6 years agoMerge branch 'MDL-55082-master' of git://github.com/merrill-oakland/moodle
Dan Poltawski [Mon, 11 Jul 2016 14:20:48 +0000 (15:20 +0100)]
Merge branch 'MDL-55082-master' of git://github.com/merrill-oakland/moodle

6 years agoMerge branch 'wip-MDL-54962-master' of git://github.com/abgreeve/moodle
David Monllao [Mon, 11 Jul 2016 14:15:48 +0000 (16:15 +0200)]
Merge branch 'wip-MDL-54962-master' of git://github.com/abgreeve/moodle

6 years agoMerge branch 'MDL-18599-master' of git://github.com/junpataleta/moodle
David Monllao [Mon, 11 Jul 2016 13:59:44 +0000 (15:59 +0200)]
Merge branch 'MDL-18599-master' of git://github.com/junpataleta/moodle

6 years agoMerge branch 'MDL-49029_m32v2' of https://github.com/sbourget/moodle
David Monllao [Mon, 11 Jul 2016 13:50:29 +0000 (15:50 +0200)]
Merge branch 'MDL-49029_m32v2' of https://github.com/sbourget/moodle

6 years agoMerge branch 'MDL-55112-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Mon, 11 Jul 2016 13:42:06 +0000 (14:42 +0100)]
Merge branch 'MDL-55112-master' of git://github.com/junpataleta/moodle

6 years agoMDL-18599 mod_forum: Hide single discussion owner's name and picture
Jun Pataleta [Fri, 1 Jul 2016 08:56:16 +0000 (16:56 +0800)]
MDL-18599 mod_forum: Hide single discussion owner's name and picture

* On the discussion's page.
* On the recent activity block.
* On the recent activity page.

6 years agoMerge branch 'MDL-55137-master' of git://github.com/cameron1729/moodle
Dan Poltawski [Mon, 11 Jul 2016 13:37:56 +0000 (14:37 +0100)]
Merge branch 'MDL-55137-master' of git://github.com/cameron1729/moodle

6 years agoMDL-55048 cli: Add example using new cool options
David Monllao [Mon, 11 Jul 2016 13:15:40 +0000 (15:15 +0200)]
MDL-55048 cli: Add example using new cool options

Also added short option for ignore password policy.

6 years agoMerge branch 'MDL-55084' of git://github.com/prg3/moodle
David Monllao [Mon, 11 Jul 2016 13:06:38 +0000 (15:06 +0200)]
Merge branch 'MDL-55084' of git://github.com/prg3/moodle

6 years agoMerge branch 'MDL-55128-master' of git://github.com/jleyva/moodle
Dan Poltawski [Mon, 11 Jul 2016 12:33:23 +0000 (13:33 +0100)]
Merge branch 'MDL-55128-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'wip-MDL-55154-master' of git://github.com/abgreeve/moodle
Dan Poltawski [Mon, 11 Jul 2016 12:31:24 +0000 (13:31 +0100)]
Merge branch 'wip-MDL-55154-master' of git://github.com/abgreeve/moodle

6 years agoMerge branch 'MDL-51373-master' of git://github.com/jleyva/moodle
David Monllao [Mon, 11 Jul 2016 11:58:34 +0000 (13:58 +0200)]
Merge branch 'MDL-51373-master' of git://github.com/jleyva/moodle

6 years agoMDL-54944 eslint: make the .eslintrc default stricter
Dan Poltawski [Wed, 29 Jun 2016 15:31:31 +0000 (16:31 +0100)]
MDL-54944 eslint: make the .eslintrc default stricter

Instead of using the more rollup-tolerant config for all files, make the
configuration stricter by default but lower in grunt for yui modules.

This means that manual runs (prechecker) or editor integrations will
flag up the errors as well as grunt.

Also add ignore lines to the core files so that eslint isn't noisy when
not running with grunt.

6 years agoMDL-51373 grade: Deprecate WS core_grade_get_grades
Juan Leyva [Fri, 1 Jul 2016 12:27:39 +0000 (13:27 +0100)]
MDL-51373 grade: Deprecate WS core_grade_get_grades

6 years agoMerge branch 'MDL-53222_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 11 Jul 2016 10:42:41 +0000 (11:42 +0100)]
Merge branch 'MDL-53222_master' of git://github.com/dmonllao/moodle

6 years agoMDL-53222 search: Replace report_search by new searchareas admin page
David Monllao [Fri, 20 May 2016 07:01:52 +0000 (15:01 +0800)]
MDL-53222 search: Replace report_search by new searchareas admin page

6 years agoMDL-53222 admin: rejig listing of search areas
Dan Poltawski [Fri, 8 Apr 2016 15:23:12 +0000 (16:23 +0100)]
MDL-53222 admin: rejig listing of search areas

6 years agoMDL-53222 report_search: Delete from core
David Monllao [Fri, 20 May 2016 07:04:17 +0000 (15:04 +0800)]
MDL-53222 report_search: Delete from core

6 years agoMerge branch 'MDL-54832-master' of https://github.com/nashtechdev01/moodle
David Monllao [Mon, 11 Jul 2016 04:47:13 +0000 (06:47 +0200)]
Merge branch 'MDL-54832-master' of https://github.com/nashtechdev01/moodle

6 years agoMDL-55170 theme_bootstrapbase: Fix user enrollment dialog, RTL
Nadav Kavalerchik [Sat, 9 Jul 2016 11:52:21 +0000 (14:52 +0300)]
MDL-55170 theme_bootstrapbase: Fix user enrollment dialog, RTL

6 years agoMDL-54962 mod_data: Approval status is now translated.
Adrian Greeve [Fri, 8 Jul 2016 02:53:39 +0000 (10:53 +0800)]
MDL-54962 mod_data: Approval status is now translated.

It was using hardcoded English. Now it uses get_string.

6 years agoMDL-55154 mod_lesson: Lesson numerical response shows images.
Adrian Greeve [Fri, 8 Jul 2016 01:48:39 +0000 (09:48 +0800)]
MDL-55154 mod_lesson: Lesson numerical response shows images.

6 years agoMDL-55007 filter_mathjaxloader: Change unit test
Daniel Thies [Sat, 25 Jun 2016 12:58:11 +0000 (07:58 -0500)]
MDL-55007 filter_mathjaxloader: Change unit test

6 years agoMDL-55007 filter_mathjaxloader: Wrap nolink around each expresssion
Daniel Thies [Thu, 7 Jul 2016 23:58:15 +0000 (18:58 -0500)]
MDL-55007 filter_mathjaxloader: Wrap nolink around each expresssion

6 years agoMDL-49029 mod_choice: Add view permissions
Stephen Bourget [Thu, 7 Jul 2016 19:10:17 +0000 (15:10 -0400)]
MDL-49029 mod_choice: Add view permissions

6 years agoMDL-55134 less: make indentation consistent
Dan Poltawski [Tue, 5 Jul 2016 15:23:09 +0000 (16:23 +0100)]
MDL-55134 less: make indentation consistent

6 years agoMDL-54944 js: built files after changes
Dan Poltawski [Wed, 29 Jun 2016 14:42:36 +0000 (15:42 +0100)]
MDL-54944 js: built files after changes

6 years agoMDL-54944 js: ensure functions are consistent in return val
Dan Poltawski [Wed, 29 Jun 2016 14:11:37 +0000 (15:11 +0100)]
MDL-54944 js: ensure functions are consistent in return val

Mostly we are being incosnistent when giving an early-exit shortcut.

Detected by http://eslint.org/docs/rules/consistent-return

6 years agoMDL-54944 js: split variable intialisations in multiple lines
Dan Poltawski [Wed, 29 Jun 2016 13:51:07 +0000 (14:51 +0100)]
MDL-54944 js: split variable intialisations in multiple lines

To increase code clarity, we don't allow multiple intilisations to be
confused with each other.

Detected by http://eslint.org/docs/rules/one-var-declaration-per-line

6 years agoMDL-54944 js: remove uncessary .call() uses
Dan Poltawski [Tue, 28 Jun 2016 21:40:29 +0000 (22:40 +0100)]
MDL-54944 js: remove uncessary .call() uses

Detected by http://eslint.org/docs/rules/no-useless-call

6 years agoMDL-54944 js: Remove uncessary bind() calls
Dan Poltawski [Tue, 28 Jun 2016 21:34:44 +0000 (22:34 +0100)]
MDL-54944 js: Remove uncessary bind() calls

Most of these cases, we are already capturing this in a temporary
variable, so the bind becomes uncessary.

Discovered by http://eslint.org/docs/rules/no-extra-bind

6 years agoMDL-54944 js: fix quoting of object properities coding style
Dan Poltawski [Tue, 28 Jun 2016 21:21:18 +0000 (22:21 +0100)]
MDL-54944 js: fix quoting of object properities coding style

Detected by http://eslint.org/docs/rules/quote-props

6 years agoMDL-54944 js: Fix spacing of objects coding style
Dan Poltawski [Tue, 28 Jun 2016 21:07:25 +0000 (22:07 +0100)]
MDL-54944 js: Fix spacing of objects coding style

Fixed by http://eslint.org/docs/rules/object-curly-spacing

6 years agoMDL-54944 eslint: Add rules from Policy decision
Dan Poltawski [Tue, 28 Jun 2016 20:03:27 +0000 (21:03 +0100)]
MDL-54944 eslint: Add rules from Policy decision

Also bump eslint to v2.13.1 and make the version explicit in
package.json

6 years agoweekly release 3.2dev
Eloy Lafuente (stronk7) [Thu, 7 Jul 2016 08:19:49 +0000 (10:19 +0200)]
weekly release 3.2dev

6 years agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Thu, 7 Jul 2016 08:19:45 +0000 (10:19 +0200)]
NOBUG: Fixed SVG browser compatibility

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

6 years agoMerge branch 'wip-mdl-55043' of https://github.com/rajeshtaneja/moodle
Andrew Nicols [Thu, 7 Jul 2016 03:27:58 +0000 (11:27 +0800)]
Merge branch 'wip-mdl-55043' of https://github.com/rajeshtaneja/moodle

6 years agoMDL-55043 core_competency: Sort by id to ensure we get expected result.
Rajesh Taneja [Wed, 6 Jul 2016 07:11:15 +0000 (15:11 +0800)]
MDL-55043 core_competency: Sort by id to ensure we get expected result.

6 years agoMerge branch 'MDL-54869-master' of git://github.com/jleyva/moodle
Andrew Nicols [Thu, 7 Jul 2016 02:30:17 +0000 (10:30 +0800)]
Merge branch 'MDL-54869-master' of git://github.com/jleyva/moodle

6 years agoMDL-55084 admin: CLI driven password reset
Paul Greidanus [Wed, 6 Jul 2016 01:43:37 +0000 (19:43 -0600)]
MDL-55084 admin: CLI driven password reset

This patch allows for changing a user's password via the command line.
This allows for scripted password changes easily.

6 years agoMerge branch 'wip-MDL-46682-master' of git://github.com/abgreeve/moodle
Eloy Lafuente (stronk7) [Wed, 6 Jul 2016 11:50:12 +0000 (13:50 +0200)]
Merge branch 'wip-MDL-46682-master' of git://github.com/abgreeve/moodle

6 years agoMDL-55137: Update PHPDoc for external_format_text
Cameron Ball [Wed, 6 Jul 2016 09:48:07 +0000 (17:48 +0800)]
MDL-55137: Update PHPDoc for external_format_text

6 years agoMDL-54934 workshop: ensure "Current phase" is always separated
Eloy Lafuente (stronk7) [Wed, 6 Jul 2016 09:30:40 +0000 (11:30 +0200)]
MDL-54934 workshop: ensure "Current phase" is always separated

Apparently some readers can join 2 adjacent spans completely, simply
adding a whitespace between them prevents that, ensuring separation.,

6 years agoMDL-41945 mod_assign: Add empty submission check
Cameron Ball [Wed, 6 Jul 2016 08:59:18 +0000 (16:59 +0800)]
MDL-41945 mod_assign: Add empty submission check

6 years agoMDL-46682 auth/db: Increase of chunk size and update change.
Adrian Greeve [Wed, 6 Jul 2016 01:48:37 +0000 (09:48 +0800)]
MDL-46682 auth/db: Increase of chunk size and update change.

The update query was not checking the mnet auth id and could
have been updating the wrong entry.

6 years agoMerge branch 'MDL-54734-master' of git://github.com/lameze/moodle
Andrew Nicols [Wed, 6 Jul 2016 07:01:06 +0000 (15:01 +0800)]
Merge branch 'MDL-54734-master' of git://github.com/lameze/moodle

6 years agoMerge branch 'MDL-53495' of https://github.com/mr-russ/moodle
Andrew Nicols [Wed, 6 Jul 2016 05:29:18 +0000 (13:29 +0800)]
Merge branch 'MDL-53495' of https://github.com/mr-russ/moodle

6 years agoMDL-54734 core_user: do not cache dummy user records
Simey Lameze [Wed, 8 Jun 2016 02:18:45 +0000 (10:18 +0800)]
MDL-54734 core_user: do not cache dummy user records

6 years agoMDL-53495 database xmldb: Ensure field tests use constant.
Russell Smith [Wed, 6 Jul 2016 04:42:59 +0000 (14:42 +1000)]
MDL-53495 database xmldb: Ensure field tests use constant.

Some tests were still using hard coded values which break
if the constants are changed.

6 years agoMerge branch 'MDL-54165-master' of git://github.com/ryanwyllie/moodle
Andrew Nicols [Wed, 6 Jul 2016 04:01:51 +0000 (12:01 +0800)]
Merge branch 'MDL-54165-master' of git://github.com/ryanwyllie/moodle

6 years agoMDL-54165 mod_assign: Fix doc in grading_events.js
Ryan Wyllie [Wed, 6 Jul 2016 03:42:25 +0000 (03:42 +0000)]
MDL-54165 mod_assign: Fix doc in grading_events.js

6 years agoMDL-54844 mod_glossary: Don't append AND as it's done later
Rajesh Taneja [Wed, 6 Jul 2016 03:17:41 +0000 (11:17 +0800)]
MDL-54844 mod_glossary: Don't append AND as it's done later

6 years agoMerge branch 'MDL-54165-master' of git://github.com/ryanwyllie/moodle
Andrew Nicols [Wed, 6 Jul 2016 03:04:40 +0000 (11:04 +0800)]
Merge branch 'MDL-54165-master' of git://github.com/ryanwyllie/moodle

6 years agoMDL-54165 mod_assign: Collapsible review and grade panel
Ryan Wyllie [Fri, 20 May 2016 08:15:20 +0000 (08:15 +0000)]
MDL-54165 mod_assign: Collapsible review and grade panel

6 years agoMDL-54734 user: Add tests to demonstrate multi-user issues
Andrew Nicols [Thu, 26 May 2016 05:57:31 +0000 (13:57 +0800)]
MDL-54734 user: Add tests to demonstrate multi-user issues

6 years agoMDL-54844 mod_glossary: Limiting of glossary searching.
Adrian Greeve [Thu, 9 Jun 2016 05:58:59 +0000 (13:58 +0800)]
MDL-54844 mod_glossary: Limiting of glossary searching.

Searching of the glossary was returning results from all
glossaries on the site. It has now been returned to just
the glossary that you are currently viewing.

6 years agoMerge branch 'wip-mdl-55043' of https://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Wed, 6 Jul 2016 01:19:08 +0000 (03:19 +0200)]
Merge branch 'wip-mdl-55043' of https://github.com/rajeshtaneja/moodle

6 years agoMDL-46682 auth/db: IN clause crashes when too many users to sync
Jerome Mouneyrac [Tue, 5 Aug 2014 10:30:29 +0000 (18:30 +0800)]
MDL-46682 auth/db: IN clause crashes when too many users to sync

6 years agoMDL-55043 core_competency: Set proper sort order for each field
Rajesh Taneja [Mon, 4 Jul 2016 05:01:17 +0000 (13:01 +0800)]
MDL-55043 core_competency: Set proper sort order for each field

6 years agoMerge branch 'wip-mdl-54860-m' of https://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 23:42:34 +0000 (01:42 +0200)]
Merge branch 'wip-mdl-54860-m' of https://github.com/rajeshtaneja/moodle

6 years agoMDL-54860 behat: Stop execution if setup problem found
Rajesh Taneja [Wed, 29 Jun 2016 05:34:11 +0000 (13:34 +0800)]
MDL-54860 behat: Stop execution if setup problem found

6 years agoMDL-54951 webservice: Add upgrade notes for external_files
Andrew Nicols [Tue, 5 Jul 2016 23:21:32 +0000 (07:21 +0800)]
MDL-54951 webservice: Add upgrade notes for external_files

6 years agoMerge branch 'MDL-54857-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 22:03:39 +0000 (00:03 +0200)]
Merge branch 'MDL-54857-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-54856-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 19:18:41 +0000 (21:18 +0200)]
Merge branch 'MDL-54856-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-54955-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 19:15:31 +0000 (21:15 +0200)]
Merge branch 'MDL-54955-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-54800-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 19:10:28 +0000 (21:10 +0200)]
Merge branch 'MDL-54800-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-54602-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 18:59:52 +0000 (20:59 +0200)]
Merge branch 'MDL-54602-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-54934-master' of https://github.com/nashtechdev01/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 18:44:14 +0000 (20:44 +0200)]
Merge branch 'MDL-54934-master' of https://github.com/nashtechdev01/moodle

6 years agoMerge branch 'MDL-54867-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 18:25:54 +0000 (20:25 +0200)]
Merge branch 'MDL-54867-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-49244-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 18:16:44 +0000 (20:16 +0200)]
Merge branch 'MDL-49244-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-54795_master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 18:10:33 +0000 (20:10 +0200)]
Merge branch 'MDL-54795_master' of https://github.com/snake/moodle

6 years agoMDL-55000 grade: Use correct component names + minor jsdocs
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 17:59:24 +0000 (19:59 +0200)]
MDL-55000 grade: Use correct component names + minor jsdocs

Note the js_call_amd() call still is using incorrect 'grades'
as component name where it should be core_grades. That will be
fixed by MDL-55133.

6 years agoMerge branch 'MDL-55000-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 17:35:56 +0000 (19:35 +0200)]
Merge branch 'MDL-55000-master' of git://github.com/andrewnicols/moodle

6 years agoMerge branch 'MDL-29738-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 15:05:28 +0000 (17:05 +0200)]
Merge branch 'MDL-29738-master' of git://github.com/andrewnicols/moodle

6 years agoMDL-54832 workshop: adding landmark for userplantable
Loc Nguyen [Tue, 21 Jun 2016 08:56:38 +0000 (15:56 +0700)]
MDL-54832 workshop: adding landmark for userplantable

Accessibility enhance: add an aria-label on the userplan table so
that it's accessible to me through my screen reader

6 years agoMDL-55000 grade: Convert remaining YUI2 -> AMD
Andrew Nicols [Thu, 23 Jun 2016 05:04:17 +0000 (13:04 +0800)]
MDL-55000 grade: Convert remaining YUI2 -> AMD

6 years agoMDL-29738 file: Remove unused stylesheet functionality
Andrew Nicols [Mon, 4 Jul 2016 07:25:28 +0000 (15:25 +0800)]
MDL-29738 file: Remove unused stylesheet functionality

This functionality was commented out in
78946b9bdb1299a21f00b88d81c73ad8700c951e for MDL-20204 back in 2009.
Since then it has been wasting cycles performing utterly pointless
preg_match and preg_replace calls.

The decision has been made to deprecate it in stables, and remove it in
3.2.

6 years agoMerge branch 'MDL-55114-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 10:44:52 +0000 (12:44 +0200)]
Merge branch 'MDL-55114-master' of git://github.com/andrewnicols/moodle

6 years agoMerge branch 'MDL-55113-master' of git://github.com/dpalou/moodle
Eloy Lafuente (stronk7) [Tue, 5 Jul 2016 10:21:46 +0000 (12:21 +0200)]
Merge branch 'MDL-55113-master' of git://github.com/dpalou/moodle

6 years agoMerge branch 'MDL-54928-master' of git://github.com/dpalou/moodle
Dan Poltawski [Tue, 5 Jul 2016 10:20:07 +0000 (11:20 +0100)]
Merge branch 'MDL-54928-master' of git://github.com/dpalou/moodle

6 years agoMerge branch 'MDL-54841-master' of https://github.com/nashtechdev01/moodle
Dan Poltawski [Tue, 5 Jul 2016 10:06:38 +0000 (11:06 +0100)]
Merge branch 'MDL-54841-master' of https://github.com/nashtechdev01/moodle

6 years agoMDL-55128 course: Fix param type for shortname
Juan Leyva [Tue, 5 Jul 2016 08:50:32 +0000 (09:50 +0100)]
MDL-55128 course: Fix param type for shortname

6 years agoMDL-54928 notifications: Add username to emailto users
Dani Palou [Tue, 5 Jul 2016 08:34:52 +0000 (10:34 +0200)]
MDL-54928 notifications: Add username to emailto users

6 years agoMDL-54869 webservice: Fix core_user_add_user_private_files
Juan Leyva [Wed, 29 Jun 2016 15:41:25 +0000 (16:41 +0100)]
MDL-54869 webservice: Fix core_user_add_user_private_files

6 years agoMDL-54869 files: Create new required functions
Juan Leyva [Wed, 15 Jun 2016 07:50:07 +0000 (08:50 +0100)]
MDL-54869 files: Create new required functions

This was a complex change requiring three new functions:
file_merge_files_from_draft_area_into_filearea - To just add files from a draft area into a real one (just adding or updating, not deleting)
file_merge_draft_area_into_draft_area - To merge files from two draft areas, used by the latest for creating a draft area with all the original files plus the new ones.
file_overwrite_existing_draftfile - Required to update existing files not losing metadata or references.

The whole process is the following:

    User uploads a file (upload.php)
    Client gets a new draftid A containing the file only (return of upload.php)
    Client requests to merge that draftid in the user's private files (core_user_add_user_private_files)
    Server prepares a new UNUSED draftid B from existing area
    Server merges A into B
    Server saves the draft B into the final area

6 years agoMDL-54869 files: Fix file_save_draft_area_files documentation
Juan Leyva [Tue, 14 Jun 2016 14:10:59 +0000 (15:10 +0100)]
MDL-54869 files: Fix file_save_draft_area_files documentation

6 years agoMerge branch 'MDL-53495' of https://github.com/mr-russ/moodle
Andrew Nicols [Tue, 5 Jul 2016 07:07:21 +0000 (15:07 +0800)]
Merge branch 'MDL-53495' of https://github.com/mr-russ/moodle

6 years agoMDL-54841 workshop: Combine links for attachment icon and text.
An Pham Van [Tue, 21 Jun 2016 09:49:14 +0000 (16:49 +0700)]
MDL-54841 workshop: Combine links for attachment icon and text.

In a workshop activity, on the view submission page where having attachment(s), there's an accessibility issue.
There're 2 separate links for the icon and text which causes an issue for keyboard and screen reader users.
So the text and icon should be combined in one link.

6 years agoMerge branch 'MDL-55001-home-noredirect' of https://github.com/brendanheywood/moodle
Andrew Nicols [Tue, 5 Jul 2016 06:15:36 +0000 (14:15 +0800)]
Merge branch 'MDL-55001-home-noredirect' of https://github.com/brendanheywood/moodle

6 years agoMDL-53431 tool_monitor: Access control for tool monitor subscriptions
Jake Dallimore [Wed, 25 May 2016 06:50:29 +0000 (14:50 +0800)]
MDL-53431 tool_monitor: Access control for tool monitor subscriptions

6 years agoMerge branch 'MDL-54951-master' of git://github.com/jleyva/moodle
Andrew Nicols [Tue, 5 Jul 2016 01:41:31 +0000 (09:41 +0800)]
Merge branch 'MDL-54951-master' of git://github.com/jleyva/moodle

6 years agoMerge branch 'MDL-54889-master' of git://github.com/danpoltawski/moodle
Andrew Nicols [Tue, 5 Jul 2016 01:27:17 +0000 (09:27 +0800)]
Merge branch 'MDL-54889-master' of git://github.com/danpoltawski/moodle

6 years agoMerge branch 'MDL-53019' of git://github.com/stronk7/moodle
Andrew Nicols [Tue, 5 Jul 2016 00:48:54 +0000 (08:48 +0800)]
Merge branch 'MDL-53019' of git://github.com/stronk7/moodle