Issue Details (XML | Word | Printable)

Key: MDL-15498
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Sam Marshall
Reporter: Sam Marshall
Votes: 0
Watchers: 6
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-15497

Completion tracking system

Created: 01/Jul/08 11:30 PM   Updated: 31/Jan/09 01:57 AM
Return to search
Component/s: Course, Lib
Affects Version/s: 2.0
Fix Version/s: 2.0

File Attachments: 1. Text File completion.patch (191 kB)
2. Text File completion.patch (168 kB)


Participants: Eloy Lafuente (stronk7), Iver Johnson, Martin Dougiamas, Petr Skoda, Sam Marshall and Tarek DJOUAD
Security Level: None
Resolved date: 22/Aug/08
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
The first part of the conditional activities system is completion tracking.

This has three parts:

1) Letting users to manually indicate that they have completed an activity.

2) Letting activities automatically indicate that a user has completed them (e.g. when a grade is assigned).

3) Providing a way for teachers to view the progress (either kind) of their students.

So this system is a complete feature in its own right. We will also be using the completion information to trigger conditional availability of activities, later.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Sam Marshall made changes - 01/Jul/08 11:33 PM
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]
Sam Marshall added a comment - 07/Jul/08 09:27 PM
Here is my patch that implements the completion system.

This does not include support for more module types. I intend to add support for the 'view' completion condition to most modules. That will be done after the patch is checked in. Similarly, I think there are some missing help files, I will add these.

The patch does not include binaries; there are some new icons (as described in the design) which I will check in. At present the icons are produced by me, I hope to replace them with graphic-designed ones if appropriate.

As requested I have added unit testing and modified the system so that it is object-oriented (sort of) and therefore easier to test. I have also added a manual test procedure (.txt file) that can be carried out by QA staff.

The unit test completes successfully. At present, the manual test procedure cannot be completed because there is a bug in quiz that prevents you submitting a quiz. If you skip the quiz-related parts, it works.

I realise this patch is very long (168KB) - precisely for that reason I'd like to check it in asap (perhaps even if there are minor problems) as keeping it merged may be a challenge.


Sam Marshall made changes - 07/Jul/08 09:27 PM
Attachment completion.patch [ 14460 ]
Martin Dougiamas added a comment - 09/Jul/08 05:36 PM
Thanks so much! Will review soon (right after the freeze)!

Martin Dougiamas made changes - 09/Jul/08 05:36 PM
Fix Version/s 2.0 [ 10122 ]
Sam Marshall added a comment - 11/Jul/08 11:59 PM
Great - thanks. I can't start work on the second part (controlling activity availability) until this one is in, so the sooner the better, and good luck with the freeze.

[I'm not twiddling my thumbs, there's plenty of local stuff to do - just that if I don't do the availability bit soonish, I'll have to mess about / argue a bit to get it scheduled later.]


Sam Marshall added a comment - 17/Jul/08 10:02 PM
Any chance of progress on this now that 1.9.2 is out? I'm concerned about the speed of other changes which may cause merge problems if I don't get this code in soon.

Petr Skoda added a comment - 17/Jul/08 11:11 PM
I am not able to start another task during the next 14 days, sorry

Sam Marshall added a comment - 17/Jul/08 11:27 PM
OK. Perhaps somebody else could review it?

If nobody is available say to get it reviewed within say a week from now at most, then I would suggest that I get Tim to review the code and, after that, check it in - we can still make changes and undo things once it is in CVS.


Eloy Lafuente (stronk7) added a comment - 25/Jul/08 04:47 PM
Hi Sam,

I just did a quick-quick review... to see how it's looking. Some things:

1) Have seen some INT(9) in the patch. Shouldn't them be INT(10) ?
2) stupid.php (I hope it wasn't a easter egg for reviewers!) :-D
3) I suppose that all the .js in the patch is optional, correct?
4) Those exceptions in forum/lib.php forum_get_completion_state() and so on.... I think we need final decision. I'd continue using print_error() for now, until decided.
5) Didn't we talked about to do completion conditions pluggable? Sure I'm wrong and I dreamed it, but.
6) In backup & restore... are completiongradeitemnumbers recoded and so? I didn't find it.
7) I like it (tests/freeze/plugin_supports...).

my +1 for this (one more vote would be perfect). Great code! B-)


Sam Marshall added a comment - 25/Jul/08 05:40 PM
Thanks Eloy!

1) I normally use INT(9) for small numbers that I am expecting to be <100 as it saves space etc (on 32-bit systems anyway). Is that bad? I can make them INT(10) if you like. All the Moodle IDs are or should be INT(10).

2) oops

3) correct - the JS is used mainly for students to tick checkboxes, if you don't have JS then this works also (goes to another http, redirects back).

4) OK, those exceptions were temporary anyway (don't use proper moodle exception class, because it doesn't/didn't exist). What I'll do is change all the exceptions to call a temporary, deprecated completion_throw_exception function that actually just calls print_error for now. Then we can search/replace the calls to that function with real throw whateverexception once exceptions are agreed.

5) We did but I thought it made the API too complicated and wasn't helpful for module implementors mainly because it wasn't really going to be possible to do it independent of other module code. I think Martin was ok with that (he was reading those emails).

6) Gradeitemnumbers don't need recoding because it's an index number that begins with 0 (in fact it is basically always 0) and not an id.

7) yay

I really, really to commit this stuff on Monday at latest as I am running out ot time allocated to this project. So if somebody can give that other +1 (even if it's just based on eloy's...)


Eloy Lafuente (stronk7) added a comment - 28/Jul/08 06:12 AM
1) Ah, for numbers up to 100 all you need is INT(3) then (if to save space is the objective, the number is the number of digits in xmldb slang).

2-3-4-6-7)

5) sniff, sniff (np, anyway).

Here it's one more vote from Step Pilgrim: +1 :-D

Ciao


Sam Marshall added a comment - 28/Jul/08 08:08 PM
I have now committed this revised patch (attached) to Moodle HEAD, plus the required icon files which aren't in the patch on account of being binary.

Not going to resolve the bug quite yet as I want to add completion support (at least 'view') to some other Moodle modules.


Sam Marshall made changes - 28/Jul/08 08:08 PM
Attachment completion.patch [ 14690 ]
sam_marshall committed 51 files to 'Moodle CVS' - 28/Jul/08 08:31 PM
MDL-15498: Completion system
MODIFY backup/restorelib.php   Rev. 1.346    (+110 -13 lines)
MODIFY course/view.php   Rev. 1.114    (+10 -1 lines)
MODIFY mod/forum/view.php   Rev. 1.125    (+3 -1 lines)
ADD lang/en_utf8/completion.php   Rev. 1.1    (+0 -0 lines)
MODIFY lib/moodlelib.php   Rev. 1.1075    (+57 -15 lines)
MODIFY pix/i/completion-auto-y.gif   Rev. 1.1    (+0 -0 lines)
MODIFY lib/adminlib.php   Rev. 1.228    (+66 -69 lines)
ADD lang/en_utf8/help/completion/completionlocked.html   Rev. 1.1    (+0 -0 lines)
MODIFY pix/i/completion-manual-n.gif   Rev. 1.1    (+0 -0 lines)
ADD lang/en_utf8/help/completion/completionview.html   Rev. 1.1    (+0 -0 lines)
MODIFY lang/en_utf8/forum.php   Rev. 1.40    (+12 -3 lines)
MODIFY course/modedit.php   Rev. 1.56    (+30 -1 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.593    (+62 -9 lines)
MODIFY pix/i/completion-manual-y.gif   Rev. 1.1    (+0 -0 lines)
MODIFY mod/forum/db/upgrade.php   Rev. 1.18    (+33 -2 lines)
MODIFY mod/forum/version.php   Rev. 1.75    (+2 -2 lines)
MODIFY backup/backuplib.php   Rev. 1.216    (+36 -5 lines)
ADD course/togglecompletion.php   Rev. 1.1    (+0 -0 lines)
MODIFY admin/settings/Attic/misc.php   Rev. 1.20    (+6 -1 lines)
MODIFY lib/grade/grade_grade.php   Rev. 1.44    (+55 -1 lines)
ADD course/completion.js   Rev. 1.1    (+0 -0 lines)
MODIFY lib/db/access.php   Rev. 1.86    (+14 -1 lines)
MODIFY lib/db/install.xml   Rev. 1.156    (+45 -10 lines)
ADD course/report/progress/textrotate.js   Rev. 1.1    (+0 -0 lines)
ADD lib/simpletest/testcompletionlib.php   Rev. 1.1    (+0 -0 lines)
MODIFY pix/i/completion-auto-n.gif   Rev. 1.1    (+0 -0 lines)
MODIFY pix/i/completion-auto-pass.gif   Rev. 1.1    (+0 -0 lines)
MODIFY course/lib.php   Rev. 1.610    (+85 -3 lines)
MODIFY pix/i/completion-manual-enabled.gif   Rev. 1.1    (+0 -0 lines)
MODIFY mod/forum/post.php   Rev. 1.170    (+20 -5 lines)
MODIFY version.php   Rev. 1.738    (+1 -1 lines)
MODIFY mod/forum/lib.php   Rev. 1.692    (+121 -16 lines)
MODIFY mod/quiz/view.php   Rev. 1.144    (+7 -1 lines)
MODIFY course/edit_form.php   Rev. 1.49    (+13 -1 lines)
ADD course/report/progress/index.php   Rev. 1.1    (+0 -0 lines)
ADD lang/en_utf8/help/completion/completionexpected.html   Rev. 1.1    (+0 -0 lines)
ADD course/report/progress/mod.php   Rev. 1.1    (+0 -0 lines)
MODIFY lib/grade/grade_object.php   Rev. 1.46    (+16 -1 lines)
ADD lib/completionlib.php   Rev. 1.1    (+0 -0 lines)
ADD lang/en_utf8/help/completion/completionusegrade.html   Rev. 1.1    (+0 -0 lines)
MODIFY course/report.php   Rev. 1.9    (+3 -2 lines)
MODIFY lib/db/upgrade.php   Rev. 1.215    (+78 -2 lines)
ADD lang/en_utf8/help/completion/completion.html   Rev. 1.1    (+0 -0 lines)
ADD lib/simpletest/completion.manualtest.txt   Rev. 1.1    (+0 -0 lines)
MODIFY mod/forum/db/install.xml   Rev. 1.7    (+4 -1 lines)
MODIFY pix/i/completion-auto-fail.gif   Rev. 1.1    (+0 -0 lines)
MODIFY course/moodleform_mod.php   Rev. 1.33    (+167 -2 lines)
MODIFY mod/forum/mod_form.php   Rev. 1.31    (+74 -1 lines)
MODIFY mod/quiz/lib.php   Rev. 1.308    (+14 -2 lines)
MODIFY pix/i/completion-auto-enabled.gif   Rev. 1.1    (+0 -0 lines)
ADD lang/en_utf8/help/forum/completion.html   Rev. 1.1    (+0 -0 lines)
Petr Skoda added a comment - 28/Jul/08 11:12 PM
1/ grade_grade::notify_changed()
the global $restore is a hack, what is we have some other $restore global elsewhere?

2/ grade_grade::notify_changed()
if(!empty($COURSE)) { $course=$COURSE; } else { $this->load_grade_item(); $course=get_record('course','id',$grade_item->courseid); }

this is incorrect, you have to test for $COURSE->id == $grade_item->courseid, not empty($COURSE); $COURSE always exists, you might get another course

3/ {$CFG->prefix}modules is not used anymore - use {moduels} instead

4/ grade_grade::notify_changed()
$cm=$DB->get_record_sql(", would get_coursemodule_from_instance() do the same?

5/ grade_grade::notify_changed()
$course=get_record('course','id',$grade_item->courseid);
grrrrrrrrr

6/ contructors should use __contruct() - not my idea


Petr Skoda added a comment - 28/Jul/08 11:12 PM
btw, does it work with "login as" and "switch role"?

Petr Skoda added a comment - 28/Jul/08 11:20 PM
7/ mod/forum/mod_form.php
function get_data($slashed=true) {
magic quotes related code and params were already removed

Petr Skoda added a comment - 28/Jul/08 11:22 PM
8/ forum_supports($feature)

maybe we could return null is module does not know and false if 100% not supported, it might come handy later I think


sam_marshall committed 7 files to 'Moodle CVS' - 28/Jul/08 11:58 PM
MDL-15498: Fixes to problems Petr identified with completion system checkin
MODIFY lib/simpletest/testcompletionlib.php   Rev. 1.2    (+15 -15 lines)
MODIFY lib/grade/grade_grade.php   Rev. 1.45    (+24 -21 lines)
MODIFY mod/quiz/lib.php   Rev. 1.309    (+2 -2 lines)
MODIFY lib/completionlib.php   Rev. 1.2    (+10 -8 lines)
MODIFY mod/forum/lib.php   Rev. 1.693    (+4 -4 lines)
MODIFY lib/moodlelib.php   Rev. 1.1076    (+18 -13 lines)
MODIFY mod/forum/mod_form.php   Rev. 1.32    (+2 -2 lines)
Sam Marshall added a comment - 29/Jul/08 12:00 AM
1/ agreed to leave with TODO as we don't have a better solution yet

2/ Fixed (also $grade_item was wrong, should have been $this->grade_item)

3/ Fixed here and in other parts of my checkin.

4/ Yes. Fixed.

5/ Ooops. Why didn't that show a warning or something? I have debugging on and my test procedure includes this code... maybe it redirected too quick to see...?... anyway, fixed.

6/ Oh? OK, fixed.

switch role: yes but not relevant (the completion icons do not depend on role, all roles see them)

login as: didn't work, but does now (I just made it clear the cache when it 'reads' data if userid has changed)

7/ Fixed (sorry did not notice this in port to 2.0)

8/ Agreed, could be useful if we need any 'default-true' behaviour or something. changed in forum/quiz/moodlelib function/phpdoc

also I moved constants to top of moodlelib, that was just an oversight.


Petr Skoda added a comment - 29/Jul/08 12:03 AM
thanks!

sam_marshall committed 1 file to 'Moodle CVS' - 29/Jul/08 12:08 AM
MDL-15498: Completion fix: hide completion icons for guest/not logged in
MODIFY course/lib.php   Rev. 1.611    (+2 -2 lines)
Petr Skoda added a comment - 29/Jul/08 12:11 AM
9/ some view.php
+ print '<script type="text/javascript" src="completion.js"></script>'.
+ '<script type="text/javascript">completion_strsaved="'.get_string('saved','completion').'"</script>';
+ }

does this validate?


Petr Skoda added a comment - 29/Jul/08 12:16 AM
10/ oops, this is not intentional, right?
header('Content-Type: text/csv; charset=ISO-8859-1');
from progress report

Petr Skoda added a comment - 29/Jul/08 12:18 AM
11/ progress report does not obey ajax enable switch

Sam Marshall added a comment - 29/Jul/08 12:21 AM
9/ that's in course/view.php and yes it validates.

10/ yes it is intentional (note csv_quote function that uses textlib to convert to ascii). I know this is crap but Excel did not at all like csv files in utf-8 and excel is what most people will open them in...

11/ there is no ajax in progress report?


Petr Skoda added a comment - 29/Jul/08 12:35 AM
12/
/moodle/mod/forum/db/upgrade.php

old xmldb syntax


sam_marshall committed 2 files to 'Moodle CVS' - 29/Jul/08 01:11 AM
MDL-15498: Completion fix: provided full UTF-8 support and Excel support for progress CSV output
MODIFY course/report/progress/index.php   Rev. 1.2    (+29 -11 lines)
MODIFY lang/en_utf8/completion.php   Rev. 1.2    (+2 -1 lines)
sam_marshall committed 1 file to 'Moodle CVS' - 29/Jul/08 01:17 AM
MDL-15498: Completion fix: use of old XMLDBTable, Field in forum upgrade
MODIFY mod/forum/db/upgrade.php   Rev. 1.19    (+8 -8 lines)
sam_marshall committed 1 file to 'Moodle CVS' - 29/Jul/08 01:21 AM
MDL-15498: Completion fix: change to use ajaxenabled in progress report
MODIFY course/report/progress/index.php   Rev. 1.3    (+1 -1 lines)
Sam Marshall added a comment - 29/Jul/08 01:22 AM
10/ I have changed progress report to offer two flavours of csv, proper csv (UTF8-) and Excel CSV (UTF16LE with byte-order mark and tab instead of comma)

11/ Moodle uses ajax to mean 'or any advanced javascript', I didn't know that. I have changed it to use ajaxenabled (it still requires Firefox for svg support, this is done in the ajaxenabled check now). I left in the screenreader check as well because I don't think the SVG text is probably screenreadable.

12/ fixed (I reran that upgrade, seems ok)


sam_marshall committed 1 file to 'Moodle CVS' - 29/Jul/08 01:26 AM
MDL-15498: Completion fix: core upgrade broken
MODIFY lib/db/upgrade.php   Rev. 1.216    (+10 -10 lines)
sam_marshall committed 1 file to 'Moodle CVS' - 29/Jul/08 01:27 AM
MDL-15498: Completion fix: forum upgrade broken
MODIFY mod/forum/db/upgrade.php   Rev. 1.20    (+2 -2 lines)
Mitsuhiro Yoshida committed 5 files to 'Lang CVS' - 29/Jul/08 10:57 AM
MDL-15498 Translated new strings for forum.
MDL-15758 Translated a new string for resource.
MDL-15498 Adding a translated string file for completation.
MDL-13766 Translated new strings for repository.
MODIFY ja_utf8/forum.php   Rev. 1.71    (+10 -1 lines)
ADD ja_utf8/repository.php   Rev. 1.1    (+0 -0 lines)
MODIFY ja_utf8/resource.php   Rev. 1.32    (+2 -1 lines)
MODIFY ja_utf8/README   Rev. 1.770    (+1 -1 lines)
ADD ja_utf8/completion.php   Rev. 1.1    (+0 -0 lines)
sam_marshall committed 2 files to 'Moodle CVS' - 29/Jul/08 06:37 PM
MDL-15498: Completion: added idnumber to progress report table (if enabled)
MODIFY course/report/progress/index.php   Rev. 1.4    (+18 -0 lines)
MODIFY lib/completionlib.php   Rev. 1.3    (+2 -2 lines)
sam_marshall committed 1 file to 'Moodle CVS' - 29/Jul/08 07:26 PM
MDL-15498: Completion: added TODO comment re last commit
MODIFY course/report/progress/index.php   Rev. 1.5    (+3 -0 lines)
sam_marshall committed 1 file to 'Moodle CVS' - 29/Jul/08 08:27 PM
MDL-15498: Completion: fixed bugs with long titles in the fancy text-rotation SVG code
MODIFY course/report/progress/textrotate.js   Rev. 1.2    (+18 -9 lines)
Mitsuhiro Yoshida committed 1 file to 'Lang CVS' - 30/Jul/08 12:35 AM
MDL-15498 adding a translated help file for completation.
ADD ja_utf8/help/completion/completion.html   Rev. 1.1    (+0 -0 lines)
sam_marshall committed 12 files to 'Moodle CVS' - 30/Jul/08 01:22 AM
MDL-15498: Completion: added support for basic completion-on-view and on grade (where applicable) to assignment, choice, data, glossary, lesson, and resource.
MODIFY mod/lesson/lib.php   Rev. 1.53    (+14 -2 lines)
MODIFY mod/glossary/view.php   Rev. 1.139    (+4 -2 lines)
MODIFY mod/data/lib.php   Rev. 1.183    (+12 -1 lines)
MODIFY mod/assignment/lib.php   Rev. 1.338    (+12 -2 lines)
MODIFY mod/choice/lib.php   Rev. 1.90    (+11 -1 lines)
MODIFY mod/lesson/view.php   Rev. 1.140    (+5 -2 lines)
MODIFY mod/assignment/view.php   Rev. 1.46    (+5 -2 lines)
MODIFY mod/glossary/lib.php   Rev. 1.215    (+13 -1 lines)
MODIFY mod/data/view.php   Rev. 1.98    (+5 -1 lines)
MODIFY mod/resource/view.php   Rev. 1.65    (+6 -2 lines)
MODIFY mod/choice/view.php   Rev. 1.113    (+4 -2 lines)
MODIFY mod/resource/lib.php   Rev. 1.91    (+12 -1 lines)
Mitsuhiro Yoshida committed 4 files to 'Lang CVS' - 30/Jul/08 11:12 PM
Translated new strings for portfolio.
MDL-15268 Translated new strings for Quiz Statistics.
MDL-15498 adding a translated help file for completation.
ADD ja_utf8/help/completion/completionview.html   Rev. 1.1    (+0 -0 lines)
MODIFY ja_utf8/quiz_statistics.php   Rev. 1.14    (+11 -1 lines)
MODIFY ja_utf8/README   Rev. 1.772    (+1 -1 lines)
MODIFY ja_utf8/portfolio.php   Rev. 1.4    (+5 -1 lines)
sam_marshall committed 2 files to 'Moodle CVS' - 31/Jul/08 06:57 PM
MDL-15498: Completion: forum was failing to backup completion rules
MODIFY mod/forum/restorelib.php   Rev. 1.70    (+4 -2 lines)
MODIFY mod/forum/backuplib.php   Rev. 1.23    (+5 -2 lines)
sam_marshall committed 1 file to 'Moodle CVS' - 31/Jul/08 10:42 PM
MDL-15498: Completion: resetting state failed when activity set to manual completion (caused error when unlocking settings)
MODIFY lib/completionlib.php   Rev. 1.4    (+7 -1 lines)
Mitsuhiro Yoshida committed 1 file to 'Lang CVS' - 02/Aug/08 02:36 PM
MDL-15498 Adding a translated help file for forum completation.
ADD ja_utf8/help/forum/completion.html   Rev. 1.1    (+0 -0 lines)
Mitsuhiro Yoshida committed 2 files to 'Lang CVS' - 03/Aug/08 06:30 AM
MDL-15498 Adding a translated help file for completation.
ADD ja_utf8/help/completion/completionexpected.html   Rev. 1.1    (+0 -0 lines)
MODIFY ja_utf8/README   Rev. 1.774    (+1 -1 lines)
Mitsuhiro Yoshida committed 1 file to 'Lang CVS' - 03/Aug/08 02:23 PM
MDL-15498 Translated new strings for completation system.
MODIFY ja_utf8/completion.php   Rev. 1.2    (+18 -3 lines)
Mitsuhiro Yoshida committed 3 files to 'Lang CVS' - 06/Aug/08 12:24 AM
MDL-15758 Translated a new string for glossary.
MDL-15498 Adding a translated help file for completation.
ADD ja_utf8/help/completion/completionlocked.html   Rev. 1.1    (+0 -0 lines)
MODIFY ja_utf8/README   Rev. 1.777    (+1 -1 lines)
MODIFY ja_utf8/glossary.php   Rev. 1.42    (+2 -1 lines)
martignoni committed 1 file to 'Lang CVS' - 12/Aug/08 04:07 AM
MDL-15498 completion.php translated
ADD fr_utf8/completion.php   Rev. 1.1    (+0 -0 lines)
martignoni committed 2 files to 'Lang CVS' - 12/Aug/08 04:16 AM
MDL-15498, more strings translated
MODIFY fr_utf8/completion.php   Rev. 1.2    (+7 -7 lines)
MODIFY fr_utf8/forum.php   Rev. 1.51    (+10 -1 lines)
sam_marshall committed 3 files to 'Moodle CVS' - 21/Aug/08 09:54 PM
MDL-15498: Minor tweaks to completion system (fixing bug with formatting if you have a tick against a multi-paragraph label; allowing use of tick icons on other pages than course/view if required)
MODIFY theme/standard/styles_layout.css   Rev. 1.594    (+3 -1 lines)
MODIFY course/togglecompletion.php   Rev. 1.2    (+4 -1 lines)
MODIFY course/completion.js   Rev. 1.2    (+16 -4 lines)
sam_marshall committed 2 files to 'Moodle CVS' - 22/Aug/08 12:03 AM
MDL-15498: Completion system: tweak so that AJAX version correctly updates alt, title of manual completion icons
MODIFY course/completion.js   Rev. 1.3    (+6 -1 lines)
MODIFY course/view.php   Rev. 1.115    (+7 -2 lines)
sam_marshall committed 1 file to 'Moodle CVS' - 22/Aug/08 12:35 AM
MDL-15498: Completion system: progress report had issues with long label names
MODIFY course/report/progress/index.php   Rev. 1.6    (+3 -0 lines)
sam_marshall committed 1 file to 'Moodle CVS' - 22/Aug/08 12:43 AM
MDL-15498: Completion system: progress report had problems with HTML code in activity names causing invalid/broken html output
MODIFY course/report/progress/index.php   Rev. 1.7    (+1 -1 lines)
sam_marshall committed 4 files to 'Moodle CVS' - 22/Aug/08 07:51 PM
MDL-15498: Completion system, added help button to explain the tickboxes
MODIFY lang/en_utf8/completion.php   Rev. 1.3    (+1 -0 lines)
MODIFY course/lib.php   Rev. 1.613    (+14 -4 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.597    (+7 -3 lines)
ADD lang/en_utf8/help/completion/completionicons.html   Rev. 1.1    (+0 -0 lines)
Sam Marshall added a comment - 22/Aug/08 07:55 PM
Over the past few days I have made several tweaks based on bug and usability reports from our testing here (we are about to release our 1.9 version of this code to students). These mostly don't change the way it works; the most significant was to add a help button alongside the first progress icon that appears to students. Quite important otherwise they might not know what the icons are for!

I think this part of the task is finished now (hm maybe the setting should be moved from experimental at some point - but other than that), so resolving fixed, I will use separate bugs if there are other problems with it.


Sam Marshall made changes - 22/Aug/08 07:55 PM
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
sam_marshall committed 1 file to 'Moodle CVS' - 22/Aug/08 11:46 PM
MDL-15498: Completion system, help buttons aren't supposed to show when editing
MODIFY course/lib.php   Rev. 1.614    (+3 -3 lines)
Mitsuhiro Yoshida committed 6 files to 'Lang CVS' - 24/Aug/08 11:23 PM
MDL-6353 Translated new strings for quiz.
MDL-6353 Updated a translated help file for question per page based on lang/en_utf8 change.
MDL-16170 Translated a new string for plugins category.
MDL-16170 Changed a translated string for admin from "Modules" to "Plugins" based on lang/en_utf8 change.
MDL-15498 Translated a new string for completion system,
MODIFY ja_utf8/quiz.php   Rev. 1.157    (+24 -19 lines)
MODIFY ja_utf8/admin.php   Rev. 1.294    (+1 -1 lines)
MODIFY ja_utf8/README   Rev. 1.794    (+1 -1 lines)
MODIFY ja_utf8/completion.php   Rev. 1.4    (+2 -1 lines)
MODIFY ja_utf8/help/quiz/questionsperpage.html   Rev. 1.8    (+1 -1 lines)
MODIFY ja_utf8/moodle.php   Rev. 1.309    (+6 -5 lines)
martignoni committed 1 file to 'Lang CVS' - 27/Aug/08 07:31 PM
MDL-15498, new string
MODIFY fr_utf8/completion.php   Rev. 1.3    (+2 -1 lines)
Tarek DJOUAD added a comment - 30/Sep/08 05:20 PM
Hi,
I am PhD student at the University of Lyon1 (France), and I work with Pr. Alain Mille (http://liris.cnrs.fr/~amille/). In our work, we are interest to use traces issue from learning platforms to study collaborative activities between learners. We use tracking's engineering based on models, and we use Moodle database to collect and modelling traces.

I am very interest about what you do, and I hope to contribute in your work, and also use what you do to ameliorate my works. At the moment I develop a tool which connect to Moodle, collect data, and then analyse learners activities...

my Email is: tarek.djouad@liris.cnrs.fr
....


sam_marshall committed 1 file to 'Moodle CVS' - 24/Oct/08 06:12 PM
MDL-15498 Minor display bug with completion progress report
MODIFY course/report/progress/index.php   Rev. 1.11    (+1 -1 lines)
Mitsuhiro Yoshida committed 2 files to 'Lang CVS' - 29/Jan/09 02:30 AM
MDL-15498 Adding a translated help file for completion system.
ADD ja_utf8/help/completion/completionicons.html   Rev. 1.1    (+0 -0 lines)
MODIFY ja_utf8/README   Rev. 1.929    (+1 -1 lines)
Iver Johnson added a comment - 31/Jan/09 01:45 AM
I see this patch is for 2.0 and it looks like it was created on 1.9? I was wondering if there was any way to have a patch for 1.94+?

Sam Marshall added a comment - 31/Jan/09 01:57 AM
I probably won't be releasing a 1.9 version of this patch. There are many changes for OU-specific areas, and it definitely won't apply to a standard Moodle 1.9. Also there were some inadvisable changes in the 1.9 version of the patch (actually, it's more like the 1.9 is based on an older version of the code) and it may complicate a later upgrade to Moodle 2. In addition to that, I don't think I have a single patch file containing the change. (I have a patch file containing the original change to OU Moodle 1.9, but there were later fixes to 2.0 which were also applied to 1.9, etc.)

Even if there was a working patch it wouldn't be safe to install for anyone who isn't comfortable with developing new Moodle code. And if you are comfortable, it would probably be just as easy to backport it yourself based on the standard-Moodle-2.0 patch included here rather than try to convert the OU-Moodle-1.9 patch.

Should anyone create a working 1.9 patch in that way, do post here. (And I guess if you really really want a copy of my OU Moodle 1.9 patch to work from, despite me telling you it'll be useless, ask.)