Commit graph

544 commits

Author SHA1 Message Date
moodler
7191a1fa27 Added capability for showing documentation links 2006-09-03 16:26:55 +00:00
stronk7
de48394039 Prevent NULL fields in 1.7 to become NOT NULL after the UTF-8 migration process. 2006-09-03 15:33:42 +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
9b99c05f10 user->description can be NULLable (experimenting....) 2006-08-31 23:20:47 +00:00
stronk7
6c76032bc1 course_categories->description can be NULLable (experimenting....) 2006-08-31 23:17:23 +00:00
stronk7
1d39207fae course_categories->description can be NULLable (experimenting....) 2006-08-31 23:04:15 +00:00
rtcn2
9fb0f61a03 missing comma inserted line 752, removed comma from line 753 2006-08-31 19:47:54 +00:00
stronk7
99215f2c6f modinfo nullable and without default. 2006-08-31 19:39:18 +00:00
stronk7
a974b5a4d8 course->modinfo can be NULLable (experimenting....) 2006-08-31 16:59:29 +00:00
skodak
6086e1aab2 removing trustbitmask for now and comment from riskbitmask 2006-08-31 09:20:24 +00:00
skodak
be4486da83 capability riskbitmasks and user trustbitmask patch #1 see MDL-6412 2006-08-31 08:36:36 +00:00
stronk7
81465066c2 Just "normalizing" index names inside the XMLDBEditor. Not critical but...
Following rule 1.3 from:
http://docs.moodle.org/en/XMLDB_Defining_one_XML_structure#Conventions
2006-08-30 17:17:39 +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
stronk7
b477a2f166 Changing one wrong previous value. 2006-08-28 15:21:41 +00:00
moodler
67a3fac51f Added new field 'ajax' to user table, to store AJAX preference 2006-08-28 06:41:05 +00:00
skodak
7d8a3cb06a trusttext:
* proposed by Martin Dougiamas
 * implemented by skodak

Usage:
1/ change enabletrusttext to yes in site settings (it is off by default) or set it in config.php
2/ assign moodle/site:trustcontent capability to users whose text submitted in glossary entries, comments, forum posts etc. should not be cleaned == they can use javascript or any other forbidden tags in glossary and forums...

done:
 * core
 * glossary (without proper upgrade)

to do:
 * data cleaning in upgrades
 * forum, blocks and some other places (MD decides)
2006-08-26 13:00:07 +00:00
toyomoyo
945f88ca15 various changes - loading capabilities for questions, quiz, hide tab if no assignalbe or no overridable role is found, added some functions and comments in accesslib 2006-08-23 06:36:08 +00:00
stronk7
598dc3a99c Change rule to tzrule (reserved word) 2006-08-22 21:19:52 +00:00
stronk7
28f6c41d45 Changed level (reserved word) to aggregatelevel. 2006-08-21 14:59:48 +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
68c5252623 adding functions and interface for access control - role assignment and role overrides 2006-08-18 08:01:16 +00:00
skodak
7949356d64 fixed missing '}' 2006-08-17 22:49:21 +00:00
stronk7
de16da7293 adding role_allow_assign , role_allow_override table and dropping role_deny_grant
NOTE: Need to confirm that both these fields:
    role_allow_assign->allowassign and
    role_allow_override->allowoverride
are pointing to role->id (this is the assumption I've done, so I've
created them as FKs)
2006-08-17 19:16:07 +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
stronk7
54121a7921 permission has to be signed integer in mysql. Mimic from sql files 2006-08-16 16:06:37 +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
vyshane
a028c29187 Added new capabilities 2006-08-15 04:13:22 +00:00
stronk7
b08eda731b Added one FK (recursive) to course_categories 2006-08-11 18:41:39 +00:00
stronk7
a1bdf659ad Adding latest changes, FKs and indexes. 2006-08-10 09:25:52 +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
c04ba75f8f merged fix for a bug when user's lang is not set, fall back to site lang 2006-08-10 02:43:22 +00:00
moodler
2ad25548c6 Fixed some typos. Thanks Tim! 2006-08-09 14:01:14 +00:00
moodler
f10306b9e2 Removed tabs 2006-08-09 14:00:51 +00:00
vyshane
53d7785b4a Added moodle/site:viewfullnames 2006-08-09 09:16:35 +00:00
toyomoyo
07a9cdb544 tables went missing =( 2006-08-09 04:00:44 +00:00
stronk7
5a1d835487 Adding some unsigned keywords here and there and implementing role tables 2006-08-08 09:04:55 +00:00
toyomoyo
90f7a7d509 adding unsigned 2006-08-08 08:30:10 +00:00
vyshane
27950688bb Added moodle/site:accessallgroups capability. 2006-08-08 06:45:25 +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
67d7d69494 Initial XMLDB implementation of Moodle Core. 2006-08-07 17:38:06 +00:00
skodak
889e6b46f4 Bug #6147 - Upgrade from 1.5.x breaks with Postgres 7.4.x
Even though Postgres 7.4.x is officially supported, several upgrade scripts use syntax that only works in Postgres 8.x. and it's impossible to finish the upgrade.

The attached patch fixes those scripts.

Saludos. I�aki.

Author: I�aki Arenaza
Review: Jun Yamog, Martin Langhoff

merged from MOODLE_16_STABLE
2006-07-31 18:04:10 +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
toyomoyo
2256c10d36 merged changing of feedback for the function that handles user table 2006-07-11 03:36:13 +00:00
toyomoyo
8ab2baa8f3 merged fix for a problem where globallang is not respected in user table 2006-07-05 01:55:29 +00:00