moodle.git
8 years agoMDL-57607 mod_assign: Make assign_refresh_events refresh overrides
Jun Pataleta [Tue, 14 Mar 2017 04:32:25 +0000 (12:32 +0800)]
MDL-57607 mod_assign: Make assign_refresh_events refresh overrides

Part of MDL-55611 epic.

8 years agoMDL-58424 core_calendar: moved api::get_events
Mark Nelson [Fri, 31 Mar 2017 03:05:05 +0000 (11:05 +0800)]
MDL-58424 core_calendar: moved api::get_events

This function was moved to local_api::get_legacy_events.

Also removed the calendar/classes/api.php file since it no longer contained any
functionality and added unit tests for local_api::get_legacy_events (a copy of
the unit tests for calendar_get_events).

Part of MDL-55611 epic.

8 years agoMDL-58424 core_calendar: removed unused get_action_events_* functions
Mark Nelson [Thu, 30 Mar 2017 05:57:33 +0000 (13:57 +0800)]
MDL-58424 core_calendar: removed unused get_action_events_* functions

Also moved associated unit tests to another location and changed
them so that they were testing local_api instead.

Part of MDL-55611 epic.

8 years agoMDL-58424 core_calendar: moved logic from api.php to lib.php
Mark Nelson [Thu, 30 Mar 2017 04:18:32 +0000 (12:18 +0800)]
MDL-58424 core_calendar: moved logic from api.php to lib.php

Also moved related PHPUnit tests.

Part of MDL-55611 epic.

8 years agoMDL-58424 core: undeprecated calendar_* functions
Mark Nelson [Thu, 30 Mar 2017 03:23:08 +0000 (11:23 +0800)]
MDL-58424 core: undeprecated calendar_* functions

Part of MDL-55611 epic.

8 years agoMDL-58348 block_myoverview: keep paging bar under courses
Ryan Wyllie [Fri, 24 Mar 2017 06:48:02 +0000 (06:48 +0000)]
MDL-58348 block_myoverview: keep paging bar under courses

Part of MDL-55611 epic.

8 years agoMDL-58425 block_myoverview: Add more details to blocks/upgrade.txt
Jun Pataleta [Thu, 30 Mar 2017 02:41:24 +0000 (10:41 +0800)]
MDL-58425 block_myoverview: Add more details to blocks/upgrade.txt

Part of MDL-55611 epic.

8 years agoMDL-58302 block_myoverview: Set fixed height of items in courses view
Jun Pataleta [Thu, 23 Mar 2017 06:09:46 +0000 (14:09 +0800)]
MDL-58302 block_myoverview: Set fixed height of items in courses view

Part of MDL-55611 epic.

8 years agoMDL-58365 block_myoverview: Show course summary in plain text
Jun Pataleta [Thu, 23 Mar 2017 08:06:41 +0000 (16:06 +0800)]
MDL-58365 block_myoverview: Show course summary in plain text

Part of MDL-55611 epic.

8 years agoMDL-58441 calendar: Pass $withduration to the correct function
Jun Pataleta [Thu, 30 Mar 2017 03:46:33 +0000 (11:46 +0800)]
MDL-58441 calendar: Pass $withduration to the correct function

Part of MDL-55611 epic.

8 years agoMDL-58207 mod_assign: reword grading due date lang string
Simey Lameze [Mon, 27 Mar 2017 06:45:21 +0000 (14:45 +0800)]
MDL-58207 mod_assign: reword grading due date lang string

Part of MDL-55611 epic.

8 years agoMDL-58432 core_calendar: allow event properties to be null
Mark Nelson [Wed, 29 Mar 2017 09:19:51 +0000 (17:19 +0800)]
MDL-58432 core_calendar: allow event properties to be null

Part of MDL-55611 epic.

8 years agoMDL-58423 core_calendar: moved \core_calendar\event class
Mark Nelson [Wed, 29 Mar 2017 05:33:11 +0000 (13:33 +0800)]
MDL-58423 core_calendar: moved \core_calendar\event class

Part of MDL-55611 epic.

8 years agoMDL-57449 block_myoverview: add behat tests for UI
Simey Lameze [Wed, 22 Mar 2017 02:07:27 +0000 (10:07 +0800)]
MDL-57449 block_myoverview: add behat tests for UI

Part of MDL-55611 epic.

8 years agoMDL-58396 core_calendar: Fix failing unit test
Cameron Ball [Mon, 27 Mar 2017 04:39:08 +0000 (12:39 +0800)]
MDL-58396 core_calendar: Fix failing unit test

Part of MDL-55611 epic.

8 years agoMDL-58386 block_myoverview: Mustache tidyup
Andrew Nicols [Tue, 28 Mar 2017 00:51:42 +0000 (08:51 +0800)]
MDL-58386 block_myoverview: Mustache tidyup

Part of MDL-55611 epic.

8 years agoMDL-58386 mod_forum: Fixed CI issues
Jun Pataleta [Mon, 27 Mar 2017 04:00:50 +0000 (12:00 +0800)]
MDL-58386 mod_forum: Fixed CI issues

Part of MDL-55611 epic.

8 years agoMDL-58386 mod_workshop: Fixed CI issues
Jun Pataleta [Fri, 24 Mar 2017 08:58:33 +0000 (16:58 +0800)]
MDL-58386 mod_workshop: Fixed CI issues

Part of MDL-55611 epic.

8 years agoMDL-58386 calendar: Fixed CI issues
Jun Pataleta [Fri, 24 Mar 2017 08:58:54 +0000 (16:58 +0800)]
MDL-58386 calendar: Fixed CI issues

Part of MDL-55611 epic.

8 years agoMDL-58386 core: Fixed CI issues
Jun Pataleta [Fri, 24 Mar 2017 08:57:58 +0000 (16:57 +0800)]
MDL-58386 core: Fixed CI issues

Part of MDL-55611 epic.

8 years agoMDL-58386 block_myoverview: Fixed CI issues
Jun Pataleta [Fri, 24 Mar 2017 08:57:20 +0000 (16:57 +0800)]
MDL-58386 block_myoverview: Fixed CI issues

Part of MDL-55611 epic.

8 years agoMDL-58188 mod_assign: added missing require_once and updated docs
Mark Nelson [Fri, 24 Mar 2017 05:44:20 +0000 (13:44 +0800)]
MDL-58188 mod_assign: added missing require_once and updated docs

The only reason the exclusion of require_once was not exploding before
is because the call to provider_event_action() was being triggered first
which required the file. We can't rely on this happening all the time.

The doc update describes when the usage of is_event_visible() is appropriate.

Part of MDL-55611 epic.

8 years agoMDL-58188 mod_label: fixed call to update_completion_date_event()
Mark Nelson [Fri, 24 Mar 2017 04:47:31 +0000 (12:47 +0800)]
MDL-58188 mod_label: fixed call to update_completion_date_event()

Part of MDL-55611 epic.

8 years agoMDL-58383 core_calendar: Correctly filter in event vault
Cameron Ball [Fri, 24 Mar 2017 05:38:46 +0000 (13:38 +0800)]
MDL-58383 core_calendar: Correctly filter in event vault

The filter parameter was being passed in as the wrong argument which
was allowing non action events to be returned.

Part of MDL-55611 epic.

8 years agoMDL-55611 calendar: fix calendar_event uses
Damyon Wiese [Fri, 24 Mar 2017 06:09:53 +0000 (14:09 +0800)]
MDL-55611 calendar: fix calendar_event uses

It was renamed to \core_calendar::event

8 years agoMDL-55611 icons: Remove pix_url
Damyon Wiese [Fri, 24 Mar 2017 06:02:17 +0000 (14:02 +0800)]
MDL-55611 icons: Remove pix_url

Change to image_url because these are not "pix icons".

8 years agoMDL-58333 core_calendar: Make WS available to Mobile
Andrew Nicols [Fri, 24 Mar 2017 00:07:13 +0000 (08:07 +0800)]
MDL-58333 core_calendar: Make WS available to Mobile

Part of MDL-55611 epic.

8 years agoMDL-58333 enrol: Include course progress in course listing WS
Andrew Nicols [Thu, 23 Mar 2017 07:57:45 +0000 (15:57 +0800)]
MDL-58333 enrol: Include course progress in course listing WS

Part of MDL-55611 epic.

8 years agoMDL-58017 mod_quiz: added action event unit tests
Mark Nelson [Thu, 23 Mar 2017 05:04:45 +0000 (13:04 +0800)]
MDL-58017 mod_quiz: added action event unit tests

Part of MDL-55611 epic.

8 years agoMDL-58017 mod_quiz: added action events
Mark Nelson [Thu, 23 Mar 2017 05:04:32 +0000 (13:04 +0800)]
MDL-58017 mod_quiz: added action events

Part of MDL-55611 epic.

8 years agoMDL-58087 mod_forum: Fix fragile test
Damyon Wiese [Fri, 24 Mar 2017 02:04:58 +0000 (10:04 +0800)]
MDL-58087 mod_forum: Fix fragile test

This test was dependant on the randomly generated group names coming back in a
specific order.

Part of MDL-55611 epic.

8 years agoMDL-58087 core_calendar: Fix random unit test failure
Cameron Ball [Thu, 23 Mar 2017 09:31:03 +0000 (17:31 +0800)]
MDL-58087 core_calendar: Fix random unit test failure

Part of MDL-55611 epic.

8 years agoMDL-58087 core_calendar: Keep legacy implementation of calendar_get_events
Cameron Ball [Thu, 23 Mar 2017 07:44:12 +0000 (15:44 +0800)]
MDL-58087 core_calendar: Keep legacy implementation of calendar_get_events

The new implementation of calendar_get_events (i.e., \core_calendar\api::get_events)
has a subtly different behaviour. So we need to maintain the existing implementation
in deprecatedlib.

Part of MDL-55611 epic.

8 years agoMDL-58087 core_calendar: Unit tests now jam with new vault behaviour
Cameron Ball [Wed, 22 Mar 2017 15:42:28 +0000 (23:42 +0800)]
MDL-58087 core_calendar: Unit tests now jam with new vault behaviour

Some unit tests needed to be updated to specify a few extra
bits and pieces on the events to work properly with the
new event vault behaviour.

Part of MDL-55611 epic.

8 years agoMDL-58087 core_calendar: Move logic from get_events to the local API
Cameron Ball [Wed, 22 Mar 2017 11:27:11 +0000 (19:27 +0800)]
MDL-58087 core_calendar: Move logic from get_events to the local API

The logic from get_events has now been moved in to our local API
and is used by the event vault to retrieve events, instead of
querying the database directly.

This has the advantage that it deals with overrides and only
returns events for the relevant user.

Part of MDL-55611 epic.

8 years agoMDL-58087 core_calendar: Don't pass non action events through our plumbing
Cameron Ball [Wed, 22 Mar 2017 11:23:05 +0000 (19:23 +0800)]
MDL-58087 core_calendar: Don't pass non action events through our plumbing

The event factory should simply instantiate an event for non action
events and pass only action events through the plumbing.

This way modules implementing the callbacks can be sure that what
is passed in to the callback is actually supposed to be an action event.

Part of MDL-55611 epic.

8 years agoMDL-58087 core_calendar: Don't process events not created by modules
Cameron Ball [Wed, 22 Mar 2017 10:12:07 +0000 (18:12 +0800)]
MDL-58087 core_calendar: Don't process events not created by modules

Our API infrastructure currently only deals with events created
by course modules. Site, user, etc events can't be dealt with.

Part of MDL-55611 epic.

8 years agoMDL-58087 mod_lesson: Apply overrides in event action callback
Cameron Ball [Wed, 22 Mar 2017 09:53:35 +0000 (17:53 +0800)]
MDL-58087 mod_lesson: Apply overrides in event action callback

Part of MDL-55611 epic.

8 years agoMDL-58087 mod_assign: Apply overrides in event action callback
Cameron Ball [Wed, 22 Mar 2017 09:52:15 +0000 (17:52 +0800)]
MDL-58087 mod_assign: Apply overrides in event action callback

Part of MDL-55611 epic.

8 years agoMDL-58087 core_calendar: Remove redundant event vault factory
Cameron Ball [Wed, 22 Mar 2017 09:42:21 +0000 (17:42 +0800)]
MDL-58087 core_calendar: Remove redundant event vault factory

Part of MDL-55611 epic.

8 years agoMDL-58087 core_calendar: Set correct ID for repeat event collection
Cameron Ball [Wed, 22 Mar 2017 09:07:35 +0000 (17:07 +0800)]
MDL-58087 core_calendar: Set correct ID for repeat event collection

Initially we were only sending "top level" events through our API
i.e., events that can be repeated, but are not repeats themselves.
In the future we will be sending ALL events through our API and int
that situation the ID of the collection needs a small bit of logic
to correctly set the ID of the parent.

Part of MDL-55611 epic.

8 years agoMDL-58087 core_calendar: Event mapper learned to map to stdClass and array
Cameron Ball [Wed, 22 Mar 2017 07:56:12 +0000 (15:56 +0800)]
MDL-58087 core_calendar: Event mapper learned to map to stdClass and array

Part of MDL-55611 epic.

8 years agoMDL-58371 core_completion: ensure calendar constant is defined
Mark Nelson [Thu, 23 Mar 2017 08:57:33 +0000 (16:57 +0800)]
MDL-58371 core_completion: ensure calendar constant is defined

Part of MDL-55611 epic.

8 years agoMDL-57878 core: fixed failing unit test
Mark Nelson [Tue, 21 Mar 2017 07:22:35 +0000 (15:22 +0800)]
MDL-57878 core: fixed failing unit test

Part of MDL-55611 epic.

8 years agoMDL-57878 mod_*: added unit tests for event decoration
Mark Nelson [Mon, 20 Mar 2017 10:10:45 +0000 (18:10 +0800)]
MDL-57878 mod_*: added unit tests for event decoration

Part of MDL-55611 epic.

8 years agoMDL-57878 mod_*: added inclusion of completion event and callbacks
Mark Nelson [Thu, 16 Mar 2017 06:02:53 +0000 (14:02 +0800)]
MDL-57878 mod_*: added inclusion of completion event and callbacks

Part of MDL-55611 epic.

8 years agoMDL-57878 core_calendar: additional unit test for bailout callback
Mark Nelson [Mon, 20 Mar 2017 08:58:38 +0000 (16:58 +0800)]
MDL-57878 core_calendar: additional unit test for bailout callback

Part of MDL-55611 epic.

8 years agoMDL-57878 core_calendar: extended bailout callback
Mark Nelson [Mon, 20 Mar 2017 08:59:39 +0000 (16:59 +0800)]
MDL-57878 core_calendar: extended bailout callback

Do not display completion related events if completion is disabled.

Part of MDL-55611 epic.

8 years agoMDL-57878 core_completion: added unit tests for new API
Mark Nelson [Mon, 13 Mar 2017 09:56:05 +0000 (17:56 +0800)]
MDL-57878 core_completion: added unit tests for new API

Part of MDL-55611 epic.

8 years agoMDL-57878 core_completion: added expected completion date function
Mark Nelson [Thu, 16 Mar 2017 06:01:35 +0000 (14:01 +0800)]
MDL-57878 core_completion: added expected completion date function

Part of MDL-55611 epic.

8 years agoMDL-58337 mod_chat: Adjust display of chats in past/future
Andrew Nicols [Wed, 22 Mar 2017 01:34:01 +0000 (09:34 +0800)]
MDL-58337 mod_chat: Adjust display of chats in past/future

Part of MDL-55611 epic.

8 years agoMDL-58337 mod_assign: Do not show submitted assignments in dashboard
Andrew Nicols [Wed, 22 Mar 2017 01:34:01 +0000 (09:34 +0800)]
MDL-58337 mod_assign: Do not show submitted assignments in dashboard

Part of MDL-55611 epic.

8 years agoMDL-58300 block_myoverview: conditionally disable paging bar
Simey Lameze [Wed, 22 Mar 2017 07:10:17 +0000 (15:10 +0800)]
MDL-58300 block_myoverview: conditionally disable paging bar

Part of MDL-55611 epic.

8 years agoMDL-58363 mod_workshop: Remove calendar is_visible
Andrew Nicols [Wed, 22 Mar 2017 01:34:01 +0000 (09:34 +0800)]
MDL-58363 mod_workshop: Remove calendar is_visible

Part of MDL-55611 epic.

8 years agoMDL-58363 mod_feedback: Remove calendar is_visible
Andrew Nicols [Wed, 22 Mar 2017 01:34:01 +0000 (09:34 +0800)]
MDL-58363 mod_feedback: Remove calendar is_visible

Part of MDL-55611 epic.

8 years agoMDL-58363 mod_data: Remove calendar is_visible
Andrew Nicols [Wed, 22 Mar 2017 01:34:01 +0000 (09:34 +0800)]
MDL-58363 mod_data: Remove calendar is_visible

Part of MDL-55611 epic.

8 years agoMDL-58363 mod_choice: Remove calendar is_visible
Andrew Nicols [Wed, 22 Mar 2017 01:34:01 +0000 (09:34 +0800)]
MDL-58363 mod_choice: Remove calendar is_visible

Part of MDL-55611 epic.

8 years agoMDL-58363 mod_chat: Remove calendar is_visible
Andrew Nicols [Wed, 22 Mar 2017 01:34:01 +0000 (09:34 +0800)]
MDL-58363 mod_chat: Remove calendar is_visible

Part of MDL-55611 epic.

8 years agoMDL-58340 core_calendar: bailout callback now uses '$cm->uservisible'
Mark Nelson [Tue, 21 Mar 2017 08:02:56 +0000 (16:02 +0800)]
MDL-58340 core_calendar: bailout callback now uses '$cm->uservisible'

Part of MDL-55611 epic.

8 years agoMDL-58341 blocks_myoverview: Fix course sorting logic in courses view
Jun Pataleta [Tue, 21 Mar 2017 08:18:57 +0000 (16:18 +0800)]
MDL-58341 blocks_myoverview: Fix course sorting logic in courses view

Part of MDL-55611 epic.

8 years agoMDL-58251 block_myoverview: empty list image placeholders
Ryan Wyllie [Tue, 21 Mar 2017 02:28:00 +0000 (02:28 +0000)]
MDL-58251 block_myoverview: empty list image placeholders

Part of MDL-55611 epic.

8 years agoMDL-58251 block_myoverview: style courses view on clean theme
Ryan Wyllie [Thu, 16 Mar 2017 02:19:33 +0000 (02:19 +0000)]
MDL-58251 block_myoverview: style courses view on clean theme

Part of MDL-55611 epic.

8 years agoMDL-58339 block_myoverview: Hide end date if not set
Andrew Nicols [Tue, 21 Mar 2017 05:19:42 +0000 (13:19 +0800)]
MDL-58339 block_myoverview: Hide end date if not set

Part of MDL-55611 epic.

8 years agoMDL-58301 block_myoverview: Show overdue items in Timeline
Andrew Nicols [Tue, 21 Mar 2017 02:53:47 +0000 (10:53 +0800)]
MDL-58301 block_myoverview: Show overdue items in Timeline

Part of MDL-55611 epic.

8 years agoMDL-58102 completion: Don't expand completion
Damyon Wiese [Tue, 21 Mar 2017 05:36:35 +0000 (13:36 +0800)]
MDL-58102 completion: Don't expand completion

The form looks wierd with one expanded section.

Part of MDL-55611 epic.

8 years agoMDL-58102 mod: Behat fixes
Jun Pataleta [Tue, 14 Mar 2017 02:50:03 +0000 (10:50 +0800)]
MDL-58102 mod: Behat fixes

Part of MDL-55611 epic.

8 years agoMDL-58102 completion: Behat fix
Jun Pataleta [Tue, 14 Mar 2017 02:49:42 +0000 (10:49 +0800)]
MDL-58102 completion: Behat fix

Part of MDL-55611 epic.

8 years agoMDL-58102 mod: Set sensible defaults for additional completion fields
Jun Pataleta [Fri, 10 Mar 2017 08:46:12 +0000 (16:46 +0800)]
MDL-58102 mod: Set sensible defaults for additional completion fields

Part of MDL-55611 epic.

8 years agoMDL-58102 course: Set sensible defaults for completion form fields
Jun Pataleta [Fri, 10 Mar 2017 08:45:40 +0000 (16:45 +0800)]
MDL-58102 course: Set sensible defaults for completion form fields

Part of MDL-55611 epic.

8 years agoMDL-58102 admin: Set 'moodlecourse/enablecompletion' default to Yes
Jun Pataleta [Tue, 7 Mar 2017 04:59:34 +0000 (12:59 +0800)]
MDL-58102 admin: Set 'moodlecourse/enablecompletion' default to Yes

Part of MDL-55611 epic.

8 years agoMDL-58218 calendar: correct offset using last seen event
Ryan Wyllie [Wed, 15 Mar 2017 02:50:53 +0000 (02:50 +0000)]
MDL-58218 calendar: correct offset using last seen event

Part of MDL-55611 epic.

8 years agoMDL-58299 block_myoverview: fix styling of progress chart
Ryan Wyllie [Mon, 20 Mar 2017 05:43:51 +0000 (05:43 +0000)]
MDL-58299 block_myoverview: fix styling of progress chart

Part of MDL-55611 epic.

8 years agoMDL-58265 mod_feedback: change custom step to link behat to course
Simey Lameze [Fri, 17 Mar 2017 02:57:34 +0000 (10:57 +0800)]
MDL-58265 mod_feedback: change custom step to link behat to course

Part of MDL-55611 epic.

8 years agoMDL-58265 mod_lesson: remove steps using course overview block f7c476bac56b2e1bbcebb94ef6af6248bd2bdc20
Simey Lameze [Fri, 17 Mar 2017 02:34:37 +0000 (10:34 +0800)]
MDL-58265 mod_lesson: remove steps using course overview block

Part of MDL-55611 epic.

8 years agoMDL-58265 mod_assign: remove references to collapsibleregioncaption
Simey Lameze [Fri, 17 Mar 2017 02:33:40 +0000 (10:33 +0800)]
MDL-58265 mod_assign: remove references to collapsibleregioncaption

Part of MDL-55611 epic.

8 years agoMDL-58265 core_test: replace I turn editing on steps
Simey Lameze [Wed, 15 Mar 2017 07:13:09 +0000 (15:13 +0800)]
MDL-58265 core_test: replace I turn editing on steps

Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.

Part of MDL-55611 epic.

8 years agoMDL-58265 core_test: add I am on course homepage in edit mode step
Simey Lameze [Wed, 15 Mar 2017 02:56:34 +0000 (10:56 +0800)]
MDL-58265 core_test: add I am on course homepage in edit mode step

This commit also:
- Rename i_am_on_course_page to i_am_on_course_homepage.
- Pass false to out_as_local_url()

Part of MDL-55611 epic.

8 years agoMDL-58265 core_test: remove unnecessary steps
Simey Lameze [Tue, 14 Mar 2017 06:01:03 +0000 (14:01 +0800)]
MDL-58265 core_test: remove unnecessary steps

This commmit removes steps that take behat to site home page
to actually get to a course page.

Part of MDL-55611 epic.

8 years agoMDL-58265 core_test: replace all uses of I follow course steps
Simey Lameze [Tue, 14 Mar 2017 04:50:54 +0000 (12:50 +0800)]
MDL-58265 core_test: replace all uses of I follow course steps

Part of MDL-55611 epic.

8 years agoMDL-58265 core_test: add I am on course page behat step
Simey Lameze [Tue, 14 Mar 2017 04:44:23 +0000 (12:44 +0800)]
MDL-58265 core_test: add I am on course page behat step

Part of MDL-55611 epic.

8 years agoMDL-58298 block_myoverview: Show item count only when applicable
Jun Pataleta [Fri, 17 Mar 2017 07:13:00 +0000 (15:13 +0800)]
MDL-58298 block_myoverview: Show item count only when applicable

Part of MDL-55611 epic.

8 years agoMDL-57986 mod_lesson: Add action events
Cameron Ball [Mon, 13 Mar 2017 11:39:06 +0000 (19:39 +0800)]
MDL-57986 mod_lesson: Add action events

Part of MDL-55611 epic.

8 years agoMDL-57585 myoverview: Remove tabs from template
Damyon Wiese [Fri, 17 Mar 2017 05:14:23 +0000 (13:14 +0800)]
MDL-57585 myoverview: Remove tabs from template

Part of MDL-55611 epic.

8 years agoMDL-57585 block_myoverview: remove unnecessary row classes
Barbara Ramiro [Thu, 16 Mar 2017 14:02:32 +0000 (22:02 +0800)]
MDL-57585 block_myoverview: remove unnecessary row classes

Part of MDL-55611 epic.

8 years agoMDL-57585 block_myoverview: grid adjustments and responsive layout
Barbara Ramiro [Thu, 16 Mar 2017 13:57:08 +0000 (21:57 +0800)]
MDL-57585 block_myoverview: grid adjustments and responsive layout

This is for the course info on the 'Courses' view.

Part of MDL-55611 epic.

8 years agoMDL-57585 block_myoverview: resize event list heading
Barbara Ramiro [Thu, 16 Mar 2017 12:12:46 +0000 (20:12 +0800)]
MDL-57585 block_myoverview: resize event list heading

This is for the 'Timeline' view.

Part of MDL-55611 epic.

8 years agoMDL-57585 block_myoverview: grid adjustments to add more space
Barbara Ramiro [Thu, 16 Mar 2017 12:03:42 +0000 (20:03 +0800)]
MDL-57585 block_myoverview: grid adjustments to add more space

This is for the 'Sort by courses' view.

Part of MDL-55611 epic.

8 years agoMDL-57585 block_myoverview: responsive layout for course summary
Barbara Ramiro [Thu, 16 Mar 2017 11:56:52 +0000 (19:56 +0800)]
MDL-57585 block_myoverview: responsive layout for course summary

This is for the 'Sort by courses' view.

Part of MDL-55611 epic.

8 years agoMDL-57585 block_myoverview: widen columns on sort by dates
Barbara Ramiro [Tue, 14 Mar 2017 10:10:44 +0000 (18:10 +0800)]
MDL-57585 block_myoverview: widen columns on sort by dates

Show more text when the drawer is open.

Part of MDL-55611 epic.

8 years agoMDL-57585 block_myoverview: add styling for timeline view in clean
Ryan Wyllie [Tue, 14 Mar 2017 04:52:53 +0000 (04:52 +0000)]
MDL-57585 block_myoverview: add styling for timeline view in clean

Part of MDL-55611 epic.

8 years agoMDL-57585 block_myoverview: add styling for timeline view in boost
Ryan Wyllie [Wed, 8 Mar 2017 00:41:32 +0000 (00:41 +0000)]
MDL-57585 block_myoverview: add styling for timeline view in boost

Part of MDL-55611 epic.

8 years agoMDL-57585 dashboard: remove side block region
Ryan Wyllie [Tue, 14 Mar 2017 00:47:31 +0000 (00:47 +0000)]
MDL-57585 dashboard: remove side block region

Made the central block region the default region and removed the side
block region on the dashboard to allow the middle block region more
space.

Part of MDL-55611 epic.

8 years agoMDL-58110 core_calendar: Add proxy for modules
Cameron Ball [Mon, 13 Mar 2017 12:10:17 +0000 (20:10 +0800)]
MDL-58110 core_calendar: Add proxy for modules

Modules associated with an event are stored in the event table
as the module's name and instance number not the actual ID of the instance
in the modules table.

So to lazy load them we need a proxy that uses the module name and instance
rather than the ID.

Part of MDL-55611 epic.

8 years agoMDL-58145 block_myoverview: format timestamps using userdate helper
Simey Lameze [Thu, 9 Mar 2017 02:56:03 +0000 (10:56 +0800)]
MDL-58145 block_myoverview: format timestamps using userdate helper

Part of MDL-55611 epic.

8 years agoMDL-58048 mod: New callback implementation
Jun Pataleta [Fri, 10 Mar 2017 04:05:38 +0000 (12:05 +0800)]
MDL-58048 mod: New callback implementation

* Callback function implementation of
<modname>_core_calendar_event_action_shows_item_count for:
 - mod_assign
 - mod_forum

Part of MDL-55611 epic.

8 years agoMDL-58048 blocks_myoverview: Show item count when applicable
Jun Pataleta [Tue, 7 Mar 2017 08:53:06 +0000 (16:53 +0800)]
MDL-58048 blocks_myoverview: Show item count when applicable

Part of MDL-55611 epic.

8 years agoMDL-58048 calendar: Show itemcount conditionally
Jun Pataleta [Tue, 7 Mar 2017 08:50:52 +0000 (16:50 +0800)]
MDL-58048 calendar: Show itemcount conditionally

Part of MDL-55611 epic.

8 years agoMDL-58146 block_myoverview: format summary using shortentext helper
Simey Lameze [Thu, 9 Mar 2017 03:02:04 +0000 (11:02 +0800)]
MDL-58146 block_myoverview: format summary using shortentext helper

Part of MDL-55611 epic.

8 years agoMDL-58209 block_myoverview: sort by course full name
Mark Nelson [Thu, 9 Mar 2017 10:05:02 +0000 (18:05 +0800)]
MDL-58209 block_myoverview: sort by course full name

Part of MDL-55611 epic.

8 years agoMDL-58236 core_calendar: do not display events with 0 item counts
Mark Nelson [Tue, 14 Mar 2017 08:10:23 +0000 (16:10 +0800)]
MDL-58236 core_calendar: do not display events with 0 item counts

Part of MDL-55611 epic.