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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Jun Pataleta [Tue, 7 Mar 2017 08:50:52 +0000 (16:50 +0800)]
MDL-58048 calendar: Show itemcount conditionally
Part of MDL-55611 epic.
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.
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.
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.
Mark Nelson [Mon, 13 Mar 2017 07:32:07 +0000 (15:32 +0800)]
MDL-58239 core_output: fixed user date helper doc example
Part of MDL-55611 epic.
Jun Pataleta [Mon, 13 Mar 2017 08:21:35 +0000 (16:21 +0800)]
MDL-58240 mod_assign: Only use due for assign override event types
Part of MDL-55611 epic.
Simey Lameze [Tue, 7 Mar 2017 03:43:53 +0000 (11:43 +0800)]
MDL-57987 mod_workshop: add action event
Part of MDL-55611 epic.
Mark Nelson [Thu, 9 Mar 2017 09:38:57 +0000 (17:38 +0800)]
MDL-58210 core: course summary exporter provides full name to display
Part of MDL-55611 epic.
Mark Nelson [Fri, 10 Mar 2017 04:12:03 +0000 (12:12 +0800)]
MDL-58222 core: minor correction to the course summary exporter
Part of MDL-55611 epic.
Mark Nelson [Fri, 3 Mar 2017 08:52:46 +0000 (16:52 +0800)]
MDL-57998 mod_scorm: added action events
Part of MDL-55611 epic.
Cameron Ball [Wed, 8 Mar 2017 10:19:55 +0000 (18:19 +0800)]
MDL-58187 core_calendar: Skip callbacks when events module is invisible
Previously every event would get piped through the two callbacks
even when the associated course module was invisible. This patch
adds an early bail out check to avoid that.
Part of MDL-55611 epic.
Mark Nelson [Wed, 8 Mar 2017 08:51:44 +0000 (16:51 +0800)]
MDL-58211 core_calendar: fixed incompatibility with PHP 5.x
Part of MDL-55611 epic.
Ryan Wyllie [Thu, 2 Mar 2017 00:56:09 +0000 (00:56 +0000)]
MDL-57503 block_myoverview: use get actions events by course
Updated the myoverview block javascript to use the new external
functions that retrieve events by course.
Part of MDL-55611 epic.
Ryan Wyllie [Thu, 2 Mar 2017 00:53:21 +0000 (00:53 +0000)]
MDL-57503 block_myoverview: version bump
Part of MDL-55611 epic.
Ryan Wyllie [Wed, 1 Mar 2017 05:56:18 +0000 (05:56 +0000)]
MDL-57503 calendat: test external function get action events by courses
Part of MDL-55611 epic.
Ryan Wyllie [Tue, 28 Feb 2017 03:31:21 +0000 (03:31 +0000)]
MDL-57503 calendar: external function for action events by courses
Added an external function to get action events by a list of courses and
timesort.
Part of MDL-55611 epic.
Ryan Wyllie [Tue, 28 Feb 2017 07:07:24 +0000 (07:07 +0000)]
MDL-57503 calendar: test external function get action events by course
Part of MDL-55611 epic.
Ryan Wyllie [Tue, 28 Feb 2017 03:25:23 +0000 (03:25 +0000)]
MDL-57503 calendar: external function get action events by course
Added an external function to get action events by course and timesort.
Part of MDL-55611 epic.
Ryan Wyllie [Tue, 28 Feb 2017 03:17:40 +0000 (03:17 +0000)]
MDL-57503 calendar: test for api function for action events by courses
Part of MDL-55611 epic.
Ryan Wyllie [Tue, 28 Feb 2017 03:16:34 +0000 (03:16 +0000)]
MDL-57503 calendar: add api function for action events by courses
Add get_action_events_by_courses to calendar api.
Part of MDL-55611 epic.
Ryan Wyllie [Tue, 28 Feb 2017 03:14:00 +0000 (03:14 +0000)]
MDL-57503 calendar: test for api function for action events by course
Part of MDL-55611 epic.
Ryan Wyllie [Tue, 28 Feb 2017 03:12:09 +0000 (03:12 +0000)]
MDL-57503 calendar: add api function for action events by course
Add get_action_events_by_course to calendar api.
Part of MDL-55611 epic.
Ryan Wyllie [Tue, 28 Feb 2017 03:02:03 +0000 (03:02 +0000)]
MDL-57503 enrol: allow course ids for enrol_get_my_courses
Allow enrol_get_my_courses to be filtered by a set of known course ids
that the user may or may not be enrolled on.
The result will be a subset of the given course ids that the user is
enrolled in.
Part of MDL-55611 epic.
Mark Nelson [Thu, 2 Mar 2017 05:45:22 +0000 (13:45 +0800)]
MDL-57877 mod_data: added action events
Part of MDL-55611 epic.
Ryan Wyllie [Fri, 3 Mar 2017 07:24:43 +0000 (07:24 +0000)]
MDL-58099 block_myoverview: display message when no events
Part of MDL-55611 epic.
Simey Lameze [Wed, 1 Mar 2017 07:25:57 +0000 (15:25 +0800)]
MDL-57879 mod_feedback: add action events
Part of MDL-55611 epic.
Ryan Wyllie [Fri, 3 Mar 2017 03:10:54 +0000 (03:10 +0000)]
MDL-57501 block_myoverview: show course progress doughnut chart
Part of MDL-55611 epic.
Ryan Wyllie [Fri, 3 Mar 2017 01:56:16 +0000 (01:56 +0000)]
MDL-57501 block_myoverview: add completion progress to renderables
Part of MDL-55611 epic.
Ryan Wyllie [Fri, 3 Mar 2017 01:54:28 +0000 (01:54 +0000)]
MDL-57501 block_myoverview: add progress-chart template
Part of MDL-55611 epic.
Mark Nelson [Tue, 28 Feb 2017 09:33:29 +0000 (17:33 +0800)]
MDL-57732 mod_choice: added action events
Part of MDL-55611 epic.
Cameron Ball [Tue, 28 Feb 2017 08:27:30 +0000 (16:27 +0800)]
MDL-58060 core_calendar: Use static course cache in event factory
Part of MDL-55611 epic.
Mark Nelson [Thu, 2 Mar 2017 09:27:32 +0000 (17:27 +0800)]
MDL-58101 block_myoverview: don't display link if inactionable
Part of MDL-55611 epic.
Simey Lameze [Tue, 28 Feb 2017 08:14:21 +0000 (16:14 +0800)]
MDL-58098 block_myoverview: various fixes
- remove unnecessary amd modules
- fix wrong template names
- fix undefined variable JS error
Part of MDL-55611 epic.
Simey Lameze [Wed, 1 Mar 2017 03:05:42 +0000 (11:05 +0800)]
MDL-58098 block_myoverview: conditionally display the paging bar
Part of MDL-55611 epic.
Simey Lameze [Tue, 28 Feb 2017 04:49:35 +0000 (12:49 +0800)]
MDL-58098 block_myoverview: load courses view data on server side
Part of MDL-55611 epic.
Simey Lameze [Tue, 28 Feb 2017 02:46:35 +0000 (10:46 +0800)]
MDL-58098 block_myoverview: change renderables to load courses once
Part of MDL-55611 epic.
Mark Nelson [Wed, 22 Feb 2017 05:42:07 +0000 (13:42 +0800)]
MDL-57731 mod_chat: added action events
Part of MDL-55611 epic.
Mark Nelson [Tue, 21 Feb 2017 07:38:10 +0000 (15:38 +0800)]
MDL-57730 core_calendar: fixed failing unit tests
Part of MDL-55611 epic.
Mark Nelson [Thu, 16 Feb 2017 08:33:27 +0000 (16:33 +0800)]
MDL-57730 mod_assign: added action events
Part of MDL-55611 epic.
Mark Nelson [Thu, 23 Feb 2017 09:06:44 +0000 (17:06 +0800)]
MDL-57730 core_calendar: handle '0' as a courseid
User overrides set the course id as 0 in the events table
(Moodle can be stupid). We need to deal with this.
Part of MDL-55611 epic.
Mark Nelson [Mon, 20 Feb 2017 08:17:28 +0000 (16:17 +0800)]
MDL-57730 core_calendar: fixed incompatibility with PHP 5.x
Also removed unused function and fixed PHPDocs.
Part of MDL-55611 epic.
Cameron Ball [Fri, 17 Feb 2017 04:48:28 +0000 (12:48 +0800)]
MDL-57730 core_calendar: Action interface aware of actionability
We need a way to decide whether an action can currently be completed
(e.g., an assignment where submissions are not yet open can not
be actioned, even though it may be displayed on the upcomming events
list).
To do this, the action interface now contains an is_actionable method.
Part of MDL-55611 epic.
Cameron Ball [Fri, 17 Feb 2017 04:23:48 +0000 (12:23 +0800)]
MDL-57730 core_calendar: Map action events to legacy events
Part of MDL-55611 epic.
Cameron Ball [Thu, 16 Feb 2017 08:13:07 +0000 (16:13 +0800)]
MDL-57730 core_calendar: Allow modules to control event visibility
By implementing the mod_{modname}_core_calendar_is_event_visible callback
a module can decide whether or not a user should see an event.
Part of MDL-55611 epic.
Simey Lameze [Mon, 27 Feb 2017 03:26:09 +0000 (11:26 +0800)]
MDL-57447 block_myoverview: build paging bar data structure
Part of MDL-55611 epic.
Simey Lameze [Mon, 27 Feb 2017 03:25:32 +0000 (11:25 +0800)]
MDL-57447 block_myoverview: add missing docs on amd modules
Part of MDL-55611 epic.
Simey Lameze [Mon, 27 Feb 2017 07:37:40 +0000 (15:37 +0800)]
MDL-57447 block_myoverview: paging bar module needs page number
Part of MDL-55611 epic.
Simey Lameze [Mon, 27 Feb 2017 07:28:45 +0000 (15:28 +0800)]
MDL-57447 block_myoverview: bug fixes and code clean up
Part of MDL-55611 epic.
Ryan Wyllie [Thu, 23 Feb 2017 05:46:51 +0000 (05:46 +0000)]
MDL-57447 block_myoverview: make paging bar buttons work
Part of MDL-55611 epic.
Ryan Wyllie [Thu, 23 Feb 2017 04:42:07 +0000 (04:42 +0000)]
MDL-57447 block_myoverview: add context for courses view
Part of MDL-55611 epic.
Ryan Wyllie [Thu, 23 Feb 2017 03:44:24 +0000 (03:44 +0000)]
MDL-57447 block_myoverview: created courses-view-by-status template
Part of MDL-55611 epic.
Ryan Wyllie [Thu, 23 Feb 2017 02:41:22 +0000 (02:41 +0000)]
MDL-57447 block_myoverview: create paging bar and content modules
Part of MDL-55611 epic.
Simey Lameze [Mon, 27 Feb 2017 07:14:27 +0000 (15:14 +0800)]
MDL-57447 block_myoverview: courses view amd modules
Part of MDL-55611 epic.
Simey Lameze [Mon, 27 Feb 2017 07:12:21 +0000 (15:12 +0800)]
MDL-57447 block_myoverview: add templates for courses view
Part of MDL-55611 epic.
Simey Lameze [Mon, 27 Feb 2017 07:10:36 +0000 (15:10 +0800)]
MDL-57447 block_myoverview: escape html content on course summary
Part of MDL-55611 epic.
Ryan Wyllie [Mon, 20 Feb 2017 02:56:04 +0000 (02:56 +0000)]
MDL-57502 core: version bump for action event webservice
Part of MDL-55611 epic.
Ryan Wyllie [Thu, 19 Jan 2017 04:24:03 +0000 (04:24 +0000)]
MDL-57502 block_myoverview: use get calendar action events web service
Part of MDL-55611 epic.
Ryan Wyllie [Tue, 17 Jan 2017 04:49:27 +0000 (04:49 +0000)]
MDL-57502 core_calendar: get calendar action events tests
Part of MDL-55611 epic.
Mark Nelson [Thu, 12 Jan 2017 07:27:34 +0000 (15:27 +0800)]
MDL-57502 core_calendar: add get calendar action events web service
Part of MDL-55611 epic.
Ryan Wyllie [Tue, 17 Jan 2017 03:24:09 +0000 (03:24 +0000)]
MDL-57502 core_calendar: add calendar event exporters
Part of MDL-55611 epic.
Ryan Wyllie [Fri, 17 Feb 2017 06:43:44 +0000 (06:43 +0000)]
MDL-57502 calendar: add local api class for internal use
Part of MDL-55611 epic.
Ryan Wyllie [Fri, 17 Feb 2017 03:58:12 +0000 (03:58 +0000)]
MDL-57750 calendar: tests for api get_action_events_by_timesort
Part of MDL-55611 epic.
Ryan Wyllie [Fri, 17 Feb 2017 02:07:30 +0000 (02:07 +0000)]
MDL-57750 calendar: add api function to get action events by timesort
Part of MDL-55611 epic.
Ryan Wyllie [Fri, 3 Feb 2017 05:59:51 +0000 (05:59 +0000)]
MDL-57750 calendar: calendar event vault tests
Part of MDL-55611 epic.
Ryan Wyllie [Fri, 17 Feb 2017 02:07:04 +0000 (02:07 +0000)]
MDL-57750 calendar: add event vault
Part of MDL-55611 epic.
Mark Nelson [Wed, 15 Feb 2017 09:48:37 +0000 (17:48 +0800)]
MDL-57443 core_completion: added API to retrieve completion progress
Part of MDL-55611 epic.
Cameron Ball [Tue, 14 Feb 2017 19:15:06 +0000 (03:15 +0800)]
MDL-57442 core_calendar: Allow course modules to create actions for events
Course modules can now implement the function mod_{module}_core_calendar_provide_event_action
which allows them to return an action to attach to an event.
Part of MDL-55611 epic.
Cameron Ball [Tue, 14 Feb 2017 18:52:24 +0000 (02:52 +0800)]
MDL-57442 block_myoverview: Complete renderer params list
Part of MDL-55611 epic.
Cameron Ball [Tue, 14 Feb 2017 15:44:54 +0000 (23:44 +0800)]
MDL-57442 core_calendar: Fix incorrect copyright notice
Part of MDL-55611 epic.
Cameron Ball [Tue, 14 Feb 2017 15:43:59 +0000 (23:43 +0800)]
MDL-57442 core_calendar: Update proxies to accept a 'base' class
The base class can contain information we would prefer not to
have to hit the database for.
Part of MDL-55611 epic.
Cameron Ball [Fri, 10 Feb 2017 04:47:11 +0000 (12:47 +0800)]
MDL-57442 core_calendar: Add missing return to event factory interface docs
Part of MDL-55611 epic.
Cameron Ball [Fri, 10 Feb 2017 03:45:43 +0000 (11:45 +0800)]
MDL-57442 core_calendar: Add missing method to times interface
Also adds a missing member to event_times implementation.
Part of MDL-55611 epic.
Mark Nelson [Mon, 13 Feb 2017 07:58:06 +0000 (15:58 +0800)]
MDL-57938 mod_assign: added new 'gradingduedate' setting
Part of MDL-55611 epic.
Damyon Wiese [Tue, 14 Feb 2017 07:57:34 +0000 (15:57 +0800)]
MDL-57446 myoverview: version bump for new classes.
Part of MDL-55611 epic.
Simey Lameze [Tue, 14 Feb 2017 05:14:51 +0000 (13:14 +0800)]
MDL-57446 core_course: add required fields to exporter
Part of MDL-55611 epic.
Simey Lameze [Tue, 14 Feb 2017 05:11:16 +0000 (13:11 +0800)]
MDL-57446 block_myoverview: add course summary renderable
Part of MDL-55611 epic.
Simey Lameze [Tue, 14 Feb 2017 05:09:21 +0000 (13:09 +0800)]
MDL-57446 block_myoverview: add timeline sort by courses templates
Part of MDL-55611 epic.