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
Mark Nelson
213dcf5191
MDL-57732 mod_choice: added action events
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Cameron Ball
1d364a89e9
MDL-58060 core_calendar: Use static course cache in event factory
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
ed0f8d3ca3
MDL-58101 block_myoverview: don't display link if inactionable
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +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
890c95c975
MDL-58098 block_myoverview: conditionally display the paging bar
...
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
eb481a3e52
MDL-58098 block_myoverview: change renderables to load courses once
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
bea71d5732
MDL-57731 mod_chat: added action events
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
c91b4c0278
MDL-57730 core_calendar: fixed failing unit tests
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
294dce6764
MDL-57730 mod_assign: added action events
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
bb19f80414
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.
2017-04-03 11:36:33 +08:00
Mark Nelson
5e6e3babf4
MDL-57730 core_calendar: fixed incompatibility with PHP 5.x
...
Also removed unused function and fixed PHPDocs.
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Cameron Ball
aa457b7dee
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.
2017-04-03 11:36:33 +08:00
Cameron Ball
42ec9f0d63
MDL-57730 core_calendar: Map action events to legacy events
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Cameron Ball
2a5cce61ba
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.
2017-04-03 11:36:32 +08:00
Simey Lameze
5df117d438
MDL-57447 block_myoverview: build paging bar data structure
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +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
0b320903b6
MDL-57447 block_myoverview: created courses-view-by-status template
...
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
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