Sam Hemelryk
46d3b9be73
Merged branch 's7_MDL-26105_block_settings_master' git://github.com/andyjdavis/moodle.git with changes
2011-06-13 16:54:52 +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
Tim Hunt
54771d89d1
Merge remote-tracking branch 'moodle/master' into MDL-20636_master_new_question_engine
...
Conflicts:
lib/db/upgrade.php
mod/quiz/lib.php
2011-06-06 17:14:59 +01:00
Eloy Lafuente (stronk7)
4561302dec
MDL-20636 Prepare stuff for cleaner merging
2011-06-06 16:38:23 +01: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
Tim Hunt
449bfe90c6
MDL-20636 quiz let users with capability mod/quiz:grade, but not mod/quiz:viewreports see the manual grading report in the navigation. OU bug #412 .
2011-05-20 18:25:07 +01:00
Eloy Lafuente (stronk7)
94a74f549a
MDL-26704 gradebook: adding TODO comment to avoid forgetting
2011-05-17 11:58:22 +02:00
Tim Hunt
25a03faaca
MDL-20636 fix many code-checker issues in mod/quiz.
2011-05-12 00:30:25 +01:00
Tim Hunt
cd300cf34c
MDL-20636 Initial pass at converting this code to Moodle 2.0 style.
2011-05-11 15:32:26 +01:00
Andrew Davis (andyjdavis)
4433f871f2
MDL-26704 gradebook: added some intelligence to the dates displayed on the user outline activity report
2011-05-10 11:14:16 +08:00
Tim Hunt
6b5f24d376
MDL-20636 Handle deleting response files when the usage is deleted. #216
2011-03-31 12:45:17 +01:00
Tim Hunt
6d03fd9830
MDL-20636 Fix for Bug 11593 merged from our 1.9 version. #268
2011-03-16 14:34:19 +00:00
Tim Hunt
f11672d84a
MDL-26735 Questions file links broken when quiz_attempts.id and .uniqueid differ.
2011-03-09 15:46:59 +00:00
Tim Hunt
07f8858406
MDL-20636 Cannot really delete questions that were only used in previews #196
2011-03-07 16:23:11 +00:00
Tim Hunt
515e6b97b5
MDL-20636 Restore of question hints, and some other minor clean-up.
2011-03-02 17:43:02 +00:00
Tim Hunt
2daffca554
MDL-20636 Fix 30 TODOs
2011-02-24 17:47:51 +00:00
Tim Hunt
f7970e3ca7
MDL-20636 Eliminate integer and boolean in PHPdoc comments. should be int and bool.
2011-02-23 16:25:25 +00:00
Tim Hunt
a17b297d60
MDL-20636 Add missing defined('MOODLE_INTERNAL') || die();
2011-02-23 16:00:20 +00:00
Tim Hunt
0ff4bd0877
MDL-20636 Fix new stdClass -> stdClass(), and trailing whitespace.
2011-02-21 18:10:19 +00:00
Tim Hunt
ba6438471b
MDL-20636 Fix top of file boilerplate in mod/quiz.
2011-02-21 16:13:25 +00:00
Tim Hunt
56e82d993d
MDL-20636 Images in questions now work in quiz attempts.
2011-02-09 20:33:51 +00:00
Tim Hunt
7ee80cab53
MDL-20636 Manual comment popup comment.php now works.
2011-02-09 20:29:59 +00:00
Tim Hunt
b2607ccc19
MDL-20636 Now the quiz review page works.
2011-02-09 20:18:24 +00:00
Tim Hunt
8f37f7fb7a
MDL-20636 It is now possible to submit a page of the quiz, and view the summary page.
2011-02-09 20:18:18 +00:00
Tim Hunt
f255782339
MDL-20636 You can now create a quiz, and edit the settings.
...
Little else works, but this is just the first step.
2011-02-09 20:18:06 +00:00
Tim Hunt
25302dee78
MDL-20636 Started work converting the quiz.
2011-02-09 20:18:03 +00:00
Eloy Lafuente (stronk7)
3f2efc20ad
MDL-25708 recordsets - page and quiz modules
2011-01-25 19:59:01 +01:00
David Mudrak
d774e8171a
MDL-25316 quiz_get_extra_capabilities() does not need to fetch subcapabilities explicitly
2010-12-02 16:51:52 +00:00
Tim Hunt
2a27a37db8
quiz recent activity MDL-24528 was setting the activity userid to the attempt id. Doh!
2010-10-05 17:11:16 +00:00
Petr Skoda
6bdfef5da9
MDL-24321 switching to standard stdClass()
2010-09-21 08:54:01 +00:00
Petr Skoda
39790bd805
MDL-24321 switching to stdClass in /mod/
2010-09-21 08:37:36 +00:00
Eloy Lafuente
767cb7f03a
MDL-22151 & MDL-22138 - Quiz activity backup & questions banks too!
...
CV S: ----------------------------------------------------------------------
2010-09-21 01:28:30 +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
Dongsheng Cai
fe6ce23489
MDL-16094 File storage conversion Quiz and Questions
2010-08-10 09:56:48 +00:00
Tim Hunt
1724eb719d
quiz navigation: NOBUG link should be imperative, edit quiz, not editing quiz.
2010-08-05 17:38:21 +00:00
Tim Hunt
eb02301a36
mod_quiz / navigation MDL-20276 further polishing the quiz navigation structure.
2010-08-04 16:31:54 +00:00
Tim Hunt
2a8a78c320
quiz MDL-22691 error when editing a block's config on the quiz view page.
2010-08-03 11:10:38 +00:00
Tim Hunt
a49cb927fd
NOBUG more consistent use of URLs for the quiz reports.
2010-07-28 15:08:34 +00:00
David Mudrak
122fc5d9d5
NOMDL quiz: fixed sql params handling in recent activity report
...
The $params set were thrown away by array() statement, leading to DML
error.
2010-07-26 22:20:51 +00:00
Petr Skoda
792881f0fe
fixed some comment typos
2010-07-22 09:43:30 +00:00
Petr Skoda
3a11c09f5b
MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support
2010-07-04 18:36:34 +00:00
Sam Hemelryk
56ed242b51
navigation MDL-20276 Fixed up the navigation for the quiz module and question section as per Tim's recommendation.
...
* Routine navigation through the quiz and question modules
* Fixed navbar through quiz and questions
* Pages headers added throughout
* Added method to turn a navigation node into a tabs array suitable for use with print tabs
2010-05-21 03:15:48 +00:00
Tim Hunt
cb323d0258
quiz recent activity: MDL-22410 permission check was wrong.
2010-05-10 22:36:40 +00:00
Tim Hunt
7bc488dc3d
quiz settings MDL-21780 more work on group and user setting overrides
...
The group setting tab is now disabled if there are no groups in the course.
The code also now respects groupings.
Thanks to Matt Petro for this patch.
2010-05-10 22:15:17 +00:00
Tim Hunt
2b38499d60
MDL-20860 quiz grades that had already been formatted for output were being used in database queries.
...
Which really does not work in locales that use , as a decimal point.
Also, this commit fixes one performance problem in index.php with DB queries in a loop.
2010-05-07 00:08:16 +00:00
Tim Hunt
ac250ad54a
quiz: NOBUG fix silly typo.
2010-05-01 08:08:50 +00:00
Tim Hunt
8d2971888f
quiz recent activity: MDL-20586 was showing scores even if quiz settings said not to.
...
Fix started with a patch from Yolanda Ordoñez Rufat but with significant reworking by me.
2010-04-29 10:46:39 +00:00
Sam Hemelryk
3406acdef9
navigation MDL-22044 Major navigation structure changes.
...
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure .
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Petr Skoda
846e4e177e
MDL-16438 separating subplugin detection from the plugin_supports code because it was running into infinite loops in get_string() which is often incorrectly used in lib.php files, but the get_string() itself needs to know about subplugins
2010-04-04 19:58:03 +00:00