moodle.git
16 years agoRelated to MDL-6249 - unit tests for address_in_subnet. Merged from MOODLE_17_STABLE.
tjhunt [Mon, 16 Oct 2006 13:40:26 +0000 (13:40 +0000)]
Related to MDL-6249 - unit tests for address_in_subnet. Merged from MOODLE_17_STABLE.

16 years agoMDL-6249 - easier way for human beings (as opposed to network engineers) to specify...
tjhunt [Mon, 16 Oct 2006 13:38:36 +0000 (13:38 +0000)]
MDL-6249 - easier way for human beings (as opposed to network engineers) to specify IP ranges. Merged from MOODLE_17_STABLE.

16 years agoadded new dummy function to moodleform to allow some defintion to be done for the...
jamiesensei [Mon, 16 Oct 2006 12:07:44 +0000 (12:07 +0000)]
added new dummy function to moodleform to allow some defintion to be done for the form dependent on data values.

16 years agoMDL-6650 - Previewing individual random questions from the quiz editing screen was...
tjhunt [Mon, 16 Oct 2006 11:05:45 +0000 (11:05 +0000)]
MDL-6650 - Previewing individual random questions from the quiz editing screen was not working, and anyway, I'm not sure it makes any sense, so I removed that preview link. Merged from MOODLE_17_STABLE.

16 years agoMDL-6984 - Problem with Blackboard 5 import in PHP5. Fix based on a suggestion from...
tjhunt [Mon, 16 Oct 2006 10:14:45 +0000 (10:14 +0000)]
MDL-6984 - Problem with Blackboard 5 import in PHP5. Fix based on a suggestion from Arthur Manning. Merged from MOODLE_16_STABLE.

16 years ago+ New consts for authorize_action() function:
ethem [Mon, 16 Oct 2006 09:53:03 +0000 (09:53 +0000)]
+ New consts for authorize_action() function:
  * AN_RETURNZERO: No connection was made on authorize.net.
  * AN_APPROVED: The transaction was accepted.
  * AN_DECLINED: The transaction was declined.
  * AN_REVIEW: The transaction was held for review.

+ Fix: Speacial handling for echecks: REVIEW; 'Under Review', 'Approved Review', 'Review Failed'
+ New feature: Upload a CSV file for echecks (capability: enrol/authorize:uploadcsv level: user)
+ New feature: Search payments by orderid and transid
+ New function: send_welcome_messages()

merged from 17stable.

16 years ago+ New consts for authorize_action() function:
ethem [Mon, 16 Oct 2006 09:39:08 +0000 (09:39 +0000)]
+ New consts for authorize_action() function:
  * AN_RETURNZERO: No connection was made on authorize.net.
  * AN_APPROVED: The transaction was accepted.
  * AN_DECLINED: The transaction was declined.
  * AN_REVIEW: The transaction was held for review.

+ Fix: Speacial handling for echecks: REVIEW; 'Under Review', 'Approved Review', 'Review Failed'
+ New feature: Upload a CSV file for echecks (capability: enrol/authorize:uploadcsv level: user)
+ New feature: Search payments by orderid and transid
+ New function: send_welcome_messages()

merged from 17stable.

16 years ago+ New consts for authorize_action() function:
ethem [Mon, 16 Oct 2006 09:30:25 +0000 (09:30 +0000)]
+ New consts for authorize_action() function:
  * AN_RETURNZERO: No connection was made on authorize.net.
  * AN_APPROVED: The transaction was accepted.
  * AN_DECLINED: The transaction was declined.
  * AN_REVIEW: The transaction was held for review.

+ Fix: Speacial handling for echecks: REVIEW; 'Under Review', 'Approved Review', 'Review Failed'
+ New feature: Upload a CSV file for echecks (capability: enrol/authorize:uploadcsv level: user)
+ New feature: Search payments by orderid and transid
+ New function: send_welcome_messages()

16 years agoMDL-6444 Typo in Course/Report/Participation/index.php, patch by Stephen Bourget...
skodak [Mon, 16 Oct 2006 09:06:35 +0000 (09:06 +0000)]
MDL-6444  Typo in Course/Report/Participation/index.php, patch by Stephen Bourget; merged from MOODLE_17_STABLE

16 years agoreverting moved $SITE reinitialisation into setting method, it was not a good idea...
skodak [Mon, 16 Oct 2006 08:54:37 +0000 (08:54 +0000)]
reverting moved $SITE reinitialisation into setting method, it was not a good idea after all; merged from MOODLE_17_STABLE

16 years agoMDL-6985 Role Short name cannot be modified; merged from MOODLE_17_STABLE
skodak [Mon, 16 Oct 2006 08:34:44 +0000 (08:34 +0000)]
MDL-6985  Role Short name cannot be modified; merged from MOODLE_17_STABLE

16 years agofixed error message when empty site full or short name - moved $SITE reinitialisation...
skodak [Mon, 16 Oct 2006 07:54:22 +0000 (07:54 +0000)]
fixed error message when empty site full or short name - moved $SITE reinitialisation into setting method; merged from MOODLE_17_STABLE

16 years agoPARAM_MULTILANG is now alias of PARAM_TEXT; merged from MOODLE_17_STABLE
skodak [Mon, 16 Oct 2006 07:46:35 +0000 (07:46 +0000)]
PARAM_MULTILANG is now alias of PARAM_TEXT; merged from MOODLE_17_STABLE

16 years agoMDL-6986
koenr [Mon, 16 Oct 2006 07:45:16 +0000 (07:45 +0000)]
MDL-6986

16 years agofixed error message when empty site full or short name; merged from MOODLE_17_STABLE
skodak [Mon, 16 Oct 2006 07:37:41 +0000 (07:37 +0000)]
fixed error message when empty site full or short name; merged from MOODLE_17_STABLE

16 years agoIt is now no longer possible to upgrade to 1.8 or later from non-Unicode
moodler [Mon, 16 Oct 2006 07:32:05 +0000 (07:32 +0000)]
It is now no longer possible to upgrade to 1.8 or later from non-Unicode
Moodle.   Admins get a message explaining they need to upgrade to 1.7.x first.

MDL-6857

16 years agomoved header after the redirects and require_logout; merged from MOODLE_17_STABLE
skodak [Mon, 16 Oct 2006 06:52:01 +0000 (06:52 +0000)]
moved header after the redirects and require_logout; merged from MOODLE_17_STABLE

16 years agoAutomatic installer.php lang files by installer_builder (20061016)
moodler [Mon, 16 Oct 2006 03:01:57 +0000 (03:01 +0000)]
installer.php lang files by installer_builder (20061016)

16 years agoMerged from 1.7
vyshane [Mon, 16 Oct 2006 02:54:41 +0000 (02:54 +0000)]
Merged from 1.7

16 years agoMerged from 1.7 (lang string change)
vyshane [Mon, 16 Oct 2006 02:53:45 +0000 (02:53 +0000)]
Merged from 1.7 (lang string change)

16 years agoMerged from 1.7
vyshane [Mon, 16 Oct 2006 02:45:38 +0000 (02:45 +0000)]
Merged from 1.7

16 years agoFix for MDL-6550 - patch from Graeme Byrne thanks! :-)
danmarsden [Mon, 16 Oct 2006 00:01:13 +0000 (00:01 +0000)]
Fix for MDL-6550  - patch from Graeme Byrne thanks! :-)
+ remove a bit of unneeded space! :-)

16 years agoNew block upgrade functions must be called:
stronk7 [Sun, 15 Oct 2006 23:04:06 +0000 (23:04 +0000)]
New block upgrade functions must be called:

xmldb_block_BLOCKNAME_upgrade()

Part of MDL-6786, just for consistency. Merged from MOODLE_17_STABLE

16 years agoNow set_field() supports Oracle LOBs. Better error handling of oracle_update_lobs()
stronk7 [Sun, 15 Oct 2006 20:21:27 +0000 (20:21 +0000)]
Now set_field() supports Oracle LOBs. Better error handling of oracle_update_lobs()

Merged from MOODLE_17_STABLE

16 years agoNow update_record() supports LOBs under Oracle. Plus prevent empty objects to be...
stronk7 [Sun, 15 Oct 2006 19:40:33 +0000 (19:40 +0000)]
Now update_record() supports LOBs under Oracle. Plus prevent empty objects to be updated.

Merged from MOODLE_17_STABLE

16 years agoMinor changes + debug info in UpdateXlob()
stronk7 [Sun, 15 Oct 2006 18:37:01 +0000 (18:37 +0000)]
Minor changes + debug info in UpdateXlob()

Merged from MOODLE_17_STABLE

16 years ago- Introducing the first version of the new mssql_n adodb driver (not finished, just...
stronk7 [Sun, 15 Oct 2006 16:41:55 +0000 (16:41 +0000)]
- Introducing the first version of the new mssql_n adodb driver (not finished, just for experimenting).
- Now insert_record() is handling Oracle CLOBS and BLOBS properly (really annoying the number of hacks needed).
- Creating one new global object to cache $db->MetaColumns() calls per request, because it's being used
in a lot of places inside dmllib.
TODO: hack update_record() and set_field() to allow Oracle LOBs
      enclose all the Oracle function calls into one db transaction

Merged from MOODLE_17_STABLE

16 years agoAutomatic installer.php lang files by installer_builder (20061015)
moodler [Sun, 15 Oct 2006 02:58:38 +0000 (02:58 +0000)]
installer.php lang files by installer_builder (20061015)

16 years agoFixed a bug with client side validation of form fields.
jamiesensei [Sat, 14 Oct 2006 12:32:31 +0000 (12:32 +0000)]
Fixed a bug with client side validation of form fields.

Added some default error messages for rules specified in lang pack as err_{rulename} Use the default by setting the rule message to null.

16 years agoFixed some words
moodler [Sat, 14 Oct 2006 07:29:34 +0000 (07:29 +0000)]
Fixed some words

16 years agoAutomatic installer.php lang files by installer_builder (20061014)
moodler [Sat, 14 Oct 2006 02:59:33 +0000 (02:59 +0000)]
installer.php lang files by installer_builder (20061014)

16 years agoNow admin/index.php checks for proper prefixes (MDL-6230)
stronk7 [Fri, 13 Oct 2006 23:49:48 +0000 (23:49 +0000)]
Now admin/index.php checks for proper prefixes (MDL-6230)

Merged from MOODLE_17_STABLE

16 years agoWhen javascript was turned off the group menu did not work because the Go button...
gustav_delius [Fri, 13 Oct 2006 23:27:37 +0000 (23:27 +0000)]
When javascript was turned off the group menu did not work because the Go button linked to course/view.php rather than mod/forum/view.php

16 years agoNow installer:(MDL-6823)
stronk7 [Fri, 13 Oct 2006 18:20:52 +0000 (18:20 +0000)]
Now installer:(MDL-6823)
- performs Oracle charset checks (both client and server)
- prefix checks
- shows differnt information foreach DB flavour
- provide one link to Moodle Docs for MSSQL and Oracle
- the ODBC connector has been marked as experimental due
  to confirmed problems by MS

Merged from MOODLE_17_STABLE

16 years agoSome more strings added to the installer to make it more resposible.
stronk7 [Fri, 13 Oct 2006 17:25:07 +0000 (17:25 +0000)]
Some more strings added to the installer to make it more resposible.

Merged from MOODLE_17_STABLE

16 years agoAdded new strings for DB select/configure
stronk7 [Fri, 13 Oct 2006 11:34:43 +0000 (11:34 +0000)]
Added new strings for DB select/configure

Merged from MOODLE_17_STABLE

16 years agorefactored course/edit2.php and edit_form MDL-6914 ; set $CFG->use_new_forms=1; in...
skodak [Fri, 13 Oct 2006 09:58:53 +0000 (09:58 +0000)]
refactored course/edit2.php and edit_form MDL-6914 ; set $CFG->use_new_forms=1; in config.php if you want to test it ;-)

16 years agoAutomatic installer.php lang files by installer_builder (20061013)
moodler [Fri, 13 Oct 2006 03:00:53 +0000 (03:00 +0000)]
installer.php lang files by installer_builder (20061013)

16 years agomerged fix for warnings
toyomoyo [Fri, 13 Oct 2006 02:54:51 +0000 (02:54 +0000)]
merged fix for warnings

16 years agoremoved a debug line which showed up in Rottmeier DropDown quizzes
gbateson [Thu, 12 Oct 2006 21:48:20 +0000 (21:48 +0000)]
removed a debug line which showed up in Rottmeier DropDown quizzes

16 years agonew edit3.php demos Petr's new API
jamiesensei [Thu, 12 Oct 2006 14:21:15 +0000 (14:21 +0000)]
new edit3.php demos Petr's new API

16 years agoadded some methods to give a choice of
jamiesensei [Thu, 12 Oct 2006 14:15:59 +0000 (14:15 +0000)]
added some methods to give a choice of

setDefault and setDefaults
setHelpButton and setHelpButtons
setType and setTypes

16 years agoSmall change in rename_field() so objects won't become modified at all
stronk7 [Thu, 12 Oct 2006 12:28:36 +0000 (12:28 +0000)]
Small change in rename_field() so objects won't become modified at all
in the process.

Merged from MOODLE_17_STABLE

16 years agomoodleform->validation() receives slashed $data now to make it similar to data_submit...
skodak [Thu, 12 Oct 2006 09:53:32 +0000 (09:53 +0000)]
moodleform->validation() receives slashed $data now to make it similar to data_submitted() and prevent potential SQL injections

16 years agomerged fix for warnigns
toyomoyo [Thu, 12 Oct 2006 08:33:52 +0000 (08:33 +0000)]
merged fix for warnigns

16 years agomerged fix for warnings
toyomoyo [Thu, 12 Oct 2006 08:26:19 +0000 (08:26 +0000)]
merged fix for warnings

16 years agocorrect handling of correct, wrong and ignored answers in Rottmeier DropDown 2.4...
gbateson [Thu, 12 Oct 2006 08:08:52 +0000 (08:08 +0000)]
correct handling of correct, wrong and ignored answers in Rottmeier DropDown 2.4 quizzes

16 years agoremove unnecessary <br /> before summary textbox when in edit mode (as opposed to...
gbateson [Thu, 12 Oct 2006 08:06:58 +0000 (08:06 +0000)]
remove unnecessary <br /> before summary textbox when in edit mode (as opposed to add mode)

16 years agomerged fix for warnings
toyomoyo [Thu, 12 Oct 2006 08:01:58 +0000 (08:01 +0000)]
merged fix for warnings

16 years agoadd global $CFG to hotpot_restore_dates function
gbateson [Thu, 12 Oct 2006 08:01:22 +0000 (08:01 +0000)]
add global $CFG to hotpot_restore_dates function

16 years agoMerged from 1.7
vyshane [Thu, 12 Oct 2006 07:35:55 +0000 (07:35 +0000)]
Merged from 1.7

16 years agoNew version of formslib.php (see MDL-6914 for more details), course/edit2.php is...
skodak [Thu, 12 Oct 2006 07:33:57 +0000 (07:33 +0000)]
New version of formslib.php (see MDL-6914 for more details), course/edit2.php is disabled for now - working on edit3.php ;-)
More inline comments/docs today.

16 years agomerged removed warning during restore
toyomoyo [Thu, 12 Oct 2006 07:33:04 +0000 (07:33 +0000)]
merged removed warning during restore

16 years agoMerged MDL-6885 from stable
moodler [Thu, 12 Oct 2006 07:28:22 +0000 (07:28 +0000)]
Merged MDL-6885 from stable

16 years agomerged fixing notices
toyomoyo [Thu, 12 Oct 2006 06:58:14 +0000 (06:58 +0000)]
merged fixing notices

16 years agomerged fixed warning druing restore
toyomoyo [Thu, 12 Oct 2006 06:13:42 +0000 (06:13 +0000)]
merged fixed warning druing restore

16 years agoMerged tooltips from stable
moodler [Thu, 12 Oct 2006 04:02:22 +0000 (04:02 +0000)]
Merged tooltips from stable

16 years agomerged fix warnings during restore
toyomoyo [Thu, 12 Oct 2006 03:36:58 +0000 (03:36 +0000)]
merged fix warnings during restore

16 years agoMerged fixes from stable
moodler [Thu, 12 Oct 2006 03:31:48 +0000 (03:31 +0000)]
Merged fixes from stable

16 years agomerged fix warnings during restore
toyomoyo [Thu, 12 Oct 2006 03:30:43 +0000 (03:30 +0000)]
merged fix warnings during restore

16 years agoAutomatic installer.php lang files by installer_builder (20061012)
moodler [Thu, 12 Oct 2006 03:00:49 +0000 (03:00 +0000)]
installer.php lang files by installer_builder (20061012)

16 years agomerged fixing warnings during restore
toyomoyo [Thu, 12 Oct 2006 02:49:28 +0000 (02:49 +0000)]
merged fixing warnings during restore

16 years agomerged fixing warnings
toyomoyo [Thu, 12 Oct 2006 02:39:59 +0000 (02:39 +0000)]
merged fixing warnings

16 years agomerged fixing warnings
toyomoyo [Thu, 12 Oct 2006 02:31:40 +0000 (02:31 +0000)]
merged fixing warnings

16 years agomerged, getting rid of warnings
toyomoyo [Thu, 12 Oct 2006 02:13:58 +0000 (02:13 +0000)]
merged, getting rid of warnings

16 years agoimport of new adodb 4.93 with our small fixes and tweaks MDL-6919; it should be now...
skodak [Wed, 11 Oct 2006 18:40:14 +0000 (18:40 +0000)]
import of new adodb 4.93 with our small fixes and tweaks MDL-6919; it should be now possible to solve MDL-6760 can't use the word null in a question answer in the commit message

16 years agoTake out 8) smiliey that interfeers with ligitimate content like (1998). Merged from...
tjhunt [Wed, 11 Oct 2006 16:30:51 +0000 (16:30 +0000)]
Take out 8) smiliey that interfeers with ligitimate content like (1998). Merged from MOODLE_17_STABLE.

16 years agoMerged fixes from MOODLE_16_STABLE which were never merged into HEAD
moodler [Wed, 11 Oct 2006 09:22:42 +0000 (09:22 +0000)]
Merged fixes from MOODLE_16_STABLE which were never merged into HEAD

16 years agofixed wrong } in hotpot_restore_dates()
skodak [Wed, 11 Oct 2006 09:21:30 +0000 (09:21 +0000)]
fixed wrong } in hotpot_restore_dates()

16 years agostandardized lock/unlock of dates (also name and feedbackurl); added standard "Groups...
gbateson [Wed, 11 Oct 2006 08:34:52 +0000 (08:34 +0000)]
standardized lock/unlock of dates (also name and feedbackurl); added standard "Groups" and "Show" settings at end of form.

16 years agomerged fix for 6900
toyomoyo [Wed, 11 Oct 2006 07:39:11 +0000 (07:39 +0000)]
merged fix for 6900

16 years agoMerged from 1.7
vyshane [Wed, 11 Oct 2006 06:58:35 +0000 (06:58 +0000)]
Merged from 1.7

16 years agomerged fix added "new role" in the drop down
toyomoyo [Wed, 11 Oct 2006 06:35:33 +0000 (06:35 +0000)]
merged fix added "new role" in the drop down

16 years agoadded new form element datetimeselector
jamiesensei [Wed, 11 Oct 2006 06:30:03 +0000 (06:30 +0000)]
added new form element datetimeselector

16 years agoMerged fix for MDL-6910
moodler [Wed, 11 Oct 2006 06:25:45 +0000 (06:25 +0000)]
Merged fix for MDL-6910

16 years agoMerged fixes for MDL-6907 from stable
moodler [Wed, 11 Oct 2006 06:21:58 +0000 (06:21 +0000)]
Merged fixes for MDL-6907 from stable

16 years agoImproved has_capability for admins using switchrole in modules
moodler [Wed, 11 Oct 2006 05:49:26 +0000 (05:49 +0000)]
Improved has_capability for admins using switchrole in modules

16 years agoMerged from 1.7
vyshane [Wed, 11 Oct 2006 05:45:44 +0000 (05:45 +0000)]
Merged from 1.7

16 years agomerged fix for MDL-6882
toyomoyo [Wed, 11 Oct 2006 05:24:33 +0000 (05:24 +0000)]
merged fix for MDL-6882

16 years agomerged fixed wrong capaiblity checks
toyomoyo [Wed, 11 Oct 2006 03:48:09 +0000 (03:48 +0000)]
merged fixed wrong capaiblity checks

16 years agomerged change, fixed a bug where'0' is written when calling capability_assign()
toyomoyo [Wed, 11 Oct 2006 02:18:09 +0000 (02:18 +0000)]
merged change, fixed a bug where'0' is written when calling capability_assign()

16 years agouse "noattemptstoshow" message instead of "noattempts"
gbateson [Wed, 11 Oct 2006 01:40:48 +0000 (01:40 +0000)]
use "noattemptstoshow" message instead of "noattempts"

16 years agomove restore dates in a HotPot record to a separate function
gbateson [Wed, 11 Oct 2006 01:32:40 +0000 (01:32 +0000)]
move restore dates in a HotPot record to a separate function

16 years agoallow selection of groups in reports
gbateson [Wed, 11 Oct 2006 01:30:27 +0000 (01:30 +0000)]
allow selection of groups in reports

16 years agoWiki: fixed issue if you tried to set a page content to completely blank (you need...
sam_marshall [Tue, 10 Oct 2006 17:23:24 +0000 (17:23 +0000)]
Wiki: fixed issue if you tried to set a page content to completely blank (you need to switch the html editor into text mode to get this, otherwise it puts in <br/>, but one of our QA people managed to find it anyway).

Also corrected whitespace on some of the lock stuff (weird - how did those tabs get in there? hrm)

16 years agoFixes bug, "Warning: Invalid argument supplied for foreach() in /var/www/html/ndf42...
nfreear [Tue, 10 Oct 2006 11:03:35 +0000 (11:03 +0000)]
Fixes bug, "Warning: Invalid argument supplied for foreach() in /var/www/html/ndf42/head/lib/blocklib.php on line 174"

16 years agoFixes bug MDL-6896, "Global search block - relative form URL broken"
nfreear [Tue, 10 Oct 2006 10:58:29 +0000 (10:58 +0000)]
Fixes bug MDL-6896, "Global search block - relative form URL broken"

16 years agodo not write inherit into db!
toyomoyo [Tue, 10 Oct 2006 09:22:38 +0000 (09:22 +0000)]
do not write inherit into db!

16 years agoBumped to launch into 1.8 dev
moodler [Tue, 10 Oct 2006 08:31:44 +0000 (08:31 +0000)]
Bumped to launch into 1.8 dev

16 years agoMerged bogon fix from stable
moodler [Tue, 10 Oct 2006 07:43:19 +0000 (07:43 +0000)]
Merged bogon fix from stable

16 years agochanged $default to $toform - more meaningful
jamiesensei [Tue, 10 Oct 2006 07:16:05 +0000 (07:16 +0000)]
changed $default to $toform - more meaningful

16 years agomoved setting of defaults from edit2.php to edit_form.php
jamiesensei [Tue, 10 Oct 2006 07:05:19 +0000 (07:05 +0000)]
moved setting of defaults from edit2.php to edit_form.php

16 years agoUpdating to 1.7 Beta
moodler [Tue, 10 Oct 2006 06:21:59 +0000 (06:21 +0000)]
Updating to 1.7 Beta

16 years agoLatest tags
moodler [Tue, 10 Oct 2006 06:17:44 +0000 (06:17 +0000)]
Latest tags

16 years agoRemoved teacher forum string
vyshane [Tue, 10 Oct 2006 05:24:16 +0000 (05:24 +0000)]
Removed teacher forum string

16 years agoRemoved teacher forums from course reset.
vyshane [Tue, 10 Oct 2006 05:23:44 +0000 (05:23 +0000)]
Removed teacher forums from course reset.

16 years agoMerged fix for MDL-6537
vyshane [Tue, 10 Oct 2006 05:20:43 +0000 (05:20 +0000)]
Merged fix for MDL-6537

16 years agoMerged from 1.6 stable.
vyshane [Tue, 10 Oct 2006 05:17:12 +0000 (05:17 +0000)]
Merged from 1.6 stable.

16 years agofix for MDL-6831
toyomoyo [Tue, 10 Oct 2006 03:17:49 +0000 (03:17 +0000)]
fix for MDL-6831

16 years agochanging default capabilities for coursecreators so that they could create courses
toyomoyo [Tue, 10 Oct 2006 03:03:17 +0000 (03:03 +0000)]
changing default capabilities for coursecreators so that they could create courses