86 Commits

Author SHA1 Message Date
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
gbateson
5abcfe582d trigger the updating of grades from earlier versions of Moodle
merge other fixes from Moodle 19 hotpot/lib.php
2008-03-27 08:14:44 +00:00
gbateson
8f95eff2ca fix for MDL-9713 : use XMLDB functions to create tables when mod/hotpot/db/mysql.sql is not found. This allows upgrade direct from Moodle 1.5 (or earlier) to Moodle 1.8 (or later) 2007-11-12 08:54:35 +00:00
skodak
03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
stronk7
fcdea90774 Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
poltawski
e73457e4ba MDL-9742 Converting tabs to spaces 2007-05-08 15:44:37 +00:00
gbateson
e5ea6227e6 removed unnecessary setting of NULL string fields to '', in hotpot_update_to_v2_1_21. 2007-02-28 05:28:53 +00:00
martinlanghoff
5e227395d4 hotpot: Fixing db upgrade script
Note MySQL upgrade (earlier on by version)


Author: Andrew Walbran <andrew.walbran@catalyst.net.nz>
2007-02-28 00:29:24 +00:00
vyshane
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
stronk7
38b7241934 Some more uses of $CFG->dbfamily. MDL-7061 2007-01-13 00:52:59 +00:00
skodak
7150226896 MDL-7861 xhtml strict fixes - fixed all <br> in our code 2007-01-04 23:38:17 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
stronk7
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
b8a342d7ac New upgrade.php file added for this module. MDL-7214 2006-10-26 17:33:40 +00:00
moodler
f274fe073c Merged AS keyword fixes from stable MDL-7207 2006-10-25 09:04:25 +00:00
moodler
2d5a4f255b Merged fixes for MDL-6907 from stable 2006-10-11 06:21:58 +00:00
toyomoyo
0c40e390ad adding utf8 support for new fields 2006-10-06 04:03:02 +00:00
gbateson
85b05f3784 removed all references to obsolete indexes on "hotpot_questions.name" and "hotpot_strings.string" 2006-10-06 02:03:43 +00:00
gbateson
cd49109677 reset version number in HotPot v1 with over-advanced version number 2006-10-06 01:25:56 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
moodler
fdb1cf2cc1 FIxed to use the new debugging function 2006-09-18 09:13:04 +00:00
gbateson
e9be584810 fix for overly advanced version numbers in HotPot module in Moodle 1.5 (see bug MDL-6538) 2006-09-13 23:59:38 +00:00
gbateson
c2e04a5df1 improve detection of PostgreSQL version number 2006-09-01 22:44:07 +00:00
stronk7
e9f02dafca New md5key fields and associated indexes.
Now hotpot should be 100% cross-db. Thanks Gordon!
2006-09-01 15:36:49 +00:00
gbateson
e1af293f5f fix bug MDL_6419 2006-09-01 08:55:43 +00:00
gbateson
3044600bf3 add md5key field to end of hotpot_questions and hotpot_strings 2006-09-01 04:20:19 +00:00
gbateson
5048c8d658 fixed typo on line 2 2006-09-01 02:18:41 +00:00
gbateson
1897e3ef95 replace MySQL-only indexes on text fields (hotpot_question.name + hotpot_strings.string) with two new md5key fields (hotpot_question.md5key + hotpot_strings.md5key), which are the MD5 hash of the respective text fields. Microincrement version number to 2006083101 2006-09-01 02:08:39 +00:00
toyomoyo
4f83ae95ca adding capabilities 2006-08-31 08:51:09 +00:00
stronk7
c049e98881 Indexes on text fields are not allowed 2006-08-25 17:02:49 +00:00
stronk7
540c65ba43 XMLDB schema initial commit for the hotpot module 2006-08-11 17:24:55 +00:00
moodler
dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak
2c93e66a4c merging forgotten changes from MOODLE_16_STABLE; sorry for the breakage ;-) 2006-08-03 19:19:23 +00:00
skodak
a8ff58dd2c merging changes from MOODLE_16_STABLE 2006-07-31 18:10:02 +00:00
skodak
ad0f9c828e Bug #6136 - Hard coded admin paths; merged from MOODLE_16_STABLE 2006-07-19 08:13:25 +00:00
martinlanghoff
9a2eb087aa moodle16cleanup: mod/hotpot set the correct column datatype and default
value
2006-05-17 06:35:14 +00:00
gbateson
e5d1941db7 set negative values to 0, on unsigned numeric fields 2006-04-28 02:11:52 +00:00
gbateson
c9441e34ca allow negative score and weighting in hotpot_responses table 2006-04-28 02:06:58 +00:00
gbateson
8955d22ac6 optimization fo the removal of orphan records 2006-04-28 01:37:17 +00:00
gbateson
9f02edcad8 small fix for the removal of orphan records 2006-04-28 01:20:05 +00:00
gbateson
340a5808e9 fix undefined variable $db 2006-04-28 00:59:57 +00:00
gbateson
192e8f6650 remove orphans records, if any, from hotpot tables, reduce size of "score" and "weighting" fields in "hotpot_responses" table, and set default value on ALL string fields in HotPot tables. New version number is 2006042800 (v2.1.18) 2006-04-28 00:56:14 +00:00
gbateson
55b2126228 force remaining NULL fields into NOT NULL '0'/'' 2006-04-27 21:22:43 +00:00
gbateson
530cd21dc2 Fix "data truncated errors" by setting set NULL values in int field to 0 before changing to NOT NULL DEFAULT 0 2006-04-27 08:45:34 +00:00
toyomoyo
cb24115c8e trying to change all the default NULL fields to NOT NULL default '0'/'', hope i didn't mess up. Please report any bugs asap! 2006-04-26 05:48:04 +00:00
gbateson
2e2a27a9bc changed line 10 to: $index = "{$table}_{$field}_idx"; (bug 5315) 2006-04-26 03:26:12 +00:00