78 Commits

Author SHA1 Message Date
moodler
a8021f5641 Slight timezone cleanups 2005-04-11 08:01:58 +00:00
moodler
3f0b2d4c46 Correct use of forcetimezone 2005-04-11 07:48:54 +00:00
moodler
1bb1333b0b Centralised timezone list to a function 2005-04-10 17:35:17 +00:00
defacer
ce9707f5aa As there was no armageddon since I commented out the "old" timezone setting
HTML yesterday, I 'm now completely removing it.
2005-04-09 10:20:53 +00:00
defacer
02a5309439 If $CFG->forcetimezone is not empty, don't allow users to change the timezone from
their profiles, and instead show a disabled menu with the forced timezone selected.

Also, fixed a get_string (reading from wrong lang file).
2005-04-09 09:36:47 +00:00
defacer
02c2881b40 The user Timezone setting now allows both trivial and non-trivial timezones.
I fervently hope we haven't left any hidden "unupdated" code that breaks with this.
2005-04-08 20:28:19 +00:00
defacer
c3401dfdbe Timezone selection drop down menu now works. 2005-03-23 03:00:59 +00:00
defacer
0ed442f85c DST presets -> timezones 2005-03-23 01:54:45 +00:00
defacer
22c0091a6a DST presets -> timezones 2005-03-23 01:17:20 +00:00
moodler
766d2bf3b3 Added user fields for Skype, AIM, Yahoo, and MSN messengers. :-)
If anyone knows good links+images to use for AIM, Yahoo and MSN let me know
2005-03-05 05:57:10 +00:00
moodler
a9fd72322a Reverting some recent date-related changes 2005-02-18 13:43:40 +00:00
defacer
3ffa665bc1 More robust handling of DST status for the user profile. 2005-02-18 03:42:28 +00:00
defacer
7b91e4fd11 Our nice compatibility hack with the language strings means
that some strftime() rebels need patching up...
2005-02-18 01:52:21 +00:00
defacer
4d71c956a8 Adding user profile option for DST.
Also some tabs to spaces.
2005-02-17 21:29:05 +00:00
defacer
80e556ce8a Removing inline styles from table, giving class="formtable"
Removing valign="top" from trs
Changing td align="right" to th
Double quotes to single
2005-02-17 21:16:35 +00:00
moodler
32e2b30209 This more or less completes the PHP side of the 1.5 themes
Added $user->theme and $course->theme choices, controlled by admin
variables on the main config variables page.

By default this is all turned off, since multiple themes can be
a little disorienting.

A hidden feature is session themes ... you can change the theme
on any page by passing theme=xxxx as a parameter.  By default this
requires sesskey (so that people don't change theme on each other),
but this security can be switched off using a hidden variable
$CFG->allowthemechangeonurl = true;   Good for quick tests.
2005-02-10 10:28:27 +00:00
defacer
54598fb04e The user editing screen and the change password screen didn't play very
well with debug = on. In fact the change password screen didn't play at all.

Made a few small changes to fix notices and now everything works OK.
Added a missing language string.

*****************
This problem may very well exist in MOODLE_14_STABLE too! Unfortunately I
don't have access to a 1.4 checkout right now, so it will have to wait.
*****************
2004-12-16 17:26:29 +00:00
moodler
3f3a1b360f Main admin can never change their own authentication method from "manual" 2004-10-08 13:15:13 +00:00
moodler
09e8a2f8e8 Changes for XHTML and accessibility compliance 2004-09-23 11:01:22 +00:00
moodler
6eb3e776fc Bugfixes for my recent checkin 2004-09-23 04:15:19 +00:00
moodler
a3f1f815a9 OK, finished the fixes I wanted to add to the recent LDAP changes
for user field locking and forcing of password changing

  - Locked user fields always apply (for any authentication method).
    Currently these can only be defined in the LDAP auth screen
    but later these can be brought out as part of the generic
    interface for defining user fields and their behaviour.

  - Fields are now locked using Javascript and will work for any
    user fields that exist (list is not hard coded anymore).

  - Admins can always edit locked fields.

  - Admins can always force a password change.  The checkbox reflects
    the current status of this, and the admin can UNSET the checkbox
    if they want.  It is no longer necessary for the admin to change
    the old password for this to take effect, either.
2004-09-23 03:56:53 +00:00
paca70
c29890b5d8 Some cleanups 2004-09-21 13:20:13 +00:00
paca70
4bde37a18e Removed $user_external and annd isset() around editlocks 2004-09-21 06:09:09 +00:00
moodler
d35757eb25 Merged/cleaned changes from MOODLE_15_LDAP to HEAD ...
please don't use the MOODLE_15_LDAP branch any more.
2004-09-20 09:08:57 +00:00
fiedorow
7098a2c06b UI for admin to change authentication method for given user 2004-09-16 01:45:20 +00:00
mjollnir_
81d425b43c Integration of new centralised upload code with user profile, and group profile, as well as an enhancement to upload class to be configured to be silent.
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-66
    2004-09-16 00:03:41 GMT
    Penny Leach <penny@catalyst.net.nz>
    changes to upload class to be silent if we want it to be, integration with editing user profile and group profile (which meant changes in lib/gdlib.php as well as course/group-edit and group.php and user/edit.html and edit.php


Full logs:

Revision: moodle--eduforge--1.3.3--patch-66
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Thu Sep 16 12:03:41 NZST 2004
Standard-date: 2004-09-16 00:03:41 GMT
Modified-files: course/group-edit.html course/group.php
    lib/gdlib.php lib/uploadlib.php user/edit.html
    user/edit.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-66
Summary: changes to upload class to be silent if we want it to be, integration with editing user profile and group profile (which meant changes in lib/gdlib.php as well as course/group-edit and group.php and user/edit.html and edit.php
Keywords:
2004-09-16 00:16:48 +00:00
moodler
f971d5021e XHTML tidy up 2004-09-07 10:18:52 +00:00
moodler
357b5286b8 HTML tidy up 2004-09-07 08:54:43 +00:00
moodler
031c49fabb HTML code tidy up 2004-09-07 08:05:25 +00:00
stronk7
18652e4abe Strange typo.
Bug 1804
(http://moodle.org/bugs/bug.php?op=show&bugid=1804)

Merged from MOODLE_14_STABLE
2004-08-26 22:38:39 +00:00
moodler
601131c169 Merged changes from STABLE for timezone display 2004-08-25 08:52:14 +00:00
moodler
0b9a930445 Admin gets some information when GD is disabled 2004-08-19 04:45:07 +00:00
moodler
39a5a35d6d Finalise the switchover to using the user->auth field when authenticating.
Thanks, Howard Miller!
2004-08-16 15:41:57 +00:00
moodler
73ed3dd793 MOre tweaks to make it clearer for users to enable/disable email 2004-07-24 08:53:33 +00:00
defacer
57728105f6 Email digest feature: user setting 2004-06-01 07:59:35 +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
ec67cbf237 User pictures can now be deleted - interface is improved a little 2004-05-01 14:34:21 +00:00
moodler
9ae8a7a94b Admins can edit the instituion and department fields now.
Long-standing oversight!
2004-02-04 14:24:29 +00:00
gustav_delius
2e39d2f810 minor fixes, including bugs 997, 998 2004-01-25 19:37:04 +00:00
moodler
f1de6e874f Added a little option to disable user image upload 2003-12-11 12:59:54 +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
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
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
9f798bff9f Fixed bug when main admin was editing externally-defined accounts
(the username/password was editable)
2003-09-22 13:25:27 +00:00
moodler
f03af7f3c1 Allow the primary admin to edit their own account even when external
authentication is being used.
2003-09-09 17:40:07 +00:00
moodler
8e487c3dca Fixed a bug when admins edit user accounts from external databases 2003-06-13 02:37:52 +00:00
moodler
7f2a3e678e New field for user: autosubscribe
This sets the default value for on-the-fly forum subscription.
Defaults to on = subscribe.

(Also fixed a bug in postgres7.sql - a missing field for htmleditor!)
2003-05-23 05:32:40 +00:00
moodler
2f518143de Tidy up of a code - took out all the short PHP tags 2003-05-10 09:36:57 +00:00
moodler
eb7ec77d68 FIxed bug 406 - richtext setting resets! 2003-05-08 13:34:42 +00:00