Commit graph

11545 commits

Author SHA1 Message Date
Rossiani Wijaya
e4e9611570 MDL-26464: remove 'add entry' link on setting block when it reachs the max number of records. Link removal does not apply to user who has data:manageentries capability (eg: teacher). 2011-03-11 10:03:14 +08: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
5f36713765 MDL-26734 fatal error on the quiz review page when reviews are not allowed.
Sorry silly error by me, merging code from my 2.1 work.
2011-03-09 15:22:15 +00:00
Petr Skoda
23c799459d Revert "MDL-26392, nwiki and creole format wiki pages should support file attachments"
This reverts commit 0c5e812ba7  because UI is going to be reimplemented.
2011-03-08 10:11:07 +01: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
Petr Skoda
8eade3d773 Merge branch 'MDL-26392_wiki_images' of git://github.com/dongsheng/moodle 2011-03-07 12:40:04 +01:00
Eloy Lafuente (stronk7)
51ecc3255b Merge branch 'm20_MDL-26672_aiccfix' of git://github.com/danmarsden/moodle 2011-03-07 02:37:28 +01:00
Eloy Lafuente (stronk7)
500422e6d0 Merge branch 'workshop-submissions-anonymity-and-availability' of git://github.com/mudrd8mz/moodle 2011-03-07 01:56:28 +01:00
Eloy Lafuente (stronk7)
5ff33ba14b Merge branch 'MDL-26324' of git://github.com/timhunt/moodle 2011-03-07 01:22:43 +01:00
Eloy Lafuente (stronk7)
7d754148c4 Merge branch 'MDL-26685' of git://github.com/timhunt/moodle 2011-03-07 01:06:51 +01:00
David Mudrak
d67c20b873 MDL-26535 workshop: fixed availability of published and assessed submissions
While working on the new capability to view authors of published
submissions, I realized that published submissions are correctly listed
(implemented in 00bc77ee) but they can't be viewed by submission.php.
This patch fixes submission.php so that it allows to view published
submissions.

Also, I noticed that when the workshop is closed, the submissions that
were assessed by the user are not listed (as they were in the previous
phases) but submission.php provides access to them correctly. So I added
a code that lists assessed submissions in the closed phase.
2011-03-06 23:49:49 +01:00
Dan Marsden
69c3d39a9c AICC MDL-26672 fix for handling of value = 0 2011-03-07 09:54:33 +13:00
Tim Hunt
4a6f461830 MDL-26685 each attempt builds on last did not work when quiz_attemts.id and question_attempts.id were not equal. 2011-03-05 19:27:32 +00:00
Tim Hunt
b302591de8 MDL-26636 fix typo in language string.
Thanks to Luis de Vasconcelos.
2011-03-05 15:19:49 +00:00
Tim Hunt
c5c16a2c81 MDL-26324 Existing overall feedback on non-graded quizzes prevents editing 2011-03-04 17:50:31 +00:00
Tim Hunt
0357171e68 MDL-26324 overall feedback problem when quiz changed to being graded out of 0 2011-03-04 17:20:12 +00:00
David Mudrak
e13d02f544 MDL-26535 workshop: new capability to control the anonymity of published submissions
Re-using 'mod/workshop:viewauthornames' would not be a happy option here
because teacher would have to change local overrides every time when
they were closing or re-opening the workshop (if they wanted anonymous
assessment but non-anonymous hall of fame).
2011-03-04 14:08:00 +01:00
David Mudrak
757bade1f6 MDL-26684 workshop: fixed missing href attribute in the link to the own submission
This was caused by incorrect construction of workshop_submission_summary.
Instead of direct initiation, the helper method should be used. The
helper adds a property 'url' needed to render 'href' later.
2011-03-04 14:07:50 +01:00
David Mudrak
de6aaa7295 MDL-26683 workshop: fixed typos in code comments 2011-03-04 13:03:49 +01:00
Dongsheng Cai
0c5e812ba7 MDL-26392, nwiki and creole format wiki pages should support file attachments 2011-03-04 15:44:20 +08: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
c26b7f0cfb MDL-20636 Fix upgrade problems. Thanks to James Brisland for his help. 2011-03-02 17:42:58 +00:00
Tim Hunt
7916ea127e MDL-20636 Fix install breakage. 2011-03-02 17:42:56 +00:00
Tim Hunt
42663bb78e MDL-20636 Fix a bunch of missing strings caused by separating question from quiz. 2011-03-02 17:42:53 +00:00
Tim Hunt
f3ca24e418 MDL-20636 Update quiz and questions backup and restore.
This does not include user data yet, and it needs more testing.
2011-03-02 17:42:51 +00:00
Tim Hunt
e2cba246b7 MDL-20636 Merge vle/master into ouqe2
Conflicts:
	mod/quiz/locallib.php
	mod/quiz/report/overview/overview_table.php
	mod/quiz/report/overview/report.php
	mod/quiz/report/responses/report.php
	question/type/random/questiontype.php
2011-03-02 17:34:18 +00:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Eloy Lafuente (stronk7)
847753d497 Merge branch 'w09_MDL-26616_20_resourcelinks' of git://github.com/skodak/moodle 2011-02-28 18:41:03 +01:00
Petr Skoda
70e6628ea3 Merge branch 'MDL-26576' of git://github.com/timhunt/moodle 2011-02-28 10:06:03 +01:00
Petr Skoda
16fd74a3a5 Merge branch 'm20_MDL-26545_userpicfix' of git://github.com/danmarsden/moodle 2011-02-28 09:48:38 +01:00
David Mudrak
29cbe43189 MDL-13481 Strings fullname and shortname are now deprecated
This is a final cleanup commit of fullname and shortname issue. All
places where these strings were detected yet have been replaced with
proper fullnamecourse or fullnameuser or some other context specific
string.

AMOS BEGIN
 CPY [fullname,core],[outcomefullname,core_grades]
 CPY [shortname,core],[outcomeshortname,core_grades]
 CPY [name,core],[rolefullname,core_role]
 CPY [shortname,core],[roleshortname,core_role]
AMOS END
2011-02-28 09:42:50 +01:00
Dan Marsden
629f5021b3 SCORM MDL-26545 - fix user object passed to user_picture renderer 2011-02-28 12:33:29 +13:00
Petr Skoda
3d8f1d3abc MDL-26616 fix broken resource modinfo caused by invalid sortorder upgrade 2011-02-27 22:54:41 +01:00
Tim Hunt
404da23812 MDL-20636 Fix question flag javascript. 2011-02-25 15:36:07 +00:00
Tim Hunt
f39cf78c02 MDL-20636 Only show the full summary of attempt table on the first page of the review. 2011-02-25 12:24:55 +00:00
Tim Hunt
3c6185e979 MDL-20636 Move restart preview button into the quiz nav block & remove unnecessary titles.
Also, remove automatic redirects to the quiz edit page. Show a message and a button instead.
2011-02-25 12:12:09 +00:00
Tim Hunt
22cebed503 MDL-20636 Review and fix the format parameter to all calls to format_text. 2011-02-24 20:18:16 +00:00
Tim Hunt
2daffca554 MDL-20636 Fix 30 TODOs 2011-02-24 17:47:51 +00:00
Tim Hunt
446166a628 MDL-20636 Minor bug-fixes 2011-02-24 12:01:37 +00:00
Tim Hunt
5e8a85aa64 MDL-20636 Massively reduce the number of references to quiz in the question code.
This mostly involves moving lang strings around, but I don't have time to do an AMOS script now.
2011-02-23 18:53:50 +00:00
Tim Hunt
88f0eb1546 MDL-20636 Reveiw all throw statements. 2011-02-23 16:50:09 +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
92c4354ff9 MDL-26576 avoid notices one quizzes with no overall feedback. 2011-02-23 11:42:37 +00:00
Eloy Lafuente (stronk7)
fa188aa0a2 Merge branch 'MDL-26546-workshop-restore' of git://github.com/mudrd8mz/moodle 2011-02-22 23:00:46 +01:00
David Mudrak
1dade8b185 MDL-26546 Workshop: fixed embedded images in Number of errors grading form
Because of this typo, embedded images were not loaded when the
assessment form was re-edited. Thanks Helen Foster for spotting this.
2011-02-22 22:19:16 +01:00
Eloy Lafuente (stronk7)
9da0fc11ac Merge branch 'MDL-26532' of git://github.com/nebgor/moodle 2011-02-22 15:40:30 +01:00
Eloy Lafuente (stronk7)
908053e21d Merge branch 'MDL-25122' of git://github.com/timhunt/moodle 2011-02-22 12:41:28 +01:00
Eloy Lafuente (stronk7)
915a20f5a5 Merge branch 'MDL-26546-workshop-restore' of git://github.com/mudrd8mz/moodle 2011-02-22 12:24:48 +01:00
Eloy Lafuente (stronk7)
0797530336 Merge branch 'MDL-26416' of git://github.com/timhunt/moodle 2011-02-22 12:18:52 +01:00