Ryan Wyllie
96283892fe
MDL-59393 calendar: fix CiBoT complaints
2017-08-23 02:09:43 +00:00
Ryan Wyllie
ca518350ff
MDL-59393 calendar: use event context in update_event_start_day
2017-08-23 01:32:51 +00:00
Ryan Wyllie
909d08588d
MDL-59393 calendar: stop user editing module events
2017-08-23 00:57:22 +00:00
Ryan Wyllie
c6fb931088
MDL-59393 calendar: add update_event_start_day external function
2017-08-23 00:56:27 +00:00
Simey Lameze
836aa3f64a
MDL-59388 core_calendar: fix month view on clean theme
2017-08-16 09:27:22 +08:00
Andrew Nicols
695c5726b8
MDL-59388 calendar: Add AJAX Monthly navigation
2017-08-14 09:28:40 +08:00
Simey Lameze
436d39ba85
MDL-59671 core_calendar: replace current delete permission checks
2017-08-09 14:51:22 +08:00
Simey Lameze
6fb751562a
MDL-59671 core_calendar: move logic to calendar event exporter
2017-08-08 11:44:03 +08:00
Ryan Wyllie
6cb580713b
MDL-59382 calendar: fix editing event duration
2017-08-03 06:45:19 +00:00
Ryan Wyllie
22d44a63af
MDL-59382 calendar: fix course id for site event
2017-08-02 07:52:21 +00:00
Ryan Wyllie
aa0912258d
MDL-59382 calendar: add modal to create and update events
2017-08-02 04:47:43 +00:00
Jun Pataleta
a43ec9ebac
MDL-59538 core_calendar: PR fixes
...
* Fix eslint warnings about promises.
* Simplify event handling.
* Prevent double assignment of calendar subscription property for in
core_calendar_external::get_calendar_event_by_id() for readability.
Part of MDL-59333.
2017-07-21 11:31:09 +08:00
Simey Lameze
57d5b1b7cf
MDL-59538 core_calendar: handle event source on the webservice
...
Part of MDL-59333.
2017-07-21 09:01:57 +08:00
Simey Lameze
f405284728
MDL-59383 core_calendar: proper handling of description on webservice
2017-07-12 15:00:29 +08:00
Simey Lameze
5813d1b9f9
MDL-59383 core_calendar: add get_calendar_event_by_id webservice
...
Part of MDL-59333.
2017-07-11 15:36:29 +08:00
Marina Glancy
5900513f75
MDL-58688 calendar: use modinfo to check module availability
2017-05-03 15:07:43 +08:00
Jun Pataleta
22753c8c5c
MDL-58566 calendar: Move \core_calendar\local\api::get_legacy_events()
...
* Move and rename \core_calendar\local\api::get_legacy_events() to
calendar_get_legacy_events() in calendar/lib.php.
* Fix the parameter-normalising callback function in
calendar_get_legacy_events() so that it correctly handles false values
by returning an empty array instead of it returning a non-empty array
that contains an empty element.
2017-04-18 10:32:09 +08:00
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