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
stronk7
9fd0678fdd
The absolutely incredible bug! It was working being wrong! Bug 5775.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5775 )
Merged from MOODLE_16_STABLE
2006-06-09 14:23:55 +00:00
stronk7
d96466d29f
Moving from lastIP to lastip everywhere. Bug 5763.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5763 )
Merged from MOODLE_16_STABLE
2006-06-09 10:04:43 +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
toyomoyo
1c994d89f8
merged, changed recordsize to 50
2006-06-08 02:46:45 +00:00
toyomoyo
92cf4ecc12
merged, changes made to process user table on row basis. added migrate2utf8_user function. please help test and report bugs!
2006-06-07 04:11:10 +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
22a92ee224
merged dropping backticks
2006-05-25 02:07:48 +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
martinlanghoff
05acf8e974
moodle16cleanup: lib/db correct prefix, patch by Tim Hunt for bug 5515
2006-05-17 06:43:21 +00:00
martinlanghoff
ccd218ee4b
moodle16cleanup: lib/db correctly put the default values, change the
...
length of log_display.module which is just 20 chars on postgres7.sql
2006-05-17 06:36:31 +00:00
martinlanghoff
f172091567
moodle16cleanup: mod/dialog we need to drop some more dialog module tables
2006-05-17 06:34:19 +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
e503f30d10
merged fix for 5426
2006-05-04 09:40:33 +00:00
toyomoyo
8d92d7ad71
info column is missing a key
2006-05-01 02:34:29 +00:00
toyomoyo
0327c40abb
bug fix for 5303. hope i didn't break anything >_<
2006-04-28 03:18:56 +00:00