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 committed 51 files to 'Moodle CVS' - 28/Jul/08 08:31 PM
MDL-15498: Completion system
ADD lang/en_utf8/help/completion/completionexpected.html   Rev. 1.1    (+0 -0 lines)
MODIFY lib/grade/grade_object.php   Rev. 1.46    (+16 -1 lines)
ADD course/report/progress/mod.php   Rev. 1.1    (+0 -0 lines)
ADD lib/simpletest/testcompletionlib.php   Rev. 1.1    (+0 -0 lines)
MODIFY lib/db/install.xml   Rev. 1.156    (+45 -10 lines)
MODIFY mod/quiz/lib.php   Rev. 1.308    (+14 -2 lines)
MODIFY mod/forum/version.php   Rev. 1.75    (+2 -2 lines)
MODIFY pix/i/completion-auto-enabled.gif   Rev. 1.1    (+0 -0 lines)
ADD lang/en_utf8/help/completion/completionlocked.html   Rev. 1.1    (+0 -0 lines)
MODIFY lib/moodlelib.php   Rev. 1.1075    (+57 -15 lines)
MODIFY pix/i/completion-manual-enabled.gif   Rev. 1.1    (+0 -0 lines)
MODIFY mod/forum/view.php   Rev. 1.125    (+3 -1 lines)
MODIFY course/edit_form.php   Rev. 1.49    (+13 -1 lines)
ADD lang/en_utf8/help/forum/completion.html   Rev. 1.1    (+0 -0 lines)
MODIFY course/modedit.php   Rev. 1.56    (+30 -1 lines)
ADD course/report/progress/textrotate.js   Rev. 1.1    (+0 -0 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.593    (+62 -9 lines)
MODIFY lib/db/access.php   Rev. 1.86    (+14 -1 lines)
ADD lang/en_utf8/completion.php   Rev. 1.1    (+0 -0 lines)
MODIFY backup/backuplib.php   Rev. 1.216    (+36 -5 lines)
ADD course/togglecompletion.php   Rev. 1.1    (+0 -0 lines)
MODIFY pix/i/completion-manual-y.gif   Rev. 1.1    (+0 -0 lines)
ADD lang/en_utf8/help/completion/completionusegrade.html   Rev. 1.1    (+0 -0 lines)
MODIFY mod/forum/post.php   Rev. 1.170    (+20 -5 lines)
MODIFY lang/en_utf8/forum.php   Rev. 1.40    (+12 -3 lines)
MODIFY pix/i/completion-auto-n.gif   Rev. 1.1    (+0 -0 lines)
MODIFY mod/forum/db/install.xml   Rev. 1.7    (+4 -1 lines)
ADD course/report/progress/index.php   Rev. 1.1    (+0 -0 lines)
MODIFY pix/i/completion-auto-y.gif   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/completion.html   Rev. 1.1    (+0 -0 lines)
MODIFY mod/quiz/view.php   Rev. 1.144    (+7 -1 lines)
MODIFY course/view.php   Rev. 1.114    (+10 -1 lines)
MODIFY course/moodleform_mod.php   Rev. 1.33    (+167 -2 lines)
MODIFY mod/forum/lib.php   Rev. 1.692    (+121 -16 lines)
ADD lib/completionlib.php   Rev. 1.1    (+0 -0 lines)
MODIFY backup/restorelib.php   Rev. 1.346    (+110 -13 lines)
MODIFY course/lib.php   Rev. 1.610    (+85 -3 lines)
MODIFY pix/i/completion-auto-pass.gif   Rev. 1.1    (+0 -0 lines)
MODIFY mod/forum/mod_form.php   Rev. 1.31    (+74 -1 lines)
MODIFY version.php   Rev. 1.738    (+1 -1 lines)
MODIFY mod/forum/db/upgrade.php   Rev. 1.18    (+33 -2 lines)
MODIFY lib/grade/grade_grade.php   Rev. 1.44    (+55 -1 lines)
ADD lib/simpletest/completion.manualtest.txt   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/completionview.html   Rev. 1.1    (+0 -0 lines)
MODIFY pix/i/completion-auto-fail.gif   Rev. 1.1    (+0 -0 lines)
ADD course/completion.js   Rev. 1.1    (+0 -0 lines)
MODIFY admin/settings/Attic/misc.php   Rev. 1.20    (+6 -1 lines)
MODIFY lib/adminlib.php   Rev. 1.228    (+66 -69 lines)
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 mod/forum/mod_form.php   Rev. 1.32    (+2 -2 lines)
MODIFY lib/completionlib.php   Rev. 1.2    (+10 -8 lines)
MODIFY mod/quiz/lib.php   Rev. 1.309    (+2 -2 lines)
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/forum/lib.php   Rev. 1.693    (+4 -4 lines)
MODIFY lib/moodlelib.php   Rev. 1.1076    (+18 -13 lines)
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)
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 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/resource.php   Rev. 1.32    (+2 -1 lines)
MODIFY ja_utf8/forum.php   Rev. 1.71    (+10 -1 lines)
MODIFY ja_utf8/README   Rev. 1.770    (+1 -1 lines)
ADD ja_utf8/repository.php   Rev. 1.1    (+0 -0 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 lib/completionlib.php   Rev. 1.3    (+2 -2 lines)
MODIFY course/report/progress/index.php   Rev. 1.4    (+18 -0 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/resource/lib.php   Rev. 1.91    (+12 -1 lines)
MODIFY mod/data/lib.php   Rev. 1.183    (+12 -1 lines)
MODIFY mod/glossary/view.php   Rev. 1.139    (+4 -2 lines)
MODIFY mod/data/view.php   Rev. 1.98    (+5 -1 lines)
MODIFY mod/choice/view.php   Rev. 1.113    (+4 -2 lines)
MODIFY mod/assignment/view.php   Rev. 1.46    (+5 -2 lines)
MODIFY mod/lesson/view.php   Rev. 1.140    (+5 -2 lines)
MODIFY mod/lesson/lib.php   Rev. 1.53    (+14 -2 lines)
MODIFY mod/resource/view.php   Rev. 1.65    (+6 -2 lines)
MODIFY mod/glossary/lib.php   Rev. 1.215    (+13 -1 lines)
MODIFY mod/choice/lib.php   Rev. 1.90    (+11 -1 lines)
MODIFY mod/assignment/lib.php   Rev. 1.338    (+12 -2 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.
MODIFY ja_utf8/README   Rev. 1.772    (+1 -1 lines)
MODIFY ja_utf8/quiz_statistics.php   Rev. 1.14    (+11 -1 lines)
MODIFY ja_utf8/portfolio.php   Rev. 1.4    (+5 -1 lines)
ADD ja_utf8/help/completion/completionview.html   Rev. 1.1    (+0 -0 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.
MODIFY ja_utf8/README   Rev. 1.774    (+1 -1 lines)
ADD ja_utf8/help/completion/completionexpected.html   Rev. 1.1    (+0 -0 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/glossary.php   Rev. 1.42    (+2 -1 lines)
MODIFY ja_utf8/README   Rev. 1.777    (+1 -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 course/completion.js   Rev. 1.2    (+16 -4 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.594    (+3 -1 lines)
MODIFY course/togglecompletion.php   Rev. 1.2    (+4 -1 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 course/lib.php   Rev. 1.613    (+14 -4 lines)
ADD lang/en_utf8/help/completion/completionicons.html   Rev. 1.1    (+0 -0 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.597    (+7 -3 lines)
MODIFY lang/en_utf8/completion.php   Rev. 1.3    (+1 -0 lines)
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/moodle.php   Rev. 1.309    (+6 -5 lines)
MODIFY ja_utf8/completion.php   Rev. 1.4    (+2 -1 lines)
MODIFY ja_utf8/admin.php   Rev. 1.294    (+1 -1 lines)
MODIFY ja_utf8/help/quiz/questionsperpage.html   Rev. 1.8    (+1 -1 lines)
MODIFY ja_utf8/README   Rev. 1.794    (+1 -1 lines)
MODIFY ja_utf8/quiz.php   Rev. 1.157    (+24 -19 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)
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.
MODIFY ja_utf8/README   Rev. 1.929    (+1 -1 lines)
ADD ja_utf8/help/completion/completionicons.html   Rev. 1.1    (+0 -0 lines)