cap2501
1752e584de
Added dialog to confirm deletion of activity.
2006-09-17 18:20:43 +00:00
skodak
09575480bb
fixed several warnings in get_course()
2006-09-17 18:07:35 +00:00
skodak
8743f4f3ec
removed foter login link during initial phase of installation
2006-09-17 17:53:20 +00:00
cap2501
8a66975e84
cleaned up some formatting
2006-09-17 17:48:27 +00:00
gustav_delius
0839ef65d5
Removed a PHP notice
2006-09-17 17:43:30 +00:00
skodak
d847bb32fd
fixed non-working edit button on course page for teachers, added explanation comments
2006-09-17 17:32:45 +00:00
moodler
21ef1a8b27
New string
2006-09-17 16:39:12 +00:00
moodler
1cd85caf3f
Fixed a typo
2006-09-17 16:10:00 +00:00
moodler
9d05e659cc
Rewritten manual enrolment module using new core functions.
...
(except for the last part of cron function, which is still ugly)
2006-09-17 16:08:34 +00:00
moodler
b963384f41
Added new convenience funtions:
...
get_default_course_role() - gets default role for enrolment
enrol_into_course() - enrols a person using the default role
2006-09-17 16:06:25 +00:00
moodler
9c641bd871
Added email_welcome_message_to_user() to send course welcome emails
2006-09-17 16:04:15 +00:00
moodler
41f6ed56ce
Don't rely on the legacy capabilities to identify admins, use doanything
2006-09-17 16:00:16 +00:00
skodak
c8218a42fa
Partial fix for missing deafult values in upgradesettings.php script - MDL-6577
2006-09-17 12:11:23 +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
b29ab53d31
Removed the setting of default values. The default is now just zero.
2006-09-17 09:08:47 +00:00
skodak
86e2c51da8
infinite loop prevention when unassigning recursively
2006-09-17 08:53:57 +00:00
skodak
4e5f3064bf
role assignment and unassignment now propagates to metacourses
2006-09-17 08:42:42 +00:00
moodler
ff64aaeaec
Just tidying a couple of functions
2006-09-17 07:00:47 +00:00
skodak
7f5bc80b78
backupdata folder is no longer displayed in list of directories when setting up Directory Resource - partially related to MDL-6280 ; and some other typo fixes; get_directory_list() no accepts also array of exluded files
2006-09-17 06:49:26 +00:00
moodler
746a04c500
Adding defaultrole to course table
2006-09-17 06:37:59 +00:00
vinkmar
90cfbd0ab4
Changes required for MDL-6439 made to admin_sitesettext object
2006-09-17 06:08:10 +00:00
moodler
1434a286dd
Fixing up script tag for compliance
2006-09-17 03:40:22 +00:00
moodler
ce607dd457
Tidying up coursebox teacher listing (no bullets)
2006-09-17 03:38:04 +00:00
moodler
ec6eb11097
Sort get_user_roles from most local to most general
2006-09-17 03:33:22 +00:00
moodler
08abf1dc0e
Updated tags file
2006-09-17 03:29:56 +00:00
martinlanghoff
5a39def902
re-merge of "Merged fix from 1.6 for Bug #5131 - RSS Feeds and Moving Discussions."
...
Originally by vyshane - got dropped accidentally in one of the biiiiig roles
commits.
2006-09-17 02:27:13 +00:00
skodak
0d5a9a94c1
fixed recursive backing up of backup folder when resource diretory reference is course files root - MDL-6280 ; merged from MOODLE_16_STABLE
2006-09-16 18:15:40 +00:00
skodak
5434bacabe
backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 ; merged from MOODLE_16_STABLE
2006-09-16 17:15:18 +00:00
skodak
de9a33f3c9
backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 ; merged from MOODLE_16_STABLE
2006-09-16 17:15:18 +00:00
moodler
88768091a4
Upgrading print_course to use roles properly
...
Added list for the teacher names for better XHTML
2006-09-16 15:23:41 +00:00
moodler
5b6306677b
extending get_user_roles with more options and more returned info
2006-09-16 15:22:55 +00:00
moodler
5fe3980628
Fixed hard-codes string
2006-09-16 14:26:13 +00:00
moodler
38a5e3d34a
Just some cleanups and removed notices
2006-09-16 14:22:59 +00:00
moodler
27e1437616
Removing unneeded functions, still needs some modernising
2006-09-16 14:02:51 +00:00
moodler
5c98bf9e3a
Enrolments working better now. The core part is done, just the plugins to go.
...
The enrolment plugins are now checked from load_user_capability()
2006-09-16 13:59:38 +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
888fb649a8
Converted deprecated get_teacher() to use new tables
2006-09-16 13:55:30 +00:00
moodler
64026e8c1e
Tidy up get_users_with_capability
2006-09-16 13:54:57 +00:00
moodler
5ed3bf228a
Fixed a notice
2006-09-16 12:58:50 +00:00
moodler
f4af29c5a4
Fixed up some bugs and notices when assigning roles in a user context
2006-09-16 12:41:47 +00:00
skodak
8f8ead90c7
fixed unenrol_student() - now uses roles instead of user_students table
2006-09-16 12:05:31 +00:00
skodak
80f435af43
fixed error message
2006-09-16 12:02:02 +00:00
skodak
14e7869268
fixed uploaduser.php to work with role assignments and groups, new csv columns role1...role5 accepting role ids + updated help file
2006-09-16 12:01:08 +00:00
skodak
7b6a42f5b8
coverted deprecated get_group_students() to use legacy capability instead of user_students table
2006-09-16 06:22:32 +00:00
skodak
a05708ad61
fixed $groupidsql in get_users_by_capability()
2006-09-16 05:56:51 +00:00
moodler
4cc028d523
Automatic installer.php lang files by installer_builder (20060916)
2006-09-16 02:50:27 +00:00
moodler
d3e47e0d66
Deleting deprecated methods of assigning people to courses
2006-09-15 16:03:49 +00:00
moodler
68a4b5d673
We don't need these any more (obsolete because of role assignment)
2006-09-15 15:56:05 +00:00
moodler
57e73347b3
Fixed up a typo
2006-09-15 15:07:43 +00:00
moodler
4801fe93a2
Various logic and capability fixes
2006-09-15 15:04:38 +00:00