Commit graph

3594 commits

Author SHA1 Message Date
moodler
91ea292e65 Changed the login info string when a user is using 'switch roles' 2006-09-21 14:42:45 +00:00
moodler
0cef8a37fa Changed logic slightly in switchrole_form 2006-09-21 14:04:32 +00:00
moodler
3a52e764e4 New "Switch Role" functionality to replace the old "Student view".
It's not well-tested yet and probably doesn't quite work.  I will keep debugging this tonight from home.
2006-09-21 09:16:41 +00:00
toyomoyo
01e52ac70a changes to backups (where the roles info are stored) 2006-09-21 09:09:16 +00:00
skodak
2ce38b70d8 capability related changes in new admin tree 2006-09-21 08:18:14 +00:00
skodak
db51ddc52e old admin configuration cleanup - MDL-6595 MDL-6449 MDL-6447 2006-09-21 08:05:50 +00:00
stronk7
0ce61c841f Force ANSI NULLs under mssql. It's not critical to work
but it avoids some problems when changing nullability
of fields in the future.
2006-09-21 07:44:56 +00:00
moodler
20dd4cf5a1 Added new capability to switch roles (replaces old student view) 2006-09-21 07:44:53 +00:00
moodler
1c1e7af4e2 FIxed defaults for frontpage format 2006-09-21 07:38:13 +00:00
toyomoyo
4929302769 adding roles support for backups 2006-09-21 06:57:14 +00:00
toyomoyo
e38f38c326 fix for MDL-6571, added get_roles_on_exact_context() for backup 2006-09-21 03:21:33 +00:00
stronk7
db8bd7a66f Now XMLDB installation is enabled! Old mysql.php and postgres7.php can
continue being used as previously until we finish all the required
DDL functions.

Also, this implies that *.sql files aren't needed anymore. Now all we have to do
is to maintain the install.xml files from the editor.
2006-09-20 22:36:21 +00:00
stronk7
8e6a09bd2b Updated comment... :-/ 2006-09-20 22:03:45 +00:00
stronk7
1b25502133 Forcing ADODB_FETCH_ASSOC explicity now for any DB. 2006-09-20 22:00:49 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
skodak
daa588aa52 merged changes in moodlelib.php from MOODLE_16_STABLE 2006-09-20 18:40:22 +00:00
skodak
ba4e0b059d fixed warning caused by missing fields in $course; tweaked mime info for firefox when forcing download - it should use default system mime associations which should be safe in case of firefox. 2006-09-20 17:51:59 +00:00
tjhunt
df44078448 Another typo.
A pity, I would love to know what a delect_records function did ;-)
2006-09-20 16:36:40 +00:00
tjhunt
9fd73f0c26 Fixed typo CONTEXT_COUSE -> CONTEXT_COURSE 2006-09-20 16:19:57 +00:00
sam_marshall
027d048574 Update to static JS - 'hitem' hidden fields now optional for lockoptions. 2006-09-20 15:04:57 +00:00
ikawhero
adecf1c475 Adding tables for customisable user profile fields. See MDL-474 2006-09-20 14:17:21 +00:00
martinlanghoff
d7e901c669 dmlib: changed array access to keyed instead of ordinal.
This supports the move to ADODB_FETCH_ASSOC instead of ADODB_FETCH_BOTH.
see:
http://docs.moodle.org/en/XMLDB_Problems#ADOdb_fetch_mode_.28ASSOC.2C_NUM_and_BOTH.29

Author: Luke Hudson <luke@catalyst.net.nz>
2006-09-20 11:26:47 +00:00
toyomoyo
dc5586907d replacing deprecated calls and references to capability calls 2006-09-20 09:00:04 +00:00
vyshane
759ac72de1 Added new function function fetch_context_independent_capabilities(). Modified fetch_context_capabilities() to use the former.
Fixed get_roles_used_in_context() sql query. r.sortorder must be selected if it is to be used in an ORDER BY clause.
2006-09-20 08:30:49 +00:00
tjhunt
1da5a36294 More capability name typos. 2006-09-20 08:01:59 +00:00
skodak
8521d83aff role_context_capabilities should handle current context too and role override simply use parent context 2006-09-20 06:24:55 +00:00
moodler
c4381ef5d2 FIxed a bug where $context had not been defined in enrol_into_course 2006-09-20 02:19:08 +00:00
moodler
b0270f84eb Added unset_config as a companion to set_config 2006-09-20 02:17:27 +00:00
moodler
7f7cacdf4e Made the debugging message a bit less passive 2006-09-20 01:52:49 +00:00
tjhunt
a8a7300acc In debug mode, warn people if they are asking for an unknown capability. 2006-09-19 22:57:17 +00:00
moodler
33f857405b Slight extensions to get_my_courses() API to make it more useful in general 2006-09-19 14:23:43 +00:00
toyomoyo
9ce384ba1e relacing deprecated functions with capability checks 2006-09-19 14:16:40 +00:00
moodler
0dde27bb52 More efficient get_my_courses() 2006-09-19 14:14:32 +00:00
nfreear
57100a9098 Fixes bug MDL-6360 "Resizable image in breadcrumb trail..."
- files block_search_forums.php, calendar/lib.php, lang/en_utf8/access.php, weblib.php, theme/standard/config.php, styles_color.css
2006-09-19 11:36:21 +00:00
toyomoyo
9c37662f22 replacing deprecated funciton calls with capability calls 2006-09-19 09:16:24 +00:00
vyshane
285f94f506 Few small fixes 2006-09-19 08:16:26 +00:00
vyshane
f2269f311d Typos 2006-09-19 08:10:46 +00:00
skodak
45b9781ed4 fixed missing shortname pg upgrade code, sorry 2006-09-19 07:35:48 +00:00
skodak
a6b02b652b RISK_ADMIN replaced with RISK_CONFIG 2006-09-19 07:33:22 +00:00
skodak
b79da3ac68 moodle/course:managemetacourse is now singular 2006-09-19 06:35:52 +00:00
toyomoyo
2d9965e1dc function should be looking up parent contexts too 2006-09-19 02:47:55 +00:00
toyomoyo
d76a5a7fed replacing references to user_* tables 2006-09-19 01:44:33 +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
toyomoyo
38079c83eb removing get_creators(), no more reference to the function 2006-09-18 12:04:16 +00:00
toyomoyo
492e507f7b no more refernece to remove_creator() function 2006-09-18 11:55:04 +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
toyomoyo
102d890c14 remove_admin() no longer referenced 2006-09-18 10:47:09 +00:00
toyomoyo
6eccd8f099 add_creator no longer in use 2006-09-18 10:18:26 +00:00
vyshane
840c1c31fa Added moodle/site:viewparticipants 2006-09-18 09:02:12 +00:00