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 |
|
moodler
|
a4e108450f
|
Some trivial tidying of source
|
2006-09-18 05:50:02 +00:00 |
|
vyshane
|
dd8d5345ce
|
Removed showsiteparticipantslist, replaced with capability
|
2006-09-18 05:26:16 +00:00 |
|
vinkmar
|
cc73de7147
|
Fixes for MDL-6440 and MDL-6577
|
2006-09-18 02:41:14 +00:00 |
|
skodak
|
1aad431080
|
metacourse sync now uses roles, I will continue with fixing of GUIs tomorrow
|
2006-09-17 22:21:37 +00:00 |
|
skodak
|
4b7aaf4025
|
added new capability 'moodle/course:managemetacourses'
|
2006-09-17 21:03:35 +00:00 |
|
skodak
|
a25200709b
|
fixed warning
|
2006-09-17 20:51:54 +00:00 |
|
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 |
|
skodak
|
d847bb32fd
|
fixed non-working edit button on course page for teachers, added explanation comments
|
2006-09-17 17:32:45 +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
|
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
|
ec6eb11097
|
Sort get_user_roles from most local to most general
|
2006-09-17 03:33:22 +00:00 |
|
moodler
|
5b6306677b
|
extending get_user_roles with more options and more returned info
|
2006-09-16 15:22:55 +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 |
|
skodak
|
8f8ead90c7
|
fixed unenrol_student() - now uses roles instead of user_students table
|
2006-09-16 12:05:31 +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
|
11c40e2f4e
|
Fixed a bad bug in get_user_roles :-)
|
2006-09-15 14:56:32 +00:00 |
|