120 Commits

Author SHA1 Message Date
martinlanghoff
d13325d4c8 Merged from MOODLE_15_STABLE - Fixed field lenght in config_plugins 2005-05-30 22:36:01 +00:00
martinlanghoff
a13e99bd67 Merged from MOODLE_15_STABLE - Created config_plugins table to manage configuration entries on a per-module/plugin. This breaks the rules a little bit, but it has been discussed with MD. 2005-05-30 05:22:07 +00:00
moodler
9e33ce2c2c User ->trackforums now defaults to OFF, to save CPU on default installs 2005-05-01 15:07:52 +00:00
mchurch
bce5c2cd47 Added user prefernce for forum tracking. 2005-04-24 19:52:18 +00:00
defacer
8180c859f1 Adding repeatid in mdl_event. 2005-04-21 13:36:37 +00:00
defacer
68c0264e1b Changes to mdl_user:
* Change timezone to varchar(100) (to support non-trivial timezones)
* Drop timezonename (will not be used after all)
2005-04-08 19:50:01 +00:00
moodler
594ceedda1 Remove "deleted" field from course_modules table
http://moodle.org/mod/forum/discuss.php?d=20715
2005-03-31 08:46:38 +00:00
moodler
4eb25d43aa Adding the new grade tables
POSTGRES IS NOT DONE YET!!!!   DOES SOMEONE WANT TO TACKLE IT NOW?
2005-03-28 18:16:39 +00:00
defacer
d4880eaa46 Remove redundant mdl_dst_preset table from schema. 2005-03-26 19:00:23 +00:00
defacer
b41c4f7e28 The schema for mdl_timezone looks final, so create it in new installations. 2005-03-26 18:53:01 +00:00
defacer
1789c54824 mdl_user.dstpreset becomes mdl_user.timezonename 2005-03-23 01:19:27 +00:00
moodler
766d2bf3b3 Added user fields for Skype, AIM, Yahoo, and MSN messengers. :-)
If anyone knows good links+images to use for AIM, Yahoo and MSN let me know
2005-03-05 05:57:10 +00:00
defacer
13222d99b5 Adding new fields to the dst_preset table. 2005-02-25 01:24:52 +00:00
moodler
ceff930730 Added a new table for logging ADODB requests and a config variable to
turn it on.  Very useful for debugging performance issues.
2005-02-18 14:12:38 +00:00
defacer
41b7678df3 Adding extra field to mdl_user table: dstpreset 2005-02-17 21:00:54 +00:00
martinlanghoff
e89ff6c6df Fixed course.idnumber not being varchar(100) in installations post 2004/06 2005-02-16 08:00:40 +00:00
martinlanghoff
1c66bf597d Fixed bug 2553 - truncate_userinfo() was out-of-sync with prefix_user table definition. Added a reminder to the SQL files. 2005-02-15 23:12:57 +00:00
moodler
915602ea79 Adding theme fields for courses, users and groups 2005-02-10 07:46:20 +00:00
defacer
783453129b Fix for bug 2488:
Extending mdl_log column module to varchar(20).
It was already 20 chars in Postgres, so no changes there.
2005-02-08 20:29:17 +00:00
stronk7
90ccfd190f Added one missing key too. 2005-01-30 10:05:36 +00:00
moodler
13706b5263 Added 'enrol' field to new user_students tables 2005-01-30 09:18:21 +00:00
mjollnir_
a22fd258aa Fixing a typo in metacourses in mysql (id should be int 10 not int 1). Hopefully this is the end of it :( 2005-01-27 20:41:54 +00:00
mjollnir_
5f37b628ae Update for meta courses. New table renamed from meta_course to course_meta (and upgrade script provided in mysql.php and postgres7.php) and new field in course table renamed from meta_course to metacourse. Associated changes in code. Please test me! 2005-01-25 04:33:02 +00:00
mjollnir_
b61efafba5 Initial checkin for new meta courses feature. Please test!
See http://moodle.org/mod/forum/discuss.php?d=17269 for description.
2005-01-24 22:21:28 +00:00
moodler
36f01e7b1b New log display stuff for message contacts 2005-01-01 08:41:13 +00:00
moodler
e53c030b7a Added format field for messages 2004-12-28 08:56:20 +00:00
moodler
0eacb23ccc Updated message databases with better time storage, and also some logging
for message reading and writing
2004-12-28 07:40:26 +00:00
moodler
ffce79c050 New tables for messaging system, plus completion of the dst_preset
tables in Postgres and new installs
2004-12-16 12:39:17 +00:00
moodler
1a5bc0467f Field added to groups table to allow group specific enrolment keys 2004-12-14 06:41:18 +00:00
moodler
027a160469 New feature: Site Policy Agreements.
If the admin specifies a Policy Agreement (via URL in the config variables)
then each user is required to see and agree to that document once before
continuing.

To get everyone to see it again (on an update, say) one just needs to issue:

   UPDATE user SET policyagreed = 0
2004-11-29 05:30:36 +00:00
mjollnir_
f3c9e7f9c3 Merged from MOODLE_14_STABLE: Fixing typo in mysql.sql for unique key for user_teachers on course userid 2004-11-24 19:00:24 +00:00
martinlanghoff
b110348b71 Merge from MOODLE_14_STABLE.
Student and teacher enrolments now unique + version bump

Made student and teacher enrolments unique, enforced at the database level. This patch also removes a cleanup job in moodle's cron that removed duplicate enrolments.

Merge of patchset  arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-422
2004-11-24 02:25:36 +00:00
martinlanghoff
5cd796869e Enrol/LDAP - DB Patches + version bump
These patches add an 'enrol' column to the user_students and user_teachers tables for the enrolment plugins to be able to keep track of source of the enrolments. Follows similar conventions to the user table with its 'auth' field.

This is a merge of the following patches:
 arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-187
 arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-192
2004-11-22 02:36:14 +00:00
mjollnir_
ffa5f71b4b Merged from MOODLE_14_STABLE:
Add a unique key to guarantee that course,sortorder is unique. Allows fix_course_sortorder and ordering operations to be much faster. (martinlanghoff)

Plus more indexes for user table (mjollnir_)

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-231
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-236
2004-11-17 07:47:03 +00:00
mjollnir_
17f3e7d05b Merge from MOODLE_14_STABLE: Indexes on faux foreign keys and often used fields, one more set and version bump to come. 2004-11-17 07:09:08 +00:00
defacer
9b4b78fd6a Da monster-commit of blocks version 2!
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!

Please test the hell out of it as it's sure to have issues that need to be
ironed out.
2004-10-19 21:04:28 +00:00
moodler
42b90599be SESSIONS-IN-DATABASE SUPPORT
Support for a new configuration variable called $CFG->dbsessions
which enables sessions via database.  Based on code from Jason Cole's
team - thanks!
2004-09-30 06:02:39 +00:00
moodler
d35757eb25 Merged/cleaned changes from MOODLE_15_LDAP to HEAD ...
please don't use the MOODLE_15_LDAP branch any more.
2004-09-20 09:08:57 +00:00
paca70
01e2ea5fa3 New field "guid" added to table user.
This can be userd to store "global unique identifier" from external databases
like Windows SID or eDirectorys guid . This will keep upcoming user syncronization
feature reliable in case of renamed users.
Mysql files are untested.
php -l mysql.php does not show any syntax errors, so files
should work.
2004-09-03 10:49:44 +00:00
moodler
4e11ad4faa Added a new "auth" field to the user table. This field contains the
authentication mechanism used to create that user record.

Also added code to upgrade existing systems to have entries in that
field, and for new users to also have that field defined.

This will allow us to later improve the login procedure to be able to
handle various types of authentication.
2004-08-15 07:27:52 +00:00
moodler
f28db22d06 Fixed duplicate in log_display, and improved installation
for non-English users
2004-07-29 18:44:57 +00:00
moodler
18763fd41f Added a new course field called enrolperiod that allows a teacher to specify
an enrolment period for new students.
2004-07-29 14:47:05 +00:00
moodler
8c5c6133a8 Adding a field "cost" to courses. :-) 2004-06-26 09:09:00 +00:00
moodler
838ee71b4b New course field called idnumber ... acts as storage for an external
id number for each course.  Used in external processing of course and
user_students and user_teachers tables.
2004-06-24 11:46:53 +00:00
moodler
faef9f7b8c Added timestart and timeend field to user_teachers table
(in preparation for enrollment architecture)
2004-06-24 08:23:16 +00:00
defacer
cc21211e58 Email digest feature step 1: Database schema and upgrade 2004-06-01 07:20:02 +00:00
gustav_delius
dcd338ffdc Events associated to hidden activities are now invisible in calendar, using new field 'visible' in table 'event' which is updated each time a course module is hidden or unhidden. 2004-05-05 07:07:56 +00:00
moodler
464fd803fa Sorry, Eloy, my directions were wrong.
I've changed hiddentopics to hiddensections ...
2004-04-30 12:10:46 +00:00
defacer
10ee08cc65 Fix for bug #1280: the "showrecent" course setting has to go.
The pgsql .php update script needs to be updated, but I 'm not sure about
the pgsql alter table syntax... mysql works, oracle is still under dev, so
no problem there.
2004-04-29 10:28:19 +00:00
moodler
cda21d485c Added a format field to the event table 2004-04-27 16:41:16 +00:00