Mark Nelson
2229368a3c
MDL-58424 core_calendar: moved api::get_events
...
This function was moved to local_api::get_legacy_events.
Also removed the calendar/classes/api.php file since it no longer contained any
functionality and added unit tests for local_api::get_legacy_events (a copy of
the unit tests for calendar_get_events).
Part of MDL-55611 epic.
2017-04-04 11:01:53 +01:00
Mark Nelson
23a29de7ee
MDL-58424 core_calendar: moved logic from api.php to lib.php
...
Also moved related PHPUnit tests.
Part of MDL-55611 epic.
2017-04-04 11:01:52 +01:00
Mark Nelson
e1cd93ce20
MDL-58423 core_calendar: moved \core_calendar\event class
...
Part of MDL-55611 epic.
2017-04-04 11:01:49 +01: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
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
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
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
Mark Nelson
e057f279e4
MDL-57497 core_calendar: added new calendar event class
...
Moved calendar_event class to new location using replaceclasses.php
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Juan Leyva
871988b0b4
MDL-54049 core_message: Add missing external format text
2016-05-04 12:52:45 +02:00
Juan Leyva
39b8513763
MDL-52808 calendar: Do not return events for hidden activities
2016-03-07 22:36:31 +01:00
Neill Magill
f11fdf9c98
MDL-51495 calendar: E_WARNING in core_calendar_get_calendar_events
...
If a user does not have the 'moodle/calendar:manageentries' capability then an E_WARNING
can be generated by the core_calendar_external::get_calendar_events() method, that an
expected array is null
This patch creates an array that is missing when a user does not have the capability.
2015-11-11 15:24:31 +00:00
Simey Lameze
76aea854f6
MDL-48017 core_calendar: add context validation to get_calendar_events
2015-01-05 14:17:09 +00:00
David Monllao
e07e04c123
MDL-48285 webservices: default timeend to infinity and beyond
2014-12-04 12:04:10 +00:00
sam marshall
8270f0d0bd
MDL-44070 Conditional availability enhancements (9): wider changes
...
Changes to arbitrary areas of code that are necessary after the new
API (mostly to replace deprecated function calls).
2014-04-07 20:11:59 +01:00
Sam Hemelryk
e5adc5a11c
MDL-44105 calendar: fixed typo with @package
2014-02-16 12:14:33 +13:00
Eloy Lafuente (stronk7)
38e4fa58d5
MDL-37101 donot use donot.
2013-01-29 15:24:59 +01:00
Eloy Lafuente (stronk7)
0ed03cc295
Merge branch 'MDL-37101-master' of git://github.com/ankitagarwal/moodle
...
Conflicts:
calendar/tests/externallib_tests.php
2013-01-29 15:19:11 +01:00
Ankit Agarwal
e6a1f8c102
MDL-37100 webservices: Adding warnings and cleaning up get_calendar_events() api
2013-01-22 13:54:49 +08:00
Ankit Agarwal
494a6389eb
MDL-37101 webservices:Implement ws api core_calendar_create_calendar_events
2013-01-22 13:53:22 +08:00
Ankit Agarwal
261a41f16d
MDL-37100 webservices: Adding warnings and cleaning up get_calendar_events() api
2013-01-21 11:05:50 +08:00
Ankit Agarwal
7c30224aeb
MDL-37100 webservices: PHPunit tests for core_calendar_get_calendar_events()
2013-01-21 11:05:50 +08:00
Ankit Agarwal
475896bdbc
MDL-37100 webservices: Implement core_calendar_get_calendar_events()
2013-01-21 11:05:50 +08:00
Ankit Agarwal
01bea07d93
MDL-37077 webservices: Implementing the WS api core_calendar_delete_calendar_events()
2013-01-15 13:23:14 +08:00