204 Commits

Author SHA1 Message Date
stronk7
9d05e26118 Now firstname and lastname fields are trimmed before saving them to db.
This should close Bug 1235
(http://moodle.org/bugs/bug.php?op=show&bugid=1235)
2004-05-15 22:18:53 +00:00
moodler
c9ca1fa5a1 A new option (off by default) will remove restrictions on usernames.
$CFG->extendedusernamechars
2004-05-15 07:30:31 +00:00
gustav_delius
c2ce7ea4d8 maxlength set in textfields to avoid exceeding length of database fields 2004-05-08 14:48:02 +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
ec67cbf237 User pictures can now be deleted - interface is improved a little 2004-05-01 14:34:21 +00:00
moodler
1aacb5033d Make sure new picture is saved to DB even when form has errors 2004-04-30 04:44:47 +00:00
moodler
36c34ab6f6 Allow some European characters in the username bug 1249 2004-04-27 08:24:04 +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
f8f63ecdd5 On second thoughts, Eloy was right - showall is useless. :-) 2004-02-17 12:18:02 +00:00
moodler
987ecd9806 showall is an optional variable that will showall the people in one list 2004-02-17 12:16:14 +00:00
moodler
088cbaab7b Fixed a typo 2004-02-14 17:33:24 +00:00
moodler
7721c69499 save_user_image ---> save_profile_image so it works for groups too 2004-02-10 14:24:36 +00:00
moodler
9ae8a7a94b Admins can edit the instituion and department fields now.
Long-standing oversight!
2004-02-04 14:24:29 +00:00
moodler
2cb2ce61ad When separate groups are being used, only show teachers and students who have
access to that group
2004-01-31 04:08:10 +00:00
moodler
ab39445640 Restrict certain users from changing profile 2004-01-30 08:29:35 +00:00
gustav_delius
2e39d2f810 minor fixes, including bugs 997, 998 2004-01-25 19:37:04 +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
999beee0b6 Clean all data in user profile 2004-01-14 13:31:28 +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
deae201fc6 Fixed missing bracket 2004-01-03 15:41:15 +00:00
moodler
ea229804e1 Added an error message to catch some cases of sessions not working 2004-01-02 14:11:21 +00:00
moodler
f374fb1006 This is the first check-in of support for groups.
It's very early (it doesn't actually do anything yet!) but you can
define groups and get an idea of how the interface is shaping up.
I also wanted to show that I have actually done something on this! :-)

From here my plan is to add group support to the modules, one by one
(forums first), then go back and clean up some of the central interfaces,
graphics etc.

Finally, test, test, test and get 1.2 out well before the end of February.
2003-12-30 17:18:06 +00:00
moodler
003296c476 Fixed a typo (not using $CFG->admin) 2003-12-16 05:31:52 +00:00
moodler
8c8c9bafa5 Align rows to top 2003-12-14 02:54:10 +00:00
moodler
f1de6e874f Added a little option to disable user image upload 2003-12-11 12:59:54 +00:00
moodler
eca1c454d7 Use fullname display for actual name in list 2003-11-28 16:16:59 +00:00
moodler
46fd234634 Show current user image on editing page ...
Bit of a hack ... not sure about the location .
2003-11-21 07:06:17 +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
959e11bf24 Fixed paging bar at the bottom of the page 2003-11-12 07:40:09 +00:00
moodler
a328425d17 New feature based on code from Gustav Delius
-> A-Z subsets on the participant list.

http://moodle.org/mod/forum/discuss.php?d=3162

I also made a new datalib function called count_course_students()
2003-11-04 12:09:52 +00:00
stronk7
40c9e047e0 Another small typo, == instead of =. :-D 2003-10-31 14:24:44 +00:00
stronk7
8c844d2d40 Small typo preventing users to be sorted. :-) 2003-10-31 14:22:37 +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
4d744a220a Added a new column to user_students and user_teachers called "timeaccess"
for recording the last access to the COURSE.

This is updated at the same time as add_to_log and is now used instead
of user->lastaccess when course user listings are required.

This means course listings now show what you expect and open up the way
for a "current users" listing and instant messaging etc ...
2003-10-27 12:38:00 +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
4909e17632 These changes implement some better controls for controlling uploads.
1) There is a new site-wide configuration variable called maxbytes,
   which provides an upper filesize limit for all (student) uploads.

2) There is a new course-level variable called maxbytes, which further
   limits uploads within a course.

3) There is a new maxbytes field for forums, which further restricts
   the size allowed in a particular forum.  There is also a new config
   variable in the module configuration to specify a default size
   to use when defining a new forum.

4) Assignments already had a limit, but this is now aware of the other
   limits, and like forums there is now a settable default value.

5) Finally, the sizes of files (Gb, Mb, Kb, bytes) is now translatable
   in the language packs.
2003-10-06 18:02:35 +00:00