44 Commits

Author SHA1 Message Date
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
martin
11b0c46971 A big clean up of all the forum functions (including renaming them all
to start with forum_ ) and all the follow-on effects that caused
Some miscellaneous bug fixes and code clean-ups along the way
2002-08-01 03:50:27 +00:00
martin
501cdbd8bb OK, some massive changes with many files removed or changed.
Basically the changes are:

 - I've merged the 'discuss' module into the forum module
   which makes the interface MUCH clearer for everyone
 - I've added a new 'single' forum type that replicates
   what the old discuss course modules used to look like.
 - I've got rid of the "discussion" forum type - it will
   still exist in upgraded courses but as a normal forum.
 - the 'discuss' module is completely deleted - gone.
 - the 'chat' module is completely deleted - gone.
 - The upgrading system has been improved, and all code
   is stored in version.php.
 - I've put in upgrading commands to do the best I can
   (right now) to upgrade courses that used the discuss
   module.  It should mostly work, just leaving some
   "orphan" coursemodules on you course front page.  You
   can easily delete these using the little 'x'.
   I may have forgotten something  - I've only tested on
   my testing server and I'm about to test on my production
   server to see how it goes.
 - Forums have a lot of little new features and fixes.  The
   main one is the subscription process.  Teachers can 'force'
   subscriptions on any forum.  This disallows everyone from
   choosing their own mail subscription - it's just on.
 - The assignment module is half-finished and not working yet

I've still some massive changes to do, mostly involving making
all the lib.php function names more standardised, so consider
this is an interim checkin to do some tests.
2002-07-31 14:19:35 +00:00
martin
803b2c7606 Altered buttons from index and view pages 2002-07-27 10:23:45 +00:00
martin
fa0626c6f4 Language-related fixes 2002-07-04 07:52:06 +00:00
martin
51feb9d56c Changes to display user discussions 2002-06-25 16:42:00 +00:00
martin
603d4c7226 Better handling of guest user 2002-06-10 04:33:46 +00:00
martin
b51e99130f All users are viewable in the "site" course. 2002-06-10 03:49:28 +00:00
martin
bda8d43a78 Changes to user settings, now it matches the stored data better 2002-06-05 05:37:55 +00:00
martin
8a3b358be9 Added a message if the student is not a member of the current course 2002-06-04 06:49:52 +00:00
martin
18798c6f55 Whoops ... don't put unenrol button unless the user is the current user! 2002-06-04 06:35:36 +00:00
martin
c888501c02 Added button to unenrol a user (course/unenrol.php) 2002-06-04 06:29:36 +00:00
martin
da3a08d7ee Updated to use new logging format. 2002-05-31 09:15:36 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00