mjollnir_
0d06b6fda7
MDL-16423 - big refactor of the way callers interact with the portfolio code
...
added two new contract methods to the caller class, load_data and expected_callbackargs (static)
this means that the base class is the only place that needs a constructor
and that no data loading happens in the constructor
this in turn means we can check callback argument validity much more lightly
also completely remoted portfolio_add_button function and replaced with a class
as the argument list was getting out of control. it's now much more readable.
2008-09-11 13:42:58 +00:00
jamiesensei
c308138f89
MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." Removing Quiz Item Analysis report
2008-09-11 12:59:33 +00:00
jamiesensei
869309b8d8
MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." finished statistics report. This patch includes some changes to lib/tablelib.php so that it is possible to export the content of a table as part of a multi table export - with mutliple tables / multiple worksheets.
2008-09-11 12:48:08 +00:00
tjhunt
ad4cd8374a
Improve comment.
2008-09-11 10:37:50 +00:00
tjhunt
5f9c912241
MDL-16447 move quiz-specific pictures out of theme/standard/pix/
2008-09-11 07:34:51 +00:00
tjhunt
dee2bdc010
MDL-16449 error unexpected event exception in essay question
2008-09-11 03:57:28 +00:00
mjollnir_
0b88fedf88
MDL-16423 - upload assignment types get mime detection (and fixed earlier related regression)
2008-09-10 09:38:04 +00:00
mjollnir_
e4af1deef4
MDL-15833 - added some commented out hints for upload resource (not implemented yet)
2008-09-10 09:36:42 +00:00
tjhunt
cca6e300e7
Refactor getting question bank capabilties in mod/quiz/lib.php - don't hard code them.
...
Also, functions for getting a URL for editing questions in a particular context, ready for MDL-16409.
2008-09-10 05:28:25 +00:00
mjollnir_
a97bcd684c
MDL-15758: fixing regressions i introduced in lib.php v 1.359
2008-09-09 21:06:19 +00:00
nicolasconnault
74cd7b9303
MDL-15666 chat module caller tests and generation
2008-09-09 14:04:29 +00:00
nicolasconnault
f968a736cf
MDL-15666 database module caller unit test working (get_sha1 only)
2008-09-09 12:49:32 +00:00
mjollnir_
b4fecea22d
MDL-16391 - forum posts with no attachments get to be PORTFOLIO_FORMAT_HTML
2008-09-09 11:25:45 +00:00
mjollnir_
8f95364733
MDL-16391 - plain text resources are now PORTFOLIO_FORMAT_TEXT.
2008-09-09 11:01:29 +00:00
mjollnir_
d8606b2078
MDL-15833 - make the portfolio callers use the helper functions to detect expected time.
2008-09-09 09:32:16 +00:00
nicolasconnault
d5849d59ae
MDL-15666 Added database and forum caller unit tests
2008-09-09 09:17:49 +00:00
mjollnir_
adf0ff69fa
MDL-15768 - fixing missing cap check in export whole forum discussion
2008-09-09 09:10:11 +00:00
skodak
9528568bf0
MDL-16088 scorm new file api conversion
2008-09-09 08:30:00 +00:00
stronk7
46712419fb
Fix regression introduced by MDL-12029. Concepts must not be linked by filters. MDL-16372 ; merged from 19_STABLE
2008-09-08 23:06:16 +00:00
piers
527af45775
MDL-11734 - cmi.comments_from_learner not read - write. revamp the handling of array style elements.
2008-09-08 19:45:50 +00:00
jamiesensei
c8b2ab1b00
MDL-7308 "Check all the DB columns used to store grades, and make sure they all use a consistent type." Since quiz->sumgrades is now string "0.00000" (quiz->sumgrades) no longer evaluates as false. Changing to (quiz->sumgrades != 0)
2008-09-08 10:35:14 +00:00
moodler
1470c8a47a
Added maxattachments field for setting max number of attachments
2008-09-08 05:58:19 +00:00
moodler
30a9aff589
MDL-14722 Added new maxattachments setting at admin and forum level to
...
set the maximum number of attachments for forum posts. Default: 1.
Works, but still needs a bit of polishing to deal with re-editing posts (to stop people going above maxattachments)
Also fixed documentation for attachments.
2008-09-08 05:46:42 +00:00
piers
4675994ab2
MDL-16299 - Javascript error during scorm player load. SCOID should not be populated - TOC figures this out.
2008-09-08 00:31:15 +00:00
skodak
7e55d513a1
MDL-16072 fixed area browsing
2008-09-07 23:22:23 +00:00
skodak
aa9bcfcd50
MDL-16075 adding missing lang strings
2008-09-07 23:20:51 +00:00
skodak
a060b744e8
MDL-16072 adding missing lang strings
2008-09-07 22:37:32 +00:00
skodak
9fcb74407c
MDL-15906 filepicker support in all file functions in formslib
2008-09-07 22:35:37 +00:00
skodak
d6f7cbfd98
MDL-16374 support for file browsing in modules
2008-09-06 17:00:43 +00:00
mjollnir_
1e14c62f10
MDL-16360 - better forum implementation
2008-09-05 17:23:22 +00:00
mjollnir_
ea0de12f10
MDL-16360 - added support for mime-style subformat detection for portfolio supported formats
...
works well with flickr plugin (tested by uploading an image as a forum attachment and being offered flickr plugin but not for normal attachments)
2008-09-05 17:07:22 +00:00
mjollnir_
797b81d956
MDL-15758 - remove dependence on 'userid' callback parameter in assignment portfolio caller as it's handled by the parent class
2008-09-05 12:44:46 +00:00
nicolasconnault
eb32c6ca84
MDL-15666 minor fixes to assignment portfolio callers, additional param for generator (assignment type), and unit tests for sha1
2008-09-04 13:25:16 +00:00
nicolasconnault
77ac22a5b6
MDL-15666 sha1 tests for glossary callers. Entry caller test currently fails.
2008-09-04 11:44:48 +00:00
mjollnir_
3bb8a2c75c
MDL-16322 - switch calls to print_error to throw exceptions in portfolio callers
2008-09-04 10:38:44 +00:00
tjhunt
316defd2d3
MDL-3633 Further refinement.
2008-09-04 09:27:19 +00:00
tjhunt
152d3c0242
MDL-3633 Don't show the attempt number column on the quiz view page if the quiz only allows one attempt.
2008-09-04 09:22:37 +00:00
tjhunt
40d1feeb49
MDL-15540 Navigation panel did not work on the review page for multi-page quizzes because of the way states were loaded. Fix the regressions caused by the previous refactor.
2008-09-04 07:05:14 +00:00
tjhunt
81d833adaa
MDL-15540 Navigation panel did not work on the review page for multi-page quizzes because of the way states were loaded. Refactor.
2008-09-04 06:37:43 +00:00
tjhunt
70491f0658
Remove unnecessary div.
2008-09-04 04:53:28 +00:00
tjhunt
5b3990444d
MDL-16263 Improve comment.
2008-09-04 04:52:54 +00:00
tjhunt
45da388f6d
MDL-15452 - forgot to check a DB call for errors.
2008-09-04 04:52:29 +00:00
scyrma
927ce88759
MDL-15405: Add support for relinking of inline media
2008-09-04 01:56:50 +00:00
mjollnir_
c9e745468f
MDL-15758 - added back full forum exports
2008-09-03 12:05:31 +00:00
tjhunt
8f95b06aab
MDL-16263 Flagging questions during a quiz attempt. Submit all and finish was nuking flag states. Fix that.
2008-09-03 09:37:20 +00:00
tjhunt
f62040ed1f
MDL-16263 Flagging questions during a quiz attempt. Save flag state on the review page when JS is off too.
2008-09-03 08:32:29 +00:00
tjhunt
8671738360
Clean up whitespace.
2008-09-03 08:31:37 +00:00
tjhunt
954b73ae0d
Clean up whitespace.
2008-09-03 07:10:00 +00:00
moodler
ad78615cb3
MDL-15405 Final bit to make forum attachments work with filepicker
2008-09-03 06:07:36 +00:00
tjhunt
964f488be3
MDL-15452 Improved quiz navigation. The quiz now no longer requires JavaScript, unless secure mode is used.
2008-09-03 05:50:05 +00:00