185 Commits

Author SHA1 Message Date
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
stronk7
2efd67bf5f Increasing log_display->field because sql_concat() (one
wrapper over ADOdb Concat() generates really long
expressions for MSSQL.
2006-09-26 17:43:37 +00:00
stronk7
0e1412cea5 Now cache_text->formattedtext is a longtext again.
(both PG and the UTF8 migration script were
working with it as text, so impact should be minimal)
2006-09-22 15:43:42 +00:00
mjollnir_
1282edc826 fixing up the stats table enums 2006-09-22 10:18:33 +00:00
moodler
aad2ba95d1 Upgrading table to rename the context->aggregatelevel field which was
really bugging me.   Code should be a little bit more readable now.

Apologies to those with non-core code already using this field.
2006-09-22 06:19:32 +00:00
mjollnir_
20c59467a5 schema files for stats changes (install.xml still to come). Credit: Nigel McNie <nigel@catalyst.net.nz> 2006-09-22 06:05:07 +00:00
ikawhero
adecf1c475 Adding tables for customisable user profile fields. See MDL-474 2006-09-20 14:17:21 +00:00
skodak
31f267963a MDL-6568 shortname added to roles 2006-09-18 17:40:22 +00:00
moodler
746a04c500 Adding defaultrole to course table 2006-09-17 06:37:59 +00:00
toyomoyo
b277dd0a53 adding new table for keeping track of user's last access time for any course page 2006-09-12 06:08:57 +00:00
stronk7
1331745826 course_sections->summary and course_sections->sequence can be NULLable (experimenting....) 2006-09-02 22:37:38 +00:00
stronk7
5f941d12ab user->description can be NULLable (experimenting....) 2006-08-31 23:31:36 +00:00
stronk7
6c76032bc1 course_categories->description can be NULLable (experimenting....) 2006-08-31 23:17:23 +00:00
stronk7
99215f2c6f modinfo nullable and without default. 2006-08-31 19:39:18 +00:00
skodak
be4486da83 capability riskbitmasks and user trustbitmask patch #1 see MDL-6412 2006-08-31 08:36:36 +00:00
skodak
e9d5166a3e fixed wrong type for session data field in mysql, enabled feedback when dropping old session table during upgrade 2006-08-30 16:37:52 +00:00
skodak
647a256616 db sessions are now using the newer session handler adodb-session2.php 2006-08-29 22:45:54 +00:00
moodler
67a3fac51f Added new field 'ajax' to user table, to store AJAX preference 2006-08-28 06:41:05 +00:00
stronk7
598dc3a99c Change rule to tzrule (reserved word) 2006-08-22 21:19:52 +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
toyomoyo
f9e2f481df adding role_allow_assign , role_allow_override table and dropping role_deny_grant 2006-08-17 08:58:51 +00:00
toyomoyo
77d4953ee2 bumpoing up version, permission has to be signed integer in mysql!!! added new capabilities in access.php 2006-08-16 07:57:51 +00:00
toyomoyo
2a1ab5ecf2 name should be unique key, and should be length 255 2006-08-10 09:07:15 +00:00
toyomoyo
7952cb34ef changing name field in capabilities table to 255 2006-08-10 09:02:21 +00:00
toyomoyo
bcf214dfc4 adding keys for new tables, added migration support too 2006-08-10 08:20:16 +00:00
toyomoyo
90f7a7d509 adding unsigned 2006-08-08 08:30:10 +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
stronk7
d272c2feb8 Fixing one recently added DB upgrade. Please be careful on STABLE!
Mimic from MOODLE_16_STABLE
2006-07-18 16:35:15 +00:00
stronk7
d836482a34 Moving from lastIP to lastip everywhere. Bug 5763.
(http://moodle.org/bugs/bug.php?op=show&bugid=5763)

Merged (more or less) from MOODLE_16_STABLE
2006-06-09 09:47:01 +00:00
stronk7
ae57b07c06 report XXXX actions added. Bug 5714.
(http://moodle.org/bugs/bug.php?op=show&bugid=5714)

More or less, merged from MOODLE_16_STABLE
2006-06-04 00:54:34 +00:00
toyomoyo
462458c66b renaming reads and writes to statsreads and statswrites 2006-05-24 05:07:22 +00:00
tjhunt
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
stronk7
ef668fcf99 Changing session->data to medium text. Bug 5406.
(http://moodle.org/bugs/bug.php?op=show&bugid=5406)

Merged from MOODLE_16_STABLE
2006-05-08 16:39:34 +00:00
vyshane
36914ff6a7 Changed the 'module' field length to 20 in the log_display table (Bug #5419).
Previous commit message in 1.6 stable should read 'log_display table' instead
of 'log' table. Both fixes are identical and carried over to HEAD via a merge.
2006-05-08 03:16:04 +00:00
vyshane
7235ae23f1 Fix for Bug #5419 - Inconsistency between log_display and log tables 2006-05-05 08:42:29 +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
vyshane
cfd2188118 Fixed insert error for log_display 2006-04-24 07:55:06 +00:00
vyshane
cfd8facee6 Added primary key definition for log_display 2006-04-24 07:44:27 +00:00
toyomoyo
808f9930b3 adding proper _idx postfix 2006-04-24 06:00:37 +00:00
toyomoyo
31513aa13e changing tags->text to varchar 20, created index on tags(type, userid), and tags(text) 2006-04-24 05:53:06 +00:00
vyshane
721cb8678d Bug #5254 - live logs
Cleanup for duplicate module/action combinations. Added id field for
log_display table and added an index moduleaction.
2006-04-24 02:24:18 +00:00
toyomoyo
8bcd295c3d bumping up version, chaing user->firstname, user->lastname, course->shortname to varchar(100) 2006-04-19 08:18:35 +00:00
moodler
12ef2c40d9 Added a new field to cache "old" course_module visibility when
the whole module is disabled (see bug 5021)
2006-04-11 07:04:55 +00:00
moodler
71470b3bf1 Convert the text cache to use a blob, so that there are no character set
issues:   see bug 5136
2006-04-10 07:17:26 +00:00
toyomoyo
dffaf68202 changed some int(11) to int(10) 2006-04-10 06:26:07 +00:00
moodler
6a30c073d4 Added timemodified to blog_tag_instance table and some indexes 2006-03-20 07:40:55 +00:00
moodler
112d0ebf82 Added a new field "module" to the post table to indicate what type of module
each entry is
2006-03-20 07:13:21 +00:00
jgraham909
53f6a21e5e Fixed grade_category table definitions to handle change in MySQL versions 5.0.3 and greater
see http://moodle.org/mod/forum/discuss.php?d=41501 for more details.
2006-03-16 19:50:28 +00:00
mjollnir_
65070e3c03 Adding new mdl_log indexes to the .sql files as well as just the pg ones (bug #4112) 2006-03-12 23:19:17 +00:00
toyomoyo
89d38fdddc adding blog support (development code) 2006-03-10 06:50:37 +00:00