Commit graph

21441 commits

Author SHA1 Message Date
cap2501
931ef52833 added description for topics - AJAX format 2006-08-28 02:08:37 +00:00
cap2501
4a1a14c9d3 added nessicary code for ajax course format 2006-08-28 02:06:04 +00:00
cap2501
d4df8fdcae small changes, also de-tabbed and unix fomatted 2006-08-28 02:05:02 +00:00
vinkmar
9519ee2eb7 * admin_setting defaults added 2006-08-28 01:32:11 +00:00
vinkmar
d83f27cefe * documentation started in adminlib.php
* default for block editing changed to "off" (bug in previous revisions)
* added defaults for all admin_setting's
2006-08-28 01:31:37 +00:00
cap2501
49884e9702 Removed evil tabs 2006-08-27 23:45:36 +00:00
cap2501
9a900dfc07 converted dos mode to unix mode 2006-08-27 23:28:39 +00:00
cap2501
097579f09c Fixed to eliminate use of 'GET' and 'POST' 2006-08-27 22:58:51 +00:00
stronk7
716332e68b Added support to SQL generation of statements 2006-08-27 22:31:02 +00:00
stronk7
9dbc13db9a Concat operator for mysql added 2006-08-27 22:25:41 +00:00
stronk7
b96aaad125 Concat operator for mssql added 2006-08-27 22:24:09 +00:00
stronk7
a75636b7ed Added support to SQL generation of statements 2006-08-27 22:22:23 +00:00
cap2501
ee3c87bd84 Fixes needed to work from cvs 2006-08-27 22:09:56 +00:00
stronk7
efd1e2032d Added support to SQL generation of install INSERTs 2006-08-27 21:59:04 +00:00
stronk7
3655a6b39f Set magic_quotes_sybase for both mssql and oci8po.
Anyway, this isn't enough and if must be defined in php.ini
or .htaccess, because GPC are added BEFORE this setting
has effect so they are slashed with the default char.
2006-08-27 21:57:33 +00:00
stronk7
de64b6c69e modify stripslashes_safe() to work properly under magic_quotes_sybase
(both addslashes and stripslashes do it properly based on the setting)
2006-08-27 21:52:22 +00:00
skodak
f2b5d7e3b7 trusttext implementation in Forum module, fixed incorrect merging, added missing postresql upgrade code, some other minor fixes 2006-08-27 20:45:04 +00:00
danmarsden
6ba7f08774 Fix for MDL-4190 - when admin is editing profile, admin loses all subscriptions to forums. 2006-08-27 20:33:54 +00:00
skodak
7af25328c2 fixed cosmetic typo - missing semicolon before closing tag 2006-08-27 18:38:16 +00:00
skodak
9d4cb9e33b New handwritten XMS schema for install.xml files, generator is fixed to link it too. It is not doing all the checks as XMLDB editor from contrib, but it helps to detect basic problems in general XML editors - such as the one in Eclipse ;-) It can serve also as basic documentation of the install.xml format. 2006-08-27 18:33:37 +00:00
koenr
6494526340 typo - Thanks Mits! 2006-08-27 18:02:23 +00:00
stronk7
d1c21c8f31 Very, very, very, very initial support of insert_record for oracle.
I shouldn't interfere with the rest at all. I needed it in CVS now.
2006-08-27 09:02:41 +00:00
stronk7
d6eb06b60b Initial commit supporting install/upgrade inder XMLDB. 2006-08-27 09:00:23 +00:00
stronk7
f2e0049dec Just remove one condition previously checked. 2006-08-27 08:58:09 +00:00
stronk7
b8851b80eb Cache names for improved speed in long iterations requesting
the same name thousands of times.
Prepare Oracle Sequnces for the insert_record function.
2006-08-27 08:52:51 +00:00
koenr
c7a872cbcf updating index files MDL-3484 2006-08-27 08:26:48 +00:00
koenr
4d6cb85c3b updating index files MDL-3484 2006-08-27 08:20:34 +00:00
skodak
168fa2c1d1 reverting isguest() changes 2006-08-27 08:10:03 +00:00
koenr
7d06e3b3be updating index files MDL-3484 2006-08-27 08:09:03 +00:00
koenr
702a3aafa7 typo 2006-08-27 08:01:24 +00:00
koenr
0bb3edbcff updating index files MDL-3484 2006-08-27 08:00:42 +00:00
koenr
b85953c847 updating index files MDL-3484 2006-08-27 07:31:10 +00:00
koenr
936678268c updating index files MDL-3484 2006-08-27 07:13:40 +00:00
skodak
cf8eaebb06 fixed warning in glossary recent activity from deteted entries 2006-08-26 19:38:32 +00:00
skodak
b3e570450f removing some isteacher()s from glossary 2006-08-26 19:19:36 +00:00
skodak
18d8a6a741 isguest() compatible with roles 2006-08-26 18:42:56 +00:00
skodak
907cf31821 trusttext cleaning in glossary upgrade - definitions and comments 2006-08-26 18:08:18 +00:00
skodak
daed1a2f37 minor trusttext fix 2006-08-26 17:39:31 +00:00
skodak
b8dc934baa fixed table already exists problem during install and upgrade in Opera 2006-08-26 17:20:52 +00:00
skodak
7d8a3cb06a trusttext:
* proposed by Martin Dougiamas
 * implemented by skodak

Usage:
1/ change enabletrusttext to yes in site settings (it is off by default) or set it in config.php
2/ assign moodle/site:trustcontent capability to users whose text submitted in glossary entries, comments, forum posts etc. should not be cleaned == they can use javascript or any other forbidden tags in glossary and forums...

done:
 * core
 * glossary (without proper upgrade)

to do:
 * data cleaning in upgrades
 * forum, blocks and some other places (MD decides)
2006-08-26 13:00:07 +00:00
moodler
8618b509fd Automatic installer.php lang files by installer_builder (20060826) 2006-08-26 02:48:03 +00:00
stronk7
c8a418b8d6 Max for decimal type in MSSQL is 38 cc. 2006-08-26 00:50:09 +00:00
stronk7
7e8f922047 Adding back the first column in the recordset, that is out after GetAssoc(),
in order to:

- Don't get our first named column under some drivers.
- Be able to migrate to ADODB_FETCH_ASSOC soon.

For more info, http://docs.moodle.org/en/XMLDB_Problems,
in the  ADOdb fetch mode (ASSOC, NUM and BOTH) section.
2006-08-26 00:08:11 +00:00
mark-nielsen
c87a341cb9 Merged bug fix for bug MDL-6323 2006-08-25 22:53:17 +00:00
skodak
426a369bfa fixed missing continue button during upgrade when using dbsessions 2006-08-25 20:50:44 +00:00
skodak
9425b25f46 Many bugs and typos fixed in capabilitties and legacy isteacher() and similar functions - not many lines changed but it was a looong coding day.
Roles and capabilities should be usable now and old unconverted code should work too :-D

Tested only in fresh installation - admin, teacher and student roles should sort of work.
2006-08-25 20:12:12 +00:00
mark-nielsen
2fc13bc767 Merged differences from MOODLE_16_STABLE into HEAD 2006-08-25 18:33:50 +00:00
stronk7
09942a5ec2 PGs doubles are caller DOUBLE PRECISION 2006-08-25 17:11:43 +00:00
stronk7
c049e98881 Indexes on text fields are not allowed 2006-08-25 17:02:49 +00:00
stronk7
a5ea2dc334 Solved one wrong field declaration in lesson_grades 2006-08-25 17:02:04 +00:00