Jun Pataleta [Mon, 22 Oct 2018 04:24:58 +0000 (12:24 +0800)]
MDL-62777 administration: Remove unnecessary whitespace
Matt Porritt [Mon, 22 Oct 2018 02:09:58 +0000 (13:09 +1100)]
MDL-62777 Administration: CLI upgrade new setting notification
During a CLI upgrade when there are new settings in core or in
a plugin, the settings are set to the defined defaults
automatically. There is no ouput shown on the CLI about which
new settings have been introduced or what default values the
setting are set to.
This patch outputs the name of the new setting and what the
default value being is set is to the CLI during an upgrade.
Objects and arrays are expanded into a human readable format.
This plugin also makes the function that sets the defaults to
be more robust so it isno longer required to be called multiple
times to ensure all settings are set.
Eloy Lafuente (stronk7) [Fri, 19 Oct 2018 15:11:15 +0000 (17:11 +0200)]
on-demand release 3.6dev+
Eloy Lafuente (stronk7) [Fri, 19 Oct 2018 15:11:13 +0000 (17:11 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Marina Glancy [Fri, 19 Oct 2018 09:36:40 +0000 (11:36 +0200)]
MDL-63648 tool_xmldb: missing capability check
AMOS bot [Fri, 19 Oct 2018 00:08:01 +0000 (00:08 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Thu, 18 Oct 2018 21:54:06 +0000 (23:54 +0200)]
Merge branch 'MDL-63648-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Thu, 18 Oct 2018 21:47:37 +0000 (23:47 +0200)]
Merge branch 'MDL-62920-master' of https://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Thu, 18 Oct 2018 20:03:43 +0000 (22:03 +0200)]
Merge branch 'MDL-27520_master-fix' of https://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Thu, 18 Oct 2018 16:56:34 +0000 (18:56 +0200)]
Merge branch 'MDL-60145-master' of https://github.com/snake/moodle
Mark Nelson [Thu, 18 Oct 2018 09:14:52 +0000 (17:14 +0800)]
MDL-27520 assignfeedback_comments: fix Behat failures
Eloy Lafuente (stronk7) [Thu, 18 Oct 2018 10:22:42 +0000 (12:22 +0200)]
Merge branch 'MDL-63465-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Thu, 18 Oct 2018 09:15:11 +0000 (11:15 +0200)]
Merge branch 'MDL-63658-master-2' of https://github.com/snake/moodle
Jake Dallimore [Thu, 18 Oct 2018 09:11:07 +0000 (17:11 +0800)]
MDL-63658 core_favourites: fix errors discovered on oracle db
- Assuming 1 would be a record that didn't exist. should be using 0.
- Missing space before AND in sql in provider.
Andrew Nicols [Thu, 18 Oct 2018 07:48:47 +0000 (15:48 +0800)]
Merge branch 'MDL-63658-master-2' of https://github.com/snake/moodle
Jake Dallimore [Thu, 18 Oct 2018 07:31:55 +0000 (15:31 +0800)]
MDL-63658 core_favourites: properly define interface methods and cleanup
This gets rid of specific repo functions which were unused, and makes
sure the following methods are defined on the interface, implemented
and tested:
- exists_by($criteria)
- find_by($criteria)
- delete_by($crtieria)
Also, added missing tests for find_favourite() repo method.
Juan Leyva [Tue, 9 Oct 2018 14:38:43 +0000 (16:38 +0200)]
MDL-63465 blocks: New WS core_blocks_get_dashboard_blocks
Jun Pataleta [Thu, 18 Oct 2018 06:37:13 +0000 (14:37 +0800)]
Merge branch 'MDL-63667-master-fix2' of git://github.com/damyon/moodle
Andrew Nicols [Thu, 18 Oct 2018 03:54:27 +0000 (11:54 +0800)]
MDL-63667 amd: Check for parent template recursion
Damyon Wiese [Thu, 18 Oct 2018 02:40:31 +0000 (10:40 +0800)]
MDL-63667 output: Fix for recursive templates
A template can include itself - e.g. by looping over the context children and rendering a tree.
Ensure this promise still resolves.
Example: admin/tool/lp/templates/competencies_tree.mustache.
Andrew Nicols [Thu, 18 Oct 2018 02:06:14 +0000 (10:06 +0800)]
Merge branch 'MDL-63658-master-2' of https://github.com/snake/moodle
Jake Dallimore [Thu, 18 Oct 2018 01:40:07 +0000 (09:40 +0800)]
MDL-63658 core_favourites: fix differences between install and upgrade
Andrew Nicols [Thu, 18 Oct 2018 01:08:22 +0000 (09:08 +0800)]
Merge branch 'MDL-63658-master-2' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Thu, 18 Oct 2018 00:38:57 +0000 (02:38 +0200)]
Merge branch 'MDL-63632-master' of git://github.com/andrewnicols/moodle
Jake Dallimore [Wed, 17 Oct 2018 09:12:56 +0000 (17:12 +0800)]
MDL-63658 core_favourites: let service object use get_component_names
This was using a helper, but now we have the function in core to achieve
the same thing, so use this instead.
Jake Dallimore [Wed, 17 Oct 2018 09:12:27 +0000 (17:12 +0800)]
MDL-63658 core: new method get_component_names() added to core
Jake Dallimore [Wed, 17 Oct 2018 00:59:53 +0000 (08:59 +0800)]
MDL-63658 core_favourites: consolidate interfaces and rename
Let's worry about reuse of the crud code later, when that requirement
arises, so moved that into the ifavourite_repository interface, and then
renamed it favourite_repository_interface.
Jake Dallimore [Tue, 16 Oct 2018 09:53:42 +0000 (17:53 +0800)]
MDL-63658 core_favourites: rename user_favourites_service and services
Now: user_favourite_service (singular) and service_factory
Jake Dallimore [Tue, 16 Oct 2018 09:46:26 +0000 (17:46 +0800)]
MDL-63658 core_favourites: singularise the repository class types
Instead of favourites_repository we now have favourite_repository,
which is more in line with other implementations of this pattern.
Jake Dallimore [Tue, 16 Oct 2018 09:32:37 +0000 (17:32 +0800)]
MDL-63658 core_favourites: make favourite a first class object
This patch adds several things:
- favourite entity class under local/entity
- refactoring of repository and service to use the new class instead
of stdClass.
- update repository unit tests to use the object instead of stdClass.
- update service_test so that the mock repo requires the object for
the add operation.
- remove unnecessary constructor from favourites_repository class.
Jake Dallimore [Tue, 9 Oct 2018 03:10:21 +0000 (11:10 +0800)]
MDL-63658 core_favourites: adding paging support to the service layer
Jake Dallimore [Tue, 2 Oct 2018 04:31:03 +0000 (12:31 +0800)]
MDL-63658 core_favourites: implement privacy API for favourites
Jake Dallimore [Tue, 2 Oct 2018 00:25:25 +0000 (08:25 +0800)]
MDL-63658 core_favourites: namespace the repositories and services
Jake Dallimore [Mon, 17 Sep 2018 00:40:13 +0000 (08:40 +0800)]
MDL-63658 core_favourites: add business logic aware service layer
Jake Dallimore [Mon, 17 Sep 2018 00:38:50 +0000 (08:38 +0800)]
MDL-63658 core_favourites: add a user favourites repository
Jake Dallimore [Mon, 10 Sep 2018 03:06:35 +0000 (11:06 +0800)]
MDL-63658 core_favourites: add tables to the subsystem
AMOS bot [Thu, 18 Oct 2018 00:07:17 +0000 (00:07 +0000)]
Automatically generated installer lang files
Andrew Nicols [Fri, 12 Oct 2018 00:12:18 +0000 (08:12 +0800)]
MDL-63632 forum: Delete where not discussion author
Eloy Lafuente (stronk7) [Wed, 17 Oct 2018 22:39:45 +0000 (00:39 +0200)]
Merge branch 'MDL-63068_master' of https://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Wed, 17 Oct 2018 21:22:52 +0000 (23:22 +0200)]
Merge branch 'MDL-63523-master' of git://github.com/jleyva/moodle
David Monllao [Wed, 17 Oct 2018 13:55:44 +0000 (15:55 +0200)]
Merge branch 'MDL-63214-master' of git://github.com/sarjona/moodle
David Monllao [Wed, 17 Oct 2018 13:42:55 +0000 (15:42 +0200)]
Merge branch 'MDL-27520_master' of git://github.com/markn86/moodle
Sara Arjona [Wed, 5 Sep 2018 13:04:35 +0000 (15:04 +0200)]
MDL-63214 message: Add privacy preferences to filter who can message
Add new messaging profile preferences to allow users to choose who
can message them:
- By default, users can select between 'My contacts only' and 'My
contacts and anyone in my courses'
- When $CFG->messagingallusers is enabled, a new option is displayed
also: 'Anyone on the site'. For users who have selected this option,
if $CFG->messagingallusers is disabled, the behaviour will be changed
to 'My contacts and anyone in my courses'
Sara Arjona [Tue, 16 Oct 2018 08:16:07 +0000 (10:16 +0200)]
MDL-63214 message: Add setting to force enabling messagingallusers
Mark Nelson [Tue, 16 Oct 2018 08:49:42 +0000 (16:49 +0800)]
MDL-27520 assignfeedback_comments: is_feedback_modified considers files
Mark Nelson [Tue, 16 Oct 2018 06:25:59 +0000 (14:25 +0800)]
MDL-27520 core_grades: add methods to grade_object for feedback files
Mark Nelson [Tue, 16 Oct 2018 05:25:03 +0000 (13:25 +0800)]
MDL-27520 core_grades: make constant names clearer
Also using them in more locations.
Mark Nelson [Thu, 27 Sep 2018 01:25:38 +0000 (11:25 +1000)]
MDL-27520 assignfeedback_comments: updated privacy provider
Damyon Wiese [Tue, 11 Sep 2018 10:33:06 +0000 (18:33 +0800)]
MDL-27520 core: Rewrite pluginfile URLs
Jun Pataleta [Wed, 17 Oct 2018 07:06:29 +0000 (15:06 +0800)]
Merge branch 'MDL-63667-master' of git://github.com/damyon/moodle
Andrew Nicols [Wed, 17 Oct 2018 06:53:23 +0000 (14:53 +0800)]
Merge branch 'MDL-63547_master' of git://github.com/markn86/moodle
Ryan Wyllie [Tue, 16 Oct 2018 03:25:19 +0000 (11:25 +0800)]
MDL-63667 javascript: fix failed to pre-fetch the template error
Damyon Wiese [Mon, 8 Oct 2018 08:11:52 +0000 (16:11 +0800)]
MDL-27520 backup: Backup for feedback files
Mark Nelson [Wed, 12 Sep 2018 06:49:26 +0000 (14:49 +0800)]
MDL-27520 core_grades: create grade history filearea and copy files
Mark Nelson [Wed, 8 Aug 2018 07:08:58 +0000 (15:08 +0800)]
MDL-27520 assignfeedback_comments: added backup/restore of files
Mark Nelson [Tue, 7 Aug 2018 08:38:40 +0000 (16:38 +0800)]
MDL-27520 assignfeedback_comments: copy files to feedback
This respects the setting 'Comment inline' where the content
of a submission is copied into the feedback form.
Mark Nelson [Mon, 6 Aug 2018 09:11:53 +0000 (17:11 +0800)]
MDL-27520 core: allow retrieval of files from grade files areas
Also added 'history' filearea for the history report where files
will be copied to if the site has enabled this feature.
We will also be storing files in the module context, not course,
so that check was removed.
Mark Nelson [Mon, 15 Oct 2018 04:20:23 +0000 (12:20 +0800)]
MDL-63547 core_message: web service can delete multiple conversations
Mark Nelson [Mon, 15 Oct 2018 09:43:21 +0000 (17:43 +0800)]
MDL-63547 core_message: added delete_conversation_by_id web service
Mark Nelson [Mon, 15 Oct 2018 09:42:15 +0000 (17:42 +0800)]
MDL-63547 core_message: deprecate delete_conversation web service
Mark Nelson [Sun, 14 Oct 2018 13:00:01 +0000 (21:00 +0800)]
MDL-63547 core_message: can_delete_conversation expects a conversationid
Mark Nelson [Sun, 14 Oct 2018 06:03:03 +0000 (14:03 +0800)]
MDL-63547 core_message: deprecated api::delete_conversation()
Mark Nelson [Sun, 14 Oct 2018 11:48:13 +0000 (19:48 +0800)]
MDL-63547 core_message: updated api::can_delete_message
Mark Nelson [Sun, 14 Oct 2018 11:15:30 +0000 (19:15 +0800)]
MDL-63547 core_message: updated message_deleted event to support groups
Jake Dallimore [Mon, 10 Sep 2018 01:18:28 +0000 (09:18 +0800)]
MDL-63658 core_favourites: introduce the favourites subsystem to core
Eloy Lafuente (stronk7) [Tue, 16 Oct 2018 14:20:23 +0000 (16:20 +0200)]
on-demand release 3.6dev+
Eloy Lafuente (stronk7) [Tue, 16 Oct 2018 14:20:21 +0000 (16:20 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Juan Leyva [Wed, 10 Oct 2018 16:10:15 +0000 (18:10 +0200)]
MDL-63523 enrol: Return extra fields for new dashboard
WebService core_enrol_get_users_courses should return extra information for the app
so we can display all the new dashboard information without having to do extra WS requests.
Mark Nelson [Wed, 1 Aug 2018 06:58:51 +0000 (14:58 +0800)]
MDL-27520 assignfeedback_comments: allow files in the comments feedback
Also use new API to add files to gradebook.
Mark Nelson [Thu, 2 Aug 2018 06:42:59 +0000 (14:42 +0800)]
MDL-27520 mod_assign: added API for feedback plugins
Mark Nelson [Fri, 14 Sep 2018 03:37:10 +0000 (11:37 +0800)]
MDL-27520 core_grades: accept feedback files via grade_update()
Damyon Wiese [Tue, 16 Oct 2018 03:43:24 +0000 (11:43 +0800)]
Merge branch 'MDL-62960-master' of git://github.com/rezaies/moodle
Jun Pataleta [Tue, 16 Oct 2018 02:31:26 +0000 (10:31 +0800)]
Merge branch 'MDL-63337-master' of git://github.com/damyon/moodle
Damyon Wiese [Tue, 16 Oct 2018 02:08:12 +0000 (10:08 +0800)]
MDL-63337 enrol: Fix behat test
The link to the course homepage now requires javascript, by directly navigating to the course page
we can still avoid the need for javascript in this test.
Shamim Rezaie [Mon, 6 Aug 2018 07:36:36 +0000 (17:36 +1000)]
MDL-62960 calendar: Visuall indicator for valid course event drop zones
Shamim Rezaie [Mon, 6 Aug 2018 07:35:04 +0000 (17:35 +1000)]
MDL-62960 calendar: Rename get_module_timestamp_min/max_limit methods
The methods get_module_timestamp_min_limit() and get_module_timestamp_max_limit()
are doing generic stuff and can be used for other calendar event types as well.
I have renamed them to get_timestamp_min_limit() and get_timestamp_max_limit() respectively.
Shamim Rezaie [Mon, 6 Aug 2018 06:42:10 +0000 (16:42 +1000)]
MDL-62960 calendar: Implementing course events validity check callback
Shamim Rezaie [Mon, 6 Aug 2018 06:35:45 +0000 (16:35 +1000)]
MDL-62960 calendar: Added range check callback for course events
Added core_calendar_get_valid_event_timestart_range callback for course events
Andrew Nicols [Tue, 16 Oct 2018 00:49:34 +0000 (08:49 +0800)]
Merge branch 'MDL-63421' of git://github.com/stronk7/moodle
Andrew Nicols [Tue, 16 Oct 2018 00:34:58 +0000 (08:34 +0800)]
Merge branch 'MDL-63603-INR' of https://github.com/danielneis/moodle
Eloy Lafuente (stronk7) [Mon, 15 Oct 2018 22:29:02 +0000 (00:29 +0200)]
Merge branch 'MDL-63583-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Mon, 15 Oct 2018 22:15:46 +0000 (00:15 +0200)]
Merge branch 'MDL-63456-master' of git://github.com/merrill-oakland/moodle
Eloy Lafuente (stronk7) [Mon, 15 Oct 2018 21:54:51 +0000 (23:54 +0200)]
Merge branch 'MDL-62319-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Mon, 15 Oct 2018 21:34:45 +0000 (23:34 +0200)]
Merge branch 'MDL-63102-master' of git://github.com/peterRd/moodle
Eloy Lafuente (stronk7) [Mon, 15 Oct 2018 14:24:49 +0000 (16:24 +0200)]
Merge branch 'MDL-63337-master-fix' of https://github.com/junpataleta/moodle
Jun Pataleta [Mon, 15 Oct 2018 14:06:55 +0000 (22:06 +0800)]
MDL-63337 block_myoverview: Fix illegal whitespaces
Jun Pataleta [Mon, 15 Oct 2018 13:03:16 +0000 (21:03 +0800)]
Merge branch 'MDL-63337-master' of git://github.com/bmbrands/moodle
David Monllao [Mon, 15 Oct 2018 08:23:48 +0000 (10:23 +0200)]
MDL-63431 atto_media: Shorten line length
David Monllao [Mon, 15 Oct 2018 07:13:53 +0000 (09:13 +0200)]
Merge branch 'MDL-63431-master' of https://github.com/kabalin/moodle
Damyon Wiese [Mon, 15 Oct 2018 06:50:10 +0000 (14:50 +0800)]
Merge branch 'MDL-63352-master' of git://github.com/peterRd/moodle
Peter [Thu, 4 Oct 2018 07:57:04 +0000 (15:57 +0800)]
MDL-63352 block_timeline: Persist user preference on timeline
* Persist sort preference to the user table
* Persist filter preferences to the user table
* Add behat tests to test persistence
* Add the gdpr exports for the user preferences as well as unit tests for the same
* Updated view_nav.min
Bas Brands [Mon, 15 Oct 2018 06:42:08 +0000 (08:42 +0200)]
MDL-63337 block_myoverview: enrol_get_my_courses sort ul.timeaccess
Bas Brands [Mon, 15 Oct 2018 06:42:08 +0000 (08:42 +0200)]
MDL-63337 block_myoverview: add improved block myoverview
Damyon Wiese [Mon, 15 Oct 2018 05:29:31 +0000 (13:29 +0800)]
Merge branch 'MDL-63041-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Mon, 15 Oct 2018 02:57:38 +0000 (10:57 +0800)]
Merge branch 'MDL-63542-master' of git://github.com/jleyva/moodle
AMOS bot [Mon, 15 Oct 2018 00:07:11 +0000 (00:07 +0000)]
Automatically generated installer lang files
Marina Glancy [Sat, 13 Oct 2018 11:46:47 +0000 (13:46 +0200)]
MDL-63648 tool_xmldb: drag and drop sorting
Ruslan Kabalin [Fri, 12 Oct 2018 11:16:33 +0000 (12:16 +0100)]
MDL-63431 atto_media: Fix non-unique id issues and extend tests.
Ruslan Kabalin [Thu, 11 Oct 2018 13:47:47 +0000 (14:47 +0100)]
MDL-63431 atto_media: Add title global attribute support.
Peter [Tue, 9 Oct 2018 05:54:11 +0000 (13:54 +0800)]
MDL-63102 core_block: Reduced spacing between blocks
Reduce the calculated bottom margin between blocks to half