22 Commits

Author SHA1 Message Date
Danny Wahl
9a8caba238 MDL-36991: Conditional activity restrictions should be displayed as list 2012-12-10 11:36:17 +00:00
Sam Hemelryk
21a4e24cab MDL-34285 condition: Added is not empty option for user profile conditions and moved strings.
As part of this change I added a new condition for user fields: is not equal.
I also copied the strings being used from the filters lang file to the condition
lang file and changed the uses in code.

AMOS BEGIN
  CPY [contains,filters],[contains,condition]
  CPY [doesnotcontain,filters],[doesnotcontain,condition]
  CPY [isequalto,filters],[isequalto,condition]
  CPY [startswith,filters],[startswith,condition]
  CPY [endswith,filters],[endswith,condition]
  CPY [isempty,filters],[isempty,condition]
AMOS END
2012-07-19 19:27:00 +12:00
Sam Hemelryk
141d3c86d3 MDL-29538 condition: Tidied up user field condition code post merge 2012-07-09 11:45:44 +12:00
Mark Nelson
a6b538a862 MDL-29538 core_condition: validate whether a field has been declared before for that activity 2012-06-26 15:18:52 +08:00
Mark Nelson
cb4492c200 MDL-29538 core_condition: changed the logic in the code so that it works with the new database structure as well as tidying up parts of the code 2012-06-26 15:18:52 +08:00
Mark Nelson
76af15bb4c MDL-29538 core_condition: initial commit to add support for making things conditional on user profile fields 2012-06-26 15:18:51 +08:00
sam marshall
ce4dfd2703 MDL-24419 (4): Add conditional availability support to sections; section cache
Credit: original version done by Kirill Astashov of NetSpot (netspot.com.au),
finished and tweaked by sam.

This change adds conditional availability support for sections analagous to
that already available for activities. (Backend, UI, backup/restore.)

In order that this feature does not reduce performance, section cacheing has
also been added using a new course 'sectioncache' field analagous to modinfo.

The new feature integrates with activity availability so that activities
inside sections which are not available are automatically not available
themselves (meaning it works to restrict access).
2012-05-14 11:19:25 +01:00
Dan Poltawski
d3272039b2 MDL-28176 lang - rephrase conditional access description 2012-04-17 13:37:06 +08:00
Tim Hunt
af4e440888 MDL-30559 conditional availability: missing validation of grade rules. 2011-12-09 18:38:02 +00:00
sam marshall
6282381d05 MDL-27242 Conditional availability dates should support time as well as day
Change also adds minor feature to date-time selector so you can specify the time it uses as default when the value is 0 (disabled).

Credit: This feature was developed collaboratively by Charles Fulton, Neill Magill, and me.
2011-10-13 10:23:23 +01:00
Sam Marshall
3371ff92da Conditional activities MDL-24180 Change wording of 'accessible' dates to 'access', make a bit more consistent 2010-11-26 13:52:16 +00:00
Helen Foster
2168d332de MDL-24180 new help string 2010-09-28 09:46:11 +00:00
Andrew Davis
2248b994ae activities MDL-24180 realtered available to/from strings in activities and conditional completion to try and make the unclear clear 2010-09-21 03:34:36 +00:00
Andrew Davis
3b2b084554 activities MDL-24180 altered strings to help users understand the difference between the conditional activity available to/from dates and the individual activity available to/from dates 2010-09-17 01:37:29 +00:00
Helen Foster
d3c18e39ab MDL-21695 help string rewording 2010-05-05 11:51:43 +00:00
David Mudrak
13c76792a2 MDL-21695 Removing some help strings as suggested by Helen 2010-05-04 23:33:45 +00:00
Helen Foster
a2b7cd643e MDL-21695 rewording help strings thanks to OU sam 2010-05-04 13:43:19 +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
59f19480a8 MDL-21695 Missing string producing debugging message, to be shortened probably 2010-04-30 01:01:35 +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