Michael Aherne
6e4ad85606
MDL-56131 choice: Set maximum lifetime for lock
2016-10-17 13:51:08 +08:00
Stephen Bourget
7e8203ec65
MDL-55253 mod_choice: prevent direct script access to lib files.
2016-07-25 09:40:43 +01:00
Stephen Bourget
10120241ae
MDL-53803 mod_choice: remove orphaned answers when removing options
2016-07-06 17:15:33 -04:00
Marina Glancy
1348e21d66
MDL-54900 mod_choice: correctly count number of answered users
2016-06-27 12:48:30 +08:00
Marina Glancy
73cf33aad4
MDL-49943 mod_choice: display multiple answers in complete report
2016-05-30 14:18:06 +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
Dan Poltawski
add310ab44
Merge branch 'MDL-23273-master' of git://github.com/zbdd/moodle
2015-03-02 09:33:40 +00:00
Dan Poltawski
86e5b0a707
Merge branch 'MDL-49220-master' of https://github.com/lucisgit/moodle
2015-02-24 16:54:58 +00:00
Zachary Durber
5b83949ad1
MDL-23273 mod_choice: error continue button redirects back to choice
...
Locks only occur when a choice is using limits.
2015-02-24 12:14:15 +08:00
Zachary Durber
e776b415f4
MDL-23273 mod_choice: Using locks to ensure choice limits
2015-02-23 10:47:46 +08:00
Tony Butler
c30dbd69e7
MDL-49220 mod_choice: Add option to allow students to preview choices
2015-02-20 14:27:55 +00:00
Stephen Bourget
c04b66a564
MDL-34375 Choice: Display choice on 'my home'
2015-02-13 14:19:55 -05:00
Sam Hemelryk
cbb1677cb9
MDL-3034 mod_choice: minor tidy up
2014-09-25 14:03:52 +12:00
Michael Aherne
54bdf1d406
MDL-3034 choice Support multiple answers
2014-09-25 11:33:55 +12:00
Marina Glancy
634a5c0b81
MDL-45336 choice: removed unused code
...
function prepare_choice_show_results() is never called with the 5th argument,
forming of html has been moved to the renderer in MDL-20508, when function
choice_show_results() was transformed into prepare_choice_show_results() but
not all code was deleted from the funciton.
2014-09-24 01:22:58 +02:00
sam marshall
9c85baa8c5
MDL-44725 Availability: Replace groupmembersonly - FEATURE_xx (6)
...
Remove old FEATURE_GROUPMEMBERSONLY as no longer required.
2014-09-02 13:03:17 +01:00
Marina Glancy
ba9390784d
MDL-46691 mod_choice: apply filters to user input
2014-08-15 15:53:10 +08:00
Marina Glancy
cf051cc46e
Revert "MDL-41283 report_participation: Fixed legacy actions returned from api's"
...
This reverts commit 7b7bb92d42 .
2014-04-15 17:14:57 +08:00
Rajesh Taneja
7b7bb92d42
MDL-41283 report_participation: Fixed legacy actions returned from api's
2014-04-15 13:31:03 +08:00
Rajesh Taneja
b2b4ec308e
MDL-41283 report_participation: Added phpdoc about function not used
...
In new logging api, xxx_get_view_actions() and xxx_get_post_actions()
will not be used to identify the paticipation of user. Event's crud
and edulevel status will define user's participation.
2014-04-15 13:31:03 +08:00
Sam Hemelryk
c7afe6b76f
MDL-44153 mod_choice: unified @package use
2014-02-18 11:24:30 +13:00
Adrian Greeve
8a94144332
MDL-40049 mod_choice: Replaced old add_to_log calls with event triggers.
...
Also added a generator for unit tests.
2013-10-01 10:36:13 +08:00
Rossiani Wijaya
8f0767f10c
MDL-40732 choice: improve heading levels and styling
2013-08-20 16:05:01 +08:00
Andrew Robert Nicols
7266bd3e59
MDL-35569 AJAX Move auto-submitting selects to separate YUI module
2012-11-21 08:23:01 +00:00
Tim Hunt
9695ff811b
MDL-34657 user sorting: consistent sorting everywhere.
...
This commit coverts everything in the codebase to use the new
users_order_by_sql function when sorting lists of users. More details in
the bug.
Note that this does not change places where users are displayed in a
sortable table, and the sort order comes from the table.
2012-09-27 12:41:42 +01:00
David Monllao
327c67a971
MDL-34466 mod_choice Replace all instances of get_context_instance() with respective context_XXXX class in mod/choice
2012-07-27 13:26:06 +08:00
Michael Aherne
b09912f8ab
MDL-32438 choice: fix fatal error on making choice
2012-04-13 15:16:12 +01:00
Petr Skoda
54352ac979
MDL-32251 more E_STRICT fixes
2012-03-30 19:02:58 +02:00
Dan Marsden
eb3a62d293
MDL-31942 Choice - remove deprec func
2012-03-08 20:37:17 +13:00
sam marshall
3e4c243500
MDL-27001 'Show description' feature part 3: Implementation for all modules
...
For modules that still used the 'old' generic object return from _get_coursemodule_info instead of returning a cached_cm_info object, I changed them to use the new format as part of this. This made a few areas of code regarding onclick links slightly nicer.
2011-09-06 11:03:06 +01:00
Andrew Davis (andyjdavis)
b38e2e28a1
MDL-27829 blocks: altered the algorithm used to find plugin page types
2011-06-27 12:27:41 +08:00
Dongsheng Cai
b1627a92e5
MDL-26105 Block settings should contains less options, and be more user friendly
...
AMOS BEGIN
MOV [page-blog-index, pagetype], [page-blog-index, blog]
MOV [page-blog-x, pagetype], [page-blog-x, blog]
MOV [page-tag-x, pagetype], [page-tag-x, tag]
MOV [page-course-view-weeks, pagetype], [page-course-view-weeks, format_weeks]
MOV [page-course-view-weeks-x, pagetype], [page-course-view-weeks-x, format_weeks]
MOV [page-course-view-topics, pagetype], [page-course-view-topics, format_topics]
MOV [page-course-view-topics-x, pagetype], [page-course-view-topics-x, format_topics]
AMOS END
2011-06-09 13:51:14 +08:00
Sam Hemelryk
2b04c41c58
MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
...
* Added the component and ratingarea fields and implemented it throughout
the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
API.
2011-05-23 12:35:39 +02:00
Dan Marsden
e076641f77
CHOICE MDL-24102 fix tabs in code
2010-11-19 02:57:35 +00:00
Petr Skoda
516c5eca68
MDL-24698 hopefully fixed all completion_info problems
2010-11-17 06:23:56 +00:00
Sam Marshall
bc499733f8
Choice: MDL-20440 Added completion support to Choice (mark completed when user makes choice)
2010-10-14 14:58:43 +00:00
Petr Skoda
39790bd805
MDL-24321 switching to stdClass in /mod/
2010-09-21 08:37:36 +00:00
Petr Skoda
034ef76129
improved spelling
2010-09-18 12:31:20 +00:00
Petr Skoda
72d2982eb1
hmm, it is reset course not courses
2010-09-18 12:08:16 +00:00
Petr Skoda
91421f3ead
a few spelling fixes
2010-09-18 12:07:01 +00:00
Petr Skoda
9d97f08e99
MDL-14679 fixed multiple old style insert_record calls, we throw exceptions now from DML
2010-09-03 16:26:04 +00:00
Rossiani Wijaya
f7e9300061
MDL-23867 - removing some extra whitespaces.
2010-08-20 02:40:13 +00:00