moodle.git
14 years agoMDL-9616 - Custom checks in environment.xml
tjhunt [Fri, 27 Apr 2007 17:15:24 +0000 (17:15 +0000)]
MDL-9616 - Custom checks in environment.xml

14 years agoAdded functions to for the SCORM compliance 2004 (Sequencing and Navigation)
csantossaenz [Fri, 27 Apr 2007 12:20:26 +0000 (12:20 +0000)]
Added functions to for the SCORM compliance 2004 (Sequencing and Navigation)

14 years agoRemoved 'edit category' redundant button
jamiesensei [Fri, 27 Apr 2007 11:27:57 +0000 (11:27 +0000)]
Removed 'edit category' redundant button

14 years agoMDL-6368 and MDL-6369 - supplimental - I missed one bit.
tjhunt [Fri, 27 Apr 2007 11:18:08 +0000 (11:18 +0000)]
MDL-6368 and MDL-6369 - supplimental - I missed one bit.

14 years agoInsufficient error checking was causing problems.
tjhunt [Fri, 27 Apr 2007 11:05:57 +0000 (11:05 +0000)]
Insufficient error checking was causing problems.

14 years agoNew capability for configuring question types.
tjhunt [Fri, 27 Apr 2007 10:37:39 +0000 (10:37 +0000)]
New capability for configuring question types.

14 years agoFix syntax error.
tjhunt [Fri, 27 Apr 2007 10:37:21 +0000 (10:37 +0000)]
Fix syntax error.

14 years agoMDL-9608 - Work around Firefox putting the user's password in the quiz password field...
tjhunt [Fri, 27 Apr 2007 08:33:11 +0000 (08:33 +0000)]
MDL-9608 - Work around Firefox putting the user's password in the quiz password field. Merged from MOODLE_18_STABLE.

14 years agoMDL-9506 Added raw and final grade objects, plus more work in unit tests.
nicolasconnault [Fri, 27 Apr 2007 08:12:16 +0000 (08:12 +0000)]
MDL-9506 Added raw and final grade objects, plus more work in unit tests.

14 years agoMDL-9506 Number of important changes, restored unit test stability, on to next changes...
nicolasconnault [Fri, 27 Apr 2007 07:28:41 +0000 (07:28 +0000)]
MDL-9506 Number of important changes, restored unit test stability, on to next changes...

14 years agochanging grades tables
toyomoyo [Fri, 27 Apr 2007 06:41:01 +0000 (06:41 +0000)]
changing grades tables

14 years agoMerged MDL-9606 from stable
moodler [Fri, 27 Apr 2007 06:30:21 +0000 (06:30 +0000)]
Merged MDL-9606 from stable

14 years agoremoved global vars declaration for var not used in method.
jamiesensei [Fri, 27 Apr 2007 05:55:57 +0000 (05:55 +0000)]
removed global vars declaration for var not used in method.

14 years agoforget to pass page parameter during redirects.
jamiesensei [Fri, 27 Apr 2007 05:48:12 +0000 (05:48 +0000)]
forget to pass page parameter during redirects.

14 years agooops. small mistake with copyright notice.
jamiesensei [Fri, 27 Apr 2007 05:36:03 +0000 (05:36 +0000)]
oops. small mistake with copyright notice.

14 years agoMDL-9506 Renamed lib/gradebook to lib/grade (bug MDL-9506)
nicolasconnault [Fri, 27 Apr 2007 04:13:00 +0000 (04:13 +0000)]
MDL-9506 Renamed lib/gradebook to lib/grade (bug MDL-9506)

14 years agoMDL-9506 Added a function that checks an object for the definition of a given variabl...
nicolasconnault [Fri, 27 Apr 2007 03:54:53 +0000 (03:54 +0000)]
MDL-9506 Added a function that checks an object for the definition of a given variable. Similar to in_array().

14 years agoMDL-9506 gradebook classes
nicolasconnault [Fri, 27 Apr 2007 01:17:02 +0000 (01:17 +0000)]
MDL-9506 gradebook classes

14 years agoMerged from MOODLE_18_STABLE: MDL-9585 - mod/data: moved functions and classes out...
mjollnir_ [Thu, 26 Apr 2007 22:04:43 +0000 (22:04 +0000)]
Merged from MOODLE_18_STABLE: MDL-9585 - mod/data: moved functions and classes out of preset.php into lib.php

14 years agoMDL-9574 + MDL-9607 Add Change-own-password and Edit-own-profile capabilities
skodak [Thu, 26 Apr 2007 21:41:08 +0000 (21:41 +0000)]
MDL-9574 + MDL-9607 Add Change-own-password and Edit-own-profile capabilities

14 years agoMDL-9605 - missing string in language pack editing
poltawski [Thu, 26 Apr 2007 19:55:02 +0000 (19:55 +0000)]
MDL-9605 - missing string in language pack editing

14 years agoMerged MDL-9594 from stable
moodler [Thu, 26 Apr 2007 14:54:21 +0000 (14:54 +0000)]
Merged MDL-9594 from stable

14 years agosome events code/testing code
toyomoyo [Thu, 26 Apr 2007 08:50:29 +0000 (08:50 +0000)]
some events code/testing code

14 years agoMerge XHTML fixes for MDL-9589
moodler [Thu, 26 Apr 2007 08:49:21 +0000 (08:49 +0000)]
Merge XHTML fixes for MDL-9589

14 years agoMDL-9506 More work in the unit tests
nicolasconnault [Thu, 26 Apr 2007 08:29:30 +0000 (08:29 +0000)]
MDL-9506 More work in the unit tests

14 years agoMDL-9506 Refactored gradelib.php: an abstract class (php5 in mind) holds data and...
nicolasconnault [Thu, 26 Apr 2007 07:14:12 +0000 (07:14 +0000)]
MDL-9506 Refactored gradelib.php: an abstract class (php5 in mind) holds data and methods common
to all grade_* objects. The unit test file has also been refactored to improve clarity.

14 years agoUpgraded simpletestlib from 1.0.1alpha3 to 1.0.1beta
nicolasconnault [Thu, 26 Apr 2007 07:11:44 +0000 (07:11 +0000)]
Upgraded simpletestlib from 1.0.1alpha3 to 1.0.1beta

14 years agoMDL-9588 Addd password reveal class to admin settings forms
skodak [Thu, 26 Apr 2007 07:08:12 +0000 (07:08 +0000)]
MDL-9588 Addd password reveal class to admin settings forms

14 years agoMDL-9506 Changed grade_calculations.usermodified type to null from non-null.
nicolasconnault [Thu, 26 Apr 2007 05:40:35 +0000 (05:40 +0000)]
MDL-9506 Changed grade_calculations.usermodified type to null from non-null.

14 years agoMDL-9506 More implementation of gradebook API and more unit tests.
nicolasconnault [Thu, 26 Apr 2007 04:39:40 +0000 (04:39 +0000)]
MDL-9506 More implementation of gradebook API and more unit tests.

14 years agoMDL-9506 version.php
nicolasconnault [Thu, 26 Apr 2007 03:25:13 +0000 (03:25 +0000)]
MDL-9506 version.php

14 years agoMDL-9506 Added timestamps to grade_categories
nicolasconnault [Thu, 26 Apr 2007 03:23:45 +0000 (03:23 +0000)]
MDL-9506 Added timestamps to grade_categories

14 years agofix for MDL-9530, BLOB/TEXT column can't have a default value.
toyomoyo [Thu, 26 Apr 2007 02:28:05 +0000 (02:28 +0000)]
fix for MDL-9530, BLOB/TEXT column can't have a default value.

14 years agoMDL-8031 Enforce password complexity for user authentication - original patch by...
skodak [Wed, 25 Apr 2007 19:36:47 +0000 (19:36 +0000)]
MDL-8031 Enforce password complexity for user authentication - original patch by IƱaki Arenaza

14 years agoEliminate support for old-style question editing forms.
tjhunt [Wed, 25 Apr 2007 18:20:04 +0000 (18:20 +0000)]
Eliminate support for old-style question editing forms.

14 years agoMDL-3079 allow review of password on signup page
skodak [Wed, 25 Apr 2007 18:10:23 +0000 (18:10 +0000)]
MDL-3079 allow review of password on signup page

14 years agoMDL-9565 - Fix error in previous commit. Merged from MOODLE_18_STABLE.
tjhunt [Wed, 25 Apr 2007 17:59:53 +0000 (17:59 +0000)]
MDL-9565 - Fix error in previous commit. Merged from MOODLE_18_STABLE.

14 years agoMDL-9657 cleaning abstractype code.
pichetp [Wed, 25 Apr 2007 16:48:33 +0000 (16:48 +0000)]
MDL-9657 cleaning abstractype code.

14 years ago* Fix layout problem on password form. (invisiblefieldset). \r* Question state fixes...
tjhunt [Wed, 25 Apr 2007 15:45:24 +0000 (15:45 +0000)]
* Fix layout problem on password form. (invisiblefieldset). \r* Question state fixes: \r  + Don't change from EVENTOPEN too soon. \r  + Make sure all questions get closed at the end of the attempt in adaptive mode. \r* Get rid of the delay on the redirect when you submit all and finish.

14 years agoClean up whitespace.
tjhunt [Wed, 25 Apr 2007 15:37:01 +0000 (15:37 +0000)]
Clean up whitespace.

14 years agoNew lang string for clarifying quiz UI.
tjhunt [Wed, 25 Apr 2007 15:31:34 +0000 (15:31 +0000)]
New lang string for clarifying quiz UI.

14 years agoAdded redirects after all actions.
jamiesensei [Wed, 25 Apr 2007 14:06:37 +0000 (14:06 +0000)]
Added redirects after all actions.
Added methods to category class to generate a url from an array of parameters stored in the object.
Cleaned up some old redundant code for actions now processed in list class.

14 years agoThe question core code was restricting question types unnecessarily. This is a tempor...
tjhunt [Wed, 25 Apr 2007 11:20:22 +0000 (11:20 +0000)]
The question core code was restricting question types unnecessarily. This is a temporary fix, prior to a proper refactoring.

14 years agoMDL-9577:
thepurpleblob [Wed, 25 Apr 2007 09:43:37 +0000 (09:43 +0000)]
MDL-9577:
Fixing change of name (answer => correctanswer) for true/false questions.

14 years agoMDL-9657 cleaning abstractype code.
pichetp [Wed, 25 Apr 2007 09:06:35 +0000 (09:06 +0000)]
MDL-9657 cleaning abstractype code.

14 years agoremoving comments and print_r
pichetp [Wed, 25 Apr 2007 08:52:47 +0000 (08:52 +0000)]
removing comments and print_r

14 years agoMDL-9496 Adding multianswer to calculated and MDL-9657 cleaning abstractype code.
pichetp [Wed, 25 Apr 2007 08:15:50 +0000 (08:15 +0000)]
MDL-9496 Adding multianswer to calculated and MDL-9657 cleaning abstractype code.

14 years agoClean up whitespace.
tjhunt [Tue, 24 Apr 2007 23:39:22 +0000 (23:39 +0000)]
Clean up whitespace.

14 years agoOccasional unique-key violations were caused by some really weird code to do with...
tjhunt [Tue, 24 Apr 2007 23:37:32 +0000 (23:37 +0000)]
Occasional unique-key violations were caused by some really weird code to do with units in numerical questions. This cleans it up.

14 years agoBase class methods preparitory to deleting a lot of essentially duplicated code from...
tjhunt [Tue, 24 Apr 2007 23:31:41 +0000 (23:31 +0000)]
Base class methods preparitory to deleting a lot of essentially duplicated code from the various question types.

14 years agoClean up whitespace.
tjhunt [Tue, 24 Apr 2007 23:26:48 +0000 (23:26 +0000)]
Clean up whitespace.

14 years agoClean up trailing whitespace.
tjhunt [Tue, 24 Apr 2007 23:25:33 +0000 (23:25 +0000)]
Clean up trailing whitespace.

14 years agoRemove duplicate $Id$
tjhunt [Tue, 24 Apr 2007 23:23:25 +0000 (23:23 +0000)]
Remove duplicate $Id$

14 years agoFix comedy require_once. Merged from MOODLE_16_STABLE.
tjhunt [Tue, 24 Apr 2007 21:16:14 +0000 (21:16 +0000)]
Fix comedy require_once. Merged from MOODLE_16_STABLE.

14 years agoMDL-9485 resource summary now optional again; merged from MOODLE_18_STABLE
skodak [Tue, 24 Apr 2007 21:11:39 +0000 (21:11 +0000)]
MDL-9485 resource summary now optional again; merged from MOODLE_18_STABLE

14 years agoMDL-9568 Choice does not count correct; merged from MOODLE_18_STABLE
skodak [Tue, 24 Apr 2007 20:09:01 +0000 (20:09 +0000)]
MDL-9568 Choice does not count correct; merged from MOODLE_18_STABLE

14 years agolets prevent detection of strict PHP5 errors in redirect in developer debug mode
skodak [Tue, 24 Apr 2007 18:53:12 +0000 (18:53 +0000)]
lets prevent detection of strict PHP5 errors in redirect in developer debug mode

14 years agoMDL-6368 and MDL-6369 - allow question type plugins to easily provide some bits of...
tjhunt [Tue, 24 Apr 2007 17:32:21 +0000 (17:32 +0000)]
MDL-6368 and MDL-6369 - allow question type plugins to easily provide some bits of Javascript and CSS - I forgot about the review page.

14 years agoStop "Undefined variable: ALLOWED_TAGS" errors all over the place.
tjhunt [Tue, 24 Apr 2007 17:09:12 +0000 (17:09 +0000)]
Stop "Undefined variable: ALLOWED_TAGS" errors all over the place.

14 years agoMDL-9565 - Question preview links don't work in developer debug mode, and not XHTML...
tjhunt [Tue, 24 Apr 2007 16:59:32 +0000 (16:59 +0000)]
MDL-9565 - Question preview links don't work in developer debug mode, and not XHTML strict. Merged from OU Moodle.

14 years agoMDL-9561 Langimport does not ignore langlist when langcache used
skodak [Tue, 24 Apr 2007 16:33:06 +0000 (16:33 +0000)]
MDL-9561 Langimport does not ignore langlist when langcache used
MDL-9563 Improve refreshing of langcache, detect permission problems
part2
merged from MOODLE_18_STABLE

14 years agoMDL-9561 Langimport does not ignore langlist when langcache used
skodak [Tue, 24 Apr 2007 16:14:16 +0000 (16:14 +0000)]
MDL-9561 Langimport does not ignore langlist when langcache used
MDL-9563 Improve refreshing of langcache, detect permission problems

merged from MOODLE_18_STABLE

14 years agoMDL-9560 $CFG->langlist should accept both short (en) and long (en_utf8) names; merge...
skodak [Tue, 24 Apr 2007 14:58:43 +0000 (14:58 +0000)]
MDL-9560 $CFG->langlist should accept both short (en) and long (en_utf8) names; merged from MODOLE_18_STABLE

14 years agoFixes bug MDL-9520, "groups_groupids_to_groups should return groups indexed by group...
nfreear [Tue, 24 Apr 2007 14:25:50 +0000 (14:25 +0000)]
Fixes bug MDL-9520, "groups_groupids_to_groups should return groups indexed by group ID". Merged from 1.8 branch.

14 years agoMDL-9559 setup_lang_from_browser should respect $CFG->langlist; merged from MOODLE...
skodak [Tue, 24 Apr 2007 14:24:03 +0000 (14:24 +0000)]
MDL-9559    setup_lang_from_browser should respect $CFG->langlist; merged from MOODLE_18_STABLE

14 years agoMerged MDL-9556: HTML editor shortcut button should only appear when JS enabled
sam_marshall [Tue, 24 Apr 2007 11:59:17 +0000 (11:59 +0000)]
Merged MDL-9556: HTML editor shortcut button should only appear when JS enabled

14 years agoMDL-9506 Set up the unit test bed and continued to implement gradebook API.
nicolasconnault [Tue, 24 Apr 2007 08:50:19 +0000 (08:50 +0000)]
MDL-9506 Set up the unit test bed and continued to implement gradebook API.

14 years agoMDL-9506 Finished initial draft of gradebook API.
nicolasconnault [Tue, 24 Apr 2007 05:41:28 +0000 (05:41 +0000)]
MDL-9506 Finished initial draft of gradebook API.

14 years agogrades tables
toyomoyo [Tue, 24 Apr 2007 03:28:31 +0000 (03:28 +0000)]
grades tables

14 years agoMDL-9474: Updated build_navigation() to use global $COURSE
mattc-catalyst [Mon, 23 Apr 2007 21:11:10 +0000 (21:11 +0000)]
MDL-9474: Updated build_navigation() to use global $COURSE

- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()

Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>

14 years agoMDL-9389 - True / False penalty factor field redundant. Merged from MOODLE_18_STABLE.
tjhunt [Mon, 23 Apr 2007 16:23:17 +0000 (16:23 +0000)]
MDL-9389 - True / False penalty factor field redundant. Merged from MOODLE_18_STABLE.

14 years agoMDL-9524 - Formslib gets confused if a required field is frozen. Merged from MOODLE_1...
tjhunt [Mon, 23 Apr 2007 16:19:25 +0000 (16:19 +0000)]
MDL-9524 - Formslib gets confused if a required field is frozen. Merged from MOODLE_18_STABLE.

14 years agoMDL-9447 - Default grade field is redundant in embeded answer (Cloze) question. Merge...
tjhunt [Mon, 23 Apr 2007 13:55:22 +0000 (13:55 +0000)]
MDL-9447 - Default grade field is redundant in embeded answer (Cloze) question. Merged from MOODLE_18_STABLE.

14 years agoMDL-9506 First draft of gradelib, and the stubs for the unit tests.
nicolasconnault [Mon, 23 Apr 2007 09:00:32 +0000 (09:00 +0000)]
MDL-9506 First draft of gradelib, and the stubs for the unit tests.

14 years agoAdded some dummy files to help define the export/import structure for grades
moodler [Mon, 23 Apr 2007 06:52:07 +0000 (06:52 +0000)]
Added some dummy files to help define the export/import structure for grades

14 years agoSome dummy files to define the grade reports structure
moodler [Mon, 23 Apr 2007 06:49:24 +0000 (06:49 +0000)]
Some dummy files to define the grade reports structure

14 years agoMDL-9457 Missed a few files
nicolasconnault [Mon, 23 Apr 2007 04:14:11 +0000 (04:14 +0000)]
MDL-9457 Missed a few files

14 years agomerged fix for MLD-7544, hidden users show up on participants block
toyomoyo [Mon, 23 Apr 2007 03:06:01 +0000 (03:06 +0000)]
merged fix for MLD-7544, hidden users show up on participants block

14 years agoNow resource/view.php?r=XXX links are recoded properly in backup/restore. MDL-9450
stronk7 [Sun, 22 Apr 2007 22:07:03 +0000 (22:07 +0000)]
Now resource/view.php?r=XXX links are recoded properly in backup/restore. MDL-9450

Merged from MOODLE_18_STABLE

14 years agoMDL-9491 fixed problem with broken change/reset password in db auth when using intern...
skodak [Sun, 22 Apr 2007 21:40:28 +0000 (21:40 +0000)]
MDL-9491 fixed problem with broken change/reset password in db auth when using internal passwords

14 years agoAdd one missing return causing db(internal) pass change not to work.
stronk7 [Sun, 22 Apr 2007 14:19:43 +0000 (14:19 +0000)]
Add one missing return causing db(internal) pass change not to work.
Partially, MDL-9491

Merged from MOODLE_18_STABLE

14 years agoMDL-2201 handle url parameters in change Password link
skodak [Sat, 21 Apr 2007 21:20:17 +0000 (21:20 +0000)]
MDL-2201 handle url parameters in change Password link

14 years agoMDL-6917 Incorrect <INPUT> sizes and maxlengths in the signup_form.html
skodak [Sat, 21 Apr 2007 20:40:59 +0000 (20:40 +0000)]
MDL-6917  Incorrect <INPUT> sizes and maxlengths in the signup_form.html

14 years agoMDL-9233 denied and allowed email address domains are not matched correctly
skodak [Sat, 21 Apr 2007 20:06:56 +0000 (20:06 +0000)]
MDL-9233 denied and allowed email address domains are not matched correctly

14 years agoMDL-2978 Privacy Statements on signup.php; server validation used instead of client...
skodak [Sat, 21 Apr 2007 19:47:20 +0000 (19:47 +0000)]
MDL-2978 Privacy Statements on signup.php; server validation used instead of client one because the JS error messages prevented clicking on policy link

14 years agoMDL-9484 cm-idnumber implementation is incorrect
skodak [Sat, 21 Apr 2007 13:15:34 +0000 (13:15 +0000)]
MDL-9484 cm-idnumber implementation is incorrect

14 years agoMDL-9483 Problem with question restore relinking when quiz not selected; merged from...
skodak [Sat, 21 Apr 2007 12:38:56 +0000 (12:38 +0000)]
MDL-9483 Problem with question restore relinking when quiz not selected; merged from MOODLE_17_STABLE

14 years agoMDL-9481 Prevent redirection to alt login url after login (when url on the same server)
skodak [Sat, 21 Apr 2007 07:40:40 +0000 (07:40 +0000)]
MDL-9481 Prevent redirection to alt login url after login (when url on the same server)

14 years agoMDL-9465 Pass information about failed login back to alternate login url + other...
skodak [Fri, 20 Apr 2007 19:08:19 +0000 (19:08 +0000)]
MDL-9465 Pass information about failed login back to alternate login url + other minor cleanup

14 years ago(MDL-9470) Survey submission JS broken; merged from MOODLE_18_STABLE
skodak [Fri, 20 Apr 2007 17:52:41 +0000 (17:52 +0000)]
(MDL-9470) Survey submission JS broken; merged from MOODLE_18_STABLE

14 years agoMDL-9467 workaround for broken langcache problems when editting user profile; merged...
skodak [Fri, 20 Apr 2007 14:43:03 +0000 (14:43 +0000)]
MDL-9467 workaround for broken langcache problems when editting user profile; merged from MOODLE_18_STABLE

14 years agoMDL-9429 make clear that alternate change password url is used only when user is...
skodak [Fri, 20 Apr 2007 10:02:38 +0000 (10:02 +0000)]
MDL-9429 make clear that alternate change password url is used only when user is logged in, for example change url may contain $USER->username; other minor cleanup

14 years agoFixed many xhtml errors
nicolasconnault [Fri, 20 Apr 2007 07:54:42 +0000 (07:54 +0000)]
Fixed many xhtml errors

14 years agoevent update code
toyomoyo [Fri, 20 Apr 2007 05:43:11 +0000 (05:43 +0000)]
event update code

14 years agoadd string of Update the category button
pichetp [Fri, 20 Apr 2007 02:43:28 +0000 (02:43 +0000)]
add string of Update the category button

14 years agoadding a new key
toyomoyo [Fri, 20 Apr 2007 01:39:22 +0000 (01:39 +0000)]
adding a new key

14 years agoxmldb: added $CFG options for disabling next / previous value checkings & enforced...
mjollnir_ [Fri, 20 Apr 2007 00:10:52 +0000 (00:10 +0000)]
xmldb: added $CFG options for disabling next / previous value checkings & enforced comment checking. merged from mahara :)

14 years agoMDL-9432 - Forgot to return success/failure in two places.
tjhunt [Thu, 19 Apr 2007 17:37:14 +0000 (17:37 +0000)]
MDL-9432 - Forgot to return success/failure in two places.

14 years agoFix error message to say the right thing.
tjhunt [Thu, 19 Apr 2007 17:16:20 +0000 (17:16 +0000)]
Fix error message to say the right thing.

14 years agoadd an update category submit button to update the display of shareable wild cards
pichetp [Thu, 19 Apr 2007 16:49:25 +0000 (16:49 +0000)]
add an update category submit button to update the display of shareable wild cards