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.
Andrew Nicols [Tue, 22 Aug 2017 07:49:11 +0000 (15:49 +0800)]
Merge branch 'MDL-59826-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
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
Andrew Nicols [Tue, 22 Aug 2017 06:37:55 +0000 (14:37 +0800)]
Merge branch 'MDL-36985-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
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.
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
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
Mark Nelson [Tue, 22 Aug 2017 05:04:47 +0000 (13:04 +0800)]
MDL-59204 analytics: added missing apostrophe
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.
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.
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
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
Mark Nelson [Tue, 15 Aug 2017 08:52:28 +0000 (16:52 +0800)]
MDL-59204 analytics: help icons for target, indicators and time method
Andrew Nicols [Tue, 22 Aug 2017 03:01:30 +0000 (11:01 +0800)]
Merge branch 'MDL-59702' of https://github.com/andrewhancox/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
Simey Lameze [Tue, 22 Aug 2017 01:39:28 +0000 (09:39 +0800)]
MDL-59860 core_calendar: fix behat failures
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
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
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
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
Jun Pataleta [Mon, 21 Aug 2017 08:58:33 +0000 (16:58 +0800)]
MDL-59809 boost: Make stylelint happy
Jun Pataleta [Mon, 21 Aug 2017 08:30:37 +0000 (16:30 +0800)]
Merge branch 'MDL-59809-master' of git://github.com/damyon/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
Simey Lameze [Mon, 21 Aug 2017 07:46:41 +0000 (15:46 +0800)]
MDL-59677 core_calendar: add missing return on changeMonth promises
Andrew Nicols [Mon, 21 Aug 2017 07:33:40 +0000 (15:33 +0800)]
Merge branch 'MDL-59677-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
Simey Lameze [Mon, 21 Aug 2017 04:49:04 +0000 (12:49 +0800)]
MDL-59677 core_calendar: delete event without reload whole page
Andrew Nicols [Mon, 21 Aug 2017 07:14:15 +0000 (15:14 +0800)]
Merge branch 'MDL-59674-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
Andrew Nicols [Mon, 21 Aug 2017 06:11:44 +0000 (14:11 +0800)]
Merge branch 'MDL-59860-master' of git://github.com/lameze/moodle
Simey Lameze [Fri, 18 Aug 2017 03:27:44 +0000 (11:27 +0800)]
MDL-59674 core_calendar: add group name to summary template
Simey Lameze [Fri, 18 Aug 2017 03:27:14 +0000 (11:27 +0800)]
MDL-59674 core_calendar: add group name to event exporter
Simey Lameze [Mon, 21 Aug 2017 05:35:53 +0000 (13:35 +0800)]
MDL-59699 core_calendar: add steps to assert the course link
Simey Lameze [Tue, 8 Aug 2017 07:07:06 +0000 (15:07 +0800)]
MDL-59699 core_calendar: add course link to course events
Jun Pataleta [Mon, 21 Aug 2017 02:40:27 +0000 (10:40 +0800)]
Merge branch 'MDL-59733-master' of https://github.com/xow/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
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
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.
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.
Simey Lameze [Fri, 18 Aug 2017 04:29:49 +0000 (12:29 +0800)]
MDL-59860 core_calendar: behat scenario for module events
Simey Lameze [Fri, 18 Aug 2017 04:00:51 +0000 (12:00 +0800)]
MDL-59860 core_calendar: add editurl parameter back
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.
Simey Lameze [Fri, 18 Aug 2017 03:06:36 +0000 (11:06 +0800)]
MDL-59687 core_calendar: calendar feature improvement
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
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.
Jake Dallimore [Thu, 3 Aug 2017 05:58:27 +0000 (13:58 +0800)]
MDL-59049 badges: allows users to view badges from deleted 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.
David Monllao [Thu, 10 Aug 2017 11:43:17 +0000 (13:43 +0200)]
MDL-59661 analytics: Export models training data
David Monllao [Thu, 10 Aug 2017 10:55:57 +0000 (12:55 +0200)]
MDL-59661 analytics: Filearea passed as an argument to dataset_manager
Eloy Lafuente (stronk7) [Thu, 17 Aug 2017 08:39:13 +0000 (10:39 +0200)]
weekly release 3.4dev
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
AMOS bot [Wed, 16 Aug 2017 16:08:17 +0000 (00:08 +0800)]
Automatically generated installer lang files
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.
Jun Pataleta [Wed, 16 Aug 2017 02:12:51 +0000 (10:12 +0800)]
Merge branch 'MDL-59388-master' of git://github.com/lameze/moodle
Simey Lameze [Wed, 16 Aug 2017 02:10:48 +0000 (10:10 +0800)]
MDL-59388 core_calendar: convert manage subscription button
Simey Lameze [Wed, 16 Aug 2017 01:44:27 +0000 (09:44 +0800)]
MDL-59388 core_calendar: remove empty lines and unused imports
Jun Pataleta [Tue, 15 Aug 2017 09:08:31 +0000 (17:08 +0800)]
MDL-59388 calendar: footer_options fixes
Ryan Wyllie [Mon, 14 Aug 2017 01:17:59 +0000 (09:17 +0800)]
MDL-59388 core_calendar: setUpTrigger needs to handle arrays
Simey Lameze [Tue, 8 Aug 2017 05:11:42 +0000 (13:11 +0800)]
MDL-59388 core_calendar: fix month view on clean theme
Simey Lameze [Tue, 8 Aug 2017 00:11:31 +0000 (08:11 +0800)]
MDL-59388 core_calendar: fix cibot complains
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
Andrew Nicols [Wed, 16 Aug 2017 00:46:55 +0000 (08:46 +0800)]
Merge branch 'MDL-53537_m34v4' of https://github.com/sbourget/moodle
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.
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.
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.
Stephen Bourget [Tue, 15 Aug 2017 18:10:38 +0000 (14:10 -0400)]
MDL-53537 core_backup: Add a course_backup_created event
Eloy Lafuente (stronk7) [Tue, 15 Aug 2017 14:35:12 +0000 (16:35 +0200)]
Merge branch 'MDL-58435' of https://github.com/NeillM/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
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
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.
Neill Magill [Tue, 15 Aug 2017 08:22:31 +0000 (09:22 +0100)]
MDL-58435 behat: Update existing tests to use section editing steps
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.
John Okely [Tue, 15 Aug 2017 04:59:14 +0000 (12:59 +0800)]
MDL-59733 assignsubmission_file: Use click interface in behat
Ankit Agarwal [Tue, 15 Aug 2017 04:41:51 +0000 (10:11 +0530)]
MDL-55937 assign: Check for group submission caps when userid=0
Andrew Nicols [Tue, 15 Aug 2017 05:17:37 +0000 (13:17 +0800)]
Merge branch 'MDL-59746-master' of git://github.com/Dagefoerde/moodle
Andrew Nicols [Tue, 15 Aug 2017 05:05:33 +0000 (13:05 +0800)]
Merge branch 'MDL-59810-master' of git://github.com/lameze/moodle
Simey Lameze [Tue, 15 Aug 2017 03:51:59 +0000 (11:51 +0800)]
MDL-59810 core_calendar: test action events cannot be deleted
Jun Pataleta [Tue, 15 Aug 2017 03:49:38 +0000 (11:49 +0800)]
Merge branch 'MDL-57611-master' of https://github.com/jebarviabb/moodle
Andrew Nicols [Tue, 15 Aug 2017 02:16:42 +0000 (10:16 +0800)]
Merge branch 'MDL-59370-master' of git://github.com/damyon/moodle
Ryan Wyllie [Mon, 14 Aug 2017 02:47:38 +0000 (02:47 +0000)]
MDL-59667 form: stop datepicker from rendering outside viewport
Stop the date picker panel from being rendered outside of the
viewport, for example when being displayed in a modal.
Eloy Lafuente (stronk7) [Mon, 14 Aug 2017 10:10:36 +0000 (12:10 +0200)]
Merge branch 'wip-MDL-59736-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Mon, 14 Aug 2017 09:58:00 +0000 (11:58 +0200)]
Merge branch 'MDL-59774_master' of git://github.com/dmonllao/moodle
Jun Pataleta [Mon, 14 Aug 2017 08:56:08 +0000 (16:56 +0800)]
Merge branch 'MDL-59785-master' of git://github.com/lameze/moodle
Damyon Wiese [Mon, 14 Aug 2017 05:56:02 +0000 (13:56 +0800)]
MDL-59756 enrol: UI change enrolment details
The enrolment details popup should not have "Edit enrolment" as a primary action for the dialogue.
Instead it should just have an edit cog next to the enrolment name.
Marina Glancy [Mon, 14 Aug 2017 03:56:13 +0000 (11:56 +0800)]
MDL-59800 bootstrapbase: correct CSS for BS4 card
David Monllao [Wed, 9 Aug 2017 06:55:19 +0000 (08:55 +0200)]
MDL-59774 analytics: Fix sql_compare_text usage
Replace a distinct + join by an exists, which suits better what we need to do.
Jun Pataleta [Mon, 14 Aug 2017 05:48:01 +0000 (13:48 +0800)]
Merge branch 'MDL-59740_master' of git://github.com/markn86/moodle
Andrew Nicols [Mon, 14 Aug 2017 05:13:47 +0000 (13:13 +0800)]
Merge branch 'wip-MDL-57188-master-2' of git://github.com/marinaglancy/moodle
Andrew Nicols [Mon, 14 Aug 2017 04:25:33 +0000 (12:25 +0800)]
Merge branch 'MDL-59737_master' of git://github.com/markn86/moodle
Jun Pataleta [Mon, 14 Aug 2017 04:16:08 +0000 (12:16 +0800)]
Merge branch 'MDL-59492-master' of git://github.com/lameze/moodle
Simey Lameze [Thu, 10 Aug 2017 02:59:22 +0000 (10:59 +0800)]
MDL-59492 block_myoverview: make view course buttons consistent
Simey Lameze [Thu, 10 Aug 2017 02:44:09 +0000 (10:44 +0800)]
MDL-59492 block_myoverview: fix remaining course links visibility
Charles Fulton [Mon, 24 Jul 2017 14:49:58 +0000 (10:49 -0400)]
MDL-59492 block_myoverview: handle course visibility style
Damyon Wiese [Mon, 24 Jul 2017 08:13:24 +0000 (16:13 +0800)]
MDL-59370 behat: Behat fixes for enrolled users
We removed the enrolled users page, so we need to update the behats that were using it.
Damyon Wiese [Mon, 24 Jul 2017 02:10:34 +0000 (10:10 +0800)]
MDL-59370 enrol: Kill the enrol/users page.
Simey Lameze [Wed, 19 Jul 2017 01:04:19 +0000 (09:04 +0800)]
MDL-59388 core_calendar: display calendar footer options
Simey Lameze [Wed, 19 Jul 2017 00:59:11 +0000 (08:59 +0800)]
MDL-59388 core_calendar: new footer options exporter
Simey Lameze [Wed, 19 Jul 2017 00:58:11 +0000 (08:58 +0800)]
MDL-59388 core_calendar: add calendar_get_footer_options() method