]>
git.mjollnir.org Git - moodle.git/log
vyshane [Mon, 18 Sep 2006 05:28:06 +0000 (05:28 +0000)]
Removed references to showsiteparticipantslist. Replaced by capability.
vyshane [Mon, 18 Sep 2006 05:27:28 +0000 (05:27 +0000)]
Removed showsiteparticipantslist strings.
vyshane [Mon, 18 Sep 2006 05:26:16 +0000 (05:26 +0000)]
Removed showsiteparticipantslist, replaced with capability
vyshane [Mon, 18 Sep 2006 05:25:43 +0000 (05:25 +0000)]
Removed showsiteparticipantslist. Replaced with capability.
toyomoyo [Mon, 18 Sep 2006 04:57:34 +0000 (04:57 +0000)]
removing word for teachers and students, please use proper role names instead
moodler [Mon, 18 Sep 2006 03:28:02 +0000 (03:28 +0000)]
Nuked nuke.
moodler [Mon, 18 Sep 2006 03:04:28 +0000 (03:04 +0000)]
Automatic installer.php lang files by installer_builder (
20060918 )
vinkmar [Mon, 18 Sep 2006 02:41:14 +0000 (02:41 +0000)]
Fixes for MDL-6440 and MDL-6577
vyshane [Mon, 18 Sep 2006 02:28:57 +0000 (02:28 +0000)]
Replaced isteacher() in fullname() call.
mark-nielsen [Mon, 18 Sep 2006 01:31:35 +0000 (01:31 +0000)]
Added display default feedback in lesson settings
Led to reducing some redundant code in action/continue.php
Also, a bug fix in locallib.php for function lesson_print_submit_link (needed to add slashes or else js would break)
mark-nielsen [Mon, 18 Sep 2006 01:29:03 +0000 (01:29 +0000)]
Added lang entry for display default feedback
mark-nielsen [Mon, 18 Sep 2006 01:28:12 +0000 (01:28 +0000)]
Help file for displaying default feedback
skodak [Sun, 17 Sep 2006 22:21:37 +0000 (22:21 +0000)]
metacourse sync now uses roles, I will continue with fixing of GUIs tomorrow
skodak [Sun, 17 Sep 2006 21:03:35 +0000 (21:03 +0000)]
added new capability 'moodle/course:managemetacourses'
skodak [Sun, 17 Sep 2006 21:02:31 +0000 (21:02 +0000)]
fixed some more warnings in uploaduser.php script
skodak [Sun, 17 Sep 2006 20:51:54 +0000 (20:51 +0000)]
fixed warning
cap2501 [Sun, 17 Sep 2006 18:20:43 +0000 (18:20 +0000)]
Added dialog to confirm deletion of activity.
skodak [Sun, 17 Sep 2006 18:07:35 +0000 (18:07 +0000)]
fixed several warnings in get_course()
skodak [Sun, 17 Sep 2006 17:53:20 +0000 (17:53 +0000)]
removed foter login link during initial phase of installation
cap2501 [Sun, 17 Sep 2006 17:48:27 +0000 (17:48 +0000)]
cleaned up some formatting
gustav_delius [Sun, 17 Sep 2006 17:43:30 +0000 (17:43 +0000)]
Removed a PHP notice
skodak [Sun, 17 Sep 2006 17:32:45 +0000 (17:32 +0000)]
fixed non-working edit button on course page for teachers, added explanation comments
moodler [Sun, 17 Sep 2006 16:39:12 +0000 (16:39 +0000)]
New string
moodler [Sun, 17 Sep 2006 16:10:00 +0000 (16:10 +0000)]
Fixed a typo
moodler [Sun, 17 Sep 2006 16:08:34 +0000 (16:08 +0000)]
Rewritten manual enrolment module using new core functions.
(except for the last part of cron function, which is still ugly)
moodler [Sun, 17 Sep 2006 16:06:25 +0000 (16:06 +0000)]
Added new convenience funtions:
get_default_course_role() - gets default role for enrolment
enrol_into_course() - enrols a person using the default role
moodler [Sun, 17 Sep 2006 16:04:15 +0000 (16:04 +0000)]
Added email_welcome_message_to_user() to send course welcome emails
moodler [Sun, 17 Sep 2006 16:00:16 +0000 (16:00 +0000)]
Don't rely on the legacy capabilities to identify admins, use doanything
skodak [Sun, 17 Sep 2006 12:11:23 +0000 (12:11 +0000)]
Partial fix for missing deafult values in upgradesettings.php script - MDL-6577
moodler [Sun, 17 Sep 2006 09:22:33 +0000 (09:22 +0000)]
$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.
moodler [Sun, 17 Sep 2006 09:08:47 +0000 (09:08 +0000)]
Removed the setting of default values. The default is now just zero.
skodak [Sun, 17 Sep 2006 08:53:57 +0000 (08:53 +0000)]
infinite loop prevention when unassigning recursively
skodak [Sun, 17 Sep 2006 08:42:42 +0000 (08:42 +0000)]
role assignment and unassignment now propagates to metacourses
moodler [Sun, 17 Sep 2006 07:00:47 +0000 (07:00 +0000)]
Just tidying a couple of functions
skodak [Sun, 17 Sep 2006 06:49:26 +0000 (06:49 +0000)]
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
moodler [Sun, 17 Sep 2006 06:37:59 +0000 (06:37 +0000)]
Adding defaultrole to course table
vinkmar [Sun, 17 Sep 2006 06:08:10 +0000 (06:08 +0000)]
Changes required for MDL-6439 made to admin_sitesettext object
moodler [Sun, 17 Sep 2006 03:40:22 +0000 (03:40 +0000)]
Fixing up script tag for compliance
moodler [Sun, 17 Sep 2006 03:38:04 +0000 (03:38 +0000)]
Tidying up coursebox teacher listing (no bullets)
moodler [Sun, 17 Sep 2006 03:33:22 +0000 (03:33 +0000)]
Sort get_user_roles from most local to most general
moodler [Sun, 17 Sep 2006 03:29:56 +0000 (03:29 +0000)]
Updated tags file
martinlanghoff [Sun, 17 Sep 2006 02:27:13 +0000 (02:27 +0000)]
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.
skodak [Sat, 16 Sep 2006 18:15:40 +0000 (18:15 +0000)]
fixed recursive backing up of backup folder when resource diretory reference is course files root - MDL-6280 ; merged from MOODLE_16_STABLE
skodak [Sat, 16 Sep 2006 17:15:18 +0000 (17:15 +0000)]
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
skodak [Sat, 16 Sep 2006 17:15:18 +0000 (17:15 +0000)]
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
moodler [Sat, 16 Sep 2006 15:23:41 +0000 (15:23 +0000)]
Upgrading print_course to use roles properly
Added list for the teacher names for better XHTML
moodler [Sat, 16 Sep 2006 15:22:55 +0000 (15:22 +0000)]
extending get_user_roles with more options and more returned info
moodler [Sat, 16 Sep 2006 14:26:13 +0000 (14:26 +0000)]
Fixed hard-codes string
moodler [Sat, 16 Sep 2006 14:22:59 +0000 (14:22 +0000)]
Just some cleanups and removed notices
moodler [Sat, 16 Sep 2006 14:02:51 +0000 (14:02 +0000)]
Removing unneeded functions, still needs some modernising
moodler [Sat, 16 Sep 2006 13:59:38 +0000 (13:59 +0000)]
Enrolments working better now. The core part is done, just the plugins to go.
The enrolment plugins are now checked from load_user_capability()
moodler [Sat, 16 Sep 2006 13:56:24 +0000 (13:56 +0000)]
Added new capability
moodle/role:viewhiddenassigns - for people to see hidden assignments
moodler [Sat, 16 Sep 2006 13:55:30 +0000 (13:55 +0000)]
Converted deprecated get_teacher() to use new tables
moodler [Sat, 16 Sep 2006 13:54:57 +0000 (13:54 +0000)]
Tidy up get_users_with_capability
moodler [Sat, 16 Sep 2006 12:58:50 +0000 (12:58 +0000)]
Fixed a notice
moodler [Sat, 16 Sep 2006 12:41:47 +0000 (12:41 +0000)]
Fixed up some bugs and notices when assigning roles in a user context
skodak [Sat, 16 Sep 2006 12:05:31 +0000 (12:05 +0000)]
fixed unenrol_student() - now uses roles instead of user_students table
skodak [Sat, 16 Sep 2006 12:02:02 +0000 (12:02 +0000)]
fixed error message
skodak [Sat, 16 Sep 2006 12:01:08 +0000 (12:01 +0000)]
fixed uploaduser.php to work with role assignments and groups, new csv columns role1...role5 accepting role ids + updated help file
skodak [Sat, 16 Sep 2006 06:22:32 +0000 (06:22 +0000)]
coverted deprecated get_group_students() to use legacy capability instead of user_students table
skodak [Sat, 16 Sep 2006 05:56:51 +0000 (05:56 +0000)]
fixed $groupidsql in get_users_by_capability()
moodler [Sat, 16 Sep 2006 02:50:27 +0000 (02:50 +0000)]
Automatic installer.php lang files by installer_builder (
20060916 )
moodler [Fri, 15 Sep 2006 16:03:49 +0000 (16:03 +0000)]
Deleting deprecated methods of assigning people to courses
moodler [Fri, 15 Sep 2006 15:56:05 +0000 (15:56 +0000)]
We don't need these any more (obsolete because of role assignment)
moodler [Fri, 15 Sep 2006 15:07:43 +0000 (15:07 +0000)]
Fixed up a typo
moodler [Fri, 15 Sep 2006 15:04:38 +0000 (15:04 +0000)]
Various logic and capability fixes
moodler [Fri, 15 Sep 2006 14:56:32 +0000 (14:56 +0000)]
Fixed a bad bug in get_user_roles :-)
moodler [Fri, 15 Sep 2006 14:39:16 +0000 (14:39 +0000)]
New capability: moodle/user:viewhiddendetails
tjhunt [Fri, 15 Sep 2006 14:32:35 +0000 (14:32 +0000)]
MDL-6041 - Proper fix that eliminates the magic number 99999 when getting lists of studnets. Now, there is no arbitrary upper limit in the datalib functions, and sensible upper limits on pages that display lists of users. However, if you try to get all the site students, then get_students prints a warning in debug mode, telling you that you need to rethink your code.
Also a few more ISNULL()s eliminated.
And a typo role_assignment -> role_assignments.
moodler [Fri, 15 Sep 2006 14:09:16 +0000 (14:09 +0000)]
Rename CONTEXT_USERID --> CONTEXT_USER for consistency
tjhunt [Fri, 15 Sep 2006 14:00:30 +0000 (14:00 +0000)]
The ISNULL() function is a nasty mysql-ism. The standard SQL syntax is "xxx IS NULL". Even mysql supports this, whereas noone else supports the mysql syntax.
moodler [Fri, 15 Sep 2006 13:51:42 +0000 (13:51 +0000)]
Some SQL fixes
moodler [Fri, 15 Sep 2006 13:46:11 +0000 (13:46 +0000)]
Fixed some notices
moodler [Fri, 15 Sep 2006 13:42:40 +0000 (13:42 +0000)]
Fixed some SQL error
moodler [Fri, 15 Sep 2006 13:28:18 +0000 (13:28 +0000)]
Guest account could be getting the default role
moodler [Fri, 15 Sep 2006 13:26:39 +0000 (13:26 +0000)]
Some random quote fixing
tjhunt [Fri, 15 Sep 2006 13:18:28 +0000 (13:18 +0000)]
Fix typo.
moodler [Fri, 15 Sep 2006 12:53:23 +0000 (12:53 +0000)]
Just tidying
ethem [Fri, 15 Sep 2006 12:35:08 +0000 (12:35 +0000)]
Tidy up
ethem [Fri, 15 Sep 2006 12:05:27 +0000 (12:05 +0000)]
Tidy up
ethem [Fri, 15 Sep 2006 11:40:37 +0000 (11:40 +0000)]
Tidy up
ethem [Fri, 15 Sep 2006 10:13:06 +0000 (10:13 +0000)]
New string for capability: Manage payments
ethem [Fri, 15 Sep 2006 10:11:19 +0000 (10:11 +0000)]
New string for capability: Manage Payments
ethem [Fri, 15 Sep 2006 09:57:10 +0000 (09:57 +0000)]
Goodbye old config
vyshane [Fri, 15 Sep 2006 09:38:46 +0000 (09:38 +0000)]
Merge from 1.6 stable. Small fixes to make xhtml validate.
moodler [Fri, 15 Sep 2006 09:23:58 +0000 (09:23 +0000)]
FIxed navigation
toyomoyo [Fri, 15 Sep 2006 09:08:48 +0000 (09:08 +0000)]
changing lib functions to work with roles, some functions might not work as expected now
moodler [Fri, 15 Sep 2006 09:04:23 +0000 (09:04 +0000)]
Passing cleanup
moodler [Fri, 15 Sep 2006 08:59:02 +0000 (08:59 +0000)]
Bringing phpinfo into the fold
moodler [Fri, 15 Sep 2006 08:23:40 +0000 (08:23 +0000)]
FIxed docs
moodler [Fri, 15 Sep 2006 06:16:35 +0000 (06:16 +0000)]
Fixed a notice when course->modinfo is empty
moodler [Fri, 15 Sep 2006 06:15:01 +0000 (06:15 +0000)]
Fixed some subscription typos
moodler [Fri, 15 Sep 2006 06:07:29 +0000 (06:07 +0000)]
Updates for visual stuff
vyshane [Fri, 15 Sep 2006 06:04:23 +0000 (06:04 +0000)]
Fixed bug in forum_search_posts(). More testing needed still.
moodler [Fri, 15 Sep 2006 06:04:10 +0000 (06:04 +0000)]
Cleaning up assign and override interfaces
vyshane [Fri, 15 Sep 2006 06:03:32 +0000 (06:03 +0000)]
Fixed bug in get_records_sql(). This call:
$rs = get_recordset_sql($sql, $limitfrom='', $limitnum='');
should really be:
$rs = get_recordset_sql($sql, $limitfrom, $limitnum);
vyshane [Fri, 15 Sep 2006 03:18:59 +0000 (03:18 +0000)]
Small SQL fix. Removed unneeded WHERE clause
gbateson [Thu, 14 Sep 2006 21:50:37 +0000 (21:50 +0000)]
do not add $restore->course_startdateoffset to ANY empty dates
moodler [Thu, 14 Sep 2006 15:20:44 +0000 (15:20 +0000)]
Tidying
moodler [Thu, 14 Sep 2006 14:49:45 +0000 (14:49 +0000)]
Tidied up the role assignment pages