skodak
7d0c81b3ba
MDL-11521 fixed problems when creating contexts and aprents does not exist yet
...
MDL-11527 fixed warning from $CFG->defaultuserroleid when installing and upgrading
+ removed reusing of previous contexts in has_capability() and get_context_instance() because it was hiding critical errors when context was false, not specified, etc.
+ tweaked roles defaults - faster and defaults are applied when roles exist
+ SYSCONTEXTID may be specified in config.php to eliminate 1 db query
+ static context cache is now reset after rebuilding of context paths
+ path field in context table is now nullable - pg compatibility requirement
+ other minor fixes
2007-10-05 15:06:38 +00:00
toyomoyo
1cf124a7de
merged fix for MDL_10640, adding missing index for mdl_role_capabilities table during upgrade
2007-07-30 02:42:17 +00:00
skodak
6bc1e5d577
(MDL-8973) Fix OOP model of new multi auth plugins + some other auth related fixes, fixed change_password, ldap updates, etc.; TODO: fix docs
2007-03-22 12:27:52 +00:00
moodler
6ba65fa08d
Merged Nicolas' changes from MDL-8582 into HEAD.
2007-02-28 06:25:22 +00:00
stronk7
b7a0ea8781
Fixing one little-little bug about user->ajax being nullable. MDL-8421
...
Merged from MOODLE_17_STABLE
2007-02-04 20:11:32 +00:00
moodler
4e423cbf5d
Bye-bye to old database upgrade files and hellow to upgrade.php!
...
First order of business: drop all the extraneous user_xxx tables.
2006-10-04 09:47:05 +00:00
moodler
76389cec17
Fixed the upgrade from 1.6.x. The role->shortname field was not being created.
2006-09-29 06:43:42 +00:00
skodak
5d0df39db4
fixed array_shift($roles) warning during upgrade from 1.6
2006-09-27 22:16:23 +00: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
moodler
01c65218a2
Restoring table_column which was mistakenly deleted I think
2006-09-25 01:55:06 +00:00
skodak
1cc309df9d
fixes for recent incorrect index updates
2006-09-24 19:04:32 +00:00
skodak
25d8040ec5
added trustbitmask column to user table
2006-09-24 07:32:49 +00:00
skodak
ece4945bd2
role sortorder column now has unique index; new function get_all_roles() that returns all roles with correct sort
2006-09-23 12:51:00 +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
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
ikawhero
adecf1c475
Adding tables for customisable user profile fields. See MDL-474
2006-09-20 14:17:21 +00:00
skodak
45b9781ed4
fixed missing shortname pg upgrade code, sorry
2006-09-19 07:35:48 +00:00
skodak
31f267963a
MDL-6568 shortname added to roles
2006-09-18 17:40:22 +00:00
skodak
dca1937c02
removed references to /requested(teachers?|students?)name/ and 'showsiteparticipantslist' - we are now using only default names stored in langpacks for backwards compatibility
2006-09-18 11:21:24 +00:00
moodler
b29ab53d31
Removed the setting of default values. The default is now just zero.
2006-09-17 09:08:47 +00:00
moodler
746a04c500
Adding defaultrole to course table
2006-09-17 06:37:59 +00:00
moodler
0ad8c7850d
Reload default guest
2006-09-12 08:17:33 +00:00
moodler
8d158ed44f
Reload the guest role using new defaults
2006-09-12 07:10:49 +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
skodak
d389b12829
create safer .htaccess SC#302
2006-08-28 21:07:43 +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
d37bac7e5d
fix for 6294
2006-08-21 02:23:25 +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
moodler
f10306b9e2
Removed tabs
2006-08-09 14:00:51 +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