Simey Lameze
687112af22
MDL-60826 calendar: further performance improvements
...
This commit does few tweaks and other performance improvements to
calendar_get_allowed_event_types to be more efficient. Also some minor
queries optimizations on the event form to fetch the list of courses
without groups.
2018-07-25 08:54:59 +08:00
Simey Lameze
0f1e7ec906
MDL-60826 calendar: restrict course fields to be retrieved
2018-07-24 07:58:34 +08:00
Simey Lameze
cf2df6199d
MDL-60826 calendar: update manage subscription page to use new function
2018-07-24 07:58:34 +08:00
Simey Lameze
dfc609e55d
MDL-60826 calendar: lazy load groups on event form
2018-07-24 07:58:34 +08:00
Jun Pataleta
a746b6e840
Merge branch 'MDL-37624-master' of git://github.com/mickhawkins/moodle
2018-07-04 15:33:43 +08:00
Michael Hawkins
9a3ee0c396
MDL-37624 calendar: string and behat testing fixes
2018-06-29 10:46:57 +08:00
Michael Hawkins
ef4e04ee26
MDL-37624 calendar: Added location support
2018-06-29 10:46:54 +08:00
Simey Lameze
c20ac98869
MDL-62813 calendar: fix dmlreadexception on event form
2018-06-28 13:22:20 +08:00
David Monllao
85218c28e9
Merge branch 'MDL-62228_master' of git://github.com/markn86/moodle
2018-05-15 13:31:07 +02:00
Mark Nelson
df1714f25a
MDL-62228 core: remove unnecessary context check in privacy providers
2018-05-14 18:33:29 +08:00
Marina Glancy
3960ad53a7
MDL-62430 privacy: validate context when deleting all user data
2018-05-14 18:13:27 +08:00
Eloy Lafuente (stronk7)
fc5c5306c9
MDL-61693 core_calendar: make results deterministic for better testing
2018-05-06 18:19:21 +02:00
Zig Tan
bdf271df80
MDL-61693 core_calendar: Simplified get calendar event details SQL
2018-05-04 13:01:37 +08:00
Zig Tan
49d6fb0379
MDL-61693 core_calendar: Implemented privacy providers
2018-04-26 21:10:49 +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
Ryan Wyllie
28852998f6
MDL-60958 calendar: stop db query in repeat collection constructor
...
Stop loading the parent record in the constructor because it is an
unnecessary DB query for each event instantiation.
Return null on get_repeats() for events that don't have repeats.
2018-02-12 05:29:11 +00:00
David Monllao
09896c35f2
Merge branch 'MDL-60963-master' of git://github.com/ryanwyllie/moodle
2018-01-17 10:49:58 +01:00
Ryan Wyllie
3152de6a8d
MDL-60963 calendar: use related cache for module instances in export
2018-01-17 03:23:36 +00:00
David Monllao
abf089f2a3
Merge branch 'MDL-60967-master' of git://github.com/ryanwyllie/moodle
2018-01-16 12:36:27 +01:00
Eloy Lafuente (stronk7)
3e9282d486
Merge branch 'MDL-60959-master' of git://github.com/ryanwyllie/moodle
2018-01-16 01:14:39 +01:00
David Monllao
2692af9032
Merge branch 'MDL-60960-master' of git://github.com/ryanwyllie/moodle
2018-01-15 12:10:20 +01:00
Ryan Wyllie
60908b2187
MDL-60967 calendar: only load course filter when required
2018-01-09 05:57:38 +00:00
Ryan Wyllie
4e6c9ead6d
MDL-60959 calendar: remove duplicate events export in weekday
2018-01-09 01:51:13 +00:00
Ryan Wyllie
6b02488559
MDL-60959 calendar: remove duplicate course export in event exporter
2018-01-09 01:51:13 +00:00
Ryan Wyllie
bb4691ec7b
MDL-60959 calendar: use related course in calendar_event_exporter
2018-01-09 01:51:12 +00:00
Ryan Wyllie
7884ecf24f
MDL-60962 block_calendar_month: load content after page render
2017-12-06 06:21:16 +00:00
Ryan Wyllie
9aeb909d2f
MDL-60960 calendar: check enrolment at last chance in container
...
The enrolment check should only be done if all other checks fail before
it because it's a fairly expensive check to run.
2017-12-05 07:38:05 +00:00
Jun Pataleta
9ff02b52b2
Merge branch 'MDL-60813-master' of git://github.com/jleyva/moodle
2017-11-22 13:24:33 +01:00
Simey Lameze
1a765e32b0
MDL-60823 calendar: use first day of week on prepadding calc
2017-11-17 11:02:39 +08: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
Ryan Wyllie
08b7558483
MDL-60766 block_calendar_upcoming: stop summary modal not logged in
...
Stopped the JS from running on the block when the user is not logged in
because it attempts to load a summary modal when an event is clicked on
which results in a failed call to a webservice.
2017-11-10 02:20:32 +00:00
Andrew Nicols
03561ea899
Merge branch 'MDL-60062-master-2' of git://github.com/ryanwyllie/moodle
2017-11-07 13:49:47 +08:00
Ryan Wyllie
6688ae2ba2
MDL-60062 calendar: prevent drag and drop of override events
2017-11-07 05:47:18 +00:00
Ryan Wyllie
478b1d194f
MDL-60062 calendar: remove validate_event_timestart callback
2017-11-07 01:25:33 +00:00
Jake Dallimore
eb354bdefa
Merge branch 'MDL-60361-master' of git://github.com/andrewnicols/moodle
2017-11-06 09:29:46 +08:00
Andrew Nicols
b9fd516407
MDL-60361 calendar: Support all event types for calendar subs
2017-11-03 11:27:40 +08:00
Andrew Nicols
30ff29dc9f
MDL-60587 calendar: Improve link params for calendar buttons
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
0df5c743ad
MDL-60361 calendar: Make eventtype functionality a trait
2017-11-02 07:57:44 +08:00
Jun Pataleta
cc80554892
Merge branch 'MDL-60608-master' of git://github.com/lameze/moodle
2017-10-30 11:47:54 +13:00
Andrew Nicols
eb3b38f04c
MDL-60570 calendar: Correct course filter label in day view
2017-10-29 21:05:55 +08:00
Simey Lameze
0d049757c0
MDL-60608 calendar: change eventdefaultcontext default to 0
2017-10-27 14:19:16 +08:00
David Monllao
fd39db29e2
Merge branch 'MDL-59973-master' of git://github.com/damyon/moodle
2017-10-26 09:47:22 +02:00
Damyon Wiese
ef7df2ae0a
Merge branch 'MDL-60564_master' of git://github.com/markn86/moodle
2017-10-26 14:43:39 +08:00
Damyon Wiese
a5327e449d
MDL-59973 calendar: Admin calendar course lists
...
Consolidate the logic for the list of courses an admin will see in the calendar.
They will see all courses if calendar_admincanseeall is enabled.
They will see only courses they are enrolled in of calendar_admincanseeall is not enabled.
They will also see the current course, if they are admin and it is not already in the list.
This applies to the course selector and the create and update event forms.
The calendar link in the navigation block has also been changed to link to the current course calendar instead of the global
one.
2017-10-26 13:28:00 +08:00
Jake Dallimore
6e186498fd
Merge branch 'MDL-59686-master' of git://github.com/lameze/moodle
2017-10-26 10:16:21 +08:00
Simey Lameze
3c2b703e00
MDL-59686 form: fix autosave support for editor field
2017-10-26 09:03:31 +08:00
Jun Pataleta
75909e3c92
Merge branch 'MDL-59938-master' of git://github.com/andrewnicols/moodle
2017-10-26 11:22:30 +13:00
Jake Dallimore
e3a247849b
Merge branch 'MDL-60561-master' of git://github.com/andrewnicols/moodle
2017-10-25 12:45:53 +08:00
Mark Nelson
8e85371800
MDL-60564 calendar: removed duplication of exporter properties
2017-10-25 12:06:26 +08:00