Commit Graph

35 Commits

Author SHA1 Message Date
Dan Poltawski d9dff92fef MDL-59761 eslint: Auto-fix some minor lint warnings 2017-09-06 08:53:50 +01:00
Simey Lameze e00e673195 MDL-59230 block_myoverview: add missing core notification module 2017-06-16 16:39:19 +08:00
Mark Nelson 0ecb3d7786 MDL-58907 block_myoverview: change URL when tab is selected
We then check if this paramter exists in the URL and if it
does we display the specified tab.
2017-06-12 10:34:38 +08:00
Mark Nelson 4dfb8cf060 MDL-58907 block_myoverview: display last tab user was on 2017-06-12 10:34:38 +08:00
Dan Poltawski afaa33d9e1 MDL-57139 myoverview: fix paging button edge case
Previously the 'view more' button was disabled when should be enabled
2017-06-07 07:21:31 +01:00
Dan Poltawski 50c277a5d8 MDL-57139 js: built 2017-06-01 14:54:40 +01:00
Dan Poltawski 72ed079f60 MDL-57139 myoverview: Use promise best practices
Simplified promise
* Always return
* Make use of promise chaining features to simplfy flow
2017-06-01 14:54:38 +01:00
Ryan Wyllie f31240ebdf MDL-58518 block_myoverview: use user's midnight for sort by courses 2017-05-02 02:53:26 +00:00
Ryan Wyllie 5f6ff89549 MDL-58536 block_myoverview: use moodle user timezone for midnight calc
Pass the user's midnight timestamp to the javascript to ensure that a
user's timezone is respected when calculating the categories the events
should be placed in on the event list.
2017-04-19 05:38:25 +00:00
Jun Pataleta 775c6bac6d MDL-58386 block_myoverview: Fixed CI issues
Part of MDL-55611 epic.
2017-04-04 11:01:46 +01:00
Andrew Nicols 5e52a8a9fc MDL-58301 block_myoverview: Show overdue items in Timeline
Part of MDL-55611 epic.
2017-04-03 11:37:08 +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 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 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 cf3e261607 MDL-58098 block_myoverview: various fixes
- remove unnecessary amd modules
- fix wrong template names
- fix undefined variable JS error

Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Simey Lameze 788a79eb88 MDL-58098 block_myoverview: load courses view data on server side
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Simey Lameze ce37c375f6 MDL-57447 block_myoverview: add missing docs on amd modules
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Simey Lameze 58929f0e78 MDL-57447 block_myoverview: paging bar module needs page number
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Simey Lameze afe1a3c3b6 MDL-57447 block_myoverview: bug fixes and code clean up
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Ryan Wyllie 6391b320e6 MDL-57447 block_myoverview: make paging bar buttons work
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Ryan Wyllie 9ac2e865a4 MDL-57447 block_myoverview: add context for courses view
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Ryan Wyllie e8f4d95408 MDL-57447 block_myoverview: create paging bar and content modules
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Simey Lameze 208ee9b09c MDL-57447 block_myoverview: courses view amd modules
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Ryan Wyllie 6fbecb9219 MDL-57502 block_myoverview: use get calendar action events web service
Part of MDL-55611 epic.
2017-04-03 11:36:08 +08:00
Simey Lameze bcd6ae736b MDL-57446 block_myoverview: add event list by course module
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze cfc57eec1b MDL-57446 block_myoverview: make event list module filter by course
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze 4f580aa7a9 MDL-57446 block_myoverview: add methods to query data by course
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Cameron Ball 10a8ea172b MDL-57445 block_myoverview: refactor event_list render
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie ed9c238cae MDL-57445 block_myoverview: remove timeline_view_dates.js
Removed the JS for the timeline_view_dates template as it is no longer
required.

Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie 1d0cbd7746 MDL-57445 block_myoverview: timeline view sort-by-date event list
The list of calendar events on the sort-by-date view of the timeline is
now treated as a single long list of calendar events where the groupings
(today, next 7 days etc) are purely for display purposes.

Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie 6103ce8b82 MDL-57445 block_myoverview: change event list loading icon
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Ryan Wyllie 0fa82f8463 MDL-57445 block_myoverview: javascript docs
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Ryan Wyllie e03d5d4790 MDL-57445 core: allow context variables in pix helper
Allow the user of context variables in the id and component section of
the pix helper.

Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Cameron Ball 992c63043a MDL-57445 block_myoverview: Add courses view to myoverview block
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Cameron Ball 38c795b2ce MDL-57445 block_myoverview: Add timeline sort by dates
This patch adds a basic timeline view for the events sorted by date.
The events data is stubbed in the calendar events repository.

Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00