moodle.git
4 years agoMerge branch 'MDL-59393-master-2' of git://github.com/ryanwyllie/moodle
Andrew Nicols [Wed, 23 Aug 2017 01:44:01 +0000 (09:44 +0800)]
Merge branch 'MDL-59393-master-2' of git://github.com/ryanwyllie/moodle

4 years agoMerge branch 'MDL-51827' of git://github.com/timhunt/moodle
Andrew Nicols [Wed, 23 Aug 2017 01:37:52 +0000 (09:37 +0800)]
Merge branch 'MDL-51827' of git://github.com/timhunt/moodle

4 years agoMDL-59393 calendar: use event context in update_event_start_day
Ryan Wyllie [Wed, 23 Aug 2017 01:32:51 +0000 (01:32 +0000)]
MDL-59393 calendar: use event context in update_event_start_day

4 years agoMDL-59393 calendar: remove use of legacy event in event_exporter
Ryan Wyllie [Wed, 23 Aug 2017 01:15:08 +0000 (01:15 +0000)]
MDL-59393 calendar: remove use of legacy event in event_exporter

4 years agoMDL-59393 calendar: stop user editing module events
Ryan Wyllie [Fri, 18 Aug 2017 05:29:07 +0000 (05:29 +0000)]
MDL-59393 calendar: stop user editing module events

4 years agoMDL-59393 calendar: add event drag and drop to monthly view
Ryan Wyllie [Thu, 17 Aug 2017 06:27:27 +0000 (06:27 +0000)]
MDL-59393 calendar: add event drag and drop to monthly view

4 years agoMDL-59393 calendar: add update_event_start_day external function
Ryan Wyllie [Thu, 17 Aug 2017 06:26:37 +0000 (06:26 +0000)]
MDL-59393 calendar: add update_event_start_day external function

4 years agoMDL-59393 calendar: add update_event_start_day to local api
Ryan Wyllie [Thu, 17 Aug 2017 06:25:10 +0000 (06:25 +0000)]
MDL-59393 calendar: add update_event_start_day to local api

4 years agoMDL-59393 calendar: set defaults for legacy event in mapper
Ryan Wyllie [Thu, 17 Aug 2017 06:24:12 +0000 (06:24 +0000)]
MDL-59393 calendar: set defaults for legacy event in mapper

4 years agoMDL-59393 calendar: move candelete and canedit into event_exporter_base
Ryan Wyllie [Thu, 17 Aug 2017 06:22:22 +0000 (06:22 +0000)]
MDL-59393 calendar: move candelete and canedit into event_exporter_base

4 years agoMDL-59674 core_calendar: add group name to summary template
Simey Lameze [Fri, 18 Aug 2017 03:27:44 +0000 (11:27 +0800)]
MDL-59674 core_calendar: add group name to summary template

4 years agoMDL-59674 core_calendar: add group name to event exporter
Simey Lameze [Fri, 18 Aug 2017 03:27:14 +0000 (11:27 +0800)]
MDL-59674 core_calendar: add group name to event exporter

4 years agoMerge branch 'MDL-59067_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Wed, 23 Aug 2017 00:55:20 +0000 (02:55 +0200)]
Merge branch 'MDL-59067_master' of git://github.com/dmonllao/moodle

4 years agoMDL-59067 analytics: Store indicator calculations
David Monllao [Mon, 7 Aug 2017 10:15:19 +0000 (12:15 +0200)]
MDL-59067 analytics: Store indicator calculations

This was supposed to be split into multiple commits to make it easier to understand
but I failed to do it properly. So this is the list of changes:

- New analytics_indicator_calc db table to store indicators calculations
- Reuse previous calculations during prediction/training; other models
  previous calculations should also be reused as long as they belong to
  the same sample (sampleid depends on sampleorigin), time range and indicator
- Allow bulk inserting of these calculations as this can hurt database performance
- Block the same analysable to be analysed for training and for prediction
- Use a new instance of the target and use it for is_valid_* functions
  as using ::is_valid_sample can lead to problems if people
  uses it to cache stuff

4 years agoMerge branch 'MDL-59663-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 22 Aug 2017 19:03:32 +0000 (21:03 +0200)]
Merge branch 'MDL-59663-master' of git://github.com/junpataleta/moodle

4 years agoMDL-51827 account confirm: take users to their dashboard
Tim Hunt [Fri, 18 Aug 2017 15:54:59 +0000 (16:54 +0100)]
MDL-51827 account confirm: take users to their dashboard

This is an old bit of UI inconsistency. For some reason it used to take
people to the list of all courses. Given modern Moodle usability
conventions, that does not really make sense any more.

4 years agoMerge branch 'MDL-59661_master-unit-test' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Tue, 22 Aug 2017 11:23:11 +0000 (13:23 +0200)]
Merge branch 'MDL-59661_master-unit-test' of git://github.com/dmonllao/moodle

4 years agoMDL-59661 analytics: New test for the datasets manager
David Monllao [Tue, 22 Aug 2017 11:04:49 +0000 (13:04 +0200)]
MDL-59661 analytics: New test for the datasets manager

4 years agoMerge branch 'MDL-59859-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 22 Aug 2017 10:36:48 +0000 (12:36 +0200)]
Merge branch 'MDL-59859-master' of git://github.com/andrewnicols/moodle

4 years agoMerge branch 'MDL-59784-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 22 Aug 2017 10:28:32 +0000 (12:28 +0200)]
Merge branch 'MDL-59784-master' of git://github.com/andrewnicols/moodle

4 years agoMDL-59848 auth: Remove config for old plugins
Andrew Nicols [Thu, 17 Aug 2017 03:35:02 +0000 (11:35 +0800)]
MDL-59848 auth: Remove config for old plugins

Note: (stronk7@moodle.org) Amended slightly from original to update versions.

4 years agoMerge branch 'MDL-59826-master' of https://github.com/snake/moodle
Andrew Nicols [Tue, 22 Aug 2017 07:49:11 +0000 (15:49 +0800)]
Merge branch 'MDL-59826-master' of https://github.com/snake/moodle

4 years agoMerge branch 'MDL-59825-master' of https://github.com/snake/moodle
Andrew Nicols [Tue, 22 Aug 2017 07:12:38 +0000 (15:12 +0800)]
Merge branch 'MDL-59825-master' of https://github.com/snake/moodle

4 years agoMerge branch 'MDL-57775-master-xmlrpc' of git://github.com/mudrd8mz/moodle
Jun Pataleta [Tue, 22 Aug 2017 07:00:01 +0000 (15:00 +0800)]
Merge branch 'MDL-57775-master-xmlrpc' of git://github.com/mudrd8mz/moodle

4 years agoMerge branch 'MDL-36985-master' of https://github.com/snake/moodle
Andrew Nicols [Tue, 22 Aug 2017 06:37:55 +0000 (14:37 +0800)]
Merge branch 'MDL-36985-master' of https://github.com/snake/moodle

4 years agoMerge branch 'MDL-59893-master' of https://github.com/snake/moodle
Andrew Nicols [Tue, 22 Aug 2017 05:32:53 +0000 (13:32 +0800)]
Merge branch 'MDL-59893-master' of https://github.com/snake/moodle

4 years agoMDL-36985 atto: show file removal text on managefiles plugin
Jake Dallimore [Thu, 17 Aug 2017 08:39:09 +0000 (16:39 +0800)]
MDL-36985 atto: show file removal text on managefiles plugin

Shows a text warning in the manage files plugin window when an editor
has set the 'removeorphaneddrafts' option to true. The text tells the
user that unused files will be automatically deleted on save.

4 years agoMDL-36985 core_files: added option to remove draft files on save
Jake Dallimore [Thu, 27 Jul 2017 08:47:09 +0000 (16:47 +0800)]
MDL-36985 core_files: added option to remove draft files on save

text areas can now specify $options['removeorphaneddrafts'] when saving
their data using file_postupdate_standard_editor(). If set to true,
this option clears all user drafts which are not referenced in the text

4 years agoMerge branch 'MDL-59204_master-fix' of git://github.com/markn86/moodle
Jun Pataleta [Tue, 22 Aug 2017 05:08:19 +0000 (13:08 +0800)]
Merge branch 'MDL-59204_master-fix' of git://github.com/markn86/moodle

4 years agoMDL-59204 analytics: added missing apostrophe
Mark Nelson [Tue, 22 Aug 2017 05:04:47 +0000 (13:04 +0800)]
MDL-59204 analytics: added missing apostrophe

4 years agoMDL-59893 assign: don't prefix file links when downloading as folders
Jake Dallimore [Wed, 26 Jul 2017 09:03:46 +0000 (17:03 +0800)]
MDL-59893 assign: don't prefix file links when downloading as folders

Change to download_rewrite_pluginfile_urls() ensuring prefix isn't
added to file links when downloading with the  downloadasfolders
user preference set to true. Links to files in onlinetext now work
when downloading as folders.

4 years agoMDL-59893 assign: fixes for groupname prefix when downloading
Jake Dallimore [Wed, 26 Jul 2017 09:00:36 +0000 (17:00 +0800)]
MDL-59893 assign: fixes for groupname prefix when downloading

assign->download_submissions():
- groupname now only added to zip file name if not empty, fixing a
double hyphen bug in the file name.
assign->download_rewrite_pluginfile_urls():
- groupname is now correctly determined using get_submission_group()
instead of using groups_get_activity_group() which fails when there
is no active activity group set. Uses the same logic that
download_submission() uses to prefix file names. Fixes a bug where an
empty groupname prefix was generated, resulting in broken links.

4 years agoMerge branch 'MDL-59204_master_v2' of git://github.com/markn86/moodle
Jun Pataleta [Tue, 22 Aug 2017 04:46:23 +0000 (12:46 +0800)]
Merge branch 'MDL-59204_master_v2' of git://github.com/markn86/moodle

4 years agoMerge branch 'MDL-57246-33-forumredirect' of git://github.com/roperto/moodle
Andrew Nicols [Tue, 22 Aug 2017 04:26:42 +0000 (12:26 +0800)]
Merge branch 'MDL-57246-33-forumredirect' of git://github.com/roperto/moodle

4 years agoMDL-59204 analytics: help icons for target, indicators and time method
Mark Nelson [Tue, 15 Aug 2017 08:52:28 +0000 (16:52 +0800)]
MDL-59204 analytics: help icons for target, indicators and time method

4 years agoMerge branch 'MDL-59702' of https://github.com/andrewhancox/moodle
Andrew Nicols [Tue, 22 Aug 2017 03:01:30 +0000 (11:01 +0800)]
Merge branch 'MDL-59702' of https://github.com/andrewhancox/moodle

4 years agoMerge branch 'MDL-59860-master-fix' of https://github.com/lameze/moodle
Andrew Nicols [Tue, 22 Aug 2017 02:51:52 +0000 (10:51 +0800)]
Merge branch 'MDL-59860-master-fix' of https://github.com/lameze/moodle

4 years agoMDL-59860 core_calendar: fix behat failures
Simey Lameze [Tue, 22 Aug 2017 01:39:28 +0000 (09:39 +0800)]
MDL-59860 core_calendar: fix behat failures

4 years agoMerge branch 'MDL-59661_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Mon, 21 Aug 2017 23:41:29 +0000 (01:41 +0200)]
Merge branch 'MDL-59661_master' of git://github.com/dmonllao/moodle

4 years agoMerge branch 'MDL-55937-master' of git://github.com/ankitagarwal/moodle
Eloy Lafuente (stronk7) [Mon, 21 Aug 2017 21:17:24 +0000 (23:17 +0200)]
Merge branch 'MDL-55937-master' of git://github.com/ankitagarwal/moodle

4 years agoMerge branch 'MDL-59049-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Mon, 21 Aug 2017 21:09:09 +0000 (23:09 +0200)]
Merge branch 'MDL-59049-master' of https://github.com/snake/moodle

4 years agoMerge branch 'MDL-59809-master-fix' of git://github.com/junpataleta/moodle
Jun Pataleta [Mon, 21 Aug 2017 09:01:24 +0000 (17:01 +0800)]
Merge branch 'MDL-59809-master-fix' of git://github.com/junpataleta/moodle

4 years agoMDL-59809 boost: Make stylelint happy
Jun Pataleta [Mon, 21 Aug 2017 08:58:33 +0000 (16:58 +0800)]
MDL-59809 boost: Make stylelint happy

4 years agoMerge branch 'MDL-59809-master' of git://github.com/damyon/moodle
Jun Pataleta [Mon, 21 Aug 2017 08:30:37 +0000 (16:30 +0800)]
Merge branch 'MDL-59809-master' of git://github.com/damyon/moodle

4 years agoMerge branch 'MDL-59677-master-fix' of git://github.com/lameze/moodle
Andrew Nicols [Mon, 21 Aug 2017 07:58:42 +0000 (15:58 +0800)]
Merge branch 'MDL-59677-master-fix' of git://github.com/lameze/moodle

4 years agoMDL-59677 core_calendar: add missing return on changeMonth promises
Simey Lameze [Mon, 21 Aug 2017 07:46:41 +0000 (15:46 +0800)]
MDL-59677 core_calendar: add missing return on changeMonth promises

4 years agoMerge branch 'MDL-59677-master' of git://github.com/lameze/moodle
Andrew Nicols [Mon, 21 Aug 2017 07:33:40 +0000 (15:33 +0800)]
Merge branch 'MDL-59677-master' of git://github.com/lameze/moodle

4 years agoMerge branch 'MDL-59687-master' of git://github.com/lameze/moodle
Andrew Nicols [Mon, 21 Aug 2017 07:20:22 +0000 (15:20 +0800)]
Merge branch 'MDL-59687-master' of git://github.com/lameze/moodle

4 years agoMDL-59677 core_calendar: delete event without reload whole page
Simey Lameze [Mon, 21 Aug 2017 04:49:04 +0000 (12:49 +0800)]
MDL-59677 core_calendar: delete event without reload whole page

4 years agoMerge branch 'MDL-59674-master' of git://github.com/lameze/moodle
Andrew Nicols [Mon, 21 Aug 2017 07:14:15 +0000 (15:14 +0800)]
Merge branch 'MDL-59674-master' of git://github.com/lameze/moodle

4 years agoMerge branch 'MDL-59699-master' of git://github.com/lameze/moodle
Andrew Nicols [Mon, 21 Aug 2017 06:15:41 +0000 (14:15 +0800)]
Merge branch 'MDL-59699-master' of git://github.com/lameze/moodle

4 years agoMerge branch 'MDL-59860-master' of git://github.com/lameze/moodle
Andrew Nicols [Mon, 21 Aug 2017 06:11:44 +0000 (14:11 +0800)]
Merge branch 'MDL-59860-master' of git://github.com/lameze/moodle

4 years agoMDL-59674 core_calendar: add group name to summary template
Simey Lameze [Fri, 18 Aug 2017 03:27:44 +0000 (11:27 +0800)]
MDL-59674 core_calendar: add group name to summary template

4 years agoMDL-59674 core_calendar: add group name to event exporter
Simey Lameze [Fri, 18 Aug 2017 03:27:14 +0000 (11:27 +0800)]
MDL-59674 core_calendar: add group name to event exporter

4 years agoMDL-59699 core_calendar: add steps to assert the course link
Simey Lameze [Mon, 21 Aug 2017 05:35:53 +0000 (13:35 +0800)]
MDL-59699 core_calendar: add steps to assert the course link

4 years agoMDL-59699 core_calendar: add course link to course events
Simey Lameze [Tue, 8 Aug 2017 07:07:06 +0000 (15:07 +0800)]
MDL-59699 core_calendar: add course link to course events

4 years agoMDL-59859 enrol_manual: Improve modal creation ordering
Andrew Nicols [Fri, 18 Aug 2017 02:02:00 +0000 (10:02 +0800)]
MDL-59859 enrol_manual: Improve modal creation ordering

4 years agoMDL-59859 core: Accept Promise for save button
Andrew Nicols [Fri, 18 Aug 2017 02:53:28 +0000 (10:53 +0800)]
MDL-59859 core: Accept Promise for save button

Accept either a promise, or a string for the content of the save button
in the save / cancel modal.

4 years agoMerge branch 'MDL-59733-master' of https://github.com/xow/moodle
Jun Pataleta [Mon, 21 Aug 2017 02:40:27 +0000 (10:40 +0800)]
Merge branch 'MDL-59733-master' of https://github.com/xow/moodle

4 years agoMDL-59663 course: Render the appropriate course-category tree action
Jun Pataleta [Fri, 11 Aug 2017 00:10:10 +0000 (08:10 +0800)]
MDL-59663 course: Render the appropriate course-category tree action

4 years agoMDL-59784 core: Refactor addblock to listen earlier
Andrew Nicols [Wed, 16 Aug 2017 04:31:21 +0000 (12:31 +0800)]
MDL-59784 core: Refactor addblock to listen earlier

4 years agoMDL-59784 core: Modal factory should listen before fetching templates
Andrew Nicols [Wed, 16 Aug 2017 04:32:46 +0000 (12:32 +0800)]
MDL-59784 core: Modal factory should listen before fetching templates

4 years agoMDL-59784 core: Modal should accept title as a promise
Andrew Nicols [Wed, 16 Aug 2017 04:31:53 +0000 (12:31 +0800)]
MDL-59784 core: Modal should accept title as a promise

4 years agoMerge branch 'MDL-59836-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Fri, 18 Aug 2017 10:36:17 +0000 (12:36 +0200)]
Merge branch 'MDL-59836-master' of git://github.com/junpataleta/moodle

4 years agoMDL-59204 core: add getters to lang_string for identifier and component
Mark Nelson [Tue, 15 Aug 2017 08:51:45 +0000 (16:51 +0800)]
MDL-59204 core: add getters to lang_string for identifier and component

4 years agoMDL-59204 analytics: added corresponding name '_help' strings
Mark Nelson [Tue, 15 Aug 2017 07:47:05 +0000 (15:47 +0800)]
MDL-59204 analytics: added corresponding name '_help' strings

Strings are intentionally left blank as they will be done later by
AMOS.

4 years agoMDL-59204 analytics: changed get_name so that it returns a lang_string
Mark Nelson [Tue, 15 Aug 2017 07:39:33 +0000 (15:39 +0800)]
MDL-59204 analytics: changed get_name so that it returns a lang_string

This was done for indicators, targets and time splitting methods so that we
can get the string identifier and component in order to display a help_icon.

The functions were also made abstract, removing the default implementation.
Indicators, targets and time splitting methods should define this function.

4 years agoMDL-59860 core_calendar: behat scenario for module events
Simey Lameze [Fri, 18 Aug 2017 04:29:49 +0000 (12:29 +0800)]
MDL-59860 core_calendar: behat scenario for module events

4 years agoMDL-59860 core_calendar: add editurl parameter back
Simey Lameze [Fri, 18 Aug 2017 04:00:51 +0000 (12:00 +0800)]
MDL-59860 core_calendar: add editurl parameter back

4 years agoMDL-59836 core_amd: Use only one input event handler
Jun Pataleta [Fri, 18 Aug 2017 03:19:08 +0000 (11:19 +0800)]
MDL-59836 core_amd: Use only one input event handler

* We have duplicate input event handlers for the autocomplete element
which are both firing when the input element's value is being set.
In case an AJAX handler is defined for the autocomplete suggestions,
this causes the autocomplete suggestions so show "No suggestions" first
and then load the results from the AJAX handler a little bit later.

4 years agoMDL-59687 core_calendar: calendar feature improvement
Simey Lameze [Fri, 18 Aug 2017 03:06:36 +0000 (11:06 +0800)]
MDL-59687 core_calendar: calendar feature improvement

4 years agoMDL-59687 core_calendar: create event step needs to wait page ready
Simey Lameze [Fri, 18 Aug 2017 03:05:56 +0000 (11:05 +0800)]
MDL-59687 core_calendar: create event step needs to wait page ready

4 years agoMDL-59826 output: make context_header() aware of page context.
Jake Dallimore [Tue, 15 Aug 2017 07:37:33 +0000 (15:37 +0800)]
MDL-59826 output: make context_header() aware of page context.

There are times, such as when viewing a user profile within a course,
when user_can_view_profile() should be passed a course to force it to
restrict its capability checks to only the supplied course. This change
makes sure that core_renderer->context_header() calls this correctly.

4 years agoMDL-59049 badges: allows users to view badges from deleted courses
Jake Dallimore [Thu, 3 Aug 2017 05:58:27 +0000 (13:58 +0800)]
MDL-59049 badges: allows users to view badges from deleted courses

4 years agoMDL-59825 user: user_can_view_profile() checks all of a $user's courses
Jake Dallimore [Thu, 17 Aug 2017 03:14:33 +0000 (11:14 +0800)]
MDL-59825 user: user_can_view_profile() checks all of a $user's courses

This function used to check only those courses shared by both users
when it should have been checking all courses in which $user is
enrolled. Managers can view a user's course profile without necessarily
sharing the course (being enrolled in) with the $user.

4 years agoMDL-59661 analytics: Export models training data
David Monllao [Thu, 10 Aug 2017 11:43:17 +0000 (13:43 +0200)]
MDL-59661 analytics: Export models training data

4 years agoMDL-59661 analytics: Filearea passed as an argument to dataset_manager
David Monllao [Thu, 10 Aug 2017 10:55:57 +0000 (12:55 +0200)]
MDL-59661 analytics: Filearea passed as an argument to dataset_manager

4 years agoweekly release 3.4dev
Eloy Lafuente (stronk7) [Thu, 17 Aug 2017 08:39:13 +0000 (10:39 +0200)]
weekly release 3.4dev

4 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Thu, 17 Aug 2017 08:39:10 +0000 (10:39 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 years agoAutomatically generated installer lang files
AMOS bot [Wed, 16 Aug 2017 16:08:17 +0000 (00:08 +0800)]
Automatically generated installer lang files

4 years agoMDL-59809 boost: Don't allow z-index on pagination
Damyon Wiese [Wed, 16 Aug 2017 07:53:40 +0000 (15:53 +0800)]
MDL-59809 boost: Don't allow z-index on pagination

This causes parts of the pagination bar to show through overlays and modals.

4 years agoMerge branch 'MDL-59388-master' of git://github.com/lameze/moodle
Jun Pataleta [Wed, 16 Aug 2017 02:12:51 +0000 (10:12 +0800)]
Merge branch 'MDL-59388-master' of git://github.com/lameze/moodle

4 years agoMDL-59388 core_calendar: convert manage subscription button
Simey Lameze [Wed, 16 Aug 2017 02:10:48 +0000 (10:10 +0800)]
MDL-59388 core_calendar: convert manage subscription button

4 years agoMDL-59388 core_calendar: remove empty lines and unused imports
Simey Lameze [Wed, 16 Aug 2017 01:44:27 +0000 (09:44 +0800)]
MDL-59388 core_calendar: remove empty lines and unused imports

4 years agoMDL-59388 calendar: footer_options fixes
Jun Pataleta [Tue, 15 Aug 2017 09:08:31 +0000 (17:08 +0800)]
MDL-59388 calendar: footer_options fixes

4 years agoMDL-59388 core_calendar: setUpTrigger needs to handle arrays
Ryan Wyllie [Mon, 14 Aug 2017 01:17:59 +0000 (09:17 +0800)]
MDL-59388 core_calendar: setUpTrigger needs to handle arrays

4 years agoMDL-59388 core_calendar: fix month view on clean theme
Simey Lameze [Tue, 8 Aug 2017 05:11:42 +0000 (13:11 +0800)]
MDL-59388 core_calendar: fix month view on clean theme

4 years agoMDL-59388 core_calendar: fix cibot complains
Simey Lameze [Tue, 8 Aug 2017 00:11:31 +0000 (08:11 +0800)]
MDL-59388 core_calendar: fix cibot complains

4 years agoMerge branch 'wip-MDL-59800-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Wed, 16 Aug 2017 01:08:34 +0000 (09:08 +0800)]
Merge branch 'wip-MDL-59800-master' of git://github.com/marinaglancy/moodle

4 years agoMerge branch 'MDL-53537_m34v4' of https://github.com/sbourget/moodle
Andrew Nicols [Wed, 16 Aug 2017 00:46:55 +0000 (08:46 +0800)]
Merge branch 'MDL-53537_m34v4' of https://github.com/sbourget/moodle

4 years agoMDL-57775 xmlrpc: Formal fix of coding style and phpdocs
David Mudrák [Tue, 15 Aug 2017 12:14:08 +0000 (14:14 +0200)]
MDL-57775 xmlrpc: Formal fix of coding style and phpdocs

- There was missing MOODLE_INTERNAL check.
- The client is not used for unit tests only so the class description
  was obsolete.

4 years agoMDL-57775 xmlrpc: Test webservice_xmlrpc_client request encoding
David Mudrák [Tue, 15 Aug 2017 12:11:16 +0000 (14:11 +0200)]
MDL-57775 xmlrpc: Test webservice_xmlrpc_client request encoding

The patch wraps the underlying xmlrpc_encode_request() call into a
standalone method that can be then unit-tested.

4 years agoMDL-57775 xmlrpc: Pass escaping to xmlrpc_encode_request() calls
David Mudrák [Tue, 15 Aug 2017 11:42:08 +0000 (13:42 +0200)]
MDL-57775 xmlrpc: Pass escaping to xmlrpc_encode_request() calls

This patch adds the missing 'escaping' option to all remaining
xmlrpc_encode_request() calls in the moodle core code.

Without this, the xmlrpc_decode_request() call on the server side may
lead to wrongly decoded non-ascii characters.

4 years agoMDL-53537 core_backup: Add a course_backup_created event
Stephen Bourget [Tue, 15 Aug 2017 18:10:38 +0000 (14:10 -0400)]
MDL-53537 core_backup: Add a course_backup_created event

4 years agoMerge branch 'MDL-58435' of https://github.com/NeillM/moodle
Eloy Lafuente (stronk7) [Tue, 15 Aug 2017 14:35:12 +0000 (16:35 +0200)]
Merge branch 'MDL-58435' of https://github.com/NeillM/moodle

4 years agoMerge branch 'MDL-59756-master-2' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 15 Aug 2017 11:38:01 +0000 (13:38 +0200)]
Merge branch 'MDL-59756-master-2' of git://github.com/junpataleta/moodle

4 years agoMerge branch 'MDL-59667-master-2' of git://github.com/ryanwyllie/moodle
Eloy Lafuente (stronk7) [Tue, 15 Aug 2017 11:12:45 +0000 (13:12 +0200)]
Merge branch 'MDL-59667-master-2' of git://github.com/ryanwyllie/moodle

4 years agoMDL-59204 mod_*: removed redundant activity name from string index
Mark Nelson [Mon, 14 Aug 2017 08:10:38 +0000 (16:10 +0800)]
MDL-59204 mod_*: removed redundant activity name from string index

Also fixed references to incorrect strings.

4 years agoMDL-58435 behat: Update existing tests to use section editing steps
Neill Magill [Tue, 15 Aug 2017 08:22:31 +0000 (09:22 +0100)]
MDL-58435 behat: Update existing tests to use section editing steps

4 years agoMDL-59756 user: More Behat tests for the status field and friends
Jun Pataleta [Tue, 15 Aug 2017 06:33:23 +0000 (14:33 +0800)]
MDL-59756 user: More Behat tests for the status field and friends

* Add coverage for the rendering of the edit/unenrol icons in the status
  column.
* Add coverage for the rendering of the edit icon in the enrolment
  details modal.
* Avoid usage of xpath_element selectors whenever possible.