Commit graph

705 commits

Author SHA1 Message Date
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
moodler
00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
toyomoyo
1c45e42e3c adding capabilities 2006-09-11 08:56:23 +00:00
toyomoyo
51792df056 adding capabilities 2006-09-08 08:46:26 +00:00
toyomoyo
ec7a8b7999 adding capabilities 2006-09-07 08:57:56 +00:00
moodler
f43ce1ad1d Added moodle/role:unassignself which replaces $CFG->allowunenroll 2006-09-07 08:35:30 +00:00
stronk7
415280bfc3 Added the adodb_logsql table to the XMLDB schema. It's a bit
exceptional because it hasn't prefix and originaly it hasn't
any PK, although we have added it here to be more Moodle-like.
Tested and seems to work properly with the new field.
2006-09-05 17:20:24 +00:00
stronk7
ea7f147ef5 Now the sessions2 table is UTF8 migrated ok. 2006-09-05 16:04:50 +00:00
toyomoyo
3924b9884b adding capabilities 2006-09-05 08:50:23 +00:00
stronk7
71c143f41e The custom function to convert the user table hasn't to drop/create indexes anymore.
It's handled automatically by the main utf8 script.
2006-09-03 19:20:01 +00:00
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