moodle.git
4 years agoMerge branch 'MDL-40015-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Mon, 12 Jun 2017 23:23:37 +0000 (01:23 +0200)]
Merge branch 'MDL-40015-master' of git://github.com/jleyva/moodle

4 years agoMerge branch 'mdl58161-master' of https://github.com/tlock/moodle
Eloy Lafuente (stronk7) [Mon, 12 Jun 2017 23:21:35 +0000 (01:21 +0200)]
Merge branch 'mdl58161-master' of https://github.com/tlock/moodle

4 years agoMerge branch 'MDL-59056-admin-allowstealth-select-checkbox' of https://github.com...
Eloy Lafuente (stronk7) [Mon, 12 Jun 2017 23:19:05 +0000 (01:19 +0200)]
Merge branch 'MDL-59056-admin-allowstealth-select-checkbox' of https://github.com/lucaboesch/moodle

4 years agoMerge branch 'MDL-58907_master' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Mon, 12 Jun 2017 23:02:35 +0000 (01:02 +0200)]
Merge branch 'MDL-58907_master' of git://github.com/markn86/moodle

4 years agoMerge branch 'MDL-59132-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Mon, 12 Jun 2017 22:45:04 +0000 (00:45 +0200)]
Merge branch 'MDL-59132-master' of git://github.com/jleyva/moodle

4 years agoMerge branch 'MDL-58318-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Mon, 12 Jun 2017 22:30:07 +0000 (00:30 +0200)]
Merge branch 'MDL-58318-master' of git://github.com/damyon/moodle

4 years agoMerge branch 'wip_MDL-36501_master' of https://github.com/mtpmcdermott/moodle
Dan Poltawski [Mon, 12 Jun 2017 14:26:52 +0000 (15:26 +0100)]
Merge branch 'wip_MDL-36501_master' of https://github.com/mtpmcdermott/moodle

4 years agoMerge branch 'MDL-50011-master' of https://github.com/nwp90/moodle
Dan Poltawski [Mon, 12 Jun 2017 14:26:27 +0000 (15:26 +0100)]
Merge branch 'MDL-50011-master' of https://github.com/nwp90/moodle

4 years agoMerge branch 'MDL-59112-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Mon, 12 Jun 2017 12:39:09 +0000 (14:39 +0200)]
Merge branch 'MDL-59112-master' of git://github.com/jleyva/moodle

4 years agoMerge branch 'mdl46322-master' of https://github.com/AndresMelo/moodle
Dan Poltawski [Mon, 12 Jun 2017 09:23:52 +0000 (10:23 +0100)]
Merge branch 'mdl46322-master' of https://github.com/AndresMelo/moodle

4 years agoMDL-58161 user: tests: user_can_view_profile fails under certain cases
Tim Lock [Mon, 6 Mar 2017 03:29:37 +0000 (13:59 +1030)]
MDL-58161 user: tests: user_can_view_profile fails under certain cases

4 years agoMDL-55548 course: update test to use waitForSecond()
Dan Poltawski [Mon, 12 Jun 2017 09:04:01 +0000 (10:04 +0100)]
MDL-55548 course: update test to use waitForSecond()

4 years agoMerge branch 'MDL-55548_master' of git://github.com/markn86/moodle
Dan Poltawski [Mon, 12 Jun 2017 08:59:04 +0000 (09:59 +0100)]
Merge branch 'MDL-55548_master' of git://github.com/markn86/moodle

4 years agoMDL-55548 backup: changes after review
Mark Nelson [Tue, 11 Apr 2017 04:56:05 +0000 (12:56 +0800)]
MDL-55548 backup: changes after review

1) There is no need to store the 'timemodified' value of
the section when backing up a course module, they do
not refer to the same time.
2) When creating a new course section during restore use
the current time.
3) Added timemodified value to more places when updating
the 'course_sections' table.

4 years agoMDL-55548 course: added timemodified field to course_sections table
Devang Gaur [Fri, 31 Mar 2017 14:28:40 +0000 (19:58 +0530)]
MDL-55548 course: added timemodified field to course_sections table

4 years agoMerge branch 'MDL-59042-master-upgradefix' of github.com:snake/moodle
Jun Pataleta [Mon, 12 Jun 2017 07:29:59 +0000 (15:29 +0800)]
Merge branch 'MDL-59042-master-upgradefix' of github.com:snake/moodle

4 years agoMDL-59042 upgrade: fix for non existent table in core upgrade.
Jake Dallimore [Mon, 12 Jun 2017 06:47:33 +0000 (14:47 +0800)]
MDL-59042 upgrade: fix for non existent table in core upgrade.

Moved upgrade step to the assign mod where table is known to exist.

4 years agoMerge branch 'MDL-57103-master' of https://github.com/xow/moodle
Jake Dallimore [Mon, 12 Jun 2017 05:58:14 +0000 (13:58 +0800)]
Merge branch 'MDL-57103-master' of https://github.com/xow/moodle

4 years agoMerge branch 'MDL-59154-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Mon, 12 Jun 2017 05:44:57 +0000 (13:44 +0800)]
Merge branch 'MDL-59154-master' of git://github.com/andrewnicols/moodle

4 years agoMerge branch 'MDL-59042-master' of git://github.com/snake/moodle
Jun Pataleta [Mon, 12 Jun 2017 05:29:03 +0000 (13:29 +0800)]
Merge branch 'MDL-59042-master' of git://github.com/snake/moodle

4 years agoMDL-59042 upgrade: datafix assign group overrides with null priority
Jake Dallimore [Wed, 7 Jun 2017 06:31:51 +0000 (14:31 +0800)]
MDL-59042 upgrade: datafix assign group overrides with null priority

Find any events records for assign group overrides having null priority
and sets their priority to the sortorder value from the corresponding
assign_overrides table entry.

4 years agoMDL-57103 lib: Force ajax renderer for all ajax fatal errors
John Okely [Tue, 23 May 2017 01:17:29 +0000 (09:17 +0800)]
MDL-57103 lib: Force ajax renderer for all ajax fatal errors

4 years agoMDL-58907 block_myoverview: change URL when tab is selected
Mark Nelson [Wed, 7 Jun 2017 09:37:29 +0000 (17:37 +0800)]
MDL-58907 block_myoverview: change URL when tab is selected

We then check if this paramter exists in the URL and if it
does we display the specified tab.

4 years agoMDL-58907 block_myoverview: display last tab user was on
Mark Nelson [Tue, 6 Jun 2017 11:14:46 +0000 (19:14 +0800)]
MDL-58907 block_myoverview: display last tab user was on

4 years agoMDL-58907 block_myoverview: added setting to select default tab
Mark Nelson [Tue, 6 Jun 2017 08:40:11 +0000 (16:40 +0800)]
MDL-58907 block_myoverview: added setting to select default tab

4 years agoMDL-59042 assign: Group override edit no longer resets event priority
Jake Dallimore [Wed, 24 May 2017 06:34:57 +0000 (14:34 +0800)]
MDL-59042 assign: Group override edit no longer resets event priority

Fixed a bug in which $fromform->sortorder wasn't set before passing
$formdata to assign_update_events, resulting in the existing event
priority being incorrectly nulled and breaking the effective override.

4 years agoMDL-59056 admin: allowstealth yes/no checkbox instead of on/off
Luca Bösch [Sun, 28 May 2017 05:48:57 +0000 (07:48 +0200)]
MDL-59056 admin: allowstealth yes/no checkbox instead of on/off

4 years agoweekly release 3.4dev
Dan Poltawski [Thu, 8 Jun 2017 11:16:18 +0000 (12:16 +0100)]
weekly release 3.4dev

4 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Dan Poltawski [Thu, 8 Jun 2017 11:16:16 +0000 (12:16 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 years agoMDL-59132 mod_feedback: Fix anonymous responses numbering
Juan Leyva [Thu, 8 Jun 2017 10:14:45 +0000 (11:14 +0100)]
MDL-59132 mod_feedback: Fix anonymous responses numbering

This was done correctly by the web scrip but not by the WS.

4 years agoMDL-40015 core_course: Fix description of duplicate_course WS
Juan Leyva [Thu, 8 Jun 2017 09:03:07 +0000 (10:03 +0100)]
MDL-40015 core_course: Fix description of duplicate_course WS

It said that the duplication didn’t include user data, but that’s not
true since there is a parameter to include it.

4 years agoMDL-59112 theme_clean: Always return expected moodle_url
Juan Leyva [Thu, 8 Jun 2017 08:39:44 +0000 (09:39 +0100)]
MDL-59112 theme_clean: Always return expected moodle_url

The function was returned some times a moodle_url object and another
times just a string with a relative URL.

4 years agoMDL-59154 theme: Lock for all caching builds
Andrew Nicols [Tue, 6 Jun 2017 12:29:06 +0000 (20:29 +0800)]
MDL-59154 theme: Lock for all caching builds

The previous behaviour was to only lock when in theme designer mode.
As a result, when generating the theme for after a reset, each new
client was starting the generation afresh and no locking was taking
place at all.

4 years agoMerge branch 'MDL-59101-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Wed, 7 Jun 2017 15:25:58 +0000 (16:25 +0100)]
Merge branch 'MDL-59101-master' of git://github.com/junpataleta/moodle

4 years agoMDL-59101 calendar: Properly calculate expected until date
Jun Pataleta [Wed, 7 Jun 2017 15:09:17 +0000 (23:09 +0800)]
MDL-59101 calendar: Properly calculate expected until date

4 years agoMerge branch 'MDL-58567-master-fix' of git://github.com/junpataleta/moodle
Dan Poltawski [Wed, 7 Jun 2017 14:14:30 +0000 (15:14 +0100)]
Merge branch 'MDL-58567-master-fix' of git://github.com/junpataleta/moodle

4 years agoMDL-58567 upgradelib: Do not show upgrade times on install
Jun Pataleta [Wed, 7 Jun 2017 07:57:48 +0000 (15:57 +0800)]
MDL-58567 upgradelib: Do not show upgrade times on install

4 years agoMerge branch 'MDL-57139-master' of git://github.com/danpoltawski/moodle
Jun Pataleta [Wed, 7 Jun 2017 06:36:13 +0000 (14:36 +0800)]
Merge branch 'MDL-57139-master' of git://github.com/danpoltawski/moodle

4 years agoMDL-57139 myoverview: fix paging button edge case
Dan Poltawski [Wed, 7 Jun 2017 06:21:31 +0000 (07:21 +0100)]
MDL-57139 myoverview: fix paging button edge case

Previously the 'view more' button was disabled when should be enabled

4 years agoMerge branch 'MDL-59076_master' of git://github.com/markn86/moodle
Jake Dallimore [Wed, 7 Jun 2017 01:24:07 +0000 (09:24 +0800)]
Merge branch 'MDL-59076_master' of git://github.com/markn86/moodle

4 years agoMerge branch 'MDL-58694-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 6 Jun 2017 17:34:16 +0000 (19:34 +0200)]
Merge branch 'MDL-58694-master' of git://github.com/jleyva/moodle

4 years agoMerge branch 'MDL-50265-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Tue, 6 Jun 2017 17:27:59 +0000 (19:27 +0200)]
Merge branch 'MDL-50265-master' of git://github.com/danpoltawski/moodle

4 years agoMerge branch 'MDL-58908-master' of git://github.com/damyon/moodle
Jun Pataleta [Tue, 6 Jun 2017 09:15:41 +0000 (17:15 +0800)]
Merge branch 'MDL-58908-master' of git://github.com/damyon/moodle

4 years agoMerge branch 'MDL-58658' of https://github.com/sk-unikent/moodle
Dan Poltawski [Tue, 6 Jun 2017 09:00:42 +0000 (10:00 +0100)]
Merge branch 'MDL-58658' of https://github.com/sk-unikent/moodle

4 years agoMerge branch 'MDL-57304_template_comments_fix' of https://github.com/gthomas2/moodle
Jake Dallimore [Tue, 6 Jun 2017 07:54:33 +0000 (15:54 +0800)]
Merge branch 'MDL-57304_template_comments_fix' of https://github.com/gthomas2/moodle

4 years agoMerge branch 'MDL-59086_master' of git://github.com/markn86/moodle
Dan Poltawski [Tue, 6 Jun 2017 07:44:46 +0000 (08:44 +0100)]
Merge branch 'MDL-59086_master' of git://github.com/markn86/moodle

4 years agoMerge branch 'MDL-57139-master' of git://github.com/danpoltawski/moodle
Jun Pataleta [Tue, 6 Jun 2017 06:47:52 +0000 (14:47 +0800)]
Merge branch 'MDL-57139-master' of git://github.com/danpoltawski/moodle

4 years agoMerge branch 'MDL-49398_final4' of https://github.com/sk-unikent/moodle
Jun Pataleta [Tue, 6 Jun 2017 04:43:14 +0000 (12:43 +0800)]
Merge branch 'MDL-49398_final4' of https://github.com/sk-unikent/moodle

4 years agoMDL-59076 format_weeks: if 'enddate' does not exist in backup then use 0
Mark Nelson [Tue, 6 Jun 2017 04:38:28 +0000 (12:38 +0800)]
MDL-59076 format_weeks: if 'enddate' does not exist in backup then use 0

4 years agoMerge branch 'MDL-58646-master' of git://github.com/danpoltawski/moodle
Jun Pataleta [Tue, 6 Jun 2017 04:24:07 +0000 (12:24 +0800)]
Merge branch 'MDL-58646-master' of git://github.com/danpoltawski/moodle

4 years agoMerge branch 'MDL-58900-master' of git://github.com/lameze/moodle
Jake Dallimore [Tue, 6 Jun 2017 03:37:16 +0000 (11:37 +0800)]
Merge branch 'MDL-58900-master' of git://github.com/lameze/moodle

4 years agoMDL-50011 qtype_multichoice: add settings (defaults for new questions)
Nadav Kavalerchik [Sat, 9 May 2015 12:15:01 +0000 (15:15 +0300)]
MDL-50011 qtype_multichoice: add settings (defaults for new questions)

4 years agoMerge branch 'MDL-58826_master' of https://github.com/marxjohnson/moodle
Eloy Lafuente (stronk7) [Mon, 5 Jun 2017 23:44:18 +0000 (01:44 +0200)]
Merge branch 'MDL-58826_master' of https://github.com/marxjohnson/moodle

4 years agoMerge branch 'MDL-59096-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Mon, 5 Jun 2017 23:34:21 +0000 (01:34 +0200)]
Merge branch 'MDL-59096-master' of https://github.com/sammarshallou/moodle

4 years agoMerge branch 'MDL-53240-master-filetypewidgets' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 5 Jun 2017 21:38:23 +0000 (23:38 +0200)]
Merge branch 'MDL-53240-master-filetypewidgets' of git://github.com/mudrd8mz/moodle

4 years agoMerge branch 'MDL-58970-master' of https://github.com/abias/moodle
Eloy Lafuente (stronk7) [Mon, 5 Jun 2017 20:27:52 +0000 (22:27 +0200)]
Merge branch 'MDL-58970-master' of https://github.com/abias/moodle

4 years agoMDL-53240 filetypes: Use multibyte safe variant of strtolower
David Mudrák [Mon, 5 Jun 2017 18:50:28 +0000 (20:50 +0200)]
MDL-53240 filetypes: Use multibyte safe variant of strtolower

Credit goes to failed unit tests.

4 years agoMDL-36501 grades: Include 'Parent Category' on create grade item
Matt McDermott [Thu, 18 May 2017 21:33:11 +0000 (14:33 -0700)]
MDL-36501 grades: Include 'Parent Category' on create grade item

Force the edit and creat grade item forms to include the same content. This is accomplished by creating a new grade item and setting the correct category. From there the same logic applied when editing a grade item is applied when creating a grade item.

4 years agoMDL-49398 accesslib: Update for 3.4 and cleanups
Skylar Kelty [Mon, 27 Mar 2017 10:44:43 +0000 (11:44 +0100)]
MDL-49398 accesslib: Update for 3.4 and cleanups

4 years agoMerge branch 'MDL-53240-master-filetypewidgets' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Mon, 5 Jun 2017 13:54:54 +0000 (14:54 +0100)]
Merge branch 'MDL-53240-master-filetypewidgets' of git://github.com/mudrd8mz/moodle

4 years agoMerge branch 'MDL-59080_master' of git://github.com/lazydaisy/moodle
Dan Poltawski [Mon, 5 Jun 2017 11:49:03 +0000 (12:49 +0100)]
Merge branch 'MDL-59080_master' of git://github.com/lazydaisy/moodle

4 years agoMerge branch 'MDL-58567-master-v2' of https://github.com/sammarshallou/moodle
Dan Poltawski [Mon, 5 Jun 2017 11:39:47 +0000 (12:39 +0100)]
Merge branch 'MDL-58567-master-v2' of https://github.com/sammarshallou/moodle

4 years agoMDL-58826 theme_boost: Prevent fatal errors in action menu behat steps
Mark Johnson [Fri, 5 May 2017 11:02:24 +0000 (12:02 +0100)]
MDL-58826 theme_boost: Prevent fatal errors in action menu behat steps

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 3 Jun 2017 16:06:57 +0000 (00:06 +0800)]
Automatically generated installer lang files

4 years agoAutomatically generated installer lang files
AMOS bot [Sat, 3 Jun 2017 16:06:57 +0000 (00:06 +0800)]
Automatically generated installer lang files

4 years agoMerge branch 'MDL-59091_gherkinlint_fix' of https://github.com/mrmark/moodle
Dan Poltawski [Sat, 3 Jun 2017 07:54:43 +0000 (08:54 +0100)]
Merge branch 'MDL-59091_gherkinlint_fix' of https://github.com/mrmark/moodle

4 years agoMDL-58970 themes: Fix references to core/loginform template
Alexander Bias [Wed, 17 May 2017 19:01:09 +0000 (21:01 +0200)]
MDL-58970 themes: Fix references to core/loginform template

4 years agoMDL-59091 behat: Fix gherkinlint errors
Mark Nielsen [Fri, 2 Jun 2017 16:31:40 +0000 (09:31 -0700)]
MDL-59091 behat: Fix gherkinlint errors

Just whitespace problems.

4 years agoMDL-59091 behat: Properly propagate gherkinlint exit code
Mark Nielsen [Fri, 2 Jun 2017 16:27:48 +0000 (09:27 -0700)]
MDL-59091 behat: Properly propagate gherkinlint exit code

4 years agoAutomatically generated installer lang files
AMOS bot [Fri, 2 Jun 2017 16:07:17 +0000 (00:07 +0800)]
Automatically generated installer lang files

4 years agoMDL-59096 Tasks: Web running local plugin scheduled tasks fails
sam marshall [Wed, 31 May 2017 13:08:49 +0000 (14:08 +0100)]
MDL-59096 Tasks: Web running local plugin scheduled tasks fails

4 years agoMDL-58567 Upgrade: Show upgrade times
sam marshall [Tue, 11 Apr 2017 10:01:42 +0000 (11:01 +0100)]
MDL-58567 Upgrade: Show upgrade times

4 years agoMDL-50265 tests: update tag events tests
Dan Poltawski [Wed, 17 May 2017 16:16:10 +0000 (17:16 +0100)]
MDL-50265 tests: update tag events tests

Remove use of final deprecated functions. Sadly these tests were not
properly updated when the functions were deprecated and continued to use
the deprecated functions. I've removed the uses of the final deprecated
functions and updated a few of the non-final-deprecation uses (but not
all)

4 years agoMDL-50265 tests: remove deprecated useragent tests
Dan Poltawski [Wed, 17 May 2017 15:29:12 +0000 (16:29 +0100)]
MDL-50265 tests: remove deprecated useragent tests

4 years agoMDL-50265 deprecatedlib: final deprecation of 3.0 deprecations
Dan Poltawski [Wed, 17 May 2017 15:22:46 +0000 (16:22 +0100)]
MDL-50265 deprecatedlib: final deprecation of 3.0 deprecations

These functions have now been deprecated for 4 releases, so are being
removed according to:
https://docs.moodle.org/dev/Deprecation#Step_2._Final_deprecation

4 years agoMDL-49398 accesslib: Change competency to use new accesslib function
Tony Levi [Sat, 14 May 2016 14:22:06 +0000 (23:52 +0930)]
MDL-49398 accesslib: Change competency to use new accesslib function

4 years agoMDL-49398 accesslib: Simplify role definition loading and cache
Tony Levi [Sat, 14 May 2016 11:44:31 +0000 (21:14 +0930)]
MDL-49398 accesslib: Simplify role definition loading and cache

This change removes the complex and partial loading of role definition data for users.
It is replaced by keeping one system-wide definition for each role in MUC.

This is cheaper to regenerate as it avoids complex database queries (repeated LEFT JOIN to context).
Memory usage is kept low thanks to array CoW for each user access data.

4 years agoMDL-59080 theme_boost: make drawer.scss variables default
Mary Evans [Mon, 29 May 2017 09:18:53 +0000 (10:18 +0100)]
MDL-59080 theme_boost: make drawer.scss variables default

--author="Urs Hunkler <urs.hunkler@unodo.de>"

4 years agoMDL-58646 lib: import latest sabberworm/PHP-CSS-Parser
Dan Poltawski [Fri, 2 Jun 2017 06:36:40 +0000 (07:36 +0100)]
MDL-58646 lib: import latest sabberworm/PHP-CSS-Parser

This version includes a fix[1] contributed by Frédéric Massart investigating
our compilation time issues, which significantly improves the speed of
processing font awesome.

Thanks, Fred!

[1] https://github.com/sabberworm/PHP-CSS-Parser/pull/120

4 years agoMDL-57139 js: built
Dan Poltawski [Sun, 15 Jan 2017 17:46:25 +0000 (17:46 +0000)]
MDL-57139 js: built

4 years agoMDL-57139 amd/templates: catch unhandled promise failure
Dan Poltawski [Thu, 1 Jun 2017 13:43:23 +0000 (14:43 +0100)]
MDL-57139 amd/templates: catch unhandled promise failure

4 years agoMDL-57139 amd/user_date: always return
Dan Poltawski [Thu, 1 Jun 2017 13:43:00 +0000 (14:43 +0100)]
MDL-57139 amd/user_date: always return

4 years agoMDL-57139 survey: fix promise return
Dan Poltawski [Thu, 1 Jun 2017 13:22:35 +0000 (14:22 +0100)]
MDL-57139 survey: fix promise return

4 years agoMDL-57139 course: update menu action promises to best practices
Dan Poltawski [Thu, 1 Jun 2017 13:18:49 +0000 (14:18 +0100)]
MDL-57139 course: update menu action promises to best practices

4 years agoMDL-57139 myoverview: Use promise best practices
Dan Poltawski [Thu, 1 Jun 2017 11:37:15 +0000 (12:37 +0100)]
MDL-57139 myoverview: Use promise best practices

Simplified promise
* Always return
* Make use of promise chaining features to simplfy flow

4 years agoMDL-57139 competencies: ensure promise best practices
Dan Poltawski [Sun, 15 Jan 2017 14:48:51 +0000 (14:48 +0000)]
MDL-57139 competencies: ensure promise best practices

4 years agoMDL-57139 mod_lti: ensure promise best practices
Dan Poltawski [Tue, 10 Jan 2017 11:07:34 +0000 (11:07 +0000)]
MDL-57139 mod_lti: ensure promise best practices

4 years agoMDL-57139 tool_usertours: return in promises
Dan Poltawski [Tue, 10 Jan 2017 17:54:17 +0000 (17:54 +0000)]
MDL-57139 tool_usertours: return in promises

4 years agoMDL-57139 core/fragment: simplify promises and always return
Dan Poltawski [Tue, 10 Jan 2017 17:29:31 +0000 (17:29 +0000)]
MDL-57139 core/fragment: simplify promises and always return

We can remove the DIY promise handling because the ajax request can just
return a promise itself.

4 years agoMDL-57139 assign: ensure promise best practices
Dan Poltawski [Tue, 10 Jan 2017 18:05:39 +0000 (18:05 +0000)]
MDL-57139 assign: ensure promise best practices

4 years agoMDL-57139 messages/notifications: ensure promise best practices
Dan Poltawski [Tue, 10 Jan 2017 10:10:56 +0000 (10:10 +0000)]
MDL-57139 messages/notifications: ensure promise best practices

Previously there were a few issues with the code

* We were capturing a promise without then then .then() that came after
  it, so our promise wouldn't always be completely resolved by the time
  then next piece of code was operating on it

* We weren't catching all errors with .catch()

4 years agoMDL-57139 eslint: enable eslint-plugin-promise rules
Dan Poltawski [Fri, 16 Dec 2016 10:13:25 +0000 (10:13 +0000)]
MDL-57139 eslint: enable eslint-plugin-promise rules

For promise best practices

4 years agoweekly release 3.4dev
Dan Poltawski [Thu, 1 Jun 2017 08:28:17 +0000 (09:28 +0100)]
weekly release 3.4dev

4 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Dan Poltawski [Thu, 1 Jun 2017 08:28:14 +0000 (09:28 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 years agoMDL-53240 filetypes: Introduce admin_setting_filetypes class
David Mudrák [Tue, 4 Apr 2017 23:21:48 +0000 (01:21 +0200)]
MDL-53240 filetypes: Introduce admin_setting_filetypes class

This new type of admin settings makes use of the filetypes browser but
for the admin settings.

4 years agoMerge branch 'MDL-59094-master' of git://github.com/danpoltawski/moodle
Jake Dallimore [Thu, 1 Jun 2017 07:27:57 +0000 (15:27 +0800)]
Merge branch 'MDL-59094-master' of git://github.com/danpoltawski/moodle

4 years agoMDL-53240 filetypes: Enhance the filetypes element with a types browser
David Mudrák [Tue, 28 Mar 2017 22:40:06 +0000 (00:40 +0200)]
MDL-53240 filetypes: Enhance the filetypes element with a types browser

4 years agoMDL-53240 filetypes: Add functions to be used for input validation
John Okely [Thu, 30 Mar 2017 04:14:52 +0000 (12:14 +0800)]
MDL-53240 filetypes: Add functions to be used for input validation

4 years agoMDL-53240 filetypes: Add methods for generating the browser tree content
David Mudrák [Wed, 29 Mar 2017 16:45:53 +0000 (18:45 +0200)]
MDL-53240 filetypes: Add methods for generating the browser tree content

These new methods will be used to render the tree of file types groups
and extensions in the browser widget.

Co-Authored-By: John Okely <john@moodle.com>
4 years agoMDL-53240 filetypes: Introduce the form element to specify plugin types
Jonathon Fowler [Fri, 24 Mar 2017 20:03:04 +0000 (21:03 +0100)]
MDL-53240 filetypes: Introduce the form element to specify plugin types

This is a stripped down version of the original Jonathon's element
without the actual JS selector. The options "allowall" and "onlytypes"
are not fully supported right now yet.