Commit Graph

41 Commits

Author SHA1 Message Date
Aaron Barnes 43ed7bfd0f MDL-40097 completion: Make restoring grade criteria more robust 2015-01-05 10:38:01 +08:00
Helen Foster 28c9a1993d MDL-47031 Merge English strings from the en_fix language pack 2014-09-03 10:59:31 +02:00
Tim Hunt 8d3debf360 MDL-41248 completion: fix non-translatable text.
There were two hard-coded strings. Thanks to Guido Hornig for the suggested fix.
2014-02-28 08:10:54 +01:00
Helen Foster 480fca77b3 MDL-43590 Merge English strings from the en_fix language pack 2014-01-09 01:06:01 +01:00
Eric Merrill 4ed604996f MDL-41845 Activity Completion: Make default selection an option.
Makes an option to either default to the activity default, or default
to COMPLETION_TRACKING_NONE. This leaves open the possibility of
allowing activities to pick an actual default, instead of just on/off.
2013-09-25 11:41:07 +10:00
Helen Foster 86698a4c72 MDL-41568 Merge English strings from the en_fix language pack 2013-09-03 12:31:35 +02:00
Rajesh Taneja 135dde74ed MDL-40042 Completion: added course_completion_updated event to remove related add_to_log 2013-08-16 09:34:23 +08:00
Rajesh Taneja 06f8ea7bf4 MDL-39955 completion: Added course_completed event 2013-08-13 09:43:38 +08:00
Rajesh Taneja 137d94f335 MDL-39955 completion: Added course_module_completion_updated event
Conflicts:

	lib/tests/completionlib_advanced_test.php
2013-08-09 17:04:34 +08:00
David Mudrák 6e5a473c47 MDL-38559 Reorganise course completion settings form
This is a result of a pretty intensive effort to make the form less
sucky, given the completion strings mess around. It partially solves
MDL-39419 too as it clarifies the course completion link in the course
administration block.

I must admit and record here that I'm pretty desperate by the current
state of the core_completion and how strings from it are inconsistently
used at various places with different meanings. For example the 'Completion
tracking' may mean the mode of how activities are tracked within the
course as well as the overall feature of course and activities tracking.
While a same phrase can be used in English for both this meanings, not
all languages have such luck and translating it is a pain in the ass.

Finally, let me give the credit for wording and UI design suggestions to
Helen Foster and all others who helped with this. This has been one of
the most ugliest forms in Moodle and we believe we made it better
(although we know it's far from perfect).
2013-05-09 23:14:57 +02:00
David Mudrák b3b13e9941 MDL-38559 Clean-up the course completion settings code
This patch does not alter the code, only some syntax fixes and
coding guidelines rules are applied. Strings are re-ordered
alphabetically with no change of their wording. PHP doc blocks
reconstructed using the Git log records.
2013-05-09 08:47:34 +02:00
Frederic Massart 169a974df7 MDL-38415 course: Heavy redesign of the course settings form 2013-04-23 10:12:23 +08:00
Frederic Massart 8819a83601 MDL-26644 course: Remove useless setting completionstartonenrol
This commit removes any trace of the setting 'Completion tracking
begins on enrolment' as it does not appear to do anything.
2013-03-25 08:28:01 +08:00
Helen Foster ca084ef149 MDL-38352 Merge English strings from the en_fix language pack 2013-03-06 16:44:39 +01:00
Aaron Barnes 10a8581f2b MDL-37473 completion: Add missing cap checks to tracked users functions
Namely get_num_tracked_users and is_tracked_user()
2013-01-25 17:08:44 +13:00
sam marshall 5ae17b09a8 MDL-31957 Course reset: Does not erase activity completion data 2012-08-17 10:35:44 +01:00
Aaron Barnes eb8f89a976 MDL-22259 completion: Rename "Course Prerequisites" to "Completion Dependencies" 2012-07-12 15:55:34 +12:00
Aaron Barnes 08f19f4848 MDL-32249 completion: Make grade criteria more consistent
Also, round course grades and remove hardcoded string.

Note: This patch also removes the ability to update the course grade
from the completion interface
2012-06-26 13:53:01 +12:00
Sam Hemelryk 0e5533b607 MDL-32769 completion: Fixed up display of completion information 2012-06-22 10:42:56 +12:00
sam marshall cfa722c9c1 MDL-32535 Completion lang string incorrect use, text 2012-05-14 11:13:54 +01:00
Eloy Lafuente (stronk7) 291e168894 Revert "MDL-32249 completion: Round course grades and remove hardcoded string"
This reverts commit 412cecc32b.
2012-04-27 12:03:26 +02:00
Eloy Lafuente (stronk7) c833026b24 Merge branch 'MDL-32249' of github.com:srynot4sale/moodle 2012-04-24 12:56:30 +02:00
Aaron Barnes 412cecc32b MDL-32249 completion: Round course grades and remove hardcoded string 2012-04-23 12:18:44 +12:00
Tim Hunt e66c9c077b MDL-32519 completio: Fix spelling of Enrolled. 2012-04-20 09:47:43 +01:00
Rajesh Taneja 9e4baaf96f MDL-30817 activity_completion: Fixed title and alt string (on checkbox) to have module name prefixed 2012-03-12 10:16:31 +08:00
Aaron Barnes 0e5e1daaee MDL-26190 completion blocks: Completion blocks shouldn't ever be blank 2011-05-04 12:55:26 +12:00
sam marshall 1c6ed50500 completion MDL-25929 Remove progresstrackedroles option 2011-01-10 15:20:24 +00:00
Helen Foster e5a0920419 MDL-21250 capital letters removal 2010-12-08 14:34:03 +00:00
Sam Marshall cfc3392582 MDL-24714: Completion report names inconsistent 2010-10-18 10:15:37 +00:00
Andrew Davis 7cd7627c87 completion MDL-24119 new string that was previously in the code 2010-10-14 08:52:43 +00:00
Aaron Barnes 6d35a09b0b completion MDL-24512 Fix hard coded string "More details" 2010-10-12 02:02:11 +00:00
Sam Hemelryk 224020ac1a course-completion MDL-24145 Course reset now has option for course completion data 2010-09-16 04:14:46 +00:00
Helen Foster 3799dcb927 MDL-21695 rewording help strings 2010-05-06 15:28:01 +00:00
Helen Foster de5c579e9e MDL-21695 adding help link string 2010-05-05 11:42:16 +00:00
David Mudrak af455aa011 MDL-21695 Completion on grade help string + placeholder fix
AMOS BEGIN
 HLP completion/completionusegrade.html,[completionusegrade_help,core_completion]
AMOS END
2010-05-05 00:10:26 +00:00
David Mudrak c8dcb793c4 MDL-21695 Yet some completion help strings fix
AMOS BEGIN
 HLP completion/completionicons.html,[completionicons_help,core_completion]
AMOS END
2010-05-05 00:03:13 +00:00
Helen Foster 9af79f0e25 MDL-21695 adding help strings 2010-05-04 15:14:47 +00:00
David Mudrak ddd9f9266b MDL-21695 Help strings for the activity module common settings
AMOS BEGIN
 HLP cmidnumber.html,[idnumbermod_help,core]
 HLP completion/completionexpected.html,[completionexpected_help,core_completion]
 HLP completion/completionlocked.html,[completionlocked_help,core_completion]
 HLP condition/completioncondition.html,[completioncondition_help,core_condition]
 HLP condition/conditiondates.html,[availablefrom_help,core_condition]
 HLP condition/conditiondates.html,[availableuntil_help,core_condition]
 HLP condition/showavailability.html,[showavailability_help,core_condition]
 HLP grouping.html,[grouping_help,core_group]
 HLP groupmembersonly.html,[groupmembersonly_help,core_group]
 HLP groupmode.html,[groupmode_help,core_group]
AMOS END
2010-05-03 20:43:55 +00:00
Martin Dougiamas 2be4d090c0 course completion MDL-2631 Course completion feature - Thanks to Aaron Barnes and Catalyst IT for this significant contribution. It is now officially possible to finish a course!
Even though I've tweaked this and done some polishing, there is still plenty to do on it now in HEAD, mostly to do with UI, usability and strings, so we'll keep working on it.  Aaron already has a number of improvements to add to it.
2010-04-30 03:06:22 +00:00
David Mudrak 30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda 3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00