263 Commits

Author SHA1 Message Date
skodak
5bf243d131 MDL-10383 - groups/groupings refactoring nearly finished ;-) 2007-08-16 11:06:48 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
donal72
b4daa48f1e Link to profile editing should not appear on remote-users' profiles (except for the user himself). 2007-08-03 12:28:33 +00:00
donal72
987addd949 Bugfix: Link back to parent Mahara site didn't work 2007-08-03 10:16:23 +00:00
moodler
1e1c51a3b7 Changes to user profile pages to edit/display interest tags 2007-07-31 08:09:46 +00:00
stronk7
e3fc108e41 Let's use the default (cached) list of fields here. MDL-10571
Merged from MOODLE_18_STABLE
2007-07-23 16:34:41 +00:00
mjollnir_
2520258128 Merged Donal's changes to MNET to allow moodle to also network with mahara.
changelog follows

    [MNET-manual] added version.php, install.xml and upgrade.php patches
    Route remote users back to their home server without going through jump.php and land.php
    Display app-specific strings in the user view
    Display the application icon in the Remote Host block
    Hide the 'logs' tab if the application under review is not Moodle
    Hide the 'logs' tab if the application under review is not Moodle
    Update user record to note that picture == 1 once a picture has been
    transferred.
    Change 2 to uri - is this fluid?
    Add application paramter to bootstrap function
    Find the application
    Workaround for PHP5.2.2 bug: http://bugs.php.net/bug.php?id=41293
    $HTTP_RAW_POST_DATA was not being populated
    Ensure we get an application for our Peer
    Update the URI to use for MNET
    The default 'wantsurl' should be empty
    Use the appropriate 'land' url for the remote application
    Add hidden form elements for 'application'
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
    Add awareness of new Application concept
2007-07-14 03:00:12 +00:00
martinlanghoff
0a66585b3d 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:40 +00:00
skodak
1cb3da3613 MDL-9574 + MDL-9607 Add Change-own-password and Edit-own-profile capabilities 2007-04-26 21:41:08 +00:00
skodak
65acd2bb97 MDL-2201 handle url parameters in change Password link 2007-04-21 21:20:17 +00:00
skodak
80274abfa1 MDL-9429 make clear that alternate change password url is used only when user is logged in, for example change url may contain $USER->username; other minor cleanup 2007-04-20 10:02:38 +00:00
ikawhero
334415e93f Merging changes from 1.8
Display custom profile fields in profile page - see MDL-9285
Menu type stores the value rather than the index - see comments on MDL-9285
General tidy up and renaming of funtions in field class.
2007-04-16 02:49:33 +00:00
skodak
5e104d5f3a MDL-9315 fixed incorrect use of localtion (should be city) in user profile; merged from MOODLE_18_STABLE together with other changes by Nic 2007-04-15 15:51:16 +00:00
skodak
6bc1e5d577 (MDL-8973) Fix OOP model of new multi auth plugins + some other auth related fixes, fixed change_password, ldap updates, etc.; TODO: fix docs 2007-03-22 12:27:52 +00:00
skodak
f6f66b0338 MDL-8840 Loginas cleanup; merged from MOODLE_18_STABLE
+ merging perflib toys from moodlelib.php
2007-03-19 18:54:58 +00:00
toyomoyo
8308419e76 merged fix for parent forloginforprofile problem 2007-03-12 01:22:25 +00:00
toyomoyo
7034b46c8a do not force parents to enrol 2007-03-07 06:22:58 +00:00
toyomoyo
4e7b349e0a replacing single button fieldsets with divs 2007-03-01 04:30:42 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
skodak
210560e3d7 MDL-8590 auth cleanup - part 8 2007-02-21 21:53:28 +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
moodler
e82dc9bb41 Tidy-ups for user profile page 2006-09-13 06:56:25 +00:00
toyomoyo
ae9e4c064e replacing iscreator() calls with capabilty 2006-09-12 08:56:10 +00:00
toyomoyo
d02eededf7 adding capabilities 2006-09-06 08:55:23 +00:00
toyomoyo
0a8a95c91e some more UI stuff 2006-08-15 08:29:29 +00:00
moodler
acee2e2491 Temporayr debug a bit more sensible 2006-08-13 15:50:58 +00:00