moodler
77c645df28
Started out fixing MDL-6624 and it turned into a fairly major cleanup
...
of the participant listing. I think it's a lot better now.
Bulk messaging fixed too, and is controlled by a new capability
moodle/course:bulkmessaging
2006-09-28 06:41:07 +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
skodak
8e00b731e1
fixed defaults
2006-09-26 07:39:04 +00:00
stronk7
26b82be252
Drop all the unique keys inside PostgreSQL DB and convert them to
...
their equivalest unique indexes. We aren't going to allow unique
keys from 1.7 and upwards (until we decide to enforce referential
intregrity and until ADOdb support it)
2006-09-24 22:14:23 +00:00
skodak
1cc309df9d
fixes for recent incorrect index updates
2006-09-24 19:04:32 +00:00
skodak
6df3c7df7a
user upload cap renamed to moodle/site:uploadusers
2006-09-24 12:54:53 +00:00
skodak
cc891abe88
uploading of users has new capability 'moodle/user:upload' now also with admin block integrated
2006-09-24 12:31:49 +00:00
skodak
38d2d43b01
roles fixed in user browsing page; admin section now accepts array of capabilities for external and settings pages
2006-09-24 11:55:11 +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
37a7859855
mini-bump
2006-09-22 15:46:40 +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
moodler
20dd4cf5a1
Added new capability to switch roles (replaces old student view)
2006-09-21 07:44:53 +00:00
ikawhero
d096e0d8b5
Bump for new tables. See MDL-474
2006-09-20 14:18:37 +00:00
skodak
45b9781ed4
fixed missing shortname pg upgrade code, sorry
2006-09-19 07:35:48 +00:00
skodak
b79da3ac68
moodle/course:managemetacourse is now singular
2006-09-19 06:35:52 +00:00
skodak
21b6db6eff
added capabilty risks into access.php and GUI for define role and override; minor fixes for capability types in forum
2006-09-18 21:32:49 +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
skodak
4b7aaf4025
added new capability 'moodle/course:managemetacourses'
2006-09-17 21:03:35 +00:00
moodler
88af238ccb
$CFG->defaultcourseroleid defines a site default for the role given to
...
people who enrol in the course.
$course->defaultrole defines the value for each course for what role
should be used in the same case. Naturally it defaults to the site config
(when it is zero).
This role is retained even when the person editing the course settings
doesn't actually have that role in their list of assignable rights (however
they are prevented from actually switching to any such role themselves).
Note that enrol plugins are free to ignore these values and use whatever
roles they like. Generally, though, they should respect these settings.
2006-09-17 09:22:33 +00:00
moodler
746a04c500
Adding defaultrole to course table
2006-09-17 06:37:59 +00:00
moodler
99f9cb51e0
Added new capability
...
moodle/role:viewhiddenassigns - for people to see hidden assignments
2006-09-16 13:56:24 +00:00
moodler
e58eca7222
New capability: moodle/user:viewhiddendetails
2006-09-15 14:39:16 +00:00
moodler
8f8ed475f7
Added a new setting called $CFG->defaultuserroleid which defines
...
the role that ALL users get by default when they log in.
2006-09-14 09:39:23 +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
moodler
f43ce1ad1d
Added moodle/role:unassignself which replaces $CFG->allowunenroll
2006-09-07 08:35:30 +00:00
moodler
42093cca5c
Added coursesperpage so paging can be controlled
2006-09-05 03:28:25 +00:00
moodler
7191a1fa27
Added capability for showing documentation links
2006-09-03 16:26:55 +00:00
skodak
7fbd539a18
version bump for db upgrades
2006-09-03 00:00:17 +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
545196c55f
course->modinfo nullable and no default
2006-08-31 19:42:22 +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
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
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
171948fd4a
bumped up version to add keys, changed some more UI
2006-08-10 08:21:29 +00:00
skodak
f9d5371b28
new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283
2006-08-08 22:09:55 +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
8f7211fc2c
minor bump to perform some changes on grade_letter
...
Mimic from MOODLE_16_STABLE
2006-07-18 16:35:52 +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