Simey Lameze
705eea84d1
MDL-59382 core: make CiBoT happy.
2017-08-02 07:52:20 +00:00
Simey Lameze
c448e19bff
MDL-59382 core_calendar: fix behat failures
2017-08-02 07:52:20 +00:00
Simey Lameze
81170930c2
MDL-59382 core_calendar: change behat step
2017-08-02 04:47:43 +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
6103fd2efe
MDL-59382 calendar: rename repository and events
...
Renamed the calendar_repository and calendar_events to repository and
events respectively since they are already in the calendar namespace
there is no need for the redundant calendar prefix.
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
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
52380c823c
MDL-59538 core_calendar: add behat step back
...
Part of MDL-59333.
2017-07-21 09:01:57 +08:00
Simey Lameze
3d67e83f53
MDL-59538 core_calendar: add event source logic to calendar
2017-07-21 09:01:57 +08:00
Simey Lameze
5472bdd091
MDL-59538 core_calendar: add event source to summary template
2017-07-21 09:01:57 +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
David Monllao
d96508b610
Merge branch 'MDL-59521-master' of git://github.com/lameze/moodle
2017-07-18 09:41:28 +02:00
David Monllao
35d27924f9
Merge branch 'MDL-54607-master' of git://github.com/ankitagarwal/moodle
2017-07-17 09:31:53 +02:00
Simey Lameze
548f5cf04d
MDL-59521 core_calendar: conditionally hide description header
2017-07-17 08:20:18 +08:00
Simey Lameze
ebebbc442c
MDL-59383 core_calendar: remove failing behat steps
2017-07-14 11:42:56 +08:00
Ankit Agarwal
8aaba9e47d
MDL-54607 calendar: Export 0 duration events properly
...
Thanks to Paul Prencis for initial suggestion of this patch
2017-07-14 09:07:26 +05:30
David Monllao
9e548756cf
Merge branch 'MDL-59384-master-final' of https://github.com/lameze/moodle
2017-07-12 14:12:53 +02:00
Simey Lameze
38b325a3e6
MDL-59384 core_calendar: add delete event logic to modal
...
Part of MDL-59333.
2017-07-12 20:03:04 +08:00
Simey Lameze
ea0368d599
MDL-59384 core_calendar: add calendar event amd module
2017-07-12 20:00:37 +08:00
Simey Lameze
1e8e6e132c
MDL-59384 core_calendar: add necessary data-* attributes
...
Part of MDL-59333.
2017-07-12 19:58:57 +08:00
Simey Lameze
e4aff89a16
MDL-59384 core_calendar: add deleteEvent function to repository
...
Part of MDL-59333.
2017-07-12 19:56:27 +08:00
Simey Lameze
f02e119afd
MDL-59383 core_modal: trigger event on modal module
2017-07-12 18:57:55 +08:00
Simey Lameze
e1c811609b
MDL-59383 core_calendar: change modal body rendering
2017-07-12 18:56:45 +08:00
Simey Lameze
8a5c06b705
MDL-59383 core_calendar: proper handling of description on webservice
2017-07-12 18:56:30 +08:00
Simey Lameze
f2e981e869
MDL-59383 core_calendar: css fixes to summary modal body
2017-07-12 18:56:14 +08:00
Simey Lameze
d4a87aa370
MDL-59383 core_modal: trigger event on modal module
2017-07-12 18:28:11 +08:00
Simey Lameze
19ab239f18
MDL-59383 core_calendar: change modal body rendering
2017-07-12 15:00:30 +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
6133141798
MDL-59383 core_calendar: css fixes to summary modal body
2017-07-12 15:00:29 +08:00
David Monllao
93f2056000
Merge branch 'wip-MDL-59441-master' of git://github.com/marinaglancy/moodle
2017-07-11 11:41:03 +02:00
Simey Lameze
0d38888e2a
MDL-59383 core_calendar: make event summary display on modal
...
Part of MDL-59333.
2017-07-11 15:36: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
Simey Lameze
68c3e21a89
MDL-59383 core_calendar: create summary modal templates
...
Part of MDL-59333.
2017-07-11 15:36:29 +08:00
Simey Lameze
dfdde9ad35
MDL-59383 core_calendar: create summary modal AMD module
...
Part of MDL-59333.
2017-07-11 15:36:29 +08:00
Simey Lameze
385a56e33c
MDL-59383 core_calendar: create calendar repository AMD module
...
Part of MDL-59333.
2017-07-11 15:36:28 +08:00
Simey Lameze
3b0738f04c
MDL-59383 core_calendar: create main calendar AMD module
...
Part of MDL-59333.
2017-07-11 15:36:28 +08:00
Marina Glancy
5540c0979b
MDL-59441 calendar: unittest fix for modules without generators
2017-07-04 11:16:08 +08:00
Mark Nelson
2fe7f706d7
MDL-59304 core_calendar: check if course is hidden in bailout callback
2017-07-04 10:11:34 +08:00
David Monllao
1243fce158
Merge branch 'wip-MDL-59308-master' of git://github.com/marinaglancy/moodle
2017-06-27 16:41:26 +02:00
Eloy Lafuente (stronk7)
139648e5bd
Merge branch 'MDL-40818-master' of git://github.com/junpataleta/moodle
2017-06-27 01:50:28 +02:00
Jun Pataleta
390098fa64
MDL-1322 calendar: Add course short name in calendar event
...
* Add the course's short name for a course event in order to let the
user know immediately which course an event belongs to. Particularly
helpful for activity events.
2017-06-26 13:37:39 +08:00
Jun Pataleta
fb1a615dfe
MDL-40818 calendar: Require login to calendar pages
...
* Make sure that the course ID being passed points to an existing course
* Require user to login before granting access to calendar pages.
2017-06-23 09:20:32 +08:00
Marina Glancy
70b6230829
MDL-59308 calendar: pass module context when known
...
this will protect us from exceptions when context for removed instance can not be retrieved
2017-06-22 13:42:22 +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
Jun Pataleta
51807cf5c4
MDL-59101 calendar: Properly calculate expected until date
2017-06-07 23:09:17 +08:00
Dan Poltawski
67c70db593
Merge branch 'MDL-59093-master' of git://github.com/junpataleta/moodle
2017-05-31 11:09:06 +01:00
Jun Pataleta
723742fee0
MDL-59093 calendar: Use a fixed start day for forever BYMONTH test
2017-05-31 15:01:34 +08:00
Jake Dallimore
ea1676f761
Merge branch 'MDL-54887-master' of git://github.com/junpataleta/moodle
2017-05-31 08:35:05 +08:00
Dan Poltawski
1a07f9f037
Merge branch 'MDL-58997-group-names-multilang' of https://github.com/lucaboesch/moodle
2017-05-30 16:53:06 +01:00
Luca Bösch
29b83cbb34
MDL-58997 calendar: Group names passing multilang filters.
2017-05-30 16:42:52 +02:00