Commit Graph

263 Commits

Author SHA1 Message Date
moodler fa92b42f60 Use new icons for enable/disable email address on user profile page 2004-07-24 06:25:14 +00:00
moodler ddc1d46fa1 Merging Stable fixes 2004-07-07 17:33:54 +00:00
julmis ab1324e415 $CFG->loginhttps changes, change password and admin user edit. 2004-06-22 18:34:35 +00:00
gustav_delius f7f2ff6dba Only editing teachers are allowed to unenrol students 2004-05-30 20:54:58 +00:00
moodler 555b85139f Better protection against Googlers 2004-05-03 15:03:31 +00:00
moodler 1ffb5c8989 Forcelogin works on user profiles, and a new setting can now forcelogin
just for these pages even if the site forcelogin is off.

   $CFG->forceloginforprofiles
2004-05-03 14:55:33 +00:00
moodler d552efcee0 Links to enrolled courses in user profile page now link to the
user profile page in that course.

Makes it easy to see their discussions etc
2004-04-03 07:08:16 +00:00
moodler d0ec93fbd6 Guests can no longer see email addresses if "show only to course participants"
has been set by that user
2004-03-24 12:23:43 +00:00
stronk7 dadbd7586b Changed border=1 to border=0. Included in previous version to test a bug. Sorry. 2004-03-23 23:58:09 +00:00
stronk7 340ccd3e8d Small typo. Detected by aroberti. Bug 1178. Closed now. 2004-03-23 23:53:05 +00:00
moodler b1d530d202 Cleanups for bug 1117 2004-03-13 15:22:33 +00:00
stronk7 dd780a3b4c Now, in SEPARATE groups courses, a user cannot access to the info about users
in other groups.

Please check !!
2004-03-09 23:07:35 +00:00
moodler cadb96f29e GUI to allow disabling of user email addresses (from user profile) 2004-02-20 10:27:24 +00:00
moodler 088cbaab7b Fixed a typo 2004-02-14 17:33:24 +00:00
moodler d7df380b78 Extra parameter for robustness 2004-01-14 17:53:51 +00:00
moodler a2c3b87eda Clean output for old entries 2004-01-14 13:33:00 +00:00
moodler aeb23d0a02 User descriptions weren't being filtered! They are now. :-) 2004-01-14 13:07:29 +00:00
moodler 951b22a829 Completely got rid of user/lib.php
- print_user() went to weblib.php and got tidied up

  - The graphics functions went to lib/gdlib.php

See Bug 922
2004-01-10 16:41:29 +00:00
moodler 8c8c9bafa5 Align rows to top 2003-12-14 02:54:10 +00:00
moodler 5fde0ca615 Use the new fullname function 2003-11-19 16:15:56 +00:00
moodler 9c72928dc3 Show enrolled courses on user page to teachers
See http://moodle.org/mod/forum/discuss.php?d=3562
2003-11-19 07:55:00 +00:00
moodler 6a7585f259 SECURITY FIX: This patch prevents teachers from logging in as admins or
course creators!  I'll make an announcement to registered
               administrators.
2003-11-14 12:48:26 +00:00
moodler 8f85017285 Show activity button for students on their profile page 2003-10-31 06:50:19 +00:00
moodler 97ac9019a9 Print "never" on profile page if the user has never logged in 2003-10-28 04:09:03 +00:00
moodler f1603208db The last access date is now that of the course. 2003-10-27 14:15:05 +00:00
moodler 1b6a4b1db2 Some cleanups for some of the HTML, including addition of new styles 2003-10-21 06:40:39 +00:00
moodler 5204d8316a A new configuration parameter 'allowunenroll' will enable/disable the
"unenrol me" buttons on user pages and course pages.
2003-10-12 18:03:50 +00:00
moodler 5833a6c8eb The list of countries has finally been moved into the language packs
so it can be translated.

There is now a new function get_list_of_countries() which will return a
sorted array of countries in the best current language.

get_string("AU", "countries")   will also work if needed
2003-09-26 08:04:48 +00:00
moodler ecac660cd6 Use the new is_internal_auth function 2003-09-22 14:01:45 +00:00
moodler 61a5e1e902 Sometimes changepassword is 0 or 1 ... so deal with that 2003-08-25 17:42:21 +00:00
moodler 35d01c7f31 When using the "manual" method, I've disabled the external method of
changing passwords, and enabled the internal "change password" button
just like "email" and "none".

Thanks to Danilo Massa for pointing out the inconsistency.
2003-07-21 15:20:58 +00:00
moodler 4337380421 Email addresses are now well and truly obfuscated on public profile pages 2003-07-11 08:38:39 +00:00
moodler 02e44e7cf4 Print better loggedin info at the top of the page 2003-05-26 07:54:34 +00:00
moodler b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler 61e96406df Robustness fixes 2003-01-02 10:35:11 +00:00
moodler ebc3bd2b24 Changes throughout Moodle to remove any reserved words from the
Moodle tables.

ie user -> userid in many tables, plus in user_students
   start -> starttime and end -> endtime

I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.

Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00
moodler 3086f3f6cf With external authentication, the change password button on the user
page now does the same thing as the one on the login page.  It takes you
to the specified URL is it exists, and just doesn't appear if there is no URL
2002-11-28 12:31:46 +00:00
moodler bcd6e7184f Hide password and unenrolment buttons from guest users 2002-11-22 09:59:31 +00:00
moodler 15e4b2ecd9 User pictures no longer are links on main view page 2002-11-20 14:58:24 +00:00
moodler e1ac42728d Added a 'change password' button 2002-10-17 12:25:25 +00:00
martin 49f5bb0527 Fix for ICQ display (they've changed their URLs) 2002-09-24 12:45:06 +00:00
martin bb09fb1157 Changes to enable DELETION of user accounts. Accounts aren't actually
deleted, they are just marked with a deleteion flag that prevents them
from logging in, or from being listed anywhere.
2002-09-22 03:01:17 +00:00
martin d21fef3a02 Don't try and print the last access date if it doesn't exist 2002-09-06 15:10:36 +00:00
martin 55e078c0fa Users can now choose to hide their email address. In this initial version
there are three options:

0) Hide the email address from everyone (except the teacher of their course)
1) Allow everyone to see the email address, all the time.
2) Allow only participants in the same course to see the email address

Note, new field maildisplay in 'user'
2002-08-21 13:29:25 +00:00
martin 0bfa3ba286 No point in being able to login as yourself 2002-08-15 05:43:38 +00:00
martin 9235667890 Fixes to visibility of unenrol button 2002-08-10 15:16:00 +00:00
martin b0ccbd923b Further little fixes to user image displaying 2002-08-09 09:25:17 +00:00
martin 243c518b98 Better control of buttons for admin and in site view 2002-08-08 17:30:50 +00:00
martin a2ab3b0511 More tidy ups in displays 2002-08-08 16:22:44 +00:00
martin 0087d8a6d7 Tweaks to the headers 2002-08-08 16:02:39 +00:00