]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoremoved an unrequired require_once
bobopinna [Sun, 27 May 2007 16:26:05 +0000 (16:26 +0000)]
removed an unrequired require_once
optimized an if branch

18 years agofixed a missing <li> tag in package TOC
bobopinna [Sun, 27 May 2007 16:21:13 +0000 (16:21 +0000)]
fixed a missing <li> tag in package TOC

18 years agoMDL-9734 fix for clean_param PARAM_LOCALURL bug
jamiesensei [Sun, 27 May 2007 11:19:04 +0000 (11:19 +0000)]
MDL-9734 fix for clean_param PARAM_LOCALURL bug

18 years agomade hardFreeze work properly for a whole form. New paramater in moodleform construct...
jamiesensei [Sun, 27 May 2007 05:01:51 +0000 (05:01 +0000)]
made hardFreeze work properly for a whole form. New paramater in moodleform constructor 'editable' defaults to true. If true then display form as normal. If false then hardFreeze whole form. Now displays form without an submit buttons. If form is hard frozen no data is ever passed to get_data.

18 years agoMDL-9891 new 'clonepermissionsfrom' key in access.php
jamiesensei [Sun, 27 May 2007 04:53:02 +0000 (04:53 +0000)]
MDL-9891 new 'clonepermissionsfrom' key in access.php

18 years agoAutomatic installer.php lang files by installer_builder (20070527)
moodler [Sun, 27 May 2007 04:27:59 +0000 (04:27 +0000)]
Automatic installer.php lang files by installer_builder (20070527)

18 years agoMDL-9643 some more polishing
skodak [Sat, 26 May 2007 13:11:54 +0000 (13:11 +0000)]
MDL-9643 some more polishing

18 years agoMDL-9643 some more polishing
skodak [Sat, 26 May 2007 12:59:13 +0000 (12:59 +0000)]
MDL-9643 some more polishing

18 years agoAutomatic installer.php lang files by installer_builder (20070526)
moodler [Sat, 26 May 2007 04:02:24 +0000 (04:02 +0000)]
Automatic installer.php lang files by installer_builder (20070526)

18 years agoMerged MDL-9826 from stable
moodler [Fri, 25 May 2007 21:04:26 +0000 (21:04 +0000)]
Merged MDL-9826 from stable

18 years agoFix for bug MDL-9942
anthonyforth [Fri, 25 May 2007 09:55:08 +0000 (09:55 +0000)]
Fix for bug    MDL-9942

18 years agoMDL-9515, backups for gradebook
toyomoyo [Fri, 25 May 2007 08:54:20 +0000 (08:54 +0000)]
MDL-9515, backups for gradebook

18 years agoMDL-9643 minor maths unit test cleanup
skodak [Fri, 25 May 2007 07:07:05 +0000 (07:07 +0000)]
MDL-9643 minor maths unit test cleanup

18 years agoMDL-9506 WOrking on grade_tree edit tree
nicolasconnault [Fri, 25 May 2007 07:02:04 +0000 (07:02 +0000)]
MDL-9506 WOrking on grade_tree edit tree

18 years agoMDL-9643 removing the sample files, use our unit tests instead
skodak [Fri, 25 May 2007 06:54:48 +0000 (06:54 +0000)]
MDL-9643 removing the sample files, use our unit tests instead

18 years agoMDL-9643 mathslib.php library, unit tests, removed e and pi constants
skodak [Fri, 25 May 2007 06:50:09 +0000 (06:50 +0000)]
MDL-9643 mathslib.php library, unit tests, removed e and pi constants

18 years agoMDL-9643 evalmath library improvement - sample calc functions
skodak [Fri, 25 May 2007 06:07:45 +0000 (06:07 +0000)]
MDL-9643 evalmath library improvement - sample calc functions

18 years agooops. reverting changes which shouldn't have been committed to HEAD.
jamiesensei [Fri, 25 May 2007 05:49:51 +0000 (05:49 +0000)]
oops. reverting changes which shouldn't have been committed to HEAD.

18 years agofix for category.php lists. Slight change in listlib api caused breakage.
jamiesensei [Fri, 25 May 2007 04:59:17 +0000 (04:59 +0000)]
fix for category.php lists. Slight change in listlib api caused breakage.

18 years agoAutomatic installer.php lang files by installer_builder (20070525)
moodler [Fri, 25 May 2007 04:28:05 +0000 (04:28 +0000)]
Automatic installer.php lang files by installer_builder (20070525)

18 years agoMDL-9643 evalmath library import - tweaks and wrapper class ahead
skodak [Thu, 24 May 2007 19:12:18 +0000 (19:12 +0000)]
MDL-9643 evalmath library import - tweaks and wrapper class ahead

18 years agoRemoving remaining references to RQP in core code. I had not realised there were...
tjhunt [Thu, 24 May 2007 17:25:37 +0000 (17:25 +0000)]
Removing remaining references to RQP in core code. I had not realised there were so many.\r\rBy the way, I am committing this from a pub in York. Pub's with wireless, whatever next?

18 years agoMDL-9876 import adodb 4.95a
skodak [Thu, 24 May 2007 17:14:58 +0000 (17:14 +0000)]
MDL-9876 import adodb 4.95a

18 years agoMDL-9920 Allowed xmldb to create 32-bit serial fields if specified, in postgres
sam_marshall [Thu, 24 May 2007 15:18:35 +0000 (15:18 +0000)]
MDL-9920 Allowed xmldb to create 32-bit serial fields if specified, in postgres

18 years agoMDL-9932 Fixed calendar restore of events on same day with same description (but...
sam_marshall [Thu, 24 May 2007 12:09:49 +0000 (12:09 +0000)]
MDL-9932 Fixed calendar restore of events on same day with same description (but different names)

18 years agograde import/export fixes to use forms lib
toyomoyo [Thu, 24 May 2007 08:57:36 +0000 (08:57 +0000)]
grade import/export fixes to use forms lib

18 years agoMDL-9629 Beginning the edit category page. Also added dmllib::sql_max($field) and...
nicolasconnault [Thu, 24 May 2007 08:50:01 +0000 (08:50 +0000)]
MDL-9629 Beginning the edit category page. Also added dmllib::sql_max($field) and fixed a few bugs. Grade_item should now extrapolate its sortorder upon insertion if not set, by looking up the last sortorder in the table, and incrementing by 1.

18 years agoSmall cleanup to remove duplicated code.
tjhunt [Thu, 24 May 2007 07:44:08 +0000 (07:44 +0000)]
Small cleanup to remove duplicated code.

18 years agoComment improvements.
tjhunt [Thu, 24 May 2007 07:42:27 +0000 (07:42 +0000)]
Comment improvements.

18 years agoRemoved some RQP code no longer needed MDL-9600
moodler [Thu, 24 May 2007 07:10:22 +0000 (07:10 +0000)]
Removed some RQP code no longer needed   MDL-9600

18 years agoMDL-9506 Added grademax extrapolation from scale info for grade_item, in insert(...
nicolasconnault [Thu, 24 May 2007 03:32:20 +0000 (03:32 +0000)]
MDL-9506 Added grademax extrapolation from scale info for grade_item, in insert() and update() methods. Corrected a few other minor bugs.

18 years agofixing a typo
toyomoyo [Thu, 24 May 2007 03:07:27 +0000 (03:07 +0000)]
fixing a typo

18 years agofix for MDL-9137, adding support for gradebook plugins for db, cron, events, permissi...
toyomoyo [Thu, 24 May 2007 02:16:31 +0000 (02:16 +0000)]
fix for MDL-9137, adding support for gradebook plugins for db, cron, events, permission structures etc

18 years agoMDL-9889 Fixed a couple of bugs that were only detected by PHP5. Nothing major at...
nicolasconnault [Thu, 24 May 2007 02:08:20 +0000 (02:08 +0000)]
MDL-9889 Fixed a couple of bugs that were only detected by PHP5. Nothing major at all.

18 years agoMerging fixes for MDL-9757, MDL-9619 and MDL-9366 from MOODLE_18_STABLE
mark-nielsen [Wed, 23 May 2007 17:48:12 +0000 (17:48 +0000)]
Merging fixes for MDL-9757, MDL-9619 and MDL-9366 from MOODLE_18_STABLE

18 years agoFollow up fix for bug MDL-9890 - replacing nicolasconnault's fixes that I overwrote...
nfreear [Wed, 23 May 2007 14:45:49 +0000 (14:45 +0000)]
Follow up fix for bug MDL-9890 - replacing nicolasconnault's fixes that I overwrote - sorry!

18 years agoAdded some set_time_limit()s in case of slow servers timing out.
thepurpleblob [Wed, 23 May 2007 14:07:12 +0000 (14:07 +0000)]
Added some set_time_limit()s in case of slow servers timing out.

18 years agoProgress with making the code a bit more resilient.
thepurpleblob [Wed, 23 May 2007 12:52:33 +0000 (12:52 +0000)]
Progress with making the code a bit more resilient.
Added XML tidy up if tidy extension is available.

18 years agoBig fix for MDL-9890 "Help should be well-formed, XHTML Strict and semantic".
nfreear [Wed, 23 May 2007 12:03:22 +0000 (12:03 +0000)]
Big fix for MDL-9890 "Help should be well-formed, XHTML Strict and semantic".

18 years agoBig fix for MDL-9890 "Help should be well-formed, XHTML Strict and semantic"
nfreear [Wed, 23 May 2007 11:59:20 +0000 (11:59 +0000)]
Big fix for MDL-9890 "Help should be well-formed, XHTML Strict and semantic"

18 years agoXHTML strict. Fix entity. Merged from MOODLE_18_STABLE.
tjhunt [Wed, 23 May 2007 10:52:16 +0000 (10:52 +0000)]
XHTML strict. Fix entity. Merged from MOODLE_18_STABLE.

18 years agoMDL-9914 - Can't download mark details from the quiz overview report. Merged from...
tjhunt [Wed, 23 May 2007 10:21:43 +0000 (10:21 +0000)]
MDL-9914 - Can't download mark details from the quiz overview report. Merged from MOODLE_18_STABLE.

18 years agocorrecting handling of scales
toyomoyo [Wed, 23 May 2007 07:26:38 +0000 (07:26 +0000)]
correcting handling of scales

18 years agofixing scale for grade_grab_grades()
toyomoyo [Wed, 23 May 2007 06:25:13 +0000 (06:25 +0000)]
fixing scale for grade_grab_grades()

18 years agoAdded set_time_limit(0) at beginning.
nicolasconnault [Wed, 23 May 2007 06:02:59 +0000 (06:02 +0000)]
Added set_time_limit(0) at beginning.

18 years agoreverting back to version 1.2. Accidentally committed version 1.3 in HEAD.
jamiesensei [Wed, 23 May 2007 00:59:36 +0000 (00:59 +0000)]
reverting back to version 1.2. Accidentally committed version 1.3 in HEAD.

18 years agoMDL-9881 - Attempting to delete large number of questions fails due to long URL ...
tjhunt [Tue, 22 May 2007 14:04:06 +0000 (14:04 +0000)]
MDL-9881 - Attempting to delete large number of questions fails due to long URL - Merged from MOODLE_18_STABLE.

18 years agoWhen using DEBUG_DEVELOPER, make error(...) output a stack trace.
tjhunt [Tue, 22 May 2007 13:25:31 +0000 (13:25 +0000)]
When using DEBUG_DEVELOPER, make error(...) output a stack trace.

18 years agoSwitch a form from post to get, since that is more appropriate.
tjhunt [Tue, 22 May 2007 13:24:51 +0000 (13:24 +0000)]
Switch a form from post to get, since that is more appropriate.

18 years agoMDL-9848 eventslib improvements and cleanup
skodak [Tue, 22 May 2007 10:26:29 +0000 (10:26 +0000)]
MDL-9848 eventslib improvements and cleanup

18 years agoMDL-9857 "more options in print_context function"
jamiesensei [Tue, 22 May 2007 10:09:22 +0000 (10:09 +0000)]
MDL-9857 "more options in print_context function"

18 years agoMDL-9506 Changed grade_tree fullobjects param (not fully implemented) to $include_gra...
nicolasconnault [Tue, 22 May 2007 09:03:33 +0000 (09:03 +0000)]
MDL-9506 Changed grade_tree fullobjects param (not fully implemented) to $include_grades param, default to false, fully implemented. Full objects are always loaded when building the tree, but grades are only loaded conditionally.

18 years agoFollow up for MDL-9753, accepts HTML for $text param (THEME->larrow, rarrow don't...
nfreear [Tue, 22 May 2007 08:59:56 +0000 (08:59 +0000)]
Follow up for MDL-9753, accepts HTML for $text param (THEME->larrow, rarrow don't work in stock IE6).

18 years agoAutomatic installer.php lang files by installer_builder (20070522)
moodler [Tue, 22 May 2007 05:14:38 +0000 (05:14 +0000)]
Automatic installer.php lang files by installer_builder (20070522)

18 years agoMDL-9506 Implemented grade_tree->update_db, fixed bugs in grade_category etc...
nicolasconnault [Tue, 22 May 2007 04:38:20 +0000 (04:38 +0000)]
MDL-9506 Implemented grade_tree->update_db, fixed bugs in grade_category etc...

18 years agouse PARAM_ALPHANUM on "section" parameter so that "section=all" is allowed
gbateson [Tue, 22 May 2007 04:28:27 +0000 (04:28 +0000)]
use PARAM_ALPHANUM on "section" parameter so that "section=all" is allowed

18 years agoMDL-8877, adding help files for changed extendenrol and groupextendenrol features
toyomoyo [Tue, 22 May 2007 02:24:31 +0000 (02:24 +0000)]
MDL-8877, adding help files for changed extendenrol and groupextendenrol features

18 years agoadding or deleting more than 1 dataitems in one step in datasetitems_form.php
pichetp [Tue, 22 May 2007 02:23:50 +0000 (02:23 +0000)]
adding or deleting more than 1 dataitems in one step in datasetitems_form.php

18 years agoplaced help files in the wrong place, sorry!
toyomoyo [Tue, 22 May 2007 02:23:23 +0000 (02:23 +0000)]
placed help files in the wrong place, sorry!

18 years agoFix for MDL-8877, forgot to add these before checking in
toyomoyo [Tue, 22 May 2007 02:09:41 +0000 (02:09 +0000)]
Fix for MDL-8877, forgot to add these before checking in

18 years agoMDL-8877, specify time of manual enrolments and related improvements for changing...
toyomoyo [Tue, 22 May 2007 02:08:22 +0000 (02:08 +0000)]
MDL-8877, specify time of manual enrolments and related improvements for changing enrolment period from user/index.php. Thanks Andrei!

18 years agosome clean ups for gradebook import/export
toyomoyo [Tue, 22 May 2007 02:05:00 +0000 (02:05 +0000)]
some clean ups for gradebook import/export

18 years agoMDL-9880 Remove user_activate() method from public API because it was used only from...
skodak [Mon, 21 May 2007 20:33:42 +0000 (20:33 +0000)]
MDL-9880 Remove user_activate() method from public API because it was used only from user_confirm() in LDAP, other plugins use only user_confirm()
MDL-9575 fix email signup in ldap auth mod

18 years agoMDL-9861 Password expiration value is calculated wrong when ldap_expirationtime2unix...
skodak [Mon, 21 May 2007 20:08:45 +0000 (20:08 +0000)]
MDL-9861 Password expiration value is calculated wrong when ldap_expirationtime2unix() returns 0 - patch by Iñaki Arenaza; merged from MOODLE_18_STABLE

18 years agoMDL-9860 Incorrect check for password expiration at login - patch by Iñaki Arenaza...
skodak [Mon, 21 May 2007 20:00:10 +0000 (20:00 +0000)]
MDL-9860 Incorrect check for password expiration at login - patch by Iñaki Arenaza; merged from MOODLE_18_STABLE

18 years agoMDL-9856 allow passing moodle_url to moodle_form constructor as action instead of...
jamiesensei [Mon, 21 May 2007 16:11:17 +0000 (16:11 +0000)]
MDL-9856 allow passing moodle_url to moodle_form constructor as action instead of passing url as a string

18 years agoFix for manual read tracking MDL-9859
moodler [Mon, 21 May 2007 14:43:09 +0000 (14:43 +0000)]
Fix for manual read tracking   MDL-9859

18 years ago MDL-9866 incorrect include() in simpletest library
skodak [Mon, 21 May 2007 14:27:22 +0000 (14:27 +0000)]
 MDL-9866 incorrect include() in simpletest library

18 years agoMerged MDL-9875 from stable
moodler [Mon, 21 May 2007 13:34:49 +0000 (13:34 +0000)]
Merged MDL-9875 from stable

18 years agomerged from STABLE18
thepurpleblob [Mon, 21 May 2007 13:11:06 +0000 (13:11 +0000)]
merged from STABLE18

18 years agonew sql to fetch question counts for categories all in one sql query. Question count...
jamiesensei [Mon, 21 May 2007 09:26:17 +0000 (09:26 +0000)]
new sql to fetch question counts for categories all in one sql query. Question count now included in drop down box.

18 years agoMDL-9506 Extracted the code that applies droplow and keephigh rules to aggregated...
nicolasconnault [Mon, 21 May 2007 08:56:44 +0000 (08:56 +0000)]
MDL-9506 Extracted the code that applies droplow and keephigh rules to aggregated values, into its own little method. Unit testing this method revealed a coding error which I have rectified.

18 years agoMDL-9506 New grade_tree->build_tree_filled method called at the end of renumber(...
nicolasconnault [Mon, 21 May 2007 07:47:41 +0000 (07:47 +0000)]
MDL-9506 New grade_tree->build_tree_filled method called at the end of renumber(). Prepares object for display_grades().

18 years agoMDL-4325 ... fix the order of the name fields is lastname/firstname are reversed...
moodler [Mon, 21 May 2007 07:37:55 +0000 (07:37 +0000)]
MDL-4325 ... fix the order of the name fields is lastname/firstname are reversed - thanks Kita!

18 years ago*** empty log message ***
jgutierr25 [Mon, 21 May 2007 07:11:12 +0000 (07:11 +0000)]
*** empty log message ***

18 years agoMDL-9506 Removed the debugging message for the fetch() methods. Added droplow and...
nicolasconnault [Mon, 21 May 2007 05:54:12 +0000 (05:54 +0000)]
MDL-9506 Removed the debugging message for the fetch() methods. Added droplow and keephigh rules to grade_category::aggregate_grades(). The only question now is what to do when the droplow or keephigh field is larger than the number of grades for a given user/item combination. At the moment it just gives that value 0.

18 years agoAdded Iñaki's patch from MDL-7233 for 1.9 - thanks!
moodler [Mon, 21 May 2007 05:23:00 +0000 (05:23 +0000)]
Added Iñaki's patch from MDL-7233 for 1.9   - thanks!

18 years agoAutomatic installer.php lang files by installer_builder (20070521)
moodler [Mon, 21 May 2007 04:45:14 +0000 (04:45 +0000)]
Automatic installer.php lang files by installer_builder (20070521)

18 years agoMDL-9506 Resolved a small bug in grade_category that failed the set_as_parent method.
nicolasconnault [Mon, 21 May 2007 02:22:12 +0000 (02:22 +0000)]
MDL-9506 Resolved a small bug in grade_category that failed the set_as_parent method.

18 years agoadding quoting to output of hidden params in moodle_url
jamiesensei [Sun, 20 May 2007 17:05:27 +0000 (17:05 +0000)]
adding quoting to output of hidden params in moodle_url

18 years agoUI for editing questions changed to support sharing questions in multiple contexts...
jamiesensei [Sun, 20 May 2007 16:17:48 +0000 (16:17 +0000)]
UI for editing questions changed to support sharing questions in multiple contexts. Also changed import / export and category editing form to use formslib.

18 years agosmall additions to comments on moodle_url
jamiesensei [Sun, 20 May 2007 14:05:49 +0000 (14:05 +0000)]
small additions to comments on moodle_url

18 years agosome changes to listlib to make it possible to chain the paging of several lists...
jamiesensei [Sun, 20 May 2007 13:59:58 +0000 (13:59 +0000)]
some changes to listlib to make it possible to chain the paging of several lists together that are displayed on the same page, so that paging can work across several lists

18 years agocorrecting display of datasetitems_form for multiple answers
pichetp [Sun, 20 May 2007 12:39:01 +0000 (12:39 +0000)]
correcting display of datasetitems_form for multiple answers

18 years agoremoved unecessary sesskey hidden param. sesskey is automatically included and proces...
jamiesensei [Sun, 20 May 2007 11:56:57 +0000 (11:56 +0000)]
removed unecessary sesskey hidden param. sesskey is automatically included and processed in formslib forms. Removed redundant validation method.

18 years agonew element for formslib selectgroups is a select drop down with options grouped...
jamiesensei [Sun, 20 May 2007 11:48:02 +0000 (11:48 +0000)]
new element for formslib selectgroups is a select drop down with options grouped into optgroups

18 years agosmall fix for uninitialised var
jamiesensei [Sun, 20 May 2007 11:20:49 +0000 (11:20 +0000)]
small fix for uninitialised var

18 years agoMDL-9855 upgrade HTML Purifier to v1.6.1
skodak [Sun, 20 May 2007 05:35:43 +0000 (05:35 +0000)]
MDL-9855 upgrade HTML Purifier to v1.6.1

18 years agoAutomatic installer.php lang files by installer_builder (20070519)
moodler [Sat, 19 May 2007 04:38:43 +0000 (04:38 +0000)]
Automatic installer.php lang files by installer_builder (20070519)

18 years agocorrecting datasets to $datasets line 248
pichetp [Fri, 18 May 2007 12:51:38 +0000 (12:51 +0000)]
correcting datasets to $datasets line 248

18 years agoMDL-9802 added my:manageblocks capability so admins can define whether users can...
jmg324 [Fri, 18 May 2007 11:57:46 +0000 (11:57 +0000)]
MDL-9802 added my:manageblocks capability so admins can define whether users can add/remove blocks from myMoodle page

18 years agoMDL-984adding forgottent rs_close() - thanks Eloy! merged from MOODLE_18_STABLE
skodak [Fri, 18 May 2007 09:52:11 +0000 (09:52 +0000)]
MDL-984adding forgottent rs_close() - thanks Eloy! merged from MOODLE_18_STABLE

18 years agoMDL-9842 Groups from groupings not moved to "Not in a grouping"; merged from MOODLE_1...
skodak [Fri, 18 May 2007 09:20:52 +0000 (09:20 +0000)]
MDL-9842 Groups from groupings not moved to "Not in a grouping"; merged from MOODLE_18_STABLE

18 years agobug fixes for gradebook import/export
toyomoyo [Fri, 18 May 2007 08:49:00 +0000 (08:49 +0000)]
bug fixes for gradebook import/export

18 years agoMDL-9506 New grade_category::set_as_parent($children) method (non-static). Crucial...
nicolasconnault [Fri, 18 May 2007 08:05:53 +0000 (08:05 +0000)]
MDL-9506 New grade_category::set_as_parent($children) method (non-static). Crucial method for adding categories over children. 4 constraints have been set up, and successfully tested in unit tests. However, the method fails when it comes to updating the children's parent fields. The test data may be missing some required fields.

18 years agoMDL-9506 Fixed up the grade_tree and its unit tests. The main change to notice is...
nicolasconnault [Fri, 18 May 2007 05:34:30 +0000 (05:34 +0000)]
MDL-9506 Fixed up the grade_tree and its unit tests. The main change to notice is in grade_category, where the array returned by get_children() is indexed by sortorder. The associated unit tests have been updated to reflect this important change.

18 years agoMDL-9846 Typo in password policy
skodak [Thu, 17 May 2007 19:48:57 +0000 (19:48 +0000)]
MDL-9846 Typo in password policy

18 years agoCheck if the files exist. Display tick if they do and cross if not.
thepurpleblob [Thu, 17 May 2007 17:44:06 +0000 (17:44 +0000)]
Check if the files exist. Display tick if they do and cross if not.

18 years agoMDL-9843 get_cached_events does not handle components properly;
skodak [Thu, 17 May 2007 15:44:07 +0000 (15:44 +0000)]
MDL-9843 get_cached_events does not handle components properly;
whitespace cleanup;
minor coding style changes - such as always returning arrays from get cached and file events;
marked some functions as eventslib internal only

18 years agoremoved unused $varprefix
skodak [Thu, 17 May 2007 14:05:36 +0000 (14:05 +0000)]
removed unused $varprefix