19056 Commits

Author SHA1 Message Date
Mark Nelson
3a41f730ac MDL-57998 mod_scorm: added action events
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Mark Nelson
7c6f961bf9 MDL-57877 mod_data: added action events
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Simey Lameze
90e8330f1a MDL-57879 mod_feedback: add action events
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
213dcf5191 MDL-57732 mod_choice: added action events
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
bea71d5732 MDL-57731 mod_chat: added action events
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
294dce6764 MDL-57730 mod_assign: added action events
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Cameron Ball
aa457b7dee MDL-57730 core_calendar: Action interface aware of actionability
We need a way to decide whether an action can currently be completed
(e.g., an assignment where submissions are not yet open can not
be actioned, even though it may be displayed on the upcomming events
list).

To do this, the action interface now contains an is_actionable method.

Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Cameron Ball
5ca71c2dc3 MDL-57442 core_calendar: Allow course modules to create actions for events
Course modules can now implement the function mod_{module}_core_calendar_provide_event_action
which allows them to return an action to attach to an event.

Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Mark Nelson
3e1c027532 MDL-57938 mod_assign: added new 'gradingduedate' setting
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Mark Nelson
e057f279e4 MDL-57497 core_calendar: added new calendar event class
Moved calendar_event class to new location using replaceclasses.php

Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Mark Nelson
e9dfeec94e MDL-57434 core: deprecated xxx_print_overview() and related functions
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Dan Poltawski
acfab4cc7b Merge branch 'MDL-58450_master' of git://github.com/dmonllao/moodle 2017-03-31 09:12:16 +01:00
David Monllao
1535cd5bad MDL-58450 mod_forum: Force groups to be returned as they are created
Long history resumed: The test relies on the first group
being the first that is created, the first group is
actually the first one ordering by name. If  is
group-999 and  is group-1000  is returned
as the first group.
2017-03-31 01:44:21 +02:00
Juan Leyva
b0f3e6d618 MDL-57924 mod_data: Fix get_entry call
It was using the pre-integration version where a group was mandatory
2017-03-30 09:29:08 +02:00
Juan Leyva
8cc04bcc67 MDL-57920 mod_data: Fix var dynamic creation (failing in php7) 2017-03-30 09:26:27 +02:00
Juan Leyva
57ab070e01 MDL-57925 mod_data: Implement check_updates_since callback 2017-03-30 03:41:55 +02:00
Juan Leyva
01b7ec36d1 MDL-57925 mod_data: Support new search criteria 2017-03-30 03:19:45 +02:00
Juan Leyva
4ca2890d8e MDL-57924 mod_data: New WS mod_data_update_entry 2017-03-30 02:36:32 +02:00
Juan Leyva
df0c549f88 MDL-57924 mod_data: Move update record code to new function 2017-03-30 02:35:59 +02:00
Juan Leyva
61c640c13a MDL-57923 mod_data: New WS mod_data_add_entry 2017-03-30 02:28:54 +02:00
Juan Leyva
b376f55e59 MDL-57923 mod_data: Move entry creation code to function 2017-03-30 02:26:11 +02:00
Juan Leyva
67bb168e1f MDL-57922 mod_data: New Web Service mod_data_delete_entry 2017-03-30 02:15:46 +02:00
Juan Leyva
229158fe74 MDL-57921 mod_data: New WS mod_data_approve_entry 2017-03-30 02:12:53 +02:00
Juan Leyva
b8e0e64455 MDL-57921 mod_data: Move approval code to new function 2017-03-30 02:11:46 +02:00
Juan Leyva
56b8edcb1e MDL-57920 mod_data: New WS mod_data_search_entries 2017-03-30 01:53:46 +02:00
Juan Leyva
c8a804ff68 MDL-57920 mod_data: Refactor search array creation 2017-03-30 01:53:35 +02:00
Eloy Lafuente (stronk7)
4f164a3e2d Merge branch 'MDL-57919-master' of git://github.com/jleyva/moodle 2017-03-29 13:03:53 +02:00
David Monllao
85384d44c7 MDL-57757 mod_lesson: Check that there is an object 2017-03-29 12:56:33 +02:00
David Monllao
f9b99736f4 Merge branch 'MDL-57757-master' of git://github.com/jleyva/moodle 2017-03-29 12:51:46 +02:00
David Monllao
9653e19b7e Merge branch 'MDL-57754-master' of git://github.com/jleyva/moodle 2017-03-29 12:37:35 +02:00
Juan Leyva
a934c89639 MDL-57919 mod_data: New WS mod_data_get_fields 2017-03-29 11:38:39 +02:00
Juan Leyva
aefe9c5faa MDL-57919 mod_data: Refactor and new method get_configs_for_external 2017-03-29 11:38:38 +02:00
Juan Leyva
8c21800470 MDL-57754 mod_lesson: Include missing required file
The constant LESSON_PAGE_BRANCHTABLE requires the page type file.
2017-03-29 11:31:35 +02:00
Juan Leyva
86ff8ccd22 MDL-57757 mod_lesson: Handle empty answers
This is and edge case created by a bug in the numeric question type.
2017-03-29 11:01:02 +02:00
Andrew Nicols
6e1523c38b MDL-57822 feedback: Correct page param for nonrespondents WS 2017-03-29 11:20:57 +08:00
Eloy Lafuente (stronk7)
5d267581fb Merge branch 'MDL-57918-master' of git://github.com/jleyva/moodle 2017-03-29 01:27:19 +02:00
Eloy Lafuente (stronk7)
d858278a58 Merge branch 'MDL-49409-master' of git://github.com/jleyva/moodle 2017-03-29 01:25:59 +02:00
David Monllao
46c6d0df5a Merge branch 'MDL-57822_master' of git://github.com/dmonllao/moodle 2017-03-28 22:57:15 +02:00
David Monllao
92c1ed4f85 Merge branch 'MDL-58230_master' of git://github.com/dmonllao/moodle 2017-03-28 22:55:34 +02:00
Juan Leyva
bb66bc4a89 MDL-57822 mod_feedback: New WS mod_feedback_get_non_respondents 2017-03-28 22:52:03 +02:00
Juan Leyva
52f57996f4 MDL-58230 mod_feedback: New WS mod_feedback_get_finished_responses 2017-03-28 22:50:36 +02:00
Dan Poltawski
a1355e53e8 Merge branch 'MDL-58264' of https://github.com/darrencocco/moodle 2017-03-28 18:02:40 +01:00
Dan Poltawski
54e9302b5f Merge branch 'MDL-58227-master' of git://github.com/jleyva/moodle 2017-03-28 16:02:07 +01:00
David Monllao
3ecbebc816 Merge branch 'MDL-58329-master' of git://github.com/jleyva/moodle 2017-03-27 15:47:55 +02:00
Juan Leyva
448a488642 MDL-58329 mod_lesson: New WS function mod_lesson_get_lesson 2017-03-27 14:48:28 +02:00
Juan Leyva
a0558b5607 MDL-58329 mod_lesson: Refactor to use new exporter
Refactor existing WS to use the new summary_exporter
2017-03-27 14:42:11 +02:00
David Monllao
76e4853585 Merge branch 'MDL-57760-master' of git://github.com/jleyva/moodle 2017-03-27 13:39:44 +02:00
David Monllao
7cf5c3d54c Merge branch 'MDL-57762-master' of git://github.com/jleyva/moodle 2017-03-27 13:31:29 +02:00
Juan Leyva
2db90397f1 MDL-57759 mod_lesson: Handle offline attempts in view and WS
- Notify the user if there are previous offline attempts
- Set the offline attempts and return additional information via Web
Services
2017-03-27 13:10:01 +02:00
Juan Leyva
c6f9f06146 MDL-57759 mod_lesson: New settings for allowing offline attempts 2017-03-27 13:10:00 +02:00