33 Commits

Author SHA1 Message Date
thepurpleblob
68854d74ec Update all wiki-like text to Markdown. 2005-04-11 12:53:35 +00:00
danmarsden
a3e22b3b9d no backticks in postgres!! 2005-04-07 03:17:43 +00:00
danmarsden
db38d2c92e wrong table names! :-) Bug #2848 2005-04-07 01:18:51 +00:00
mjollnir_
28a858cf02 Syntax fix for postgres upgrade for choice (now upgrades cleanly). Postgres7.sql missing a table, I think. Bug #2848 2005-04-06 21:20:10 +00:00
danmarsden
6308ca52a5 fix of postgres db upgrade. - Penny please test! :-) 2005-04-06 09:34:17 +00:00
danmarsden
abd7dfb38c this is all wrong - will try to clean up later tonight 2005-04-06 04:10:27 +00:00
mjollnir_
173a1cb5ef Some syntax fixes for postgres upgrade for choice. Still failing though, I am about to create a bug report for it 2005-04-06 01:55:52 +00:00
moodler
95836079dc Small fix: not crucial, but prevents some empty fields 2005-03-30 17:06:20 +00:00
moodler
3a925837fe Argh, typo in new field name 2005-03-30 16:24:19 +00:00
moodler
669dfa715a An emergency checkin to prevent Choice dataloss for anyone who may
be upgrading.

The module itself currently doesn't work at all ... I'm going
through and re-writing it.
2005-03-30 16:14:49 +00:00
danmarsden
6fd87e3bc7 Improved coice mod, allows an unlimited number of choices. 2005-03-29 23:46:17 +00:00
mjollnir_
f63a559570 Fixing bug #2419 - missing global $CFG in upgrade for choice resulting in missing prefix 2005-01-27 02:17:35 +00:00
mjollnir_
782fe16bbc Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - choice module 2004-11-18 02:39:16 +00:00
mjollnir_
15e0081234 Merged from MOODLE_14_STABLE: Indexes and version bump for choice 2004-11-17 23:03:56 +00:00
gustav_delius
1c61c8d6bc fixed capitalization and quoting of attribute values 2004-09-12 15:06:29 +00:00
moodler
eeb2d76ee8 Whoops! Fixed one tiny upgrade thing ... this will make choices
with "publish" turned off upgrade predictably
2004-07-01 13:30:50 +00:00
moodler
bcb5433d92 upgrading database with new values for the new fields 2004-07-01 09:17:37 +00:00
moodler
283009c259 Two new fields added to extend choice capabilities 2004-07-01 07:41:36 +00:00
moodler
b9080b73c7 Added two fields for time restrictions on choices 2004-07-01 07:01:26 +00:00
moodler
abcc3a17b9 Fixed up some logging 2004-02-17 14:39:15 +00:00
moodler
263a473593 New setting makes it optional to show column of people who didn't answer 2004-01-01 06:35:22 +00:00
moodler
fb7a194e6b Removed blank lines at the end (!) 2003-11-03 02:59:09 +00:00
les_kopari
39cb14779b Initial add for Oracle. 2003-09-25 01:11:22 +00:00
les_kopari
96c1e116e6 Oracle tables, etc converted from mysql, plus test transactions. 2003-09-13 08:05:21 +00:00
moodler
6d6c938999 New feature: choices can now be published (like polls) with names
or without.
2003-01-01 06:34:13 +00:00
moodler
a3eea09cc9 More fixes for postgreSQL etc 2002-12-23 11:47:17 +00:00
moodler
ebc3bd2b24 Changes throughout Moodle to remove any reserved words from the
Moodle tables.

ie user -> userid in many tables, plus in user_students
   start -> starttime and end -> endtime

I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.

Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00
moodler
9fa49e22ab Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
moodler
fd790dfb55 Database and upgrade files for PostgreSQL 7 support! 2002-12-15 02:41:07 +00:00
moodler
23877f9407 never upgraded choice tables to six choices! 2002-10-24 03:43:37 +00:00
moodler
c0d6bcc508 Moved upgrade functions into db/mysql.sql 2002-10-05 17:20:24 +00:00
martin
9d99fef442 Added new entries for log_display table. These are used to define what
to display for any given logged item.
2002-05-31 09:14:00 +00:00
martin
d78e2e84ff This is the new format for database schema. Each module has a db directory
with one file per database.  All these are called from admin/index.php and
work in concert with lib/db.
2002-05-31 09:03:46 +00:00