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 |
|
ethem
|
4044e868eb
|
Goodbye old config
|
2006-09-15 09:57:10 +00:00 |
|
vyshane
|
15dabc3074
|
Merge from 1.6 stable. Small fixes to make xhtml validate.
|
2006-09-15 09:38:46 +00:00 |
|
moodler
|
c26a8f2ffa
|
FIxed navigation
|
2006-09-15 09:23:58 +00:00 |
|
toyomoyo
|
71dea306b4
|
changing lib functions to work with roles, some functions might not work as expected now
|
2006-09-15 09:08:48 +00:00 |
|
moodler
|
b5839add55
|
Passing cleanup
|
2006-09-15 09:04:23 +00:00 |
|
moodler
|
6a12bc4836
|
Bringing phpinfo into the fold
|
2006-09-15 08:59:02 +00:00 |
|
moodler
|
3bac4f9fce
|
FIxed docs
|
2006-09-15 08:23:40 +00:00 |
|
moodler
|
3cc8b355c2
|
Fixed a notice when course->modinfo is empty
|
2006-09-15 06:16:35 +00:00 |
|
moodler
|
b977b0a365
|
Fixed some subscription typos
|
2006-09-15 06:15:01 +00:00 |
|
moodler
|
e49e61bfe9
|
Updates for visual stuff
|
2006-09-15 06:07:29 +00:00 |
|
vyshane
|
67875aa108
|
Fixed bug in forum_search_posts(). More testing needed still.
|
2006-09-15 06:04:23 +00:00 |
|
moodler
|
4934c49719
|
Cleaning up assign and override interfaces
|
2006-09-15 06:04:10 +00:00 |
|
vyshane
|
3d5fb99f00
|
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);
|
2006-09-15 06:03:32 +00:00 |
|
vyshane
|
e521770c84
|
Small SQL fix. Removed unneeded WHERE clause
|
2006-09-15 03:18:59 +00:00 |
|
gbateson
|
e69c04db5a
|
do not add $restore->course_startdateoffset to ANY empty dates
|
2006-09-14 21:50:37 +00:00 |
|
moodler
|
7513cd6936
|
Tidying
|
2006-09-14 15:20:44 +00:00 |
|
moodler
|
9584965f9c
|
Tidied up the role assignment pages
|
2006-09-14 14:49:45 +00:00 |
|
moodler
|
02862df518
|
Allow columns to be zero
|
2006-09-14 14:12:51 +00:00 |
|
thepurpleblob
|
6d9b8e5678
|
Merged from STABLE
Provides fix for bug MDL-5893
|
2006-09-14 13:59:08 +00:00 |
|
moodler
|
698337128b
|
Reorganise settings a bit
|
2006-09-14 13:56:27 +00:00 |
|
moodler
|
10e17638da
|
Some fixes to user policies (removed some which are no longer relevant)
|
2006-09-14 13:54:21 +00:00 |
|
gbateson
|
de2ded1a43
|
moved restorelog code to "hotpot_restore_mods", so it is only executed when backing up a HotPot record. Also, modified restorelog code so that "course_startdateoffset" is not added to TIMEOPEN or TIMECLOSE if those fields are currently empty (empty has a special meaning for those fields)
|
2006-09-14 11:10:54 +00:00 |
|
moodler
|
ca23ffdb74
|
Don't overwrite capabilities when loading default role
|
2006-09-14 09:41:09 +00:00 |
|
moodler
|
8f8ed475f7
|
Added a new setting called $CFG->defaultuserroleid which defines
the role that ALL users get by default when they log in.
|
2006-09-14 09:39:23 +00:00 |
|
toyomoyo
|
ea8158c118
|
changing sql calls from user_students table to role_assignments table
|
2006-09-14 09:08:07 +00:00 |
|
vyshane
|
b1342e1869
|
Minor formatting tidyup
|
2006-09-14 08:57:41 +00:00 |
|