Jake Dallimore
a039751aee
MDL-56881 mod_choice: fix bug with limits when saving existing choice
...
The check determining whether a choice option's limit was exceeded was
including the user's existing answers in its checks, meaning a user
couldn't save an existing choice answer, or select further options,
if all a choice option limit was reached. This patch fixes that.
2018-07-09 11:02:45 +08:00
Jun Pataleta
0e8d6595f4
MDL-61289 mod_choice: Add extra user fields to response data
2018-02-19 08:53:44 +08:00
Jun Pataleta
d766bbc5b9
MDL-58888 mod_choice: Sort choice_get_my_response() results by optionid
2017-12-15 15:55:48 +13:00
Ryan Wyllie
478b1d194f
MDL-60062 calendar: remove validate_event_timestart callback
2017-11-07 01:25:33 +00:00
Ryan Wyllie
8c4b939cfe
MDL-60058 choice: implement timestart range callback for calendar UI
2017-10-13 06:38:02 +00:00
Ryan Wyllie
c35613ff28
MDL-59922 mod_choice: allow editing of open and close events
2017-09-19 08:21:53 +00:00
Ankit Agarwal
0d14fcbc60
MDL-9367 restore: Roll only configuration dates
...
It was decided to roll only configuration dates and any date related to user content
such as 'timecreated' , 'timemodified' etc should not be rolled forward.
2017-08-01 10:46:37 +05:30
Adrian Greeve
9ffbdafc95
MDL-59287 calendar_events: Update modules to create all events.
...
All events equals all calendar events including completion events.
2017-07-10 09:40:02 +08:00
Luca Bösch
46470ad02c
MDL-58852 choice: Use multilang for choice options in charts
2017-05-14 21:31:10 +02:00
Marina Glancy
19228840b8
MDL-58665 mod_choice: cache choice time in modinfo for performance
2017-05-01 12:57:22 +08:00
Andrew Nicols
e6c0e75ed8
Merge branch 'wip-MDL-58731-master' of git://github.com/marinaglancy/moodle
2017-04-28 10:29:50 +08:00
Marina Glancy
438c01d0dd
MDL-58731 modules: display intro on the course page
...
something that was forgotten when adding _get_coursemodule_info to activities in MDL-58190
2017-04-28 09:14:25 +08:00
Ryan Wyllie
a0499b7fff
MDL-58557 mod_choice: only check responses if event is actionable
2017-04-27 07:00:03 +00:00
David Monllao
160c263da5
Merge branch 'MDL-58557-master' of git://github.com/ryanwyllie/moodle
2017-04-27 11:36:26 +08:00
Ryan Wyllie
71cd51b8ff
MDL-58557 mod_choice: change action event callback logic
2017-04-26 02:11:18 +00:00
Marina Glancy
23e5104ae2
MDL-58666 course: add module name to cache
...
without it there will be an extra db read in get_array_of_activities() to retrieve it for each activity
2017-04-21 13:00:28 +08:00
Marina Glancy
7f53e8aa22
MDL-58267 completion: allow to set default activity completion
...
Part of MDL-58138 epic
2017-04-19 08:54:35 +08:00
Jake Dallimore
b54bcddda4
MDL-58190 completion: callbacks to get completion rule descriptions
...
- Activities can have their custom completion rules added to cm_info
through the get_coursemodule_info callback.
- Descriptions of a modules active completion rules can be fetched using
the component callback mod_xxx_get_completion_active_rule_descriptions
which takes in a cm_info object and returns an array of strings.
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
Dan Poltawski
6a346ab440
Merge branch 'MDL-58507_master' of git://github.com/markn86/moodle
2017-04-17 10:42:48 +01:00
Mark Nelson
59391e80ad
MDL-58501 mod_*: improved docs for new calendar callbacks
2017-04-12 17:43:52 +08:00
Mark Nelson
063b7ee647
MDL-58507 core: link functions with final deprecation issue
2017-04-12 12:38:51 +08:00
Mark Nelson
01f96180ff
MDL-58504 mod_*: fixed PHPDoc return type for *_provide_event_action
2017-04-06 15:00:02 +08: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
Andrew Nicols
dd2e7e6323
MDL-58363 mod_choice: Remove calendar is_visible
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +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
e9dfeec94e
MDL-57434 core: deprecated xxx_print_overview() and related functions
...
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Andrew Nicols
2154c9824d
Merge branch 'MDL-40759-master' of git://github.com/damyon/moodle
2017-03-20 13:57:38 +08:00
Damyon Wiese
2b931458ad
MDL-40759 plugins: Add font icon mapping to all plugins
2017-03-17 15:51:29 +08:00
Juan Leyva
fa19c73350
MDL-57254 mod_choice: Add not open case in choice_can_view_results
...
If the choice is not available (not open yet), the function must return
false even is CHOICE_SHOWRESULTS_ALWAYS is set to true.
This was failing only in Web Services, in Web that function is not
reached (execution stops when the time open check is done).
2017-03-14 13:34:27 +01:00
Juan Leyva
65b2669d98
MDL-56307 course: Return time updated and times updated
2016-10-25 10:10:55 +01:00
Juan Leyva
02a73d767c
MDL-56307 course: New course_check_module_updates_since method
2016-10-25 10:10:52 +01:00
Michael Aherne
0c5994269f
MDL-56131 choice: Set maximum lifetime for lock
2016-10-17 13:50:42 +08:00
Marina Glancy
8676e7c3e0
MDL-18592 mod_choice: Allow teachers to make choice for students
...
Capability to delete reponses becomes capability to delete or modify
responses.
This also resolves MDL-51659 (incorrect events answer_submitted and
answer_updated) by deprecating them and replacing with the answer_created
2016-08-08 14:16:57 +08:00
Andrew Nicols
8f33657dae
Merge branch 'MDL-55140_m32v2' of https://github.com/sbourget/moodle
2016-08-02 08:48:36 +08:00
Stephen Bourget
2ff504c6b2
MDL-55140 mod_choice: Allow independent open and close dates
2016-07-27 07:18:54 -04:00
Stephen Bourget
73b1d580aa
MDL-55253 mod_choice: prevent direct script access to lib files.
2016-07-25 09:40:38 +01:00
Eloy Lafuente (stronk7)
4a5bbd9cda
Merge branch 'MDL-53803_m32v1' of https://github.com/sbourget/moodle
2016-07-12 18:03:08 +02:00
Stephen Bourget
9be8052937
MDL-11369 mod_choice: Add calendar events for choice activities
2016-07-07 16:56:17 -04:00
Stephen Bourget
025188da5f
MDL-53803 mod_choice: remove orphaned answers when removing options
2016-07-06 17:08:50 -04:00
Marina Glancy
540200aee5
MDL-54900 mod_choice: correctly count number of answered users
2016-06-27 12:47:49 +08:00
Marina Glancy
42dfbb5416
MDL-49943 mod_choice: display multiple answers in complete report
2016-05-30 14:17:17 +08:00
Mark Nelson
da82688689
MDL-45740 mod_choice: fixed remaining issues
2016-02-01 18:49:22 +08:00
Stephen Bourget
e62f6a01e4
MDL-45740 choice: add new events
2016-01-29 13:23:15 +08:00
John Okely
531bcb13f6
MDL-51569 mod_choice: Prevent users from updating choices with curl
...
And fix unit tests.
2015-11-06 14:52:26 +08:00
Damyon Wiese
0bca129775
MDL-51569 mod_choice: Validate the submitted optionid
...
Make sure any submitted choice options actually belong to the current choice
module.
2015-11-05 10:48:40 +00:00
Juan Leyva
3dd0ac559f
MDL-51569 mod_choice: Check choice availability prior to do any action
2015-11-04 11:08:32 +00:00
Juan Leyva
4b93c3e342
MDL-51566 mod_choice: New WS mod_choice_delete_choice_responses
2015-10-07 13:58:51 +02:00
Juan Leyva
4c4d3b7303
MDL-50944 mod_choice: New Web Service mod_choice_view_choice
2015-09-02 10:35:37 +02:00
Juan Leyva
b87f31db53
MDL-50944 mod_choice: New Web Service mod_choice_get_choice_results
2015-09-02 10:35:35 +02:00
Tony Butler
6de3eee04c
MDL-43770 mod_choice: Exclude responses from inactive users
2015-03-20 09:55:16 +00:00