Andrew Nicols
08bcea48d4
Merge branch 'MDL-59713-master-2' of git://github.com/ryanwyllie/moodle
2017-08-29 15:28:45 +08:00
Eloy Lafuente (stronk7)
f0e6ff9a8e
Merge branch 'MDL-59669-master-3' of git://github.com/ryanwyllie/moodle
2017-08-29 02:15:18 +02:00
Ryan Wyllie
f6e8cc83ae
MDL-59713 calendar: clicking day in monthly view opens new event modal
2017-08-25 01:37:20 +00:00
Ryan Wyllie
6bb8889932
MDL-59669 calendar: add validation for eventtype in event form
2017-08-24 12:20:56 +08:00
Ryan Wyllie
96283892fe
MDL-59393 calendar: fix CiBoT complaints
2017-08-23 02:09:43 +00:00
Andrew Nicols
6ca4e64606
Merge branch 'MDL-59393-master-2' of git://github.com/ryanwyllie/moodle
2017-08-23 09:44:01 +08:00
Ryan Wyllie
28e030d9f9
MDL-59393 calendar: remove use of legacy event in event_exporter
2017-08-23 01:15:08 +00:00
Ryan Wyllie
909d08588d
MDL-59393 calendar: stop user editing module events
2017-08-23 00:57:22 +00:00
Ryan Wyllie
55f5fcb9c9
MDL-59393 calendar: add update_event_start_day to local api
2017-08-23 00:56:26 +00:00
Ryan Wyllie
0dc3aa1295
MDL-59393 calendar: set defaults for legacy event in mapper
2017-08-23 00:56:26 +00:00
Ryan Wyllie
1652934f09
MDL-59393 calendar: move candelete and canedit into event_exporter_base
2017-08-23 00:56:26 +00:00
Simey Lameze
950d2ce0e5
MDL-59674 core_calendar: add group name to event exporter
2017-08-23 00:56:26 +00:00
Andrew Nicols
0813f00d0f
Merge branch 'MDL-59677-master' of git://github.com/lameze/moodle
2017-08-21 15:33:40 +08:00
Simey Lameze
516e74440a
MDL-59677 core_calendar: delete event without reload whole page
2017-08-21 15:20:14 +08:00
Andrew Nicols
3951c81589
Merge branch 'MDL-59674-master' of git://github.com/lameze/moodle
2017-08-21 15:14:15 +08:00
Andrew Nicols
ba756e857b
Merge branch 'MDL-59699-master' of git://github.com/lameze/moodle
2017-08-21 14:15:41 +08:00
Simey Lameze
a1e166e7c3
MDL-59674 core_calendar: add group name to event exporter
2017-08-21 14:07:03 +08:00
Simey Lameze
00d2d344a2
MDL-59699 core_calendar: add course link to course events
2017-08-21 13:33:51 +08:00
Simey Lameze
4c3cd3c1b4
MDL-59860 core_calendar: add editurl parameter back
2017-08-18 12:05:30 +08:00
Simey Lameze
1a1e8ab029
MDL-59388 core_calendar: convert manage subscription button
2017-08-16 10:10:48 +08:00
Simey Lameze
bd33760372
MDL-59388 core_calendar: remove empty lines and unused imports
2017-08-16 09:44:42 +08:00
Jun Pataleta
12eef11c8f
MDL-59388 calendar: footer_options fixes
2017-08-16 09:36:48 +08:00
Simey Lameze
836aa3f64a
MDL-59388 core_calendar: fix month view on clean theme
2017-08-16 09:27:22 +08:00
Simey Lameze
a4af4c9633
MDL-59388 core_calendar: fix cibot complains
2017-08-16 09:25:51 +08:00
Simey Lameze
86775ced89
MDL-59388 core_calendar: new footer options exporter
2017-08-14 09:28:52 +08:00
Andrew Nicols
64ff737a2f
MDL-59388 calendar: Switch monthly view to use templates
2017-08-14 09:28:35 +08:00
Andrew Nicols
c075a3de34
MDL-59388 calendar: Add a helper to convert ymd to timestamp
2017-08-14 09:28:29 +08:00
Andrew Nicols
7fe41af525
MDL-59388 calendar: Allow filter to be specified when fetching events
2017-08-14 09:28:23 +08:00
Andrew Nicols
6ad2bfd124
MDL-59388 calendar: Break out event exporter into a base class
2017-08-14 09:28:17 +08:00
Simey Lameze
436d39ba85
MDL-59671 core_calendar: replace current delete permission checks
2017-08-09 14:51:22 +08:00
Simey Lameze
c34e200241
MDL-59671 core_calendar: action events edition needs to be on module
2017-08-08 11:44:27 +08:00
Simey Lameze
4df03a279a
MDL-59671 core_calendar: check if the event can be deleted
2017-08-08 11:44:11 +08:00
Simey Lameze
6fb751562a
MDL-59671 core_calendar: move logic to calendar event exporter
2017-08-08 11:44:03 +08:00
Andrew Nicols
b2af37058d
MDL-59382 calendar: CiBoT fix
2017-08-03 09:36:56 +08:00
Ryan Wyllie
22d44a63af
MDL-59382 calendar: fix course id for site event
2017-08-02 07:52:21 +00:00
Simey Lameze
705eea84d1
MDL-59382 core: make CiBoT happy.
2017-08-02 07:52:20 +00:00
Ryan Wyllie
aa0912258d
MDL-59382 calendar: add modal to create and update events
2017-08-02 04:47:43 +00:00
Ryan Wyllie
8e02018f1c
MDL-59382 calendar: fix event mapper and exporter
2017-08-02 04:47:42 +00:00
Mark Nelson
2fe7f706d7
MDL-59304 core_calendar: check if course is hidden in bailout callback
2017-07-04 10:11:34 +08:00
Marina Glancy
63e9e38202
MDL-58911 calendar: use the same callbacks in unittests and prod
...
Remove unittest-specific callbacks for checking access and displaying
the calendar events on the dashboard.
This will allow plugin developers unittest the full behavior
of how their plugins add events to the dashboard.
Reset all static caches between unittests.
2017-06-20 16:13:35 +08:00
Cameron Ball
919b5c95e6
MDL-58994 core_calendar: Coalesce event sort field
...
There are situations where we need to sort events on a field called
"timesort", but sometimes it is not set. So we can fall back to
"timestart" in this case.
2017-05-19 15:08:05 +08:00
Marina Glancy
cd2c4b8548
MDL-58867 calendar: avoid fatal errors for non-module events
2017-05-10 14:26:14 +08:00
Dan Poltawski
3cc5abc163
Merge branch 'wip-MDL-58688-master-c' of git://github.com/marinaglancy/moodle
2017-05-08 10:31:37 +01:00
Jun Pataleta
472cae12a6
Merge branch 'MDL-58518-master' of git://github.com/ryanwyllie/moodle
2017-05-08 15:50:03 +08:00
Jun Pataleta
c3b1178d58
MDL-58810 calendar: Fix rrule_manager issues
...
* Set the correct repeat ID for the recurring event
* Unset UUID for 'child' events of recurring events
2017-05-08 09:49:13 +08:00
Marina Glancy
47a710177a
MDL-58688 calendar: retrieve event module without db queries
2017-05-04 16:53:19 +08:00
Ryan Wyllie
405f8491e5
MDL-58518 calendar: ignore events from courses user not enrolled in
2017-05-02 02:53:25 +00:00
Cameron Ball
4bd022ed0c
MDL-58575 core_calendar: Properly restrict groups in event vault
...
Previously we were not filtering on groups in the event vault
which meant events for all groups would be returned regardless
of which user was passed in.
This resulted in situations where one student would group overrides
for groups they were not in.
2017-04-27 15:23:53 +08:00
Cameron Ball
a776415d55
MDL-58578 core_calendar: Properly respect priorities on overview
...
Prior to this patch, if a user was in two groups, and an override
existed for both groups in an assignment the override
visually lower on the override list would be displayed on the
overview, whereas the one visually higher would be displayed
in the assignment grading table.
2017-04-27 15:15:12 +08:00
Jake Dallimore
0dcfadd9e4
Merge branch 'MDL-57793-master' of git://github.com/junpataleta/moodle
2017-04-24 15:16:30 +08:00