Huong Nguyen
adc1de569d
MDL-81247 calendar: Extra validation for webservices
2024-04-12 11:30:23 +00:00
Sujith Haridasan
73d604369d
MDL-71062 core: Step 1 deprecation of print_error function
2022-07-13 08:20:54 +05:30
Paul Holden
598698bc10
MDL-74100 course: relax initial parameter types of external methods.
...
These methods can be called via UI, and would throw confusing exceptions
if a user entered "unsafe" characters in a search input (e.g. "<").
Defer cleaning of supplied text to inside the methods.
2022-03-08 21:13:02 +00:00
Dongsheng Cai
2ee27313ce
MDL-71239 calendar: disallow manager role users edit user events
2022-01-11 14:34:16 +01:00
Huong Nguyen
7d3d855193
MDL-73040 timeline: Update core_calendar_get_action_events_by_course API
...
This API now accepts an optional parameter 'searchvalue' to search the events
2021-11-11 12:26:40 +07:00
Huong Nguyen
48158134a0
MDL-71918 Calendar: Improve capability checks when fetching events
2021-11-05 13:15:01 +08:00
Huong Nguyen
cf34245d6d
MDL-72295 timeline: Add text search to the timeline block
...
AMOS BEGIN
CPY [clearsearch,tool_moodlenet],[clearsearch,block_timeline]
AMOS END
2021-10-11 10:04:45 +07:00
Jun Pataleta
8a2c797cc0
MDL-71817 calendar: Set the calendar view mode properly for month view
...
* Store the view mode of the calendar in the calendar_information
object.
* Let the month exporter handle the production of context data by
moving 'viewingmonth', 'showviewselector', and 'viewinginblock'
inside it.
* Set the proper calendar view mode in the core_calendar/month_detailed
template.
* Pass the calendar view mode to the
core_calendar_get_calendar_monthly_view WS function.
2021-07-22 09:04:44 +08:00
Dani Palou
8c84eeeeac
MDL-68098 ws: Fix WebServices broken by filters HTML
2020-09-22 09:43:03 +02:00
Marina Glancy
1a972b06f1
MDL-58866 core_calendar: allow component events
2020-05-19 19:04:13 +02:00
Shamim Rezaie
f046b70355
MDL-67152 calendar: The day view should start from the current day
2019-12-09 22:37:21 +11:00
Michael Hawkins
23affd76c2
MDL-66373 calendar: Added datetimes to timestamps conversion web service
2019-11-04 10:04:57 +08:00
Pau Ferrer Ocaña
375d82cafc
MDL-66612 calendar: Change global events to site events
...
AMOS BEGIN
CPY [category,moodle],[category,calendar]
CPY [site,notes],[eventtypesite,calendar]
CPY [site,moodle],[site,calendar]
MOV [typesite,moodle],[siteevent,calendar]
AMOS END
2019-10-21 09:33:01 +02:00
Simey Lameze
1db417c2f2
MDL-56223 calendar: fix wrong create_calendar_events WS phpdoc
2019-09-05 17:15:17 +08:00
Simey Lameze
bcd0583e68
MDL-66008 calendar: Remove duplicated call to library funciton
...
A duplicated call to calendar_get_allowed_event_types has
been removed.
2019-08-12 14:49:40 +08:00
Simey Lameze
316412beb4
MDL-66081 calendar: fix typo in attribute description
2019-07-05 17:04:13 +08:00
Juan Leyva
bb0ce4793e
MDL-65973 calendar: Avoid sesskey checks in WS
...
External function submit_create_update_form should avoid any sesskey checks.
2019-06-20 15:02:33 +02:00
Juan Leyva
2aad6b8261
MDL-64641 calendar: New WS core_calendar_get_allowed_event_types
2019-04-05 09:56:39 +02:00
Juan Leyva
a46980fa79
MDL-64641 calendar: New WS core_calendar_get_access_information
2019-04-05 09:56:39 +02:00
David Monllaó
7af6528e30
MDL-60340 calendar: New param to specify a user
2019-03-15 11:35:29 +01:00
Adrian Greeve
644ffbd332
MDL-64063 core_calendar: events by time considers enrolment status.
2018-11-21 09:51:52 +08:00
Marina Glancy
442f12f81a
MDL-62742 core: rename coursecat->core_course_category
...
Also rename course_in_list -> core_course_list_element
Deprecate class coursecat_sortable_records
2018-08-28 11:36:23 +02:00
Simey Lameze
dfc609e55d
MDL-60826 calendar: lazy load groups on event form
2018-07-24 07:58:34 +08:00
Martin Gauk
c4172077df
MDL-61519 calendar: do not iterate through all categories
...
Replace calls to \coursecat::get_all() or cache the results.
2018-03-16 14:30:55 +00:00
Juan Leyva
e3c04bd98a
MDL-60836 core_calendar: Return categoryid in get_calendar_events
2018-01-30 13:47:19 +01:00
Ryan Wyllie
60908b2187
MDL-60967 calendar: only load course filter when required
2018-01-09 05:57:38 +00:00
David Mudrák
04985346a2
MDL-57564 enrol: Make use of the new default sort parameter
...
Now when enrol_get_my_courses(), enrol_get_users_courses() and
enrol_get_all_users_courses() methods automatically reflect the
navsortmycoursessort setting by default, we do not need to manually
compose the sorting any more.
2017-12-06 23:15:17 +01:00
Jun Pataleta
9ff02b52b2
Merge branch 'MDL-60813-master' of git://github.com/jleyva/moodle
2017-11-22 13:24:33 +01:00
Juan Leyva
44ae08383b
MDL-60813 calendar: Fix core_calendar_get_calendar_events for categories
...
Users couldn’t see category events when filtering by categories in the
core_calendar_get_calendar_events WS.
2017-11-16 19:16:01 +01:00
Simey Lameze
7e781cfc2b
MDL-60751 core_calendar: remove useless NULL_ALLOWED parameter
2017-11-14 14:12:17 +08:00
Simey Lameze
10c17dcc10
MDL-60628 calendar: support category events on get_calendar_events ws
2017-11-09 11:29:07 +08:00
Damyon Wiese
af25b8fc7f
MDL-60626 calendar: Check capabilities for api
...
All external functions must check all capabilities before returning data.
The calendar API itself does not check capabilities (I wish it did), so we must be
careful exposing these functions to webservices.
2017-11-06 11:11:28 +08:00
Andrew Nicols
e20752c4f5
MDL-60587 calendar: Fix un-validated params
2017-11-02 21:49:28 +08:00
Andrew Nicols
6607c5ffb6
MDL-60587 calendar: Switch WS to use new helper
2017-11-02 21:49:28 +08:00
Andrew Nicols
7f14def230
MDL-60587 calendar: Add missing categoryid in upcoming WS
2017-11-02 21:49:28 +08:00
Andrew Nicols
d523cbcb26
MDL-60558 calendar: Upcoming should support categories
2017-11-02 11:54:43 +08:00
Andrew Nicols
3ea4f446bc
MDL-60096 calendar: Add JS for day view
2017-10-05 16:54:47 +08:00
Jun Pataleta
96c27b3658
Merge branch 'MDL-59751-master-v2' of git://github.com/lameze/moodle
2017-10-05 14:53:31 +08:00
Simey Lameze
e830643858
MDL-59751 core_calendar: add get_calendar_upcoming_view webservice
2017-10-05 14:22:55 +08:00
Andrew Nicols
86679cb1ae
MDL-59890 calendar: Use calculated context instead of guessing
2017-10-05 10:14:35 +08:00
Andrew Nicols
d097bfdda3
MDL-59890 calendar: Select current category when adding event
2017-10-04 11:16:05 +08:00
Andrew Nicols
d0e56d847a
MDL-59890 calendar: Display category events on calendars
2017-10-03 23:22:18 +08:00
Andrew Nicols
fee025ecbb
MDL-60065 calendar: Control navigation on mini
2017-09-18 12:04:48 +08:00
Andrew Nicols
f58424c70c
MDL-60125 calendar: Switch to navigation by YMD
2017-09-18 11:44:25 +08:00
Ryan Wyllie
ea5f7707e7
MDL-59919 calendar: add file support to event form
2017-09-07 01:38:43 +00:00
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