Simey Lameze [Wed, 23 Aug 2017 03:08:19 +0000 (11:08 +0800)]
MDL-59699 core_calendar: use course full name instead
Simey Lameze [Wed, 23 Aug 2017 03:02:03 +0000 (11:02 +0800)]
MDL-59699 core_calendar: display course link under event type
Jun Pataleta [Wed, 23 Aug 2017 02:05:15 +0000 (10:05 +0800)]
Merge branch 'MDL-59797-master' of git://github.com/lameze/moodle
Andrew Nicols [Wed, 23 Aug 2017 01:56:00 +0000 (09:56 +0800)]
Merge branch 'MDL-53848_form_hideif' of git://github.com/davosmith/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
Andrew Nicols [Wed, 23 Aug 2017 01:37:52 +0000 (09:37 +0800)]
Merge branch 'MDL-51827' of git://github.com/timhunt/moodle
Ryan Wyllie [Wed, 23 Aug 2017 01:32:51 +0000 (01:32 +0000)]
MDL-59393 calendar: use event context in update_event_start_day
Simey Lameze [Tue, 15 Aug 2017 00:37:30 +0000 (08:37 +0800)]
MDL-59797 core_course: dont escape module and section names
Ryan Wyllie [Wed, 23 Aug 2017 01:15:08 +0000 (01:15 +0000)]
MDL-59393 calendar: remove use of legacy event in event_exporter
Ryan Wyllie [Fri, 18 Aug 2017 05:29:07 +0000 (05:29 +0000)]
MDL-59393 calendar: stop user editing module events
Ryan Wyllie [Thu, 17 Aug 2017 06:27:27 +0000 (06:27 +0000)]
MDL-59393 calendar: add event drag and drop to monthly view
Ryan Wyllie [Thu, 17 Aug 2017 06:26:37 +0000 (06:26 +0000)]
MDL-59393 calendar: add update_event_start_day external function
Ryan Wyllie [Thu, 17 Aug 2017 06:25:10 +0000 (06:25 +0000)]
MDL-59393 calendar: add update_event_start_day to local api
Ryan Wyllie [Thu, 17 Aug 2017 06:24:12 +0000 (06:24 +0000)]
MDL-59393 calendar: set defaults for legacy event in mapper
Ryan Wyllie [Thu, 17 Aug 2017 06:22:22 +0000 (06:22 +0000)]
MDL-59393 calendar: move candelete and canedit into event_exporter_base
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
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
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
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
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.
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
David Monllao [Tue, 22 Aug 2017 11:04:49 +0000 (13:04 +0200)]
MDL-59661 analytics: New test for the datasets manager
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
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
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
Andrew Nicols [Fri, 18 Aug 2017 02:02:00 +0000 (10:02 +0800)]
MDL-59859 enrol_manual: Improve modal creation ordering
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.
Jun Pataleta [Mon, 21 Aug 2017 02:40:27 +0000 (10:40 +0800)]
Merge branch 'MDL-59733-master' of https://github.com/xow/moodle
Jun Pataleta [Fri, 11 Aug 2017 00:10:10 +0000 (08:10 +0800)]
MDL-59663 course: Render the appropriate course-category tree action
Andrew Nicols [Wed, 16 Aug 2017 04:31:21 +0000 (12:31 +0800)]
MDL-59784 core: Refactor addblock to listen earlier
Andrew Nicols [Wed, 16 Aug 2017 04:32:46 +0000 (12:32 +0800)]
MDL-59784 core: Modal factory should listen before fetching templates
Andrew Nicols [Wed, 16 Aug 2017 04:31:53 +0000 (12:31 +0800)]
MDL-59784 core: Modal should accept title as a promise
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
Davo Smith [Thu, 17 Aug 2017 13:47:44 +0000 (14:47 +0100)]
MDL-53848 mod_assign, formslib: add hideIf to real form and adapt behat tests to use this
Davo Smith [Wed, 9 Aug 2017 13:29:48 +0000 (14:29 +0100)]
MDL-53848 formslib: peer review fixes
Davo Smith [Fri, 14 Jul 2017 11:28:24 +0000 (12:28 +0100)]
MDL-53848 form: fix disabledIf functionality
Davo Smith [Fri, 14 Jul 2017 11:02:13 +0000 (12:02 +0100)]
MDL-53848 form: hide entire group if hideIf test is applied to the group
Ankit Agarwal [Mon, 6 Mar 2017 04:50:12 +0000 (10:20 +0530)]
MDL-53848 formslib: make conditional hidden elements properly accessible
Marina Glancy [Fri, 27 Jan 2017 02:11:25 +0000 (10:11 +0800)]
MDL-53848 forms: additions to the behat test
Davo Smith [Mon, 19 Dec 2016 11:36:54 +0000 (11:36 +0000)]
MDL-53848 form: add hideIf functionality
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