skodak
23a97d83e8
reverting moved $SITE reinitialisation into setting method, it was not a good idea after all; merged from MOODLE_17_STABLE
2006-10-16 08:54:37 +00:00
skodak
6192fd6860
fixed error message when empty site full or short name - moved $SITE reinitialisation into setting method; merged from MOODLE_17_STABLE
2006-10-16 07:54:22 +00:00
skodak
c4ea5e7801
PARAM_MULTILANG is now alias of PARAM_TEXT; merged from MOODLE_17_STABLE
2006-10-16 07:46:35 +00:00
skodak
b89639f9ef
fixed error message when empty site full or short name; merged from MOODLE_17_STABLE
2006-10-16 07:37:41 +00:00
stronk7
32ac847351
New block upgrade functions must be called:
...
xmldb_block_BLOCKNAME_upgrade()
Part of MDL-6786, just for consistency. Merged from MOODLE_17_STABLE
2006-10-15 23:04:06 +00:00
stronk7
6b7be6d74f
Now set_field() supports Oracle LOBs. Better error handling of oracle_update_lobs()
...
Merged from MOODLE_17_STABLE
2006-10-15 20:21:27 +00:00
stronk7
73ad2d0c29
Now update_record() supports LOBs under Oracle. Plus prevent empty objects to be updated.
...
Merged from MOODLE_17_STABLE
2006-10-15 19:40:33 +00:00
stronk7
1a8078073e
Minor changes + debug info in UpdateXlob()
...
Merged from MOODLE_17_STABLE
2006-10-15 18:37:01 +00:00
stronk7
b825e563c0
- 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
2006-10-15 16:41:55 +00:00
jamiesensei
5bc97c9862
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.
2006-10-14 12:32:31 +00:00
moodler
f1e4c519df
Fixed some words
2006-10-14 07:29:34 +00:00
jamiesensei
c56f18269e
added some methods to give a choice of
...
setDefault and setDefaults
setHelpButton and setHelpButtons
setType and setTypes
2006-10-12 14:15:59 +00:00
stronk7
906eebf6ad
Small change in rename_field() so objects won't become modified at all
...
in the process.
Merged from MOODLE_17_STABLE
2006-10-12 12:28:36 +00:00
skodak
e7dcb0fccc
moodleform->validation() receives slashed $data now to make it similar to data_submitted() and prevent potential SQL injections
2006-10-12 09:53:32 +00:00
vyshane
e1c15ef7c9
Merged from 1.7
2006-10-12 07:35:55 +00:00
skodak
7f40a229a4
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.
2006-10-12 07:33:57 +00:00
moodler
215965673b
Merged MDL-6885 from stable
2006-10-12 07:28:22 +00:00
skodak
9d2afb7095
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
2006-10-11 18:40:14 +00:00
tjhunt
014094c42d
Take out 8) smiliey that interfeers with ligitimate content like (1998). Merged from MOODLE_17_STABLE.
2006-10-11 16:30:51 +00:00
vyshane
db5308e25b
Merged from 1.7
2006-10-11 06:58:35 +00:00
jamiesensei
e9d39a3215
added new form element datetimeselector
2006-10-11 06:30:03 +00:00
moodler
bface4fe3c
Merged fix for MDL-6910
2006-10-11 06:25:45 +00:00
moodler
2d5a4f255b
Merged fixes for MDL-6907 from stable
2006-10-11 06:21:58 +00:00
moodler
f4e2d38aaf
Improved has_capability for admins using switchrole in modules
2006-10-11 05:49:26 +00:00
toyomoyo
96986241f5
merged change, fixed a bug where'0' is written when calling capability_assign()
2006-10-11 02:18:09 +00:00
nfreear
1bece9174c
Fixes bug, "Warning: Invalid argument supplied for foreach() in /var/www/html/ndf42/head/lib/blocklib.php on line 174"
2006-10-10 11:03:35 +00:00
toyomoyo
4473252d7c
changing default capabilities for coursecreators so that they could create courses
2006-10-10 03:03:17 +00:00
toyomoyo
7246585a70
setting default value for backup/restore capabilities for teacheredit and coursecreators
2006-10-10 02:52:08 +00:00
cap2501
c4308cfa1b
Bug:MDL-6674
...
made changes to blocks_exeute_repositioning_atomic to fix some logic errors with shifting around the weight list
2006-10-10 02:06:51 +00:00
stronk7
a08a698895
Updated moodle notes to reflect latest change to odbc_mssql driver.
2006-10-09 23:39:32 +00:00
stronk7
d5d50c2d54
Fixed ServerInfo() behaviour for odbc_mssql. We need this working properly NOW!
...
(will be back once ADOdb code supports it properly)
2006-10-09 23:36:27 +00:00
stronk7
97ab73aad4
Add odbc_msql dbtype to a bunch of places.
2006-10-09 22:55:55 +00:00
stronk7
354bb6035a
And now, Moodle is able to work with the odbc_mssql driver. Simple! B-)
2006-10-09 22:29:52 +00:00
stronk7
1c460b0bc9
Show error if the dbtype specified isn't supported by XMLDB
2006-10-09 22:28:22 +00:00
stronk7
cd2acc4aa1
Added MetaIndexes() support to the odbc_mssql driver. We need it NOW!
...
I've posted one comment about this in ADOdb forums:
http://phplens.com/lens/lensforum/msgs.php?id=15930
2006-10-09 22:26:21 +00:00
stronk7
a3f3ff1b69
Added MetaIndexes() support to the odbc_mssql driver. We need it NOW!
...
I've posted one comment about this in ADOdb forums:
http://phplens.com/lens/lensforum/msgs.php?id=15930
2006-10-09 22:21:01 +00:00
jamiesensei
29f1cae1b0
removed htmleditors array - not needed
2006-10-09 11:34:43 +00:00
skodak
a44091bffe
Fixing Theme Config Variables MDL-6784
2006-10-09 10:12:41 +00:00
skodak
4dd5d7513d
fixed wrong capability name and function name typo
2006-10-09 10:07:15 +00:00
vyshane
3203f10402
Fix for MDL-6889. See bug report for description.
2006-10-09 08:35:39 +00:00
jamiesensei
230a910a0b
added 2 new methods to form class data_submitted and setDefault
...
Fixed bug in id generation
2006-10-09 08:32:30 +00:00
cap2501
2fb6deb574
added main.getString function to better emulate php-moodle. In the future this could be extended to dynamically pull strings from moodle.php.
2006-10-08 21:24:38 +00:00
cap2501
6d9fbe85b6
delete confirmation now useing main.getString function.
2006-10-08 21:23:51 +00:00
cap2501
f2e3c53ad6
resolved: MDL-6579
...
created language independant prompt for resource/activity deletion
2006-10-08 21:09:47 +00:00
cap2501
3287cb4cba
resolved: MDL-6579
...
Added strings needed for delete confirmation.
2006-10-08 21:09:18 +00:00
cap2501
39d764f932
removed code for the old way of updating the block weight.
2006-10-08 20:26:25 +00:00
cap2501
9e28e05f62
movement of the blocks is now handled completely seperately on the serverside and on the clientside. This was unavoidable.
2006-10-08 20:25:10 +00:00
cap2501
77e65ff786
removed some debugging output accidently left in.
2006-10-08 20:23:30 +00:00
cap2501
e028ed34da
created blocks_execute_repositioning_atomic as an extension of blocks_execute_repositioning, the original did adjust the column that the block was coming from but it did not insert it properly into the target column (adjusting the weights of the other blocks). This is currently only really nessicary for the ajax formats.
2006-10-08 20:21:15 +00:00
skodak
78d4711ebb
fixed data/index.php when no databases available, initialized array in get_all_instances_in_course() from datalib.php; merged from MOODLE_16_STABLE
2006-10-08 19:45:29 +00:00