83500 Commits

Author SHA1 Message Date
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
Simey Lameze
0fc7dbce37 MDL-57447 block_myoverview: add templates for courses view
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Simey Lameze
6922c9a183 MDL-57447 block_myoverview: escape html content on course summary
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Ryan Wyllie
bf313ce202 MDL-57502 core: version bump for action event webservice
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
Ryan Wyllie
4139f1311f MDL-57502 core_calendar: get calendar action events tests
Part of MDL-55611 epic.
2017-04-03 11:36:08 +08:00
Mark Nelson
c0f877fa62 MDL-57502 core_calendar: add get calendar action events web service
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Ryan Wyllie
984355ce57 MDL-57502 core_calendar: add calendar event exporters
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Ryan Wyllie
392d6a49f8 MDL-57502 calendar: add local api class for internal use
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Ryan Wyllie
1575194a5c MDL-57750 calendar: tests for api get_action_events_by_timesort
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Ryan Wyllie
ca21b08de8 MDL-57750 calendar: add api function to get action events by timesort
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Ryan Wyllie
18a96325a7 MDL-57750 calendar: calendar event vault tests
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Ryan Wyllie
84d865d69b MDL-57750 calendar: add event vault
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Mark Nelson
5b3c691fd5 MDL-57443 core_completion: added API to retrieve completion progress
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Cameron Ball
5ca71c2dc3 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.
2017-04-03 11:36:07 +08:00
Cameron Ball
bee158fa4b MDL-57442 block_myoverview: Complete renderer params list
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Cameron Ball
0efe462b12 MDL-57442 core_calendar: Fix incorrect copyright notice
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Cameron Ball
c5478a5b6c 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.
2017-04-03 11:36:07 +08:00
Cameron Ball
33be1706e1 MDL-57442 core_calendar: Add missing return to event factory interface docs
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Cameron Ball
4c19dc323a MDL-57442 core_calendar: Add missing method to times interface
Also adds a missing member to event_times implementation.

Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Mark Nelson
3e1c027532 MDL-57938 mod_assign: added new 'gradingduedate' setting
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Damyon Wiese
410f2fb30d MDL-57446 myoverview: version bump for new classes.
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Simey Lameze
dd61723edb MDL-57446 core_course: add required fields to exporter
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
084cabeb9f MDL-57446 block_myoverview: add course summary renderable
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
be99bd617c MDL-57446 block_myoverview: add timeline sort by courses templates
Part of MDL-55611 epic.
2017-04-03 11:35:38 +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
Mark Nelson
12cbce0aa3 MDL-57888 core_calendar: moved functions from calendar/lib.php
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Cameron Ball
e46efe3a72 MDL-57599 core_calendar: Add action event class
This patch adds a "regular" calendar event class, and a simple extension
of it which we are calling an action event.

Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
f7ce6eab7e MDL-57545 core_calendar: add missing record snapshots
This commit adds missing add_record_snapshot() calls everywhere calendar_event_updated is triggered.

Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
a22fa7cb68 MDL-57545 core_calendar: remove visibility fields from calendar events
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Mark Nelson
c45266d115 MDL-57545 core_calendar: trigger update event when toggling visibility
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
42f80a9acf MDL-57445 block_myoverview: templates for theme clean
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
b858d66699 MDL-57445 block_myoverview: add aria-describedby to event list
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
5081983215 MDL-57445 block_myoverview: add example contexts to tempaltes
Part of MDL-55611 epic.
2017-04-03 11:35:37 +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
6a12232581 MDL-57445 block_myoverview: Add course view to timeline
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
Ryan Wyllie
41b571a1ea MDL-57445 block_myoverview: Add renderer
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Cameron Ball
1c68e83b1f MDL-57445 block_myoverview: Add timeline by date templates
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Mark Nelson
ca622fd9fa MDL-57435 core: added additional columns to 'event' table
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Mark Nelson
5019e69588 MDL-57578 core_calendar: removed the function calendar_event_hook()
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00