Eloy Lafuente (stronk7) [Mon, 11 Sep 2017 22:13:28 +0000 (00:13 +0200)]
Merge branch 'wip-MDL-59808-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Mon, 11 Sep 2017 21:50:36 +0000 (23:50 +0200)]
Merge branch 'MDL-60025-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Mon, 11 Sep 2017 21:19:48 +0000 (23:19 +0200)]
Merge branch 'MDL-59934-master' of git://github.com/ryanwyllie/moodle
Dan Poltawski [Mon, 11 Sep 2017 13:39:43 +0000 (14:39 +0100)]
Merge branch 'MDL-59392-master' of git://github.com/andrewnicols/moodle
Dan Poltawski [Mon, 11 Sep 2017 13:18:51 +0000 (14:18 +0100)]
Merge branch 'MDL-35849-master' of git://github.com/ankitagarwal/moodle
Dan Poltawski [Mon, 11 Sep 2017 13:01:40 +0000 (14:01 +0100)]
Merge branch 'MDL-59459_Increase_file_indexing_coverage' of https://github.com/mattporritt/moodle
Jun Pataleta [Mon, 11 Sep 2017 09:18:16 +0000 (17:18 +0800)]
Merge branch 'MDL-59977_master' of git://github.com/markn86/moodle
Jun Pataleta [Mon, 11 Sep 2017 05:56:56 +0000 (13:56 +0800)]
Merge branch 'MDL-60031-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Mon, 11 Sep 2017 05:26:50 +0000 (13:26 +0800)]
Merge branch 'wip-MDL-55849-master' of git://github.com/abgreeve/moodle
Andrew Nicols [Fri, 8 Sep 2017 05:51:40 +0000 (13:51 +0800)]
MDL-59392 calendar: Deprecate old event filters
Andrew Nicols [Fri, 8 Sep 2017 05:45:38 +0000 (13:45 +0800)]
MDL-59392 calendar: Apply event filters to main calendar view
Andrew Nicols [Fri, 1 Sep 2017 06:58:14 +0000 (14:58 +0800)]
MDL-59392 calendar: Switch to templates in the cal block
This commit adds a set of templates for the calendar month block, and
the events filter. The same data exporters used in the main calendar
view are utilised and the same logic.
Some additional data was added to the exporters, and in the long term
this will be used in the main monthly view so I did not feel it was
prudent to strip it out into a different view of the model.
AMOS BEGIN
MOV [monthnext,access],[monthnext,calendar]
AMOS END
Mark Nelson [Wed, 30 Aug 2017 07:11:20 +0000 (15:11 +0800)]
MDL-59977 core: do not directly check 'viewparticipant' capability
Jun Pataleta [Mon, 11 Sep 2017 03:34:00 +0000 (11:34 +0800)]
Merge branch 'MDL-35668-master-fix' of git://github.com/junpataleta/moodle
Jun Pataleta [Mon, 11 Sep 2017 03:24:51 +0000 (11:24 +0800)]
MDL-35668 phpunit: Add filebrowser test folder to phpunit.xml
Jun Pataleta [Mon, 11 Sep 2017 03:01:41 +0000 (11:01 +0800)]
Merge branch 'wip-MDL-35668-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Fri, 8 Sep 2017 00:53:24 +0000 (08:53 +0800)]
MDL-59392 calendar: Stop polluting history with useless URLs
Andrew Nicols [Tue, 5 Sep 2017 07:22:18 +0000 (15:22 +0800)]
MDL-59392 calendar: Correct the next period (add vs sub)
Andrew Nicols [Tue, 5 Sep 2017 07:17:50 +0000 (15:17 +0800)]
MDL-59392 calendar: Add the calendar info to the exporter
Andrew Nicols [Mon, 11 Sep 2017 01:57:54 +0000 (09:57 +0800)]
MDL-59392 calendar: Split day exporter to week exporter
Andrew Nicols [Tue, 5 Sep 2017 07:14:54 +0000 (15:14 +0800)]
MDL-59392 calendar: Move template to parent Node
Andrew Nicols [Tue, 5 Sep 2017 07:14:00 +0000 (15:14 +0800)]
MDL-59392 calendar: ViewManager should take a root
Ryan Wyllie [Fri, 8 Sep 2017 02:45:54 +0000 (02:45 +0000)]
MDL-59934 calendar: remove more button from event form modal
David Monllao [Thu, 7 Sep 2017 09:39:02 +0000 (11:39 +0200)]
weekly release 3.4dev
David Monllao [Thu, 7 Sep 2017 05:52:56 +0000 (07:52 +0200)]
MDL-59657 analytics: No predictions until training is completed
Dan Poltawski [Wed, 6 Sep 2017 13:24:12 +0000 (14:24 +0100)]
Merge branch 'MDL-59657_master-fix' of git://github.com/dmonllao/moodle
David Monllao [Wed, 6 Sep 2017 12:55:34 +0000 (14:55 +0200)]
MDL-59657 analytics: Move lang string to correct location
Eloy Lafuente (stronk7) [Wed, 6 Sep 2017 11:13:04 +0000 (13:13 +0200)]
Merge branch 'MDL-59983-master-enfix' of git://github.com/mudrd8mz/moodle
Andrew Nicols [Wed, 6 Sep 2017 05:42:26 +0000 (13:42 +0800)]
MDL-59759 enrol: Update behat tests for unenrol confirm dialogue
David Mudrák [Tue, 29 Aug 2017 17:01:40 +0000 (19:01 +0200)]
MDL-59969 admin: Warn admins if a development libs directory exists
We can't really control the direct web access to directories in dirroot,
that is part of the server setup. So we at least warn admins as they may
not realize the risks of having directories like vendor or node_modules
exposed.
Credit goes to Petr Škoda for mentioning the PHPUnit issue CVE-2017-9841
to me.
Marina Glancy [Wed, 30 Aug 2017 03:37:27 +0000 (11:37 +0800)]
MDL-59972 mod_feedback: escape subject when showing the contact form
Jake Dallimore [Tue, 29 Aug 2017 02:39:11 +0000 (10:39 +0800)]
MDL-58953 user: additional test case for user_can_view_profile()
Jake Dallimore [Tue, 29 Aug 2017 02:38:44 +0000 (10:38 +0800)]
MDL-58953 user: fix course checking logic in user_can_view_profile()
Make sure to check that $user in enrolled in $course before checking
whether the current user has capabilities in that course, and make sure
that we don't check user context caps when handling a specific course.
Juan Leyva [Wed, 5 Jul 2017 12:18:08 +0000 (13:18 +0100)]
MDL-58762 core: Get full course objects on navigation
The course object passed as parameter to extend_navigation_user
callback contained only a few parameters, some parameters like
showgrades or showreports were missing.
The callback should receive a full course object.
Juan Leyva [Tue, 2 May 2017 08:04:55 +0000 (10:04 +0200)]
MDL-58762 report: Check group permissions in course user reports
Teachers were able to see any student report even with forced separated
groups and capability moodle/course:accessallgroups off.
Eloy Lafuente (stronk7) [Tue, 5 Sep 2017 11:28:53 +0000 (13:28 +0200)]
Merge branch 'MDL-59753-master' of git://github.com/lameze/moodle
Simey Lameze [Mon, 4 Sep 2017 01:04:33 +0000 (09:04 +0800)]
MDL-59753 core_calendar: apply course filter without reload
Simey Lameze [Mon, 4 Sep 2017 01:03:50 +0000 (09:03 +0800)]
MDL-59753 core_calendar: change course selector to normal select
David Monllao [Tue, 5 Sep 2017 05:25:09 +0000 (07:25 +0200)]
Merge branch 'MDL-59759-master-2' of git://github.com/junpataleta/moodle
Jun Pataleta [Tue, 5 Sep 2017 02:29:48 +0000 (10:29 +0800)]
Merge branch 'm34_MDL-59635_Properly_Escape_Column_Names_Reserved_Words_Proof' of https://github.com/scara/moodle
Eloy Lafuente (stronk7) [Mon, 4 Sep 2017 23:36:36 +0000 (01:36 +0200)]
MDL-59672 coding style: whitespace fixes
Eloy Lafuente (stronk7) [Mon, 4 Sep 2017 23:18:57 +0000 (01:18 +0200)]
Merge branch 'MDL-59672-master' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Mon, 4 Sep 2017 22:44:10 +0000 (00:44 +0200)]
Merge branch 'MDL-59696-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Mon, 4 Sep 2017 22:34:44 +0000 (00:34 +0200)]
Merge branch 'MDL-59198-master' of git://github.com/ankitagarwal/moodle
Dan Poltawski [Mon, 4 Sep 2017 15:56:45 +0000 (16:56 +0100)]
Merge branch 'MDL-59279_master' of git://github.com/dmonllao/moodle
David Monllao [Mon, 4 Sep 2017 11:55:31 +0000 (13:55 +0200)]
Merge branch 'MDL-59974-master' of git://github.com/lameze/moodle
David Monllao [Mon, 4 Sep 2017 11:45:39 +0000 (13:45 +0200)]
Merge branch 'wip-MDL-59768-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 4 Sep 2017 11:28:07 +0000 (12:28 +0100)]
Merge branch 'wip-MDL-59770-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 4 Sep 2017 10:52:14 +0000 (11:52 +0100)]
Merge branch 'MDL-59786_master' of git://github.com/dmonllao/moodle
David Monllao [Mon, 4 Sep 2017 10:33:02 +0000 (12:33 +0200)]
Merge branch 'master-MDL-59799' of https://github.com/jojoob/moodle
Dan Poltawski [Mon, 4 Sep 2017 10:24:54 +0000 (11:24 +0100)]
Merge branch 'MDL-59840_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 4 Sep 2017 10:23:22 +0000 (11:23 +0100)]
Merge branch 'wip-MDL-59992-master' of git://github.com/marinaglancy/moodle
David Monllao [Mon, 4 Sep 2017 10:07:44 +0000 (12:07 +0200)]
Merge branch 'wip-MDL-59815-master' of git://github.com/abgreeve/moodle
David Monllao [Mon, 4 Sep 2017 10:01:52 +0000 (12:01 +0200)]
Merge branch 'MDL-59846-master' of git://github.com/lameze/moodle
Dan Poltawski [Mon, 4 Sep 2017 09:51:30 +0000 (10:51 +0100)]
Merge branch 'MDL_59834-Indexing_of_personal_messages' of https://github.com/mattporritt/moodle
David Monllao [Mon, 4 Sep 2017 09:33:34 +0000 (11:33 +0200)]
Merge branch 'MDL-59864-master' of git://github.com/lameze/moodle
David Monllao [Mon, 4 Sep 2017 09:24:27 +0000 (11:24 +0200)]
Merge branch 'wip-MDL-59898-master-test' of git://github.com/abgreeve/moodle
Dan Poltawski [Mon, 4 Sep 2017 09:23:24 +0000 (10:23 +0100)]
Merge branch 'MDL-59657_master' of git://github.com/dmonllao/moodle
David Monllao [Mon, 4 Sep 2017 09:19:22 +0000 (11:19 +0200)]
Merge branch 'MDL-59963-report-logs-origin-pagination' of https://github.com/lucaboesch/moodle
David Monllao [Mon, 4 Sep 2017 09:08:23 +0000 (11:08 +0200)]
Merge branch 'MDL-59961_file_validation' of https://github.com/mrmark/moodle
Dan Poltawski [Mon, 4 Sep 2017 09:03:04 +0000 (10:03 +0100)]
Merge branch 'MDL-59153_master' of git://github.com/dmonllao/moodle
Marina Glancy [Wed, 6 Sep 2017 03:59:48 +0000 (11:59 +0800)]
MDL-59808 webservice_rest: comply with restformat argument
Juan Leyva [Wed, 6 Sep 2017 10:36:42 +0000 (12:36 +0200)]
MDL-60025 mod_book: Return correct values for chapters update time
Instead returning the time when the chapter was created or modified we
were returning the time when the book was created or modified.
Andrew Nicols [Wed, 6 Sep 2017 02:23:48 +0000 (10:23 +0800)]
MDL-60031 admin: Move risk longtext to pix title
David Mudrák [Tue, 5 Sep 2017 09:00:42 +0000 (11:00 +0200)]
MDL-59983 lang: Fix Forum behat scenarios to use the new strings
Helen Foster [Tue, 5 Sep 2017 08:46:54 +0000 (10:46 +0200)]
MDL-59983 lang: Merge English strings from the en_fix language pack
Significant string changes:
* mobileappenabled, setuplink and setuplink_desc in tool_mobile -
improved wording
* getmoodleonyourmobile and custommenuitems_desc in tool_mobile -
improved wording
Ankit Agarwal [Tue, 5 Sep 2017 06:37:49 +0000 (12:07 +0530)]
MDL-35849 login: Add role alert to error messages
Error messages should be prominent to screen readers as well as visual users,
adding the role alert is recommended way to achieve it for screen readers and this is
also what we do for ->notification apis
Matteo Scaramuccia [Sun, 25 Jun 2017 20:00:41 +0000 (22:00 +0200)]
MDL-59635 tool_replace: Escape the column name.
Matteo Scaramuccia [Sun, 25 Jun 2017 19:55:27 +0000 (21:55 +0200)]
MDL-59635 ddl: Added test_get_enc_quoted().
Jun Pataleta [Tue, 8 Aug 2017 09:08:24 +0000 (17:08 +0800)]
MDL-59759 core_user: Use SAVE_CANCEL modal for unenrol dialog
Jun Pataleta [Wed, 9 Aug 2017 03:37:37 +0000 (11:37 +0800)]
MDL-59759 core_message: Use SAVE_CANCEL modal for delete dialog
Jun Pataleta [Thu, 31 Aug 2017 09:17:54 +0000 (17:17 +0800)]
MDL-59759 core_calendar: Use SAVE_CANCEL modal for delete dialog
* Plus reorganise the code to make it a little tidier.
Jun Pataleta [Thu, 31 Aug 2017 07:18:53 +0000 (15:18 +0800)]
MDL-59759 core_amd: Deprecate core/modal_confirm
Jun Pataleta [Mon, 21 Aug 2017 07:39:14 +0000 (15:39 +0800)]
MDL-59696 theme_bootstrapbase: Set max-width for custom-select elements
* Set custom-select elements with a maximum width of 100% of their
container.
Jun Pataleta [Mon, 21 Aug 2017 07:43:17 +0000 (15:43 +0800)]
MDL-59696 templates: Remove form-group div for url-select template
* Removed the div with the class 'form-group' that's enclosing the
select element and friends. It's not needed since the urlselect template
is an inline form.
* Also, for completeness, I added the helpicon data for the template's
context.
Tobias Garske [Tue, 22 Aug 2017 09:44:08 +0000 (11:44 +0200)]
MDL-59898 access: Added Icon references.
Simey Lameze [Fri, 1 Sep 2017 08:32:09 +0000 (16:32 +0800)]
MDL-59974 core_calendar: remove JS code no longer used
Simey Lameze [Thu, 31 Aug 2017 02:13:37 +0000 (10:13 +0800)]
MDL-59974 core_calendar: hide elements based on event type
Adrian Greeve [Thu, 31 Aug 2017 03:10:58 +0000 (11:10 +0800)]
MDL-55849 mod_assign: Behat update for group submission reopening.
Adrian Greeve [Wed, 16 Aug 2017 07:21:33 +0000 (15:21 +0800)]
MDL-55849 mod_assign: Reopening assignments only increases by one.
Group assignments when being reopened will only increase the
attempt total by one.
Simey Lameze [Wed, 30 Aug 2017 02:45:05 +0000 (10:45 +0800)]
MDL-59672 core_calendar: set course event type on course context
Simey Lameze [Thu, 17 Aug 2017 06:41:18 +0000 (14:41 +0800)]
MDL-59846 core_calendar: add styling to action link
Simey Lameze [Thu, 31 Aug 2017 01:40:05 +0000 (09:40 +0800)]
MDL-59864 core_calendar: add behat test for module events edit
Simey Lameze [Thu, 31 Aug 2017 01:39:14 +0000 (09:39 +0800)]
MDL-59864 core_calendar: add link to activity on module events
Matt Porritt [Thu, 31 Aug 2017 01:36:18 +0000 (11:36 +1000)]
MDL-59834 Global Search: Indexing user messages
Make indexing of user messages tolerant to user deletion.
When creating the search document for user messages,
add a check to see if the user has been deleted in the
system. If they have been deleted abort creating the search
document.
This is to avoid rasining an error when trying to get the
user context for a deleted user.
Matt Porritt [Thu, 6 Jul 2017 05:27:53 +0000 (15:27 +1000)]
MDL-59459 Golbal Search: Increase file indexing coverage
Increase the scope of the files that are detected and
indexed by Moodle's Global Search. This includes intro
and content areas of search areas. The use case here is
in a description for an activity there is a file added
that contains more information about the activity.
It would an advantage to be able to search this content
as well. It would also allow search engine plugins to be
able to index non text files such as images.
Johannes Burk [Sun, 13 Aug 2017 12:42:54 +0000 (14:42 +0200)]
MDL-59799 course: Include course/lib.php before using move_courses().
Luca Bösch [Tue, 29 Aug 2017 05:33:21 +0000 (07:33 +0200)]
MDL-53936 reports: State default index page explicitly in pagination url
Luca Bösch [Tue, 29 Aug 2017 05:53:42 +0000 (07:53 +0200)]
MDL-59963 reports: origin parameter looked at in log reports
David Monllao [Thu, 31 Aug 2017 16:01:50 +0000 (18:01 +0200)]
MDL-59153 report_insights: UI improvements
- Accessible info tables
- Outcome icons
- Navigation bar for missing contexts
- Heading contents standarisation
David Monllao [Fri, 25 Aug 2017 06:49:18 +0000 (08:49 +0200)]
MDL-59153 analytics: No access to disabled models predictions
David Monllao [Mon, 21 Aug 2017 14:18:02 +0000 (16:18 +0200)]
MDL-59786 analytics: Discard invalid samples
David Monllao [Wed, 16 Aug 2017 11:30:48 +0000 (13:30 +0200)]
MDL-59840 analytics: Enable single range instead of no splitting
Jun Pataleta [Fri, 1 Sep 2017 05:26:56 +0000 (13:26 +0800)]
weekly release 3.4dev
Jun Pataleta [Fri, 1 Sep 2017 05:26:55 +0000 (13:26 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Andrew Nicols [Fri, 1 Sep 2017 00:24:49 +0000 (08:24 +0800)]
MDL-59801 tool_lp: Behat fix for autocomplete
An earlier Behat fix made the use of autocomplete stricter on checking
an exact match instead of a substring, which in turn broke this use
which was searching for a partial match.
Andrew Nicols [Thu, 31 Aug 2017 07:00:08 +0000 (15:00 +0800)]
Merge branch 'MDL-56646-master-fix' of https://github.com/xow/moodle
John Okely [Thu, 31 Aug 2017 06:38:22 +0000 (14:38 +0800)]
MDL-56646 mod_assign: Improve grade fix strings
John Okely [Thu, 31 Aug 2017 06:22:15 +0000 (14:22 +0800)]
MDL-56646 mod_assign: Make rescale behat more specific
Marina Glancy [Wed, 9 Aug 2017 00:04:00 +0000 (08:04 +0800)]
MDL-59768 tasks: schedule task only if it is not scheduled