Dan Poltawski [Mon, 19 Jun 2017 09:46:09 +0000 (10:46 +0100)]
Merge branch 'MDL-56979-master-2' of git://github.com/junpataleta/moodle
Dan Poltawski [Mon, 19 Jun 2017 09:33:37 +0000 (10:33 +0100)]
Merge branch 'MDL-46418-master-hiddenrepos' of git://github.com/mudrd8mz/moodle
Jun Pataleta [Mon, 19 Jun 2017 08:24:51 +0000 (16:24 +0800)]
Merge branch 'MDL-44961-master' of git://github.com/ankitagarwal/moodle
Jun Pataleta [Mon, 19 Jun 2017 05:25:10 +0000 (13:25 +0800)]
Merge branch 'MDL-58310-master' of https://github.com/xow/moodle
John Okely [Mon, 29 May 2017 00:30:24 +0000 (08:30 +0800)]
MDL-58310 ajax: suppress errors upon page unload
John Okely [Mon, 12 Jun 2017 03:21:38 +0000 (11:21 +0800)]
MDL-58310 message: No longer need to supress errors from messaging
Jake Dallimore [Mon, 19 Jun 2017 01:12:30 +0000 (09:12 +0800)]
Merge branch 'MDL-59230-master' of git://github.com/lameze/moodle
Simey Lameze [Wed, 14 Jun 2017 04:26:35 +0000 (12:26 +0800)]
MDL-59230 block_myoverview: add missing core notification module
Jun Pataleta [Wed, 17 May 2017 08:45:51 +0000 (16:45 +0800)]
MDL-56979 group: Make group index page Boost-y
Jake Dallimore [Fri, 16 Jun 2017 05:29:33 +0000 (13:29 +0800)]
weekly release 3.4dev
Jake Dallimore [Fri, 16 Jun 2017 05:29:32 +0000 (13:29 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
David Mudrák [Thu, 15 Jun 2017 18:51:58 +0000 (20:51 +0200)]
MDL-46418 repositories: Fix how enabled repositories are populated
Repository instances are stored in the 'repository' table. Repositories
in the table are either 'Enabled and visible' or 'Enabled but hidden'.
Hidden repositories still serve their files, but are not visible in the
filepicker UI. Disabling a repository instance removes its record from
the table.
In the original implementation of the plugin manager (see
b9934a17), the
method plugintype_repository::get_enabled_repositories() correctly
returned all records from the repository table. Then as a part of the
bigger refactoring in MDL-41437, the commit
bde002b8 replaced the
original method with the new get_enabled_plugins() one which started to
return visible repositories only.
As a consequence, the admin tree stopped populating setting page nodes
for hidden repository instances. So attempting to visit their setting
page threw a section error. Credit goes to Ike Quigley for debugging and
tracing this down.
This patch fixes the way how the list of enabled repositories is
populated by the plugin manager so that both visible and hidden
repositories are returned again. This does not affect the filepicker
itself as it is using its own methods for obtaining the list.
Jun Pataleta [Thu, 15 Jun 2017 09:08:03 +0000 (17:08 +0800)]
Merge branch 'MDL-58248-master-iconfix' of github.com:snake/moodle
Jake Dallimore [Thu, 15 Jun 2017 05:34:24 +0000 (13:34 +0800)]
Merge branch 'MDL-59140_master-fix-v2' of https://github.com/markn86/moodle
Mark Nelson [Thu, 15 Jun 2017 04:14:29 +0000 (12:14 +0800)]
MDL-59140 core: apply limit only on courses to be shown in specific nav
There can be a different number of courses displayed in the
'Navigation' block and in the 'Flat' navigation. This patch
decides what courses we want to display on each, then
applies the 'navcourselimit' setting individually.
Jake Dallimore [Thu, 15 Jun 2017 01:48:31 +0000 (09:48 +0800)]
MDL-58248 theme: use pix icon for side panel menu icon instead of char
Replaces the trigram for heaven char with the fa-bars pix icon for
improved support with all screen readers.
Jake Dallimore [Wed, 14 Jun 2017 03:29:35 +0000 (11:29 +0800)]
Merge branch 'MDL-59142-master' of git://github.com/lameze/moodle
Dan Poltawski [Tue, 13 Jun 2017 13:40:06 +0000 (14:40 +0100)]
Merge branch 'MDL-59171-master' of git://github.com/junpataleta/moodle
Dan Poltawski [Tue, 13 Jun 2017 13:37:55 +0000 (14:37 +0100)]
Merge branch 'MDL-55548_master-fix' of https://github.com/markn86/moodle
Mark Nelson [Tue, 13 Jun 2017 13:06:37 +0000 (21:06 +0800)]
MDL-55548 core: fixed misleading comment in upgrade code
Dan Poltawski [Tue, 13 Jun 2017 12:23:28 +0000 (13:23 +0100)]
Merge branch 'MDL-59140_master' of git://github.com/markn86/moodle
Mark Nelson [Mon, 12 Jun 2017 03:50:14 +0000 (11:50 +0800)]
MDL-59140 core: upgrade 'navcourselimit' if set to old default value
Mark Nelson [Fri, 9 Jun 2017 04:56:25 +0000 (12:56 +0800)]
MDL-59140 core: limit the number of courses shown in the navigation
If the user is enrolled in more courses than the limit then a 'More...'
link is displayed which takes the user to the course/index.php page.
Mark Nelson [Fri, 9 Jun 2017 03:47:22 +0000 (11:47 +0800)]
MDL-59140 core: changes to the 'navcourselimit' setting
Changed the default and description.
Eloy Lafuente (stronk7) [Tue, 13 Jun 2017 09:19:48 +0000 (11:19 +0200)]
Merge branch 'wip-MDL-58523-master' of git://github.com/marinaglancy/moodle
Jun Pataleta [Wed, 14 Jun 2017 09:11:36 +0000 (17:11 +0800)]
Merge branch 'MDL-59012-master-linkurl' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 13 Jun 2017 09:08:25 +0000 (11:08 +0200)]
Merge branch 'MDL-58820-master' of https://github.com/nwp90/moodle
Jun Pataleta [Wed, 14 Jun 2017 08:56:11 +0000 (16:56 +0800)]
Merge branch 'MDL-58991-master' of git://github.com/lameze/moodle
Dan Poltawski [Tue, 13 Jun 2017 08:54:07 +0000 (09:54 +0100)]
Merge branch 'MDL-41426-block-completionstatus-spaces' of https://github.com/lucaboesch/moodle
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
Ankit Agarwal [Wed, 14 Jun 2017 09:02:53 +0000 (14:32 +0530)]
MDL-44961 logs: Keep log dates constant during restore
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.
Marina Glancy [Fri, 7 Apr 2017 00:08:23 +0000 (08:08 +0800)]
MDL-58523 mod_feedback: deleting response should reset completion
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).
Simey Lameze [Mon, 12 Jun 2017 02:40:01 +0000 (10:40 +0800)]
MDL-59142 core_theme: cache post-processed css
Thanks Cameron Ball for the base patch
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
Jun Pataleta [Wed, 7 Jun 2017 04:14:40 +0000 (12:14 +0800)]
MDL-59171 mod_lti: Set mod_lti_view_lti's type to 'read'
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
Luca Bösch [Wed, 7 Jun 2017 13:18:47 +0000 (15:18 +0200)]
MDL-41426 block: Whitespace lacking in completion status block
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"
AMOS bot [Thu, 8 Jun 2017 16:18:10 +0000 (00:18 +0800)]
Automatically generated installer lang files
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