Dan Poltawski [Tue, 13 Jun 2017 08:15:55 +0000 (09:15 +0100)]
Merge branch 'MDL-46322' of https://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Tue, 13 Jun 2017 07:59:52 +0000 (09:59 +0200)]
MDL-46322 database: alias sort fields to avoid ambiguous naming
Jake Dallimore [Tue, 13 Jun 2017 07:52:16 +0000 (15:52 +0800)]
Merge branch 'MDL-58136-master' of git://github.com/damyon/moodle
Jake Dallimore [Tue, 13 Jun 2017 02:32:20 +0000 (10:32 +0800)]
Merge branch 'MDL-51691-master' of https://github.com/jebarviabb/moodle
Jun Pataleta [Tue, 13 Jun 2017 01:49:29 +0000 (09:49 +0800)]
Merge branch 'MDL-58248-theme_boost-label-for-expand-button' of https://github.com/marcusgreen/moodle
Eloy Lafuente (stronk7) [Mon, 12 Jun 2017 23:28:13 +0000 (01:28 +0200)]
Merge branch 'MDL-59032-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Mon, 12 Jun 2017 23:25:52 +0000 (01:25 +0200)]
Merge branch 'MDL-59133-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
Eloy Lafuente (stronk7) [Mon, 12 Jun 2017 23:21:35 +0000 (01:21 +0200)]
Merge branch 'mdl58161-master' of https://github.com/tlock/moodle
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
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
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
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
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
Dan Poltawski [Mon, 12 Jun 2017 14:26:27 +0000 (15:26 +0100)]
Merge branch 'MDL-50011-master' of https://github.com/nwp90/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
Dan Poltawski [Mon, 12 Jun 2017 09:23:52 +0000 (10:23 +0100)]
Merge branch 'mdl46322-master' of https://github.com/AndresMelo/moodle
Damyon Wiese [Tue, 13 Jun 2017 07:06:20 +0000 (15:06 +0800)]
MDL-58136 course: Remove lines from unit test
Remove unused vars and logic from the unit test for classifying a course.
Damyon Wiese [Tue, 13 Jun 2017 02:07:54 +0000 (10:07 +0800)]
MDL-58136 navigation: Ensure we have all course fields
To properly classify courses we need the start/end dates etc.
Damyon Wiese [Tue, 6 Jun 2017 05:57:16 +0000 (13:57 +0800)]
MDL-58136 cache: Add a course completion cache
The last change added 1 db read per course per page which is not OK. Add a cache to compensate.
Damyon Wiese [Tue, 6 Jun 2017 04:05:09 +0000 (12:05 +0800)]
MDL-58136 boost: Limit courses in flatnav
Only show "in-progress" courses in the boost flat navigation (as per the myoverview block).
Josh Ebarvia [Thu, 18 May 2017 05:08:36 +0000 (14:38 +0930)]
MDL-51691 assignsubmission_feedback: Fix delete comments
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
Dan Poltawski [Mon, 12 Jun 2017 09:04:01 +0000 (10:04 +0100)]
MDL-55548 course: update test to use waitForSecond()
Dan Poltawski [Mon, 12 Jun 2017 08:59:04 +0000 (09:59 +0100)]
Merge branch 'MDL-55548_master' of git://github.com/markn86/moodle
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.
Devang Gaur [Fri, 31 Mar 2017 14:28:40 +0000 (19:58 +0530)]
MDL-55548 course: added timemodified field to course_sections table
Jun Pataleta [Mon, 12 Jun 2017 07:29:59 +0000 (15:29 +0800)]
Merge branch 'MDL-59042-master-upgradefix' of github.com:snake/moodle
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.
Jake Dallimore [Mon, 12 Jun 2017 05:58:14 +0000 (13:58 +0800)]
Merge branch 'MDL-57103-master' of https://github.com/xow/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
Jun Pataleta [Mon, 12 Jun 2017 05:29:03 +0000 (13:29 +0800)]
Merge branch 'MDL-59042-master' of git://github.com/snake/moodle
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.
John Okely [Tue, 23 May 2017 01:17:29 +0000 (09:17 +0800)]
MDL-57103 lib: Force ajax renderer for all ajax fatal errors
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.
Mark Nelson [Tue, 6 Jun 2017 11:14:46 +0000 (19:14 +0800)]
MDL-58907 block_myoverview: display last tab user was on
Mark Nelson [Tue, 6 Jun 2017 08:40:11 +0000 (16:40 +0800)]
MDL-58907 block_myoverview: added setting to select default tab
Juan Leyva [Fri, 9 Jun 2017 09:12:03 +0000 (10:12 +0100)]
MDL-59133 mod_lesson: Return page record in get_user_attempt WS
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.
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
Marcus Green [Wed, 7 Jun 2017 13:53:53 +0000 (14:53 +0100)]
MDL-58248 theme_boost: label/span for sidepanel expand button
Add string "Side panel" to make the purpose of
trigram/hamburger icon at top left clearer, particularly
when using screen readers e.g. Jaws/NVDA.
Currently it reads out only "expand"
Dan Poltawski [Thu, 8 Jun 2017 11:16:18 +0000 (12:16 +0100)]
weekly release 3.4dev
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
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.
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.
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.
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.
Dan Poltawski [Wed, 7 Jun 2017 15:25:58 +0000 (16:25 +0100)]
Merge branch 'MDL-59101-master' of git://github.com/junpataleta/moodle
Jun Pataleta [Wed, 7 Jun 2017 15:09:17 +0000 (23:09 +0800)]
MDL-59101 calendar: Properly calculate expected until date
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
Jun Pataleta [Wed, 7 Jun 2017 07:57:48 +0000 (15:57 +0800)]
MDL-58567 upgradelib: Do not show upgrade times on install
Jun Pataleta [Wed, 7 Jun 2017 06:36:13 +0000 (14:36 +0800)]
Merge branch 'MDL-57139-master' of git://github.com/danpoltawski/moodle
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
Jake Dallimore [Wed, 7 Jun 2017 01:24:07 +0000 (09:24 +0800)]
Merge branch 'MDL-59076_master' of git://github.com/markn86/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
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
Jun Pataleta [Tue, 6 Jun 2017 09:15:41 +0000 (17:15 +0800)]
Merge branch 'MDL-58908-master' of git://github.com/damyon/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
Damyon Wiese [Tue, 6 Jun 2017 07:50:52 +0000 (15:50 +0800)]
MDL-59032 scorm: Don't show action events to teachers
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
Dan Poltawski [Tue, 6 Jun 2017 07:44:46 +0000 (08:44 +0100)]
Merge branch 'MDL-59086_master' of git://github.com/markn86/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
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
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
Jun Pataleta [Tue, 6 Jun 2017 04:24:07 +0000 (12:24 +0800)]
Merge branch 'MDL-58646-master' of git://github.com/danpoltawski/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
Nadav Kavalerchik [Sat, 9 May 2015 12:15:01 +0000 (15:15 +0300)]
MDL-50011 qtype_multichoice: add settings (defaults for new questions)
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
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
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
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
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.
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.
Skylar Kelty [Mon, 27 Mar 2017 10:44:43 +0000 (11:44 +0100)]
MDL-49398 accesslib: Update for 3.4 and cleanups
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
Dan Poltawski [Mon, 5 Jun 2017 11:49:03 +0000 (12:49 +0100)]
Merge branch 'MDL-59080_master' of git://github.com/lazydaisy/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
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
AMOS bot [Sat, 3 Jun 2017 16:06:57 +0000 (00:06 +0800)]
Automatically generated installer lang files
AMOS bot [Sat, 3 Jun 2017 16:06:57 +0000 (00:06 +0800)]
Automatically generated installer lang files
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
Alexander Bias [Wed, 17 May 2017 19:01:09 +0000 (21:01 +0200)]
MDL-58970 themes: Fix references to core/loginform template
Mark Nielsen [Fri, 2 Jun 2017 16:31:40 +0000 (09:31 -0700)]
MDL-59091 behat: Fix gherkinlint errors
Just whitespace problems.
Mark Nielsen [Fri, 2 Jun 2017 16:27:48 +0000 (09:27 -0700)]
MDL-59091 behat: Properly propagate gherkinlint exit code
AMOS bot [Fri, 2 Jun 2017 16:07:17 +0000 (00:07 +0800)]
Automatically generated installer lang files
sam marshall [Wed, 31 May 2017 13:08:49 +0000 (14:08 +0100)]
MDL-59096 Tasks: Web running local plugin scheduled tasks fails
sam marshall [Tue, 11 Apr 2017 10:01:42 +0000 (11:01 +0100)]
MDL-58567 Upgrade: Show upgrade times
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)
Dan Poltawski [Wed, 17 May 2017 15:29:12 +0000 (16:29 +0100)]
MDL-50265 tests: remove deprecated useragent tests
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
Tony Levi [Sat, 14 May 2016 14:22:06 +0000 (23:52 +0930)]
MDL-49398 accesslib: Change competency to use new accesslib function
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.
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>"
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
Dan Poltawski [Sun, 15 Jan 2017 17:46:25 +0000 (17:46 +0000)]
MDL-57139 js: built
Dan Poltawski [Thu, 1 Jun 2017 13:43:23 +0000 (14:43 +0100)]
MDL-57139 amd/templates: catch unhandled promise failure
Dan Poltawski [Thu, 1 Jun 2017 13:43:00 +0000 (14:43 +0100)]
MDL-57139 amd/user_date: always return
Dan Poltawski [Thu, 1 Jun 2017 13:22:35 +0000 (14:22 +0100)]
MDL-57139 survey: fix promise return
Dan Poltawski [Thu, 1 Jun 2017 13:18:49 +0000 (14:18 +0100)]
MDL-57139 course: update menu action promises to 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