10800 Commits

Author SHA1 Message Date
David Mudrak
d777f26837 MDL-27445 Fixed the deprecated call 2011-05-25 12:13:26 +02:00
Aparup Banerjee
d1711071f4 MDL-27445 added moodle1 backup converter for label 2011-05-25 12:08:00 +02:00
Eloy Lafuente (stronk7)
5693d56cd8 MDL-27625 rating - consider RATING_UNSET_RATING a valid rating value 2011-05-25 12:00:16 +02:00
David Mudrak
ad28527828 MDL-27445 Fixed the deprecated call 2011-05-24 16:31:28 +02:00
Aparup Banerjee
b391176a0b MDL-27445 added moodle1 backup converter for chat 2011-05-24 16:17:51 +02:00
David Mudrak
8bcefb3254 Activity module handler get_moduleid() replaced with get_cminfo() 2011-05-24 16:01:00 +02:00
David Mudrak
8b866ce4b1 Merge branch 'MDL-27439' of git://github.com/nebgor/moodle into backup-convert 2011-05-24 09:21:38 +02: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
Aparup Banerjee
be53cf4e4c MDL-27439 added moodle1 backup converter for assignment
- only recreates assignment module, not user data or submissions yet.
2011-05-20 11:59:20 +08:00
Tim Hunt
e35ba43c91 MDL-20636 make syncronised datasets work for calculated* questions. 2011-05-19 19:06:07 +01:00
Tim Hunt
0eb253f7f6 MDL-20636 quiz restart preview button was missing since the renderer refactor. 2011-05-19 19:05:25 +01:00
Tim Hunt
39153237f5 MDL-20636 fix broken links in the statistics report. 2011-05-19 18:11:52 +01:00
Tim Hunt
2178cd3a12 MDL-20636 Dean's refactoring had broken the quiz summary page. 2011-05-19 17:52:52 +01:00
Andrew Davis (andyjdavis)
ab1da2675d MDL-27442 forum: allow forum to be restored into 2.1 from a 1.9 backup 2011-05-19 13:41:01 +02:00
Dan Marsden
6fa51b70a5 MDL-25177 Choice - fix typo for form creation causing pop-up window - thanks to Jason Hardin for fix 2011-05-19 13:01:21 +12:00
David Mudrak
c18f90f22f Merge remote branch 'github/master' into backup-convert 2011-05-18 16:08:15 +02:00
Sam Hemelryk
f138b7c13b MDL-27161 Improved the 2 new strings in assignment 2011-05-18 17:29:39 +08:00
Sam Hemelryk
74cf2d0015 MDL-26704 Fixed up variable typo 2011-05-18 15:32:40 +08:00
Eloy Lafuente (stronk7)
4d7e02616b Merge branch 'MDL-27386_HEAD2' of git://github.com/rwijaya/moodle 2011-05-17 14:19:23 +02:00
Eloy Lafuente (stronk7)
94a74f549a MDL-26704 gradebook: adding TODO comment to avoid forgetting 2011-05-17 11:58:22 +02:00
Eloy Lafuente (stronk7)
dcc26efb70 Merge branch 'MDL-26704_user_outline_report_master' of git://github.com/andyjdavis/moodle 2011-05-17 11:55:04 +02:00
Sam Hemelryk
870b8b0402 Merge branch 'MDL-27161_head' of git://github.com/rwijaya/moodle.git 2011-05-16 12:28:18 +08:00
Sam Hemelryk
731d1b89ad Merge branch 'MDL-27387_rating_scale_validation_master2' of git://github.com/andyjdavis/moodle 2011-05-16 12:14:11 +08:00
Sam Hemelryk
c23ee732c2 Merge branch 'MDL-26075_head' of git://github.com/grabs/moodle 2011-05-16 11:51:41 +08:00
Glenn Ansley
3efd551351 MDL-27494 choice - fixing incorrectly named column in backup 2011-05-16 03:24:30 +02:00
Rossiani Wijaya
4bb7783ef1 MDL-27386: fixed mform for lesson essay grading (head) 2011-05-13 14:14:19 +08:00
David Mudrak
eb3dc80bc3 Merge branch 'master' into backup-convert 2011-05-13 03:16:13 +02:00
David Mudrak
5f3185feb8 MDL-27444 Choice module 1.9 backup converts to 2.0 format
So far, user related data are not supported by the project.
2011-05-13 02:42:44 +02:00
David Mudrak
baa6f6a848 Improved course module info conversion 2011-05-13 02:41:47 +02:00
Tim Hunt
aac80ff319 MDL-20636 fix most of the remaining codechecker issues in mod/quiz and lib/questionlib.php. 2011-05-13 00:33:44 +01:00
Tim Hunt
d3bab68c78 MDL-27408 update all question and quiz plugin version.php files. 2011-05-12 23:18:47 +01:00
Tim Hunt
ab6cb45b7b MDL-27408 fix question engine upgrade issues on MySQL. 2011-05-12 23:17:58 +01:00
Tim Hunt
39759ac468 MDL-27408 fix a few minor bugs with the upgrade from 2.0.
More testing, and adaptive mode, still to come.
2011-05-12 21:03:24 +01:00
Tim Hunt
bb28e3bc5e MDL-27408 Moved the question engine install/upgrade code into the proper place.
I have tested upgrade from the previous development version, and a clean install. Upgrade from 2.0 still needs more work.
2011-05-12 18:58:50 +01:00
Andreas Grabs
74e3f2c67e MDL-26075 Sending Message through Feedback Component throws an error 2011-05-12 17:12:11 +02:00
Rossiani Wijaya
e512715b89 MDL-27161: fixed optional setting for 'require grading' to prevent page lock out (head) 2011-05-12 17:32:00 +08:00
Aparup Banerjee
b38f0baad4 MDL-27386 lesson fix mform->score not saving (wip) 2011-05-12 16:00:18 +08:00
Tim Hunt
25a03faaca MDL-20636 fix many code-checker issues in mod/quiz. 2011-05-12 00:30:25 +01:00
Tim Hunt
a2ac234956 MDL-20636 Merge remote-tracking branch 'moodle/master' into upgrade
Conflicts:
	lib/filestorage/file_storage.php
	mod/quiz/attemptlib.php
	mod/quiz/lib.php
	mod/quiz/mod_form.php
	mod/quiz/report/overview/overview_table.php
	mod/quiz/report/overview/report.php
	mod/quiz/report/responses/report.php
	mod/quiz/report/responses/responses_table.php
	mod/quiz/report/statistics/db/install.xml
	mod/quiz/report/statistics/qstats.php
	mod/quiz/report/statistics/report.php
	mod/quiz/report/statistics/statistics_question_table.php
	mod/quiz/report/statistics/statistics_table.php
	mod/quiz/report/statistics/version.php
	mod/quiz/review.php
	mod/quiz/reviewquestion.php
	mod/quiz/startattempt.php
	mod/quiz/styles.css
	mod/quiz/view.php
	question/type/essay/questiontype.php
	question/type/match/backup/moodle2/backup_qtype_match_plugin.class.php
	question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php
	question/type/numerical/display.html
	question/type/numerical/questiontype.php
	question/type/questiontype.php
	question/type/random/questiontype.php
	question/type/shortanswer/questiontype.php
	theme/base/style/question.css
2011-05-11 20:29:49 +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
Dean Lennard
0de4393945 MDL-20636 moved header creation into seperate funciton 2011-05-11 15:04:19 +01:00
Dean Lennard
8e8bd3f967 MDL-20636 Changed renderer function scopes so they can be overridden. 2011-05-11 15:04:13 +01:00
Dean Lennard
2c3e2b53e6 MDL-20636 Added phpDoc comments 2011-05-11 15:04:07 +01:00
Andrew Davis (andyjdavis)
6ac149dce3 MDL-27387 rating: prevent the submission of ratings outside of the range allowed by the current scale 2011-05-11 11:29:31 +08:00
David Mudrak
1e2c735111 MDL-27376 MDL-27377 MDL-27378 Backup converters refactoring - work in progress
These are David's changes of Mark's code that replace the
plan/tasks/steps infrastructure with a bit simpler one. The changes will
be described in the next commit that will actually finish the
conversion.

TODO: refactor backup/converter/moodle1/stepslib.php into conversion
handlers.
2011-05-10 17:58:00 +02:00
David Mudrak
0164592b8c MDL-27376 MDL-27377 Backup converters API refactored
* Several base_converter methods made protected when there was no obvious
reason why they should be public (subject of eventual change still).
* The conversion chain now constructed in advance before any converter
class is instantiated, using Dijkstra's algorithm.
2011-05-10 17:57:59 +02:00
David Mudrak
e48477d94f MDL-22414 Fixed standard copyright file headers (R0417) 2011-05-10 17:57:59 +02:00
Mark Nielsen
5aee1af3f1 Adding plugin abstract class and adding a step to activities to generate their module.xml 2011-05-10 17:57:57 +02:00
Mark Nielsen
72c089f117 Adding in activity support and adding base forum classes as proof of concept 2011-05-10 17:57:57 +02:00