Andrew Nicols [Thu, 12 Oct 2017 03:28:04 +0000 (11:28 +0800)]
Merge branch 'MDL-55356-master' of https://github.com/sammarshallou/moodle
Jake Dallimore [Thu, 12 Oct 2017 02:54:47 +0000 (10:54 +0800)]
Merge branch 'MDL-59106_master-fix2' of git://github.com/dmonllao/moodle
Jake Dallimore [Thu, 12 Oct 2017 02:54:25 +0000 (10:54 +0800)]
Merge branch 'MDL-59106_master-fix' of git://github.com/dmonllao/moodle
Jake Dallimore [Thu, 12 Oct 2017 02:53:20 +0000 (10:53 +0800)]
Merge branch 'MDL-59106_master' of git://github.com/markn86/moodle
Jun Pataleta [Thu, 12 Oct 2017 01:49:49 +0000 (09:49 +0800)]
Merge branch 'MDL-59921-master-fix2' of git://github.com/lameze/moodle
Simey Lameze [Thu, 12 Oct 2017 01:19:43 +0000 (09:19 +0800)]
MDL-59921 calendar: remove disabledIf from group select
Eloy Lafuente (stronk7) [Wed, 11 Oct 2017 23:52:47 +0000 (01:52 +0200)]
Merge branch 'MDL-60209-master-mathjaxlib' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Wed, 11 Oct 2017 22:47:22 +0000 (00:47 +0200)]
MDL-60291 libraries: bump readme to actual versions
Eloy Lafuente (stronk7) [Wed, 11 Oct 2017 22:42:57 +0000 (00:42 +0200)]
Merge branch 'MDL-60291-master' of git://github.com/ankitagarwal/moodle
Eloy Lafuente (stronk7) [Wed, 11 Oct 2017 22:37:11 +0000 (00:37 +0200)]
Merge branch 'MDL-60301-master' of git://github.com/ankitagarwal/moodle
Eloy Lafuente (stronk7) [Wed, 11 Oct 2017 19:14:54 +0000 (21:14 +0200)]
Merge branch 'MDL-60302-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Wed, 11 Oct 2017 18:49:01 +0000 (20:49 +0200)]
Merge branch 'MDL-60357-master' of https://github.com/sammarshallou/moodle
sam marshall [Fri, 15 Sep 2017 13:08:09 +0000 (14:08 +0100)]
MDL-55356 core_search: Make indexing task/CLI do context requests
sam marshall [Mon, 11 Sep 2017 16:30:10 +0000 (17:30 +0100)]
MDL-55356 core_search: New manager API index_context
New function which uses the get_document_recordset function in
search areas to support full and partial indexing of a given
context.
sam marshall [Mon, 11 Sep 2017 10:29:26 +0000 (11:29 +0100)]
MDL-55356 core_search: Change existing search areas to new API
This change considers all existing search areas in Moodle and makes
necessary changes.
Custom change to course search, supported by helper in base.php:
* course/classes/search/mycourse.php
Custom change to message search:
* message/classes/search/message_received.php
* message/classes/search/message_sent.php
Custom change to user search:
* user/classes/search/user.php
Custom changes to module areas, supported by helper in base_mod.php:
* mod/book/classes/search/chapter.php
* mod/data/classes/search/entry.php
* mod/forum/classes/search/post.php
* mod/glossary/classes/search/entry.php
* mod/survey/classes/search/activity.php
* mod/wiki/classes/search/collaborative_page.php
(Note: the unit tests do not exhaustively check every context type
for these, given that's mainly handled by the helper function
which was already tested in the base_activity test.)
Handled by block base class (no change):
* blocks/html/classes/search/content.php
Handled by activity base class (no change):
* mod/assign/classes/search/activity.php
* mod/book/classes/search/activity.php
* mod/chat/classes/search/activity.php
* mod/choice/classes/search/activity.php
* mod/data/classes/search/activity.php
* mod/feedback/classes/search/activity.php
* mod/folder/classes/search/activity.php
* mod/forum/classes/search/activity.php
* mod/glossary/classes/search/activity.php
* mod/imscp/classes/search/activity.php
* mod/label/classes/search/activity.php
* mod/lesson/classes/search/activity.php
* mod/lti/classes/search/activity.php
* mod/page/classes/search/activity.php
* mod/quiz/classes/search/activity.php
* mod/resource/classes/search/activity.php
* mod/scorm/classes/search/activity.php
* mod/url/classes/search/activity.php
* mod/wiki/classes/search/activity.php
* mod/workshop/classes/search/activity.php
sam marshall [Mon, 11 Sep 2017 12:25:11 +0000 (13:25 +0100)]
MDL-55356 core_message: Rename unit tests with wrong names
sam marshall [Wed, 6 Sep 2017 14:37:14 +0000 (15:37 +0100)]
MDL-55356 core_search: New area API get_document_recordset
The search area API now includes a new function get_document_recordset
which should be implemented in preference to the older
get_recordset_by_timestamp. (It's also possible to implement both in
plugin search areas which need to work against older Moodle versions.)
Existing search areas without the new function will continue to work as
before (obviously without the new functionality).
sam marshall [Thu, 7 Sep 2017 11:00:50 +0000 (12:00 +0100)]
MDL-55356 core_search: Restore now requests search indexing
When restoring into a new course, it will queue a request to index
the whole course; when adding to existing, it will queue a request
to index the specific (a) activities and (b) blocks that were
restored.
sam marshall [Thu, 7 Sep 2017 15:38:38 +0000 (16:38 +0100)]
MDL-55356 core_search: API to queue contexts for indexing
New API \core_search\manager::request_index($context, $areaid = '')
adds the given context to a list which is intended to be indexed
later by the scheduled task.
sam marshall [Thu, 7 Sep 2017 09:46:58 +0000 (10:46 +0100)]
MDL-55356 core_search: API to check if indexing enabled
New function \core_search\manager::is_indexing_enabled(), analagous
to existing is_global_search_enabled().
This replaces existing duplicated code, ready for more use in
following commits.
sam marshall [Fri, 15 Sep 2017 14:55:20 +0000 (15:55 +0100)]
MDL-55356 core_search: Make base_block handle empty restored blocks
Simey Lameze [Wed, 11 Oct 2017 08:37:46 +0000 (16:37 +0800)]
MDL-59921 core_calendar: remove unnecessary behat step
Simey Lameze [Wed, 11 Oct 2017 08:22:06 +0000 (16:22 +0800)]
MDL-59921 calendar: fix wrong array assumptions
Jun Pataleta [Wed, 11 Oct 2017 07:58:46 +0000 (15:58 +0800)]
Merge branch 'MDL-60090-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Tue, 12 Sep 2017 01:45:59 +0000 (09:45 +0800)]
MDL-60090 calendar: Add eventtype icon and truncate
Damyon Wiese [Wed, 11 Oct 2017 06:02:52 +0000 (14:02 +0800)]
Merge branch 'MDL-60092-master' of git://github.com/lameze/moodle
Simey Lameze [Wed, 11 Oct 2017 03:42:41 +0000 (11:42 +0800)]
MDL-60092 calendar: add missing upcoming view logic
Jun Pataleta [Wed, 11 Oct 2017 03:07:14 +0000 (11:07 +0800)]
Merge branch 'MDL-59921-master' of git://github.com/lameze/moodle
Simey Lameze [Wed, 11 Oct 2017 01:37:30 +0000 (09:37 +0800)]
MDL-59921 calendar: fix missing course error on event form
Andrew Nicols [Wed, 11 Oct 2017 01:38:47 +0000 (09:38 +0800)]
Merge branch 'master_MDL-60276' of https://github.com/CengageEng/moodle
Eloy Lafuente (stronk7) [Tue, 10 Oct 2017 23:39:55 +0000 (01:39 +0200)]
Merge branch 'MDL-60300' of https://github.com/NeillM/moodle
Eloy Lafuente (stronk7) [Tue, 10 Oct 2017 23:34:17 +0000 (01:34 +0200)]
Merge branch 'MDL-60309-master-boostbackground' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 10 Oct 2017 23:03:06 +0000 (01:03 +0200)]
Merge branch 'MDL-60346-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Tue, 10 Oct 2017 23:00:13 +0000 (01:00 +0200)]
Merge branch 'MDL-60364' of https://github.com/NeillM/moodle
Eloy Lafuente (stronk7) [Tue, 10 Oct 2017 22:00:10 +0000 (00:00 +0200)]
Merge branch 'MDL-55358-master' of https://github.com/davidknu/moodle
Eloy Lafuente (stronk7) [Tue, 10 Oct 2017 18:14:42 +0000 (20:14 +0200)]
Merge branch 'MDL-60002-save-and-show-next' of https://github.com/abalbanyan/moodle
Eloy Lafuente (stronk7) [Tue, 10 Oct 2017 17:10:52 +0000 (19:10 +0200)]
Merge branch 'MDL-60046-master' of git://github.com/damyon/moodle
Juan Leyva [Wed, 4 Oct 2017 19:01:50 +0000 (21:01 +0200)]
MDL-60396 mod_workshop: Add checks for maximum gradeover
David Monllao [Tue, 10 Oct 2017 10:49:24 +0000 (12:49 +0200)]
MDL-59106 report_insights: Order prediction values
David Monllao [Tue, 10 Oct 2017 10:33:26 +0000 (12:33 +0200)]
MDL-59106 report_insights: Fix predicted value styling
Damyon Wiese [Tue, 10 Oct 2017 09:32:47 +0000 (17:32 +0800)]
Merge branch 'MDL-37361-master-revised' of https://github.com/snake/moodle
Conflicts:
lib/db/upgrade.php
version.php
Damyon Wiese [Tue, 10 Oct 2017 09:17:56 +0000 (17:17 +0800)]
Merge branch 'MDL-60092-master' of git://github.com/lameze/moodle
Jake Dallimore [Fri, 29 Sep 2017 01:43:43 +0000 (09:43 +0800)]
MDL-37361 completion: Consolidate icon logic and clarify web service
- Icon generation logic moved to the course renderer.
- Web service should return the completion info only, not HTML.
- JS modified to handle icon rendering in relevant cases.
Jake Dallimore [Mon, 4 Sep 2017 05:54:14 +0000 (13:54 +0800)]
MDL-37361 completion: minor code fixes.
Jake Dallimore [Fri, 2 Jun 2017 07:03:48 +0000 (15:03 +0800)]
MDL-37361 completion: accessibility fixes for completion overrides
- Fixed aria-roles for links acting as status override buttons
- Used custom_interaction_events for better activation handling
- Replaced core/notification with AMD modal which facilitates better
onhide focus control when cancelling or confirming the action.
Jake Dallimore [Fri, 7 Apr 2017 08:21:55 +0000 (16:21 +0800)]
MDL-37361 behat: added a test covering the activity completion report
Jake Dallimore [Mon, 3 Apr 2017 02:08:10 +0000 (10:08 +0800)]
MDL-37361 completion: make completion overrides visible to students
- Set icons in the course/renderer
- Use 'set' in lang strings for simplicity
- Code style fixes
Jake Dallimore [Mon, 3 Apr 2017 05:47:50 +0000 (13:47 +0800)]
MDL-37361 completion: automatic completion disabled when overridden
Changes:
- Activities with auto completion and a completion status overridden to
COMPLETION_COMPLETE are no longer processed by normal completion
triggers.
- All activities can still be completed by students when their
completion status has been overridden to COMPLETION_INCOMPLETE, via
either auto or manual triggers.
- Completion unit tests updated
Eiz Eddin Al Katrib [Fri, 17 Feb 2017 14:48:25 +0000 (14:48 +0000)]
MDL-37361 completion: Modified and Added phpunit tests
Eiz Eddin Al Katrib [Fri, 17 Feb 2017 14:48:02 +0000 (14:48 +0000)]
MDL-37361 completion: Enabled overriding activity completion status
Jun Pataleta [Tue, 10 Oct 2017 08:19:36 +0000 (16:19 +0800)]
Merge branch 'MDL-59921-master' of git://github.com/lameze/moodle
Simey Lameze [Tue, 10 Oct 2017 07:50:46 +0000 (15:50 +0800)]
MDL-59921 core_calendar: fix phpunit failures on event form
Jun Pataleta [Tue, 10 Oct 2017 07:26:38 +0000 (15:26 +0800)]
Merge branch 'wip-MDL-58546-master' of git://github.com/marinaglancy/moodle
Simey Lameze [Tue, 10 Oct 2017 07:22:45 +0000 (15:22 +0800)]
MDL-59921 core_calendar: fix event form behat failures
Andrew Nicols [Tue, 10 Oct 2017 06:48:19 +0000 (14:48 +0800)]
Merge branch 'MDL-35429-master' of https://github.com/snake/moodle
Simey Lameze [Thu, 5 Oct 2017 07:20:37 +0000 (15:20 +0800)]
MDL-60092 core_calendar: remove unused calendar_get_upcoming method
Simey Lameze [Thu, 5 Oct 2017 07:18:19 +0000 (15:18 +0800)]
MDL-60092 block_calendar_upcoming: convert to template
Simey Lameze [Thu, 5 Oct 2017 07:16:50 +0000 (15:16 +0800)]
MDL-60092 core_calendar: new upcoming mini template
Jun Pataleta [Tue, 10 Oct 2017 05:30:34 +0000 (13:30 +0800)]
Merge branch 'MDL-59921-master' of git://github.com/lameze/moodle
Damyon Wiese [Tue, 10 Oct 2017 05:05:31 +0000 (13:05 +0800)]
Merge branch 'MDL-59889-master' of git://github.com/Dagefoerde/moodle
Damyon Wiese [Tue, 10 Oct 2017 04:46:55 +0000 (12:46 +0800)]
Merge branch 'wip-MDL-59274-master' of git://github.com/marinaglancy/moodle
Jake Dallimore [Fri, 6 Oct 2017 03:12:22 +0000 (11:12 +0800)]
MDL-35429 backup: Only show relevant actions for automated backups
- Users without permission to download or restore won't see the
respective links.
- The 'Manage backup files' button for the 'automated' backup filearea
now requires the same permissions as downloading does for this filearea,
those being 'restore:userinfo' and 'backup:downloadfile'.
Marina Glancy [Sat, 30 Sep 2017 12:05:41 +0000 (20:05 +0800)]
MDL-59274 media_videojs: upgrade video.js library and plugins
Andrew Nicols [Tue, 10 Oct 2017 03:37:49 +0000 (11:37 +0800)]
Merge branch 'MDL-59694_master' of git://github.com/dmonllao/moodle
Jun Pataleta [Tue, 10 Oct 2017 03:08:06 +0000 (11:08 +0800)]
Merge branch 'MDL-60205_group_hiding_clean' of git://github.com/davosmith/moodle
Damyon Wiese [Tue, 10 Oct 2017 02:54:27 +0000 (10:54 +0800)]
MDL-60046 participants: Update behat tests
The filter button was removed, so it needs to be removed from the tests.
Jun Pataleta [Tue, 10 Oct 2017 02:47:37 +0000 (10:47 +0800)]
Merge branch 'MDL-60238-master' of git://github.com/ankitagarwal/moodle
Jun Pataleta [Tue, 10 Oct 2017 02:10:09 +0000 (10:10 +0800)]
Merge branch 'MDL-60275_master' of git://github.com/dmonllao/moodle
Andrew Nicols [Tue, 10 Oct 2017 00:40:01 +0000 (08:40 +0800)]
Merge branch 'MDL-45366' of git://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Mon, 9 Oct 2017 22:03:10 +0000 (00:03 +0200)]
Merge branch 'MDL-60070-master' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Mon, 9 Oct 2017 21:17:36 +0000 (23:17 +0200)]
Merge branch 'MDL-60129_master-v2' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Mon, 9 Oct 2017 21:11:08 +0000 (23:11 +0200)]
Merge branch 'm34_MDL-60318_Undefined_method_file_storage-move_to_trash' of https://github.com/scara/moodle
Eloy Lafuente (stronk7) [Mon, 9 Oct 2017 17:52:56 +0000 (19:52 +0200)]
Merge branch 'MDL-59811-master' of git://github.com/junpataleta/moodle
David Mudrák [Fri, 6 Oct 2017 21:56:15 +0000 (23:56 +0200)]
MDL-60209 mathjax: Update integration docs in readme_moodle.txt
David Mudrák [Fri, 6 Oct 2017 21:47:44 +0000 (23:47 +0200)]
MDL-60209 mathjax: Fix mapping of the Moodle language to the MathJax
While working on the issue, I noticed that the current implementation of
the method filter_mathjaxloader::map_language_code() is suboptimal and
does not work well for many Moodle language packs such as pt_br or de_du
and other variants. It did not give particularly wrong results. It just
fell back to the default English too early without trying more hard.
This patch improves the mapping logic and adds a unit test for the
method.
David Mudrák [Fri, 6 Oct 2017 21:45:12 +0000 (23:45 +0200)]
MDL-60209 mathjax: Use MathJax 2.7.2 by default
Jun Pataleta [Mon, 9 Oct 2017 08:18:36 +0000 (16:18 +0800)]
Merge branch 'MDL-60298' of git://github.com/stronk7/moodle
Andrew Nicols [Mon, 9 Oct 2017 06:05:57 +0000 (14:05 +0800)]
Merge branch 'MDL-60317' of git://github.com/timhunt/moodle
Andrew Nicols [Mon, 9 Oct 2017 05:58:49 +0000 (13:58 +0800)]
Merge branch 'MDL-59844-master' of git://github.com/Dagefoerde/moodle
David Monllao [Fri, 29 Sep 2017 08:50:26 +0000 (10:50 +0200)]
MDL-59694 analytics: Track processed analysables
Andrew Nicols [Mon, 9 Oct 2017 04:42:53 +0000 (12:42 +0800)]
Merge branch 'wip-MDL-55652-master' of git://github.com/marinaglancy/moodle
Mark Nelson [Fri, 6 Oct 2017 09:13:15 +0000 (17:13 +0800)]
MDL-59106 theme_bootstrapbase: removed unnecessary template overrides
Mark Nelson [Fri, 6 Oct 2017 09:20:55 +0000 (17:20 +0800)]
MDL-59106 report_insights: show time created and time range used
Andrew Nicols [Mon, 9 Oct 2017 02:37:19 +0000 (10:37 +0800)]
MDL-59897 accesslib: Remove unused reset
Andrew Nicols [Mon, 9 Oct 2017 02:31:34 +0000 (10:31 +0800)]
Merge branch 'MDL-59897-master' of https://github.com/sammarshallou/moodle
Jake Dallimore [Thu, 21 Sep 2017 03:36:23 +0000 (11:36 +0800)]
MDL-35429 roles: teachers and managers can restore automated backups
Changes the default for the 'moodle/restore:viewautomatedfilearea'
cap from 'Not set' to 'Allow' for the teacher and manager role
archetypes.
Jake Dallimore [Wed, 20 Sep 2017 08:42:28 +0000 (16:42 +0800)]
MDL-35429 restore: fixed downloading of automated backup files
Jake Dallimore [Wed, 20 Sep 2017 07:52:50 +0000 (15:52 +0800)]
MDL-35429 restore: capability clarification for automated backups
- added relevant cap check on restorefile.php to improve the error
message when attempting to restore automated backups. This cap is
already responsible for controlling restores from automated areas.
- Restored the 'viewautomatedfilearea' capabilities original lang
string.
Jun Pataleta [Wed, 23 Aug 2017 07:17:49 +0000 (15:17 +0800)]
MDL-59811 enrol: Move get_user_enrolment_actions logic to parent class
* These duplicated implementations can be simplified where the logic
can be moved to enrol_plugin::get_user_enrolment_actions() method
itself.
Jun Pataleta [Wed, 23 Aug 2017 07:18:22 +0000 (15:18 +0800)]
MDL-59811 enrol: Unit tests for get_user_enrolment_actions()
Simey Lameze [Tue, 19 Sep 2017 01:33:49 +0000 (09:33 +0800)]
MDL-60070 core_calendar: remove old iCal icon
Andrew Nicols [Mon, 9 Oct 2017 02:13:30 +0000 (10:13 +0800)]
Merge branch 'MDL-60012_form_neq_regression' of git://github.com/davosmith/moodle
Simey Lameze [Thu, 5 Oct 2017 07:14:41 +0000 (15:14 +0800)]
MDL-60092 core_calendar: add viewurl attribute to exporter
Simey Lameze [Mon, 9 Oct 2017 01:48:42 +0000 (09:48 +0800)]
MDL-59921 calendar: replace selector for groups events
Simey Lameze [Mon, 9 Oct 2017 01:35:51 +0000 (09:35 +0800)]
MDL-59921 calendar: replace selector for course events
Craig R Morton [Fri, 6 Jan 2017 05:48:07 +0000 (13:48 +0800)]
MDL-60309 theme_boost: Add background image filepicker to Boost
sam marshall [Tue, 22 Aug 2017 17:09:35 +0000 (18:09 +0100)]
MDL-59897 Accesslib: get_user_capability_course is slow
Jan Dageförde [Mon, 21 Aug 2017 13:57:24 +0000 (15:57 +0200)]
MDL-59889 oauth2: Remove check for storing new refresh token
Jan Dageförde [Wed, 16 Aug 2017 19:04:36 +0000 (21:04 +0200)]
MDL-59844 webdav: Add bearer auth method to WebDAV requests
Neill Magill [Fri, 29 Sep 2017 15:16:55 +0000 (16:16 +0100)]
MDL-60300 Quiz: Offline update time not set correctly