moodler
8cb5bc2b26
People under switched roles should not be able to unenrol
2006-09-21 16:11:31 +00:00
moodler
861fdcaa28
Changing defaults for role assigning (teachers, coursecreators allowed)
2006-09-21 16:02:39 +00:00
moodler
2d07587b4c
Improvements to switchroles
...
1) You can have separate switchroles active in every course
2) Admins get a better view (doanything is supressed when switchroles active)
2006-09-21 15:58:59 +00:00
sam_marshall
fd2fff1e24
Changed the redirect() version with no message (that sends a redirect header) so that it sends an absolute URL as per HTTP spec, even if the argument to the function is a relative URL.
2006-09-21 15:13:27 +00:00
moodler
91ea292e65
Changed the login info string when a user is using 'switch roles'
2006-09-21 14:42:45 +00:00
moodler
09edb3794b
Fixed a capability name typo
2006-09-21 14:07:27 +00:00
moodler
b32c8ddadd
Fixed typos in capability names
2006-09-21 14:05:58 +00:00
moodler
0cef8a37fa
Changed logic slightly in switchrole_form
2006-09-21 14:04:32 +00:00
moodler
0c05b71f58
Fix typo
2006-09-21 13:11:05 +00:00
sam_marshall
a82e9bc3bb
Added feature to blocks (and restorelib) so that blocks get a method call (default does nothing) after they are restored. This allows blocks to change their settings if necessary in respect of the new course roll-forward 'restore and change start date' feature that Al implemented recently. The core blocks happen not to store dates anyway so don't need this, but contributed blocks may well do.
2006-09-21 12:07:15 +00:00
stronk7
db33348f53
When journal to assignment migration is performed, journal
...
upgrade hasn't been upgraded yet so the journal_entries->comment
field is still called "comment"
2006-09-21 10:04:49 +00:00
stronk7
0bc94c9990
Last reserved word is out now!
...
journal_entries->comment to entrycomment
Only 2 tables have reserved names but they aren't
a problem if we force $CFG->prefix always
2006-09-21 09:54:00 +00:00
stronk7
ea6432fede
Moved assignment_submission->comment to submissioncomment
...
(because comment is DB reserved word)
2006-09-21 09:35:20 +00:00
moodler
1888245ee6
More strings
2006-09-21 09:16:56 +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
vyshane
9222e72167
Removed capability mod/forum:viewforum. We will use moodle/course:viewhiddenactivities and hide/unhide forums instead.
2006-09-21 08:32:05 +00:00
vyshane
986dc51c00
Removed string for mod/forum:viewforum
2006-09-21 08:30:59 +00:00
skodak
fd98800ea2
another admin ui cleanup
2006-09-21 08:28:25 +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
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