Mark Nelson
d7bc2c6fd5
MDL-55611 core_calendar: fixed unit tests failing in isolation
2017-04-04 11:01:57 +01:00
Cameron Ball
c28f1077c4
MDL-58442 core_calendar: Better documentation for the container
...
Part of MDL-55611 epic.
2017-04-04 11:01:57 +01:00
Cameron Ball
92ac08bcee
MDL-58442 core_calendar: Nuke action_event_factory and friends
...
These are unecessary since the only place the factory
is used is in the container.
Part of MDL-55611 epic.
2017-04-04 11:01:56 +01:00
Cameron Ball
d10693cb63
MDL-58442 core_calendar: Rename core_container to simply container
...
core_container was confusing as it looks Frankenstyleish.
Part of MDL-55611 epic.
2017-04-04 11:01:56 +01:00
Simey Lameze
e77830f2e3
MDL-58438 mod_lti: replace step using course overview block
...
Part of MDL-55611 epic.
2017-04-04 11:01:56 +01:00
Simey Lameze
7698ecb2c0
MDL-58438 core_badges: fix behat issues on award badge feature
...
Part of MDL-55611 epic.
2017-04-04 11:01:55 +01:00
Cameron Ball
42e76c3f70
MDL-58430 core_calendar: Keep interfaces with implementations
...
All interfaces have been moved from the interfaces folder such
that they now live with their default implementations.
Part of MDL-55611 epic.
2017-04-04 11:01:55 +01:00
Ryan Wyllie
4265458949
MDL-58303 theme_boost: change dashboard block breakpoint to xl
...
Part of MDL-55611 epic.
2017-04-04 11:01:54 +01:00
Jun Pataleta
e6661428ad
MDL-57607 upgrade: Add post-upgrade adhoc task for refreshing mod events
...
Insert an ad-hoc task into the task_adhoc table that updates existing calendar
events to convert them to action-type events, where applicable.
Part of MDL-55611 epic.
2017-04-04 11:01:54 +01:00
Jun Pataleta
3651c22b75
MDL-57607 mod_assign: Make assign_refresh_events refresh overrides
...
Part of MDL-55611 epic.
2017-04-04 11:01:54 +01: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
f8443a26f9
MDL-58424 core_calendar: removed unused get_action_events_* functions
...
Also moved associated unit tests to another location and changed
them so that they were testing local_api instead.
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
10515e152d
MDL-58424 core: undeprecated calendar_* functions
...
Part of MDL-55611 epic.
2017-04-04 11:01:52 +01:00
Ryan Wyllie
80a1ea5542
MDL-58348 block_myoverview: keep paging bar under courses
...
Part of MDL-55611 epic.
2017-04-04 11:01:52 +01:00
Jun Pataleta
db3b790920
MDL-58425 block_myoverview: Add more details to blocks/upgrade.txt
...
Part of MDL-55611 epic.
2017-04-04 11:01:51 +01:00
Jun Pataleta
82afbfab31
MDL-58302 block_myoverview: Set fixed height of items in courses view
...
Part of MDL-55611 epic.
2017-04-04 11:01:51 +01:00
Jun Pataleta
aac4653365
MDL-58365 block_myoverview: Show course summary in plain text
...
Part of MDL-55611 epic.
2017-04-04 11:01:51 +01:00
Jun Pataleta
c755cb354c
MDL-58441 calendar: Pass $withduration to the correct function
...
Part of MDL-55611 epic.
2017-04-04 11:01:50 +01:00
Simey Lameze
8d63ed6ed5
MDL-58207 mod_assign: reword grading due date lang string
...
Part of MDL-55611 epic.
2017-04-04 11:01:50 +01:00
Mark Nelson
2a8e41b990
MDL-58432 core_calendar: allow event properties to be null
...
Part of MDL-55611 epic.
2017-04-04 11:01:49 +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
Simey Lameze
1dc764a6d9
MDL-57449 block_myoverview: add behat tests for UI
...
Part of MDL-55611 epic.
2017-04-04 11:01:48 +01:00
Cameron Ball
71d1430c27
MDL-58396 core_calendar: Fix failing unit test
...
Part of MDL-55611 epic.
2017-04-04 11:01:48 +01:00
Andrew Nicols
0822417d5e
MDL-58386 block_myoverview: Mustache tidyup
...
Part of MDL-55611 epic.
2017-04-04 11:01:48 +01:00
Jun Pataleta
197b6d9e5a
MDL-58386 mod_forum: Fixed CI issues
...
Part of MDL-55611 epic.
2017-04-04 11:01:47 +01:00
Jun Pataleta
0eb42c8579
MDL-58386 mod_workshop: Fixed CI issues
...
Part of MDL-55611 epic.
2017-04-04 11:01:47 +01:00
Jun Pataleta
20592f5ff2
MDL-58386 calendar: Fixed CI issues
...
Part of MDL-55611 epic.
2017-04-04 11:01:47 +01:00
Jun Pataleta
966cbed632
MDL-58386 core: Fixed CI issues
...
Part of MDL-55611 epic.
2017-04-04 11:01:46 +01:00
Jun Pataleta
775c6bac6d
MDL-58386 block_myoverview: Fixed CI issues
...
Part of MDL-55611 epic.
2017-04-04 11:01:46 +01:00
Mark Nelson
1054c6f879
MDL-58188 mod_assign: added missing require_once and updated docs
...
The only reason the exclusion of require_once was not exploding before
is because the call to provider_event_action() was being triggered first
which required the file. We can't rely on this happening all the time.
The doc update describes when the usage of is_event_visible() is appropriate.
Part of MDL-55611 epic.
2017-04-04 11:01:45 +01:00
Mark Nelson
de036a2d76
MDL-58188 mod_label: fixed call to update_completion_date_event()
...
Part of MDL-55611 epic.
2017-04-04 11:01:45 +01:00
Cameron Ball
8d4e0f29dc
MDL-58383 core_calendar: Correctly filter in event vault
...
The filter parameter was being passed in as the wrong argument which
was allowing non action events to be returned.
Part of MDL-55611 epic.
2017-04-04 11:01:45 +01:00
Damyon Wiese
de66ac3cd6
MDL-55611 calendar: fix calendar_event uses
...
It was renamed to \core_calendar::event
2017-04-04 11:01:44 +01:00
Damyon Wiese
01a95b86cd
MDL-55611 icons: Remove pix_url
...
Change to image_url because these are not "pix icons".
2017-04-04 11:01:44 +01:00
Andrew Nicols
569d091b03
MDL-58333 core_calendar: Make WS available to Mobile
...
Part of MDL-55611 epic.
2017-04-04 11:01:43 +01:00
Andrew Nicols
80ece0847e
MDL-58333 enrol: Include course progress in course listing WS
...
Part of MDL-55611 epic.
2017-04-04 11:01:43 +01:00
Mark Nelson
08db22c105
MDL-58017 mod_quiz: added action event unit tests
...
Part of MDL-55611 epic.
2017-04-04 11:01:43 +01:00
Mark Nelson
b3d7d175b8
MDL-58017 mod_quiz: added action events
...
Part of MDL-55611 epic.
2017-04-04 11:01:42 +01:00
Damyon Wiese
739de5fefe
MDL-58087 mod_forum: Fix fragile test
...
This test was dependant on the randomly generated group names coming back in a
specific order.
Part of MDL-55611 epic.
2017-04-04 11:01:42 +01:00
Cameron Ball
378259a8ab
MDL-58087 core_calendar: Fix random unit test failure
...
Part of MDL-55611 epic.
2017-04-04 11:01:42 +01:00
Cameron Ball
200f979c4c
MDL-58087 core_calendar: Keep legacy implementation of calendar_get_events
...
The new implementation of calendar_get_events (i.e., \core_calendar\api::get_events)
has a subtly different behaviour. So we need to maintain the existing implementation
in deprecatedlib.
Part of MDL-55611 epic.
2017-04-04 11:01:41 +01:00
Cameron Ball
bd01fd15d4
MDL-58087 core_calendar: Unit tests now jam with new vault behaviour
...
Some unit tests needed to be updated to specify a few extra
bits and pieces on the events to work properly with the
new event vault behaviour.
Part of MDL-55611 epic.
2017-04-04 11:01:41 +01:00
Cameron Ball
258a570563
MDL-58087 core_calendar: Move logic from get_events to the local API
...
The logic from get_events has now been moved in to our local API
and is used by the event vault to retrieve events, instead of
querying the database directly.
This has the advantage that it deals with overrides and only
returns events for the relevant user.
Part of MDL-55611 epic.
2017-04-04 11:01:40 +01:00
Cameron Ball
02854eac9e
MDL-58087 core_calendar: Don't pass non action events through our plumbing
...
The event factory should simply instantiate an event for non action
events and pass only action events through the plumbing.
This way modules implementing the callbacks can be sure that what
is passed in to the callback is actually supposed to be an action event.
Part of MDL-55611 epic.
2017-04-04 11:01:40 +01:00
Cameron Ball
f8a3e28b16
MDL-58087 core_calendar: Don't process events not created by modules
...
Our API infrastructure currently only deals with events created
by course modules. Site, user, etc events can't be dealt with.
Part of MDL-55611 epic.
2017-04-04 11:01:40 +01:00
Cameron Ball
aa1cdff5f6
MDL-58087 mod_lesson: Apply overrides in event action callback
...
Part of MDL-55611 epic.
2017-04-04 11:01:39 +01:00
Cameron Ball
a82becaa25
MDL-58087 mod_assign: Apply overrides in event action callback
...
Part of MDL-55611 epic.
2017-04-04 11:01:39 +01:00
Cameron Ball
b6d9b701f0
MDL-58087 core_calendar: Remove redundant event vault factory
...
Part of MDL-55611 epic.
2017-04-04 11:01:38 +01:00
Juan Leyva
a24289f12f
MDL-57821 mod_feedback: New WS mod_feedback_get_responses_analysis
2017-04-04 12:01:23 +02:00