83572 Commits

Author SHA1 Message Date
Simey Lameze
fdeeaff954 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.
2017-04-03 11:37:07 +08:00
Simey Lameze
3353cfd8c1 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.
2017-04-03 11:37:07 +08:00
Simey Lameze
93be3f730c 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.
2017-04-03 11:37:07 +08:00
Simey Lameze
c987d1b2ef MDL-58265 core_test: replace all uses of I follow course steps
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
95f11fde64 MDL-58265 core_test: add I am on course page behat step
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Jun Pataleta
99f38abb40 MDL-58298 block_myoverview: Show item count only when applicable
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Cameron Ball
8a8bd42528 MDL-57986 mod_lesson: Add action events
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Damyon Wiese
9a67798a5e MDL-57585 myoverview: Remove tabs from template
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Barbara Ramiro
cc6f8645f8 MDL-57585 block_myoverview: remove unnecessary row classes
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Barbara Ramiro
db95fab094 MDL-57585 block_myoverview: grid adjustments and responsive layout
This is for the course info on the 'Courses' view.

Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Barbara Ramiro
e083be6ace MDL-57585 block_myoverview: resize event list heading
This is for the 'Timeline' view.

Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Barbara Ramiro
a88da91bba MDL-57585 block_myoverview: grid adjustments to add more space
This is for the 'Sort by courses' view.

Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Barbara Ramiro
ff582ae512 MDL-57585 block_myoverview: responsive layout for course summary
This is for the 'Sort by courses' view.

Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Barbara Ramiro
90b030461f MDL-57585 block_myoverview: widen columns on sort by dates
Show more text when the drawer is open.

Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Ryan Wyllie
ccd1716c48 MDL-57585 block_myoverview: add styling for timeline view in clean
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Ryan Wyllie
0eb8556245 MDL-57585 block_myoverview: add styling for timeline view in boost
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Ryan Wyllie
4cc0d2d91f 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.
2017-04-03 11:37:06 +08:00
Cameron Ball
e798fa76f5 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.
2017-04-03 11:37:06 +08:00
Simey Lameze
55b36b18c6 MDL-58145 block_myoverview: format timestamps using userdate helper
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Jun Pataleta
fb36d8dd2c 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.
2017-04-03 11:37:06 +08:00
Jun Pataleta
fe75ef33ee MDL-58048 blocks_myoverview: Show item count when applicable
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Jun Pataleta
6b7b39fe3a MDL-58048 calendar: Show itemcount conditionally
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Simey Lameze
1dd4375f2f MDL-58146 block_myoverview: format summary using shortentext helper
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Mark Nelson
a7f9abc8be MDL-58209 block_myoverview: sort by course full name
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Mark Nelson
56885618d9 MDL-58236 core_calendar: do not display events with 0 item counts
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Mark Nelson
00995f0339 MDL-58239 core_output: fixed user date helper doc example
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Jun Pataleta
c7d75292f0 MDL-58240 mod_assign: Only use due for assign override event types
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Simey Lameze
2eaa43dd42 MDL-57987 mod_workshop: add action event
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Mark Nelson
15c7d75fc0 MDL-58210 core: course summary exporter provides full name to display
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Mark Nelson
240e52365c MDL-58222 core: minor correction to the course summary exporter
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Mark Nelson
3a41f730ac MDL-57998 mod_scorm: added action events
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Cameron Ball
7aedfe32f4 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.
2017-04-03 11:37:05 +08:00
Mark Nelson
8aa761b021 MDL-58211 core_calendar: fixed incompatibility with PHP 5.x
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Ryan Wyllie
42016853d1 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.
2017-04-03 11:37:05 +08:00
Ryan Wyllie
89e9edf4a4 MDL-57503 block_myoverview: version bump
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Ryan Wyllie
1aeb58faad MDL-57503 calendat: test external function get action events by courses
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
9b8e505715 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.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
5e026bb05f MDL-57503 calendar: test external function get action events by course
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
60774b28c3 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.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
42ac7ac629 MDL-57503 calendar: test for api function for action events by courses
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
8a082024e7 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.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
39e7bbaec4 MDL-57503 calendar: test for api function for action events by course
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
e62cd85fc5 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.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
1ef06b4335 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.
2017-04-03 11:36:34 +08:00
Mark Nelson
7c6f961bf9 MDL-57877 mod_data: added action events
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
d4718e5ab9 MDL-58099 block_myoverview: display message when no events
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Simey Lameze
90e8330f1a MDL-57879 mod_feedback: add action events
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Ryan Wyllie
6890a914a9 MDL-57501 block_myoverview: show course progress doughnut chart
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Ryan Wyllie
3f0c421b22 MDL-57501 block_myoverview: add completion progress to renderables
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Ryan Wyllie
cab053f702 MDL-57501 block_myoverview: add progress-chart template
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00