moodle.git
4 years agoMDL-55611 calendar: remove duplicated 'scheduled task stuff'
Dan Poltawski [Tue, 4 Apr 2017 16:02:07 +0000 (17:02 +0100)]
MDL-55611 calendar: remove duplicated 'scheduled task stuff'

4 years agoMDL-58474 block_myoverview: change step datetime format
Simey Lameze [Tue, 4 Apr 2017 03:31:16 +0000 (11:31 +0800)]
MDL-58474 block_myoverview: change step datetime format

Part of MDL-55611 epic.

4 years agoMDL-58474 core_calendar: add missing action_event_interface import
Simey Lameze [Tue, 4 Apr 2017 02:34:32 +0000 (10:34 +0800)]
MDL-58474 core_calendar: add missing action_event_interface import

Part of MDL-55611 epic.

4 years agoMDL-55611 core_calendar: fixed unit tests failing in isolation
Mark Nelson [Mon, 3 Apr 2017 06:29:04 +0000 (14:29 +0800)]
MDL-55611 core_calendar: fixed unit tests failing in isolation

4 years agoMDL-58442 core_calendar: Better documentation for the container
Cameron Ball [Mon, 3 Apr 2017 05:25:52 +0000 (13:25 +0800)]
MDL-58442 core_calendar: Better documentation for the container

Part of MDL-55611 epic.

4 years agoMDL-58442 core_calendar: Nuke action_event_factory and friends
Cameron Ball [Mon, 3 Apr 2017 05:11:17 +0000 (13:11 +0800)]
MDL-58442 core_calendar: Nuke action_event_factory and friends

These are unecessary since the only place the factory
is used is in the container.

Part of MDL-55611 epic.

4 years agoMDL-58442 core_calendar: Rename core_container to simply container
Cameron Ball [Mon, 3 Apr 2017 04:53:38 +0000 (12:53 +0800)]
MDL-58442 core_calendar: Rename core_container to simply container

core_container was confusing as it looks Frankenstyleish.

Part of MDL-55611 epic.

4 years agoMDL-58438 mod_lti: replace step using course overview block
Simey Lameze [Thu, 30 Mar 2017 01:37:38 +0000 (09:37 +0800)]
MDL-58438 mod_lti: replace step using course overview block

Part of MDL-55611 epic.

4 years agoMDL-58438 core_badges: fix behat issues on award badge feature
Simey Lameze [Thu, 30 Mar 2017 01:18:15 +0000 (09:18 +0800)]
MDL-58438 core_badges: fix behat issues on award badge feature

Part of MDL-55611 epic.

4 years agoMDL-58430 core_calendar: Keep interfaces with implementations
Cameron Ball [Thu, 30 Mar 2017 07:33:13 +0000 (15:33 +0800)]
MDL-58430 core_calendar: Keep interfaces with implementations

All interfaces have been moved from the interfaces folder such
that they now live with their default implementations.

Part of MDL-55611 epic.

4 years agoMDL-58303 theme_boost: change dashboard block breakpoint to xl
Ryan Wyllie [Tue, 21 Mar 2017 05:27:39 +0000 (05:27 +0000)]
MDL-58303 theme_boost: change dashboard block breakpoint to xl

Part of MDL-55611 epic.

4 years agoMDL-57607 upgrade: Add post-upgrade adhoc task for refreshing mod events
Jun Pataleta [Tue, 14 Mar 2017 04:56:17 +0000 (12:56 +0800)]
MDL-57607 upgrade: Add post-upgrade adhoc task for refreshing mod events

Insert an ad-hoc task into the task_adhoc table that updates existing calendar
events to convert them to action-type events, where applicable.

Part of MDL-55611 epic.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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

4 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".

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 years agoMDL-58265 mod_lesson: remove steps using course overview block
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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.

4 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.