Commit Graph

306 Commits

Author SHA1 Message Date
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
moodler bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
moodler ee4a52c59e Removed tabs 2006-08-09 13:53:12 +00:00
moodler bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak 165a7502f8 Bug #5643 - add Yahoo online status to user profile; merged from MOODLE_16_STABLE 2006-06-01 15:19:06 +00:00
skodak 1c871c231f fixed bug #5578 - remove login as button for other teachers in course; merged from MOODLE_16_STABLE 2006-05-22 13:15:06 +00:00
skodak 2c3432e684 fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE 2006-05-15 21:36:46 +00:00
patrickslee 17eef684ae Fixed a typo in the last authorize.net patch from Ethem 2006-03-16 19:32:17 +00:00