Commit graph

22064 commits

Author SHA1 Message Date
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
vyshane
2b15a08dc9 Added some notes for future reference 2006-09-21 07:40:24 +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
skodak
2464c592e3 removed moodle specific debug messages from file.php 2006-09-21 06:38:27 +00:00
vyshane
49a0ba9438 Cleanups in view.php. Also moved logging of a forum view so that the event is not logged if the user does not have permission to view discussions in a forum (user never sees the discussions, so not counted as a view).
Tidy up of error display in discuss.php for when a user does not have permission to view the discussion.
2006-09-21 05:42:35 +00:00
vyshane
c095178c84 Added message string for when a user does not have permissions to view forum discussions in a forum. 2006-09-21 05:39:17 +00:00
vyshane
9ae965d379 Removed column ratings from data table 2006-09-21 04:10:36 +00:00
toyomoyo
e38f38c326 fix for MDL-6571, added get_roles_on_exact_context() for backup 2006-09-21 03:21:33 +00:00
moodler
2aab9d4000 Automatic installer.php lang files by installer_builder (20060921) 2006-09-21 02:44:10 +00:00
toyomoyo
e959a34b48 fixing syntex errors 2006-09-21 02:03:39 +00:00
toyomoyo
a4a877d890 trying to add some role support, not sure things are at the right place yet. 2006-09-21 01:56:59 +00:00
mjollnir_
a3081bfdba Flatfile enrolment plugin upgraded to new use roles. Credit: Alastair Pharo, new Catalyst ninja ;) <alastair@catalyst.net.nz> 2006-09-21 00:04:43 +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
f50c2b4ee0 fix for old email confirmation - spotted by Dirk Grunwald; merged from MOODLE_16_STABLE 2006-09-20 21:48:33 +00:00
skodak
d43d749a1b forum throttling capability meaning reversed 2006-09-20 21:25:51 +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
6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
skodak
c78f13f8dc major whitespace cleanup - fixed \r line-ending 2006-09-20 20:16:10 +00:00
skodak
03f5a0f87c major whitespace cleanup - fixed \r\n line-ending 2006-09-20 19:46:52 +00:00
skodak
6c450d9f7e test commit for lineending cleanup 2006-09-20 19:20:34 +00:00
koenr
6e0d4e854a Adding Slovak Koruna MDL-6604 2006-09-20 19:06:57 +00:00
skodak
daa588aa52 merged changes in moodlelib.php from MOODLE_16_STABLE 2006-09-20 18:40:22 +00:00
vyshane
36acdd6df9 Updated to reflect changes to data table 2006-09-20 18:08:30 +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
vyshane
741c4d0b04 Upgrade to roles code for data module. 2006-09-20 17:46:20 +00:00
tjhunt
e7d57d9e6c MDL-6380 - added required include to make blocks work on the quiz pages. 2006-09-20 17:22:38 +00:00
tjhunt
15995c4ab6 Fix typos in string concatenation. 2006-09-20 17:01:19 +00:00
vyshane
7f2586640e Upgrade to roles code, as well as restoring from 1.6 on a 1.7 install code. 2006-09-20 16:57:01 +00:00
vyshane
2a1b4af377 Added course module groupmodes in convertion to roles logic 2006-09-20 16:54:50 +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
stronk7
a6e0172869 renaming question_dataset_items->number to itemnumber (reserved word) and
question->commentarytext to question->generalfeedback
2006-09-20 16:22:19 +00:00
tjhunt
9fd73f0c26 Fixed typo CONTEXT_COUSE -> CONTEXT_COURSE 2006-09-20 16:19:57 +00:00
tjhunt
40cc892b6a Fix bug with getting the capability. 2006-09-20 16:17:27 +00:00
sam_marshall
027d048574 Update to static JS - 'hitem' hidden fields now optional for lockoptions. 2006-09-20 15:04:57 +00:00
skodak
43a8ceeaf1 fixed missing ; 2006-09-20 15:04:01 +00:00
ikawhero
d096e0d8b5 Bump for new tables. See MDL-474 2006-09-20 14:18:37 +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
koenr
0647422475 updated Guinea MDL-3909 2006-09-20 09:33:11 +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
urs_hunkler
c954040189 'updated CSS for the breadcrumb and calendar arrows' 2006-09-20 07:40:55 +00:00
skodak
1d126f4fe4 mostly removed old isadmin() calls 2006-09-20 06:59:32 +00:00
moodler
54a7469271 Removed some obsolete stuff 2006-09-20 06:52:54 +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