21892 Commits

Author SHA1 Message Date
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
moodler
11c40e2f4e Fixed a bad bug in get_user_roles :-) 2006-09-15 14:56:32 +00:00
moodler
e58eca7222 New capability: moodle/user:viewhiddendetails 2006-09-15 14:39:16 +00:00
tjhunt
36075e092d 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.
2006-09-15 14:32:35 +00:00
moodler
4b10f08b88 Rename CONTEXT_USERID --> CONTEXT_USER for consistency 2006-09-15 14:09:16 +00:00
tjhunt
f00b7f8d8e 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. 2006-09-15 14:00:30 +00:00
moodler
5081e7868d Some SQL fixes 2006-09-15 13:51:42 +00:00
moodler
2939bfe444 Fixed some notices 2006-09-15 13:46:11 +00:00
moodler
405f64c7fd Fixed some SQL error 2006-09-15 13:42:40 +00:00
moodler
2f089dd5f9 Guest account could be getting the default role 2006-09-15 13:28:18 +00:00
moodler
5bd66aa964 Some random quote fixing 2006-09-15 13:26:39 +00:00
tjhunt
4e5a0168f8 Fix typo. 2006-09-15 13:18:28 +00:00
moodler
2febd88e67 Just tidying 2006-09-15 12:53:23 +00:00
ethem
0fbf82ea78 Tidy up 2006-09-15 12:35:08 +00:00
ethem
dbe35d21bc Tidy up 2006-09-15 12:05:27 +00:00
ethem
a2610c215d Tidy up 2006-09-15 11:40:37 +00:00
ethem
068cf579bd New string for capability: Manage payments 2006-09-15 10:13:06 +00:00
ethem
58b450e92b New string for capability: Manage Payments 2006-09-15 10:11:19 +00:00