gbateson
de2ded1a43
moved restorelog code to "hotpot_restore_mods", so it is only executed when backing up a HotPot record. Also, modified restorelog code so that "course_startdateoffset" is not added to TIMEOPEN or TIMECLOSE if those fields are currently empty (empty has a special meaning for those fields)
2006-09-14 11:10:54 +00:00
toyomoyo
ea8158c118
changing sql calls from user_students table to role_assignments table
2006-09-14 09:08:07 +00:00
gbateson
29f4a60ffe
add get_coursemodule_from_id/instance functions for compatability with Moodles <1.7
2006-09-14 07:29:22 +00:00
gbateson
2a532aa68c
reduce length of worksheet name to 31 chars if running under Moodle 1.5
2006-09-14 07:17:53 +00:00
gbateson
3c4f45c2d9
remove from blank cells when generating Excel sheet
2006-09-14 07:16:14 +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
thompson697
163ff97e84
Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +00:00
moodler
0f9602085b
Small bump for guest role fix
2006-09-12 08:22:14 +00:00
moodler
8d158ed44f
Reload the guest role using new defaults
2006-09-12 07:10:49 +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
a70b3fbb4c
correct the detection of HotPot 2.0 backups (from Moodle 1.5)
2006-09-01 04:24:34 +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
toyomoyo
81e956b964
added some capabilities
2006-08-30 08:43:17 +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
skodak
f9d5371b28
new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283
2006-08-08 22:09:55 +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
skodak
7e4fe17600
merged last two commints into MOODLE_16_STABLE
2006-06-04 21:11:04 +00:00
gbateson
1e80704a32
modified CVS URLs to start http://moodle.cvs.sourceforge.net
2006-05-22 00:18:41 +00:00
gbateson
6075dd444f
Give Up button modified to send results and set status to Abandoned. Microincrement release to 2006052200 (release = v2.1.20)
2006-05-22 00:10:23 +00:00
martinlanghoff
9a2eb087aa
moodle16cleanup: mod/hotpot set the correct column datatype and default
...
value
2006-05-17 06:35:14 +00:00
moodler
acfc768e3e
COnverted from DOS format
2006-05-02 06:00:35 +00:00
gbateson
2cea2a74b4
fixed handling of square brackets in JCloze on older PHP sites. Micro-increment version to 2006050200 (v2.1.19)
2006-05-02 05:18:01 +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
gbateson
4f6a57d173
change single quotes to double quotes. Probable fix for bug 5315
2006-04-26 03:07:38 +00:00
gbateson
da6bacb7e2
fix bug 5304
2006-04-24 06:54:44 +00:00
gbateson
6774380b24
set default value for varchar 255 fields, to fix "truncated" errors in utf8 migration. Fields affected: hotpot.studentfeedbackurl, hotpot_responses.correct/wrong/ignored
2006-04-24 01:44:08 +00:00
gbateson
3da3e957f9
micro-increment version number to 2006042101 (release = v2.1.16)
2006-04-23 11:55:02 +00:00
gbateson
df795ee950
two fixes connected with UTF migration: (i) remove $CFG->prefix from all index names, (ii) force type of "name" field in "hotpot_questions" table to "text"
2006-04-23 11:53:38 +00:00
gbateson
ec161357c9
set $result even when $fromenc=="utf-8", to fix "unassigned variable" errors
2006-04-23 11:51:17 +00:00
gbateson
5320d678e9
type of "name" field in "hotpot_questions" table should be "text" after migrate
2006-04-23 11:48:58 +00:00
skodak
d850b4e621
typo in switch
2006-04-22 13:38:24 +00:00