21113 Commits

Author SHA1 Message Date
vyshane
9fa3350862 Upgrade now works. Needs more testing. 2006-08-22 05:45:43 +00:00
vyshane
021a7467b5 Fixes:
1) has_capability call used in fullname()
2) initialised array $options
3) $context->level has been renamed to $context->aggregatelevel
2006-08-22 05:44:32 +00:00
vyshane
c1a657cc1f Bug fixes:
1) Replaced isteacher call in fullname ($course undefined)
2) Initialised $options array
2006-08-22 05:35:52 +00:00
vyshane
f13a5fa609 Removed forum->open config since roles will take over this 2006-08-22 02:43:58 +00:00
vyshane
ac195b6fa6 Need to pass the module id and not the object to add_course_module 2006-08-22 02:24:45 +00:00
skodak
a2392230a1 fixed some notices in scheduled backup; merged from MOODLE_16_STABLE 2006-08-21 20:40:07 +00:00
stronk7
5cf36b39b1 Solved hh (horrible-hidden) bug in backup_scheduled code.
Credits go to Thirot Jean-Luc. http://moodle.org/mod/forum/discuss.php?d=52156

Merged from MOODLE_16_STABLE
2006-08-21 19:10:21 +00:00
stronk7
28f6c41d45 Changed level (reserved word) to aggregatelevel. 2006-08-21 14:59:48 +00:00
stronk7
88534572c3 Reducing the list of MSSQL reserved words to the efectively
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by MSSQL)
2006-08-21 12:28:46 +00:00
stronk7
c8f85eeeba Reducing the list of PG reserved words to the efectively
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by PG)
2006-08-21 12:04:48 +00:00
vyshane
c1de8b8a80 Fixed bug - empty teacher forums (deleted) should not have a course module
created for them.
2006-08-21 08:45:12 +00:00
toyomoyo
3765fd5367 some capabilities for quiz and questions, need to load them in access.php 2006-08-21 08:40:06 +00:00
vyshane
f0da6b858e Removed $forum->open, $forum->assesspublic from code. Fixed bug in upgrade
code, changed module config form to accomdate removal of forum.assesspublic
and forum.open.
2006-08-21 06:56:04 +00:00
skodak
efc7316caa import of ADODB v4.91 and general cleanup, removed some unused files - see readme_moodle.txt; new session2 code needs a new table, I am going to use the new database functions for that later, for now we are using the old table and old database session code. 2006-08-21 06:54:00 +00:00
cap2501
0894b9271e Semi-final version 2006-08-21 06:15:24 +00:00
cap2501
04b2d74f03 Main JS file for topic - ajax course format (still needs a little cleaning though) 2006-08-21 06:14:43 +00:00
cap2501
be2a520783 Restful interface for AJAX course format 2006-08-21 06:13:28 +00:00
toyomoyo
d140ad3f7c fix for bug #6307, reserved word 'level' changed to 'aggregatelevel' for Oracle. Some parts could be broken by this. please report breakage asap! Thanks 2006-08-21 05:19:16 +00:00
vinkmar
e277678dab changes made to ensure compatibility with core admin (admin/adminlib.php) where $_GET is no longer used; changed 'admin' to $CFG->admin in dir paths 2006-08-21 04:08:57 +00:00
vinkmar
9acea96564 changes made to ensure compatibilty with core admin files (admin/adminlib.php), where $_GET is no longer used 2006-08-21 04:08:00 +00:00
vinkmar
6fcbab99ef fixed tabs, fixed potential notices for undefined variables, added structure that will be used for detecting what variables to flag during installs & upgrades, removed all $_GET usage, switched 'admin' to $CFG->admin (for directory paths), and fixed blank line at end of index.php 2006-08-21 04:06:58 +00:00
toyomoyo
d37bac7e5d fix for 6294 2006-08-21 02:23:25 +00:00
mchampan
791a4cece1 Comments, update logic improved, rest of module add/delete functions added. 2006-08-21 00:50:29 +00:00
stronk7
0513f3bfa5 $statement_end for Oracle changed to "/" because standard ;
causes problems with trigger generation
2006-08-20 21:56:54 +00:00
tjhunt
dcc0a7e25f Bug #6305 - Quiz settings form field order could be better. Merged from MOODLE_16_STABLE. 2006-08-20 20:11:05 +00:00
stronk7
73bb7f8db0 Setting some ADOdb variables properly and calling to the new
configure_dbconnection() function to set DB encoding and other
preliminar settings.
2006-08-20 18:22:48 +00:00
stronk7
d086d854a8 Added the configure_dbconnection() function to be executed
after DB conection. Responsible to set a lot of things
(charsets, dbsession variables...)
2006-08-20 18:21:33 +00:00
stronk7
f9543de627 Since PostgreSQL 7.4 the precision given for float columsn is
the number of bits to use, and not the number of decimals. So,
based on the number of decimals from the XMLDB schema, we are
going to create REAL (<6 decimals) or DOUBLE PRECISION (>=6) columns.
2006-08-20 18:19:50 +00:00
stronk7
16f07ff2b0 MySQL doesn't like any name on its primary keys (neither "primary") 2006-08-20 18:03:55 +00:00
stronk7
c412278140 Although difficult, now all the key/index/sequence/trigger names
are quoted if they are reserved words
2006-08-20 18:01:50 +00:00
stronk7
134e3128bb Added the install_from_xmldb_file() function that
loads, transform and execute one entire XMLDB
file into the correct SQL sentences.
2006-08-20 15:50:27 +00:00
tjhunt
0f49e5655d Bug #6303 - True / False applies penalty factor wrongly. Merged from MOODLE_16_STABLE. 2006-08-20 15:37:42 +00:00
tjhunt
948bf30099 Fix Eclipse warnings. 2006-08-20 15:30:31 +00:00
stronk7
420f683619 Core tables XMLDB installation is now working. Disabled by default
until fully working.

$CFG->xmldb_enabled = true; will enable it for test/dev against any DB
2006-08-20 11:20:40 +00:00
stronk7
293bccd539 First commit for the progressive adoption of ADODB's SelectLimit() function
in order to support LIMIT clauses in a cross-db compatible way.
Changes don't affect old sentences at all (all them would be changed soon too).
2006-08-20 09:37:56 +00:00
vinkmar
36647b9fbb More PHP4 compatibility issues fixed. 2006-08-20 03:56:25 +00:00
skodak
7f5495053f fixed short php tag and end tag in comment 2006-08-19 11:15:59 +00:00
moodler
3566b97c4a Fixing some strings 2006-08-19 08:21:05 +00:00
moodler
c06140513d Fixed up get_user_roles to remove notices 2006-08-19 08:12:45 +00:00
tjhunt
707b5c9953 Renamed unit tests to match Eloy's work. 2006-08-19 07:47:41 +00:00
vinkmar
95cdbec95f Added paramtypes (mandatory) to all text field objects. 2006-08-19 05:34:25 +00:00
vinkmar
7ba710e6a3 Small bug fix. Caused problems when moving or deleting blocks. 2006-08-19 05:32:56 +00:00
moodler
9f948d1136 Just minor doc tweaks 2006-08-19 02:58:07 +00:00
moodler
6e0993ee48 Just tidying up things a bit as I look it over 2006-08-19 02:46:46 +00:00
moodler
dfcf72ba94 Automatic installer.php lang files by installer_builder (20060819) 2006-08-19 02:45:53 +00:00
vinkmar
085dfc0c20 solving the issue with an undefined sesskey (happens when there is no user logged in) 2006-08-19 02:26:01 +00:00
vinkmar
fea42164fb preventing notifications by using isset() unsparingly (i.e. small bug fixes) 2006-08-19 02:21:44 +00:00
vinkmar
ccad2d8e7d Modifications made for PHP4 compatibility. 2006-08-19 01:40:54 +00:00
vinkmar
0155cf991d Fixed error that caused self_test failure during initial install; made changes for PHP4 compatibility (no use of instanceof, no use of private/protected/public) 2006-08-19 01:38:57 +00:00
vinkmar
63aafc9e56 Fixing errors in admin page cleanup; working towards compatibility with PHP4 (use of interfaces, private/protected/public, instanceof all removed). 2006-08-19 01:37:38 +00:00