moodle.git
5 years agoMDL-56299 behat: Popover doesn't work with phantomjs
Rajesh Taneja [Thu, 13 Oct 2016 02:47:32 +0000 (10:47 +0800)]
MDL-56299 behat: Popover doesn't work with phantomjs

5 years agoMDL-54682 core_message: do not disable left panel when deleting messages
Mark Nelson [Wed, 12 Oct 2016 10:01:23 +0000 (18:01 +0800)]
MDL-54682 core_message: do not disable left panel when deleting messages

5 years agoMerge branch 'MDL-56384_master' of https://github.com/markn86/moodle
Dan Poltawski [Wed, 12 Oct 2016 08:26:26 +0000 (09:26 +0100)]
Merge branch 'MDL-56384_master' of https://github.com/markn86/moodle

5 years agoMerge branch 'MDL-56095-master-fix' of git://github.com/cameron1729/moodle
David Monllao [Wed, 12 Oct 2016 07:17:37 +0000 (15:17 +0800)]
Merge branch 'MDL-56095-master-fix' of git://github.com/cameron1729/moodle

5 years agoMDL-56384 message_popup: fixed oracle PHPUnit failures
Mark Nelson [Wed, 12 Oct 2016 07:14:30 +0000 (15:14 +0800)]
MDL-56384 message_popup: fixed oracle PHPUnit failures

5 years agoMDL-56095 output: Properly set prototype on custom event for IE
Cameron Ball [Wed, 12 Oct 2016 05:10:30 +0000 (13:10 +0800)]
MDL-56095 output: Properly set prototype on custom event for IE

5 years agoMDL-27072 behat: Removed wrong tag from feature
Rajesh Taneja [Wed, 12 Oct 2016 04:57:22 +0000 (12:57 +0800)]
MDL-27072 behat: Removed wrong tag from feature

5 years agoMerge branch 'wip-mdl-27072' of git://github.com/rajeshtaneja/moodle
David Monllao [Wed, 12 Oct 2016 03:29:59 +0000 (11:29 +0800)]
Merge branch 'wip-mdl-27072' of git://github.com/rajeshtaneja/moodle

5 years agoMDL-55393 message: Missing latest blocker issue code updates
David Monllao [Wed, 12 Oct 2016 02:45:27 +0000 (10:45 +0800)]
MDL-55393 message: Missing latest blocker issue code updates

5 years agoMDL-27072 behat: Fixed table separators
Rajesh Taneja [Wed, 12 Oct 2016 02:48:48 +0000 (10:48 +0800)]
MDL-27072 behat: Fixed table separators

5 years agoMDL-55393 message: New WS get_user_notification_preferences
Juan Leyva [Tue, 20 Sep 2016 16:18:21 +0000 (17:18 +0100)]
MDL-55393 message: New WS get_user_notification_preferences

5 years agoMerge branch 'MDL-56319-m' of https://github.com/micaherne/moodle
Eloy Lafuente (stronk7) [Tue, 11 Oct 2016 18:24:13 +0000 (20:24 +0200)]
Merge branch 'MDL-56319-m' of https://github.com/micaherne/moodle

5 years agoMDL-55393 message: Add some external functions to mobile service
Juan Leyva [Tue, 20 Sep 2016 13:35:26 +0000 (14:35 +0100)]
MDL-55393 message: Add some external functions to mobile service

5 years agoMerge branch 'wip-mdl-55522' of https://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Tue, 11 Oct 2016 18:13:04 +0000 (20:13 +0200)]
Merge branch 'wip-mdl-55522' of https://github.com/rajeshtaneja/moodle

5 years agoMerge branch 'MDL-55345' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 11 Oct 2016 15:06:17 +0000 (17:06 +0200)]
Merge branch 'MDL-55345' of https://github.com/paulholden/moodle

5 years agoMDL-54682 message: fix eslint issues
Dan Poltawski [Tue, 11 Oct 2016 12:29:56 +0000 (13:29 +0100)]
MDL-54682 message: fix eslint issues

5 years agoMDL-54682 deprecatedlib: fix trailing whitespace
Dan Poltawski [Tue, 11 Oct 2016 12:17:42 +0000 (13:17 +0100)]
MDL-54682 deprecatedlib: fix trailing whitespace

5 years agoMerge branch 'MDL-54682_master' of git://github.com/markn86/moodle
Dan Poltawski [Tue, 11 Oct 2016 11:52:12 +0000 (12:52 +0100)]
Merge branch 'MDL-54682_master' of git://github.com/markn86/moodle

5 years agoMerge branch 'MDL-56147-master' of git://github.com/FMCorz/moodle
Eloy Lafuente (stronk7) [Tue, 11 Oct 2016 10:49:56 +0000 (12:49 +0200)]
Merge branch 'MDL-56147-master' of git://github.com/FMCorz/moodle

5 years agoMerge branch 'MDL-55954_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Tue, 11 Oct 2016 10:46:32 +0000 (12:46 +0200)]
Merge branch 'MDL-55954_master' of git://github.com/dmonllao/moodle

5 years agoMerge branch 'wip-mdl-56248' of https://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Tue, 11 Oct 2016 10:15:05 +0000 (12:15 +0200)]
Merge branch 'wip-mdl-56248' of https://github.com/rajeshtaneja/moodle

5 years agoMerge branch 'master_MDL-51401' of https://github.com/janeklb/moodle
David Monllao [Tue, 11 Oct 2016 09:58:05 +0000 (17:58 +0800)]
Merge branch 'master_MDL-51401' of https://github.com/janeklb/moodle

5 years agoMerge branch 'MDL-55921' of https://github.com/mr-russ/moodle
Eloy Lafuente (stronk7) [Tue, 11 Oct 2016 09:54:23 +0000 (11:54 +0200)]
Merge branch 'MDL-55921' of https://github.com/mr-russ/moodle

5 years agoMerge branch 'MDL-52051-master' of git://github.com/andrewnicols/moodle
David Monllao [Tue, 11 Oct 2016 09:11:21 +0000 (17:11 +0800)]
Merge branch 'MDL-52051-master' of git://github.com/andrewnicols/moodle

5 years agoMerge branch 'MDL-36611-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Tue, 11 Oct 2016 07:53:06 +0000 (08:53 +0100)]
Merge branch 'MDL-36611-master' of git://github.com/junpataleta/moodle

5 years agoMDL-54682 core: build amd modules
Mark Nelson [Fri, 12 Aug 2016 06:29:27 +0000 (14:29 +0800)]
MDL-54682 core: build amd modules

5 years agoMDL-56299 core: fixed failing Behat tests
Mark Nelson [Thu, 6 Oct 2016 09:43:06 +0000 (17:43 +0800)]
MDL-56299 core: fixed failing Behat tests

This also involved removing legacy Behat tests.

5 years agoMDL-56087 message: change conversations to messages
Ryan Wyllie [Mon, 10 Oct 2016 05:44:51 +0000 (05:44 +0000)]
MDL-56087 message: change conversations to messages

5 years agoMDL-56274 message: unlock tabs and search after delete all
Ryan Wyllie [Mon, 10 Oct 2016 06:41:20 +0000 (06:41 +0000)]
MDL-56274 message: unlock tabs and search after delete all

5 years agoMDL-56336 core_message: fix WS exception when 'forcepasswordchange' set
Mark Nelson [Mon, 10 Oct 2016 05:25:21 +0000 (13:25 +0800)]
MDL-56336 core_message: fix WS exception when 'forcepasswordchange' set

5 years agoMDL-56234 message: fix messaging UI in theme boost
Ryan Wyllie [Fri, 7 Oct 2016 06:45:09 +0000 (06:45 +0000)]
MDL-56234 message: fix messaging UI in theme boost

5 years agoMDL-56292 message: move notifications page into popup plugin
Ryan Wyllie [Thu, 6 Oct 2016 06:18:26 +0000 (06:18 +0000)]
MDL-56292 message: move notifications page into popup plugin

5 years agoMDL-56292 message: fix style for notification popover and page
Ryan Wyllie [Thu, 6 Oct 2016 02:33:23 +0000 (02:33 +0000)]
MDL-56292 message: fix style for notification popover and page

5 years agoMDL-56292 message: mustache template docs
Ryan Wyllie [Tue, 4 Oct 2016 05:37:53 +0000 (05:37 +0000)]
MDL-56292 message: mustache template docs

5 years agoMDL-56292 core: add note to upgrade.txt for context_header change
Ryan Wyllie [Tue, 4 Oct 2016 02:34:55 +0000 (02:34 +0000)]
MDL-56292 core: add note to upgrade.txt for context_header change

5 years agoMDL-56292 message: move popover code into output plugin
Ryan Wyllie [Fri, 30 Sep 2016 07:41:32 +0000 (07:41 +0000)]
MDL-56292 message: move popover code into output plugin

5 years agoMDL-56292 core: change size of 'component' DB column
Ryan Wyllie [Fri, 30 Sep 2016 04:54:25 +0000 (04:54 +0000)]
MDL-56292 core: change size of 'component' DB column

5 years agoMDL-52051 repository_dropbox: Migrate to v2 API
Andrew Nicols [Thu, 14 Jul 2016 05:12:40 +0000 (13:12 +0800)]
MDL-52051 repository_dropbox: Migrate to v2 API

5 years agoMDL-36611 outcome: Set page context when editing outcome
Kirill Astashov [Wed, 5 Oct 2016 03:01:46 +0000 (11:01 +0800)]
MDL-36611 outcome: Set page context when editing outcome

5 years agoMerge branch 'wip-MDL-27072-master' of https://github.com/Beedell/moodle
Eloy Lafuente (stronk7) [Tue, 11 Oct 2016 00:28:17 +0000 (02:28 +0200)]
Merge branch 'wip-MDL-27072-master' of https://github.com/Beedell/moodle

5 years agoMerge branch 'MDL-56228-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Tue, 11 Oct 2016 00:02:23 +0000 (02:02 +0200)]
Merge branch 'MDL-56228-master' of https://github.com/snake/moodle

5 years agoMerge branch 'MDL-55835-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Mon, 10 Oct 2016 23:21:14 +0000 (01:21 +0200)]
Merge branch 'MDL-55835-master' of git://github.com/danpoltawski/moodle

5 years agoMerge branch 'MDL-56220-m' of https://github.com/micaherne/moodle
Eloy Lafuente (stronk7) [Mon, 10 Oct 2016 23:17:33 +0000 (01:17 +0200)]
Merge branch 'MDL-56220-m' of https://github.com/micaherne/moodle

5 years agoMerge branch 'MDL-56331-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Mon, 10 Oct 2016 23:12:00 +0000 (01:12 +0200)]
Merge branch 'MDL-56331-master' of git://github.com/danpoltawski/moodle

5 years agoMerge branch 'MDL-56261-master-taglist' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 10 Oct 2016 22:32:21 +0000 (00:32 +0200)]
Merge branch 'MDL-56261-master-taglist' of git://github.com/mudrd8mz/moodle

5 years agoMerge branch 'MDL-56308' of https://github.com/mr-russ/moodle
Eloy Lafuente (stronk7) [Mon, 10 Oct 2016 17:05:22 +0000 (19:05 +0200)]
Merge branch 'MDL-56308' of https://github.com/mr-russ/moodle

5 years agoMerge branch 'MDL-53695-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Mon, 10 Oct 2016 16:25:18 +0000 (18:25 +0200)]
Merge branch 'MDL-53695-master' of git://github.com/danpoltawski/moodle

5 years agoMerge branch 'MDL-56316-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Mon, 10 Oct 2016 16:11:56 +0000 (18:11 +0200)]
Merge branch 'MDL-56316-master' of git://github.com/andrewnicols/moodle

5 years agoMerge branch 'MDL-51633_master' of git://github.com/lazydaisy/moodle
Eloy Lafuente (stronk7) [Mon, 10 Oct 2016 15:40:34 +0000 (17:40 +0200)]
Merge branch 'MDL-51633_master' of git://github.com/lazydaisy/moodle

5 years agoMerge branch 'MDL-56192-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 10 Oct 2016 15:16:17 +0000 (16:16 +0100)]
Merge branch 'MDL-56192-master' of git://github.com/FMCorz/moodle

5 years agoMerge branch 'MDL-56050-master' of git://github.com/lameze/moodle
David Monllao [Mon, 10 Oct 2016 15:14:43 +0000 (23:14 +0800)]
Merge branch 'MDL-56050-master' of git://github.com/lameze/moodle

5 years agoMerge branch 'MDL-54854-master' of git://github.com/jleyva/moodle
David Monllao [Mon, 10 Oct 2016 15:00:31 +0000 (23:00 +0800)]
Merge branch 'MDL-54854-master' of git://github.com/jleyva/moodle

5 years agoMerge branch 'MDL-55923-master' of git://github.com/jleyva/moodle
David Monllao [Mon, 10 Oct 2016 14:57:34 +0000 (22:57 +0800)]
Merge branch 'MDL-55923-master' of git://github.com/jleyva/moodle

5 years agoMerge branch 'MDL-30179-master' of git://github.com/merrill-oakland/moodle
David Monllao [Mon, 10 Oct 2016 14:38:29 +0000 (22:38 +0800)]
Merge branch 'MDL-30179-master' of git://github.com/merrill-oakland/moodle

5 years agoMerge branch 'MDL-56209-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 10 Oct 2016 14:18:24 +0000 (15:18 +0100)]
Merge branch 'MDL-56209-master' of git://github.com/FMCorz/moodle

5 years agoMerge branch 'MDL-56052-master' of git://github.com/damyon/moodle
Dan Poltawski [Mon, 10 Oct 2016 13:18:33 +0000 (14:18 +0100)]
Merge branch 'MDL-56052-master' of git://github.com/damyon/moodle

5 years agoMDL-30179 gradereport_user: Add ability to view report as other user
Eric Merrill [Mon, 10 Oct 2016 13:03:11 +0000 (09:03 -0400)]
MDL-30179 gradereport_user: Add ability to view report as other user

5 years agoMerge branch 'MDL-55999-master' of git://github.com/lameze/moodle
Dan Poltawski [Mon, 10 Oct 2016 12:40:16 +0000 (13:40 +0100)]
Merge branch 'MDL-55999-master' of git://github.com/lameze/moodle

5 years agoMerge branch 'MDL-51584' of https://github.com/mr-russ/moodle
Dan Poltawski [Mon, 10 Oct 2016 12:23:59 +0000 (13:23 +0100)]
Merge branch 'MDL-51584' of https://github.com/mr-russ/moodle

5 years agoMDL-53695 lib/javascript.php: ensure full env for core_minify
Dan Poltawski [Wed, 5 Oct 2016 11:22:18 +0000 (12:22 +0100)]
MDL-53695 lib/javascript.php: ensure full env for core_minify

This applies the same approach to generating minified js as is already
used in theme/javascript.php and other scripts. When we need to do the
minification, we load the full Moodle environment, so we can use the
libraries.

The reason this was required was because now the minifier uses
autoloaded classes, which are not autoloaded when doing
ABORT_AFTER_CONFIG.

Fred persuaded me that it's probably safer to keep it that way, rather
than alllow ABORT_AFTER_CONFIG scripts from autoloading the world and
their dog (especially for resource serving scripts, they are intended to
be lightweight when serving from cache).

5 years agoMDL-53695 minify: switch to MatthiasMullie\Minify
Dan Poltawski [Thu, 29 Sep 2016 08:46:16 +0000 (09:46 +0100)]
MDL-53695 minify: switch to MatthiasMullie\Minify

The previously used minification libraries were:
a) Unmaintained
b) Had some silly licensing issues (MDL-36457)

The new library is smaller, maintained, active and GPL-compatible.

5 years agoMerge branch 'MDL-56095-master-fixup' of https://github.com/FMCorz/moodle
Dan Poltawski [Mon, 10 Oct 2016 12:13:08 +0000 (13:13 +0100)]
Merge branch 'MDL-56095-master-fixup' of https://github.com/FMCorz/moodle

5 years agoMDL-56095 output: Moving progress_bar from weblib to outputcomponents
Frédéric Massart [Mon, 10 Oct 2016 10:52:29 +0000 (12:52 +0200)]
MDL-56095 output: Moving progress_bar from weblib to outputcomponents

And revert the change in the order of the require_once in setup.php.

5 years agoMerge branch 'MDL-55597-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 10 Oct 2016 10:33:12 +0000 (11:33 +0100)]
Merge branch 'MDL-55597-master' of git://github.com/FMCorz/moodle

5 years agoMerge branch 'MDL-56178-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 10 Oct 2016 10:22:16 +0000 (11:22 +0100)]
Merge branch 'MDL-56178-master' of git://github.com/FMCorz/moodle

5 years agoMDL-54854 grade: New WS gradereport_overview_view_grade_report
Juan Leyva [Tue, 20 Sep 2016 09:06:11 +0000 (10:06 +0100)]
MDL-54854 grade: New WS gradereport_overview_view_grade_report

5 years agoMDL-54854 grade: New WS gradereport_overview_get_course_grades
Juan Leyva [Sat, 10 Sep 2016 13:33:23 +0000 (14:33 +0100)]
MDL-54854 grade: New WS gradereport_overview_get_course_grades

5 years agoMDL-54854 grade: Refactor gradereport_overview code
Juan Leyva [Sat, 10 Sep 2016 13:31:56 +0000 (14:31 +0100)]
MDL-54854 grade: Refactor gradereport_overview code

5 years agoMerge branch 'MDL-56285-master' of git://github.com/StudiUM/moodle
Dan Poltawski [Mon, 10 Oct 2016 10:14:22 +0000 (11:14 +0100)]
Merge branch 'MDL-56285-master' of git://github.com/StudiUM/moodle

5 years agoMDL-27072 Quiz: Remove get_users_by_capability from quiz reports
John Beedell [Fri, 19 Aug 2016 16:21:19 +0000 (17:21 +0100)]
MDL-27072 Quiz: Remove get_users_by_capability from quiz reports

5 years agoMDL-56178 theme_boost: Display drop zones labels
Frédéric Massart [Tue, 4 Oct 2016 12:55:33 +0000 (14:55 +0200)]
MDL-56178 theme_boost: Display drop zones labels

The markup has changed so we now need to target .sr-only rather
than just .accesshide. I did keep the latter in case it's still used
somewhere, in a custom form field for instance.

The ideal solution was to tell QuickForm to display the labels of
those elements in the group. That works for Boost, but that did not
work for Clean. The rendering mechanics of QuickForm decides to not
print the label, unless it's set as hidden... the CSS hack remains.

5 years agoMerge branch 'MDL-56095-master-2nd' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 10 Oct 2016 09:09:46 +0000 (10:09 +0100)]
Merge branch 'MDL-56095-master-2nd' of git://github.com/FMCorz/moodle

5 years agoMerge branch 'MDL-45388-master' of git://github.com/danpoltawski/moodle
David Monllao [Mon, 10 Oct 2016 08:59:06 +0000 (16:59 +0800)]
Merge branch 'MDL-45388-master' of git://github.com/danpoltawski/moodle

5 years agoMerge branch 'MDL-56162-master' of git://github.com/FMCorz/moodle
David Monllao [Mon, 10 Oct 2016 08:48:07 +0000 (16:48 +0800)]
Merge branch 'MDL-56162-master' of git://github.com/FMCorz/moodle

5 years agoMDL-56331 tests: update with current coordinates
Dan Poltawski [Mon, 10 Oct 2016 07:58:36 +0000 (08:58 +0100)]
MDL-56331 tests: update with current coordinates

The previous commit will minor updates to pass, but this updates
to current values.

5 years agoMDL-56331 tests: increase tolerance of coordinate tests
Dan Poltawski [Mon, 10 Oct 2016 07:58:36 +0000 (08:58 +0100)]
MDL-56331 tests: increase tolerance of coordinate tests

1) It seems the maxmind database is getting relatively frequent updates
which are causing differences in exact coordinates

2) GeoIP location lookups are not an exact science, I tried to pick some
ips which I thought would remain fairly static, but these things are
just guesses.

3) Moving to 2 decimal places should give us good enough results for
this test, according to:
http://gis.stackexchange.com/questions/8650/measuring-accuracy-of-latitude-and-longitude

  "The second decimal place is worth up to 1.1 km: it can separate one
   village from the next."
  "The third decimal place is worth up to 110 m: it can identify a
   large agricultural field or institutional campus."

5 years agoMDL-52051 oauth: expires_in is optional
Andrew Nicols [Thu, 14 Jul 2016 05:13:11 +0000 (13:13 +0800)]
MDL-52051 oauth: expires_in is optional

5 years agoMerge branch 'MDL-56232-master' of git://github.com/junpataleta/moodle
David Monllao [Mon, 10 Oct 2016 05:27:50 +0000 (13:27 +0800)]
Merge branch 'MDL-56232-master' of git://github.com/junpataleta/moodle

5 years agoMDL-56232 mod_lti: Fix logic for disabling mod_form fields
Jun Pataleta [Mon, 3 Oct 2016 07:31:46 +0000 (15:31 +0800)]
MDL-56232 mod_lti: Fix logic for disabling mod_form fields

* Disable tool "Select content" button if selected preconfigured tool
  does not support Content-Item, and if the selected option is set to
  "Automatic, based on launch URL".
* Disable tool configuration form fields if selected preconfigured tool
  does not support Content-Item, but enable these fields if the selected
  option is set to "Automatic, based on launch URL".
* Behat tests also updated to check disabling/enabling of launch url field.

5 years agoMerge branch 'MDL-56254-master' of git://github.com/FMCorz/moodle
David Monllao [Mon, 10 Oct 2016 05:01:40 +0000 (13:01 +0800)]
Merge branch 'MDL-56254-master' of git://github.com/FMCorz/moodle

5 years agoMerge branch 'MDL-56097' of git://github.com/stronk7/moodle
David Monllao [Mon, 10 Oct 2016 04:57:27 +0000 (12:57 +0800)]
Merge branch 'MDL-56097' of git://github.com/stronk7/moodle

5 years agoMerge branch 'MDL-56216-master' of git://github.com/danpoltawski/moodle
David Monllao [Mon, 10 Oct 2016 04:49:07 +0000 (12:49 +0800)]
Merge branch 'MDL-56216-master' of git://github.com/danpoltawski/moodle

5 years agoMDL-56292 core: make popover region event bindings on open
Ryan Wyllie [Fri, 30 Sep 2016 02:28:11 +0000 (02:28 +0000)]
MDL-56292 core: make popover region event bindings on open

5 years agoMDL-56292 message: fix message_get_recent_conversations
Ryan Wyllie [Thu, 29 Sep 2016 06:13:14 +0000 (06:13 +0000)]
MDL-56292 message: fix message_get_recent_conversations

Renamed the $user param to a more common pattern and removed the
readtable flags from the SQL, which are no longer required.

5 years agoMDL-56292 core: auto_rows should fire event on element
Ryan Wyllie [Thu, 29 Sep 2016 05:28:09 +0000 (05:28 +0000)]
MDL-56292 core: auto_rows should fire event on element

5 years agoMDL-56292 messages: made popover region css less specific
Ryan Wyllie [Thu, 29 Sep 2016 05:19:56 +0000 (05:19 +0000)]
MDL-56292 messages: made popover region css less specific

5 years agoMDL-56292 message: fix param in notificationpreferences.php
Ryan Wyllie [Thu, 29 Sep 2016 03:47:04 +0000 (03:47 +0000)]
MDL-56292 message: fix param in notificationpreferences.php

5 years agoMDL-56292 message: split up preferences templates
Ryan Wyllie [Thu, 29 Sep 2016 03:03:35 +0000 (03:03 +0000)]
MDL-56292 message: split up preferences templates

5 years agoMDL-56292 message: simplify get_popup_notifications function
Ryan Wyllie [Thu, 29 Sep 2016 01:12:01 +0000 (01:12 +0000)]
MDL-56292 message: simplify get_popup_notifications function

5 years agoMDL-56292 message: fix sql query in mark_all_read_for_user
Ryan Wyllie [Wed, 28 Sep 2016 06:43:54 +0000 (06:43 +0000)]
MDL-56292 message: fix sql query in mark_all_read_for_user

5 years agoMDL-56333 core_message: fixed return type for get_profile WS
Mark Nelson [Mon, 10 Oct 2016 03:27:49 +0000 (11:27 +0800)]
MDL-56333 core_message: fixed return type for get_profile WS

5 years agoMDL-51584 gradebook: use direct $CFG access for freeze.
Russell Smith [Tue, 13 Sep 2016 23:46:43 +0000 (09:46 +1000)]
MDL-51584 gradebook: use direct $CFG access for freeze.

get_config() is called a lot of times on freeze and is expensive,
using $CFG is much lower overhead.

5 years agoMDL-55522 behat: test realtive dates
Rajesh Taneja [Wed, 28 Sep 2016 02:56:08 +0000 (10:56 +0800)]
MDL-55522 behat: test realtive dates

5 years agoMDL-55522 behat: Add support for relative dates
Rajesh Taneja [Wed, 28 Sep 2016 02:55:35 +0000 (10:55 +0800)]
MDL-55522 behat: Add support for relative dates

5 years agoMDL-56228 phpunit: Force sort order in mod data generator test
Jake Dallimore [Mon, 3 Oct 2016 01:43:04 +0000 (09:43 +0800)]
MDL-56228 phpunit: Force sort order in mod data generator test

5 years agoMDL-51633 theme_bootstrapbase: Restyled ADD BLOCK to remove max-width.
lazydaisy [Fri, 7 Oct 2016 17:50:46 +0000 (18:50 +0100)]
MDL-51633 theme_bootstrapbase: Restyled ADD BLOCK to remove max-width.

5 years agoMDL-56095 output: Make the progress bar templatable
Frédéric Massart [Fri, 23 Sep 2016 10:40:48 +0000 (12:40 +0200)]
MDL-56095 output: Make the progress bar templatable

The order of inclusion of weblib and outputlib had to change
as the progress_bar (weblib) uses interfaces defined in outputlib.

5 years agoMDL-55835 js: fix lint issues
Dan Poltawski [Fri, 7 Oct 2016 08:54:55 +0000 (09:54 +0100)]
MDL-55835 js: fix lint issues

Some caused by eslint checks being better, some just not detected
because we don't show warnings well (MDL-54930).

5 years agoMDL-55835 eslint: bump to v3.7.1
Dan Poltawski [Thu, 1 Sep 2016 13:27:11 +0000 (14:27 +0100)]
MDL-55835 eslint: bump to v3.7.1

1) Bump eslint verson in npm
2) Enable tabs rule introduced in 3.2.0
3) With rules deprecated in 3.3.0 to their replacements
   http://eslint.org/blog/2016/08/eslint-v3.3.0-released
4) Deprecate the use of M.str (fixes MDLSITE-3646) with new
   no-restricted-properties introduced in 3.5.0
5) Fixup no-unused-vars - remove argsIgnorePattern which shouldn't have allowed
   partial matches and turns out to be uncesssary
   (detected because of https://github.com/eslint/eslint/issues/7250 in 3.6.0)

5 years agoMDL-56319 blocks: Observe empty default blocks setting
Michael Aherne [Fri, 7 Oct 2016 08:37:07 +0000 (09:37 +0100)]
MDL-56319 blocks: Observe empty default blocks setting