Commit graph

168 commits

Author SHA1 Message Date
dongsheng
7e62718e7c MDL-17143
don't display the user description at all when user isn't enrolled in any courses, backported to 1.8
2008-11-12 02:21:54 +00:00
skodak
6e695a1f4e MDL-15516 prvent access to deleted profiles and other user areas; backported from HEAD 2008-07-05 14:57:22 +00:00
dongsheng
4e3b92aecc "MDL-15251, see tracker, merged from MOODLE_19_STABLE" 2008-06-16 12:25:31 +00:00
dongsheng
e6edcdaff7 "MDL-15251, see tracker, merged from MOODLE_19_STABLE" 2008-06-16 09:05:42 +00:00
dongsheng
3c14b202eb "MDL-15251, fix country field in user/view.php" 2008-06-16 02:16:42 +00:00
stronk7
30e04e5e2a With get_my_courses() properly filtering out not vievable
courses for the user requesting the list, perfomr proper dimming
of not visible courses. Backported from HEAD. MDL-12855
2008-04-17 18:35:12 +00:00
scyrma
a2ae4ee63b MDL-9410 - In user profile display, add http:// to web links if it's not already there 2008-04-11 07:03:20 +00:00
toyomoyo
58c8f24909 MDL-12544, hide hidden roles in profile when user has no capability 2007-12-12 07:10:53 +00:00
skodak
1cefec56ed MDL-12329 fixed last access when course not accessed yet - patch by Yolanda Ordóñez Rufat; backported from MOODLE_19_STABLE 2007-11-23 21:33:28 +00:00
toyomoyo
5645145115 MDL-10294, MDL-10028, changing messaging/bulk messaging system 2007-11-21 07:46:45 +00:00
toyomoyo
41fe0508eb MDL-11064, users can't see teacher's profile 2007-09-06 07:07:58 +00:00
Martin Langhoff
f5c39e0b23 cvsimport fixups 2007-08-29 13:13:58 +12:00
donal72
aa34400457 Link to profile editing should not appear on other users' profiles. 2007-08-03 12:20:46 +00:00
stronk7
02e7dadc05 Let's use the default (cached) list of fields here. MDL-10571 2007-07-23 16:33:54 +00:00
martinlanghoff
f08efe8517 get_my_courses() callers update - check of the $fields param - pass null instead
The default way to call get_my_courses() is now to pass null in the $fields
param to get the (cached copy) of the useful fields. Cuts down enormously
on DB traffic, memory footprint, and session size.
2007-05-06 05:32:03 +00:00
ikawhero
a352220a48 Display custom profile fields in profile page - see MDL-9285
Menu type stores value rather than index - see comments on MDL-9285
General tidy up and renaming of functions in field class.
2007-04-16 02:45:50 +00:00
skodak
c9f6285685 MDL-9315 fixed incorrect use of localtion (should be city) in user profile 2007-04-15 15:49:15 +00:00
nicolasconnault
1e89d31bf8 MDL-9025: Fixed the given line, plus one in user/index.php that didn't get filtered either when viewing all users with a given role: e.g. user/index.php?contextid=38&roleid=3 2007-03-26 07:07:05 +00:00
skodak
a045329951 (MDL-8973) Fix OOP model of new multi auth plugins + some other auth related fixes, fixed change_password, ldap updates, etc.; TODO: fix docs
backported from HEAD
2007-03-22 12:40:16 +00:00
skodak
e78860178a MDL-8840 Loginas cleanup 2007-03-19 18:52:48 +00:00
toyomoyo
eea7d42fd1 parent blog forceloginforprofile fix 2007-03-12 01:11:59 +00:00
toyomoyo
88dd35ee8e do not force parents to enrol 2007-03-07 06:22:04 +00:00
toyomoyo
fdefa7ef01 replacing single button fiedlsets with divs 2007-03-01 04:30:35 +00:00
nicolasconnault
7c08ef3653 Fixed MDL-8582
Not sure if the hotpot module is converting ampersands correctly. $heading and $title are set up differently than in other modules: instead of outputting $course->title, a temporary $title variable is created and assigned that value. That made it difficult for me to decide whether it was already formatted elsewhere or not.

Also I didn't format_string() any of the variables included in $navigation rings, because I assume these strings get processed by print_navigation(), which includes format_string().
2007-02-28 05:36:13 +00:00
skodak
8bd763d2da MDL-8590 auth cleanup - part 8; backported from HEAD 2007-02-21 21:57:09 +00:00
moodler
42044d0971 Fixes so that no-one can "login as" users with "doanything" MDL-8411 2007-02-13 08:31:10 +00:00
moodler
3de34ccf68 FIxed extra debugging info 2007-01-23 02:14:29 +00:00
sam_marshall
f8e1c7af38 MDL-8149 Added code to narrow down possibilities for get_my_courses, which reduces number of db queries required for profile page when site has many courses. 2007-01-12 17:05:32 +00:00
toyomoyo
0db6adc9b0 MDL-8120, changes to roles to facilitate faster log in time 2007-01-12 07:41:33 +00:00
moodler
c11387978c Fixes to make user profile pages validate Strrrict 2007-01-06 14:07:00 +00:00
toyomoyo
e9f044341f MDL-7861, xhtml related issues, added class for some fieldsets to not display border 2007-01-05 02:00:20 +00:00
toyomoyo
4a8f3398f9 adding fieldset MDL-7861, needs new css class for border? 2007-01-04 07:19:55 +00:00
martinlanghoff
840c12f362 user/view: Bugfix for broken XHTML on non-local user view
Author: Donal McMullan <donal@catalyst.net.nz>
2007-01-04 03:31:52 +00:00
martinlanghoff
56f5274232 mnet: user/* now handles remote users and multi-auth 2007-01-04 03:01:30 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
skodak
37edce7b84 MDL-8029 removed obsoleted use of isteacher() from user view 2006-12-30 21:40:22 +00:00
toyomoyo
475ed85c57 MDL-7861, fixing broken xhtml tags 2006-12-20 00:48:49 +00:00
toyomoyo
5e8e6eb399 merged fix for MDL-7770, preventing users with no capability to view user profiles 2006-12-07 05:06:15 +00:00
skodak
8a3a634afd MDL-7783 Non-internal authentication change password URL doesn't work - patch by Iñaki Arenaza 2006-12-03 20:06:35 +00:00
skodak
1437f0a5e3 conversion of login/change_password.php to new formslib and other changes:
* new formslib
* works only when logged in - added redirection to login page for guests or not logged in yet
* fixed redirects when logging in and on forced password change
* "Logged in as" users are not allowed to use this form
* general cleanup
2006-12-02 14:38:31 +00:00
skodak
2bbaf749c8 MDL-7434 all images that convey information should have alt text to convey that information - part 2 2006-11-25 18:09:33 +00:00
skodak
1936c10e54 fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
toyomoyo
dd5e0901d7 merged taking out extra isteacher() 2006-11-06 02:33:13 +00:00
skodak
97faae5833 Commented out session dump in user profile when in debug mode MDL-7311; merged from MOODLE_17_STABLE 2006-10-31 19:32:20 +00:00
moodler
499e78b4fd Merged user profile improvements from stable 2006-10-29 04:21:23 +00:00
moodler
e020c546c7 Fix for access to users at site level MDL-6810 2006-10-04 02:14:25 +00:00
moodler
bad59bc0ee Some tidying and also a check to make sure that the user was a
participant in this particular course
2006-10-01 05:26:38 +00:00
toyomoyo
dc5586907d replacing deprecated calls and references to capability calls 2006-09-20 09:00:04 +00:00
moodler
4801fe93a2 Various logic and capability fixes 2006-09-15 15:04:38 +00:00
moodler
89d57596bd Fixed a typo 2006-09-14 06:30:02 +00:00