1344 Commits

Author SHA1 Message Date
moodler
55e4b5f97d Some cleanups of the admin page to make it
- more explanatory
  - more expandable

Apologies for the lost muscle memories, but I think this
will work better in the long run.
2003-08-10 08:01:14 +00:00
moodler
d2b6ba704e Another big checkin.
This includes some significant cleanups to the new course categories
system.  The basic idea is that the categories/course browser is now
unified under one system, and admin features related to that have
all been moved into the browser (as little icons).

I'm much happier with this as a foundation that can scale and be
built upon.

Still to go:

  - searching
  - paging
  - polishing

Also in here are a lot of little cleanups around the place, such as
the initial setup process.
2003-08-07 16:01:31 +00:00
moodler
dd85cc8189 Fixed missing slashes 2003-07-30 05:21:24 +00:00
moodler
253c44f0fa We need to keep these old images here because old stuff may refer to them. 2003-07-28 11:47:40 +00:00
moodler
67a63a3060 Cleaned up the remaining images:
- moved user images to /pix/u folder, and changed format to .png to allow
   transparent images etc.  These can now be customised in themes.

 - removed legacy madewithmoodle logos
2003-07-28 11:42:53 +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
8e487c3dca Fixed a bug when admins edit user accounts from external databases 2003-06-13 02:37:52 +00:00
moodler
02e44e7cf4 Print better loggedin info at the top of the page 2003-05-26 07:54:34 +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
69ec0a8b1d Moved info about automatic unenrolling to the top where it makes more sense
I think.
2003-05-16 06:27:23 +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
moodler
1f33691c86 Cleaned up the initial setup process. It looks a bit smoother now.
Hopefully this is also the end of the occasional errors we keep
hearing about to do with never getting to setup the admin user.
(I think admin/site.php had a redirect that didn't always work).

The setup process is now much better at "trapping" you until it's all done.
2003-05-06 15:58:20 +00:00
moodler
dc95f4a11b Always print full number of student at the top 2003-04-29 12:51:21 +00:00
moodler
81f186b47a I'm getting wierd numbers of records returned on moodle.org.
This fix makes the page a bit more robust even if this is
happening.
2003-04-28 16:13:46 +00:00
moodler
dc0dc7d5dd Tidying up the way pix images are used.
It's now also possible to override the standard pix with a set of new ones
in a theme.
2003-04-28 04:32:55 +00:00
moodler
f0eec3b641 Whoops ... left and old line in there during the last fix 2003-04-28 02:43:18 +00:00
moodler
dc2590e587 Don't process $usernew->username if it doesn't exist (prevents normal users from editing profile). 2003-04-27 14:50:03 +00:00
paca70
4dd0497164 Dont allow edit username when external authentication is active. 2003-04-25 16:42:07 +00:00
paca70
87b490dfc6 Hide password field when password change is not supported by auth-module. 2003-04-25 06:01:59 +00:00
paca70
1e22bc9c04 Conver usernames to lowercase for internal use. This prevent duplicate users
when using external authentication and posgresql.
2003-04-24 20:06:40 +00:00
moodler
de38e2621d More robust use of $_FILES['imagefile'] 2003-04-15 02:08:27 +00:00
moodler
8b72b41bf9 Better looking code 2003-04-14 05:44:47 +00:00
moodler
b610b4c2fd Showall is sticky, and also you get a warning about the number 2003-04-14 03:02:25 +00:00
moodler
dea49bdd6c Changed wording a little 2003-04-14 02:56:31 +00:00
moodler
a625debc38 Simplified display - less unnecessary clutter 2003-04-14 02:52:11 +00:00
moodler
15c715211e Mucking with the formtting 2003-04-14 02:48:40 +00:00
moodler
980d545f4f Smaller info 2003-04-14 02:45:03 +00:00
moodler
c5b6666eaf Better support for large classes 2003-04-14 02:42:40 +00:00
moodler
ffb410df03 Sorry, Petri, but we need to undo these changes, because:
- they could break accounts in existing installations
  - strtolower can corrupt strings in multibyte languages

Is it really a problem that usernames are case sensitive on PostgreSQL?
2003-04-01 02:14:16 +00:00
paca70
b398d5ee2a Use always only lowercase version of username.
When using authentication module (ldap, smb, pop etc...) and postgres-database multiple moodle
users were created for usernames like 'Username' 'username' 'userName'
2003-03-31 17:05:52 +00:00
moodler
78e72ed16b Didn't quite finish the last patch of user -> usernew 2003-03-15 09:15:44 +00:00
moodler
e6829515b0 Bug fix from Ray Le Couteur ... alphanumeric check was checking old
username but not the new username
2003-03-15 08:26:00 +00:00
moodler
55271c3047 Removed save_session() - no longer needed 2003-02-27 02:43:34 +00:00
moodler
17654e3845 Use $CFG->directorypermissions for new directories 2003-01-20 14:04:33 +00:00
moodler
5a99c0de4d Fixes to make it work on safe mode servers, but also better control of
directory/file permissions.
2003-01-20 13:40:02 +00:00
moodler
2c104c0152 Fixed redirection when user not completed yet in some instances when
using external authentication
2003-01-14 14:54:45 +00:00
moodler
6ed3da1da4 Cleaned up file argument processing a bit 2003-01-12 06:53:25 +00:00
moodler
ce78926df0 Small robustness fixes 2003-01-06 13:55:37 +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
607809b3ba OK a number of small changes here.
Firstly, I'm replacing all use of old-style global variables like
$HTTY_REFERER with their new-style equivalent $_SERVER["HTTP_REFERER"]
Also using $_POST instead $HTTP_POST_VARS  etc

Secondly, if gdversion == 0 (ie GD is not installed) then:

 - users are not even allowed to upload new images
 - graphs now just print a message instead of failing.

this allows Moodle to still be used even if GD is not present
2003-01-05 06:45:20 +00:00
moodler
36b4f9852e buggy_referer is dead! Long live buggy_referer!
Should be fixed now.  As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.

All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).

Much nicer.
2003-01-02 14:49:23 +00:00
moodler
61e96406df Robustness fixes 2003-01-02 10:35:11 +00:00
moodler
7f7f2cca29 Robustness 2003-01-01 07:18:43 +00:00
moodler
86d6449306 Allow "." and "-" in usernames. 2002-12-30 15:38:10 +00:00
moodler
47f1da80d0 More little fixups for robustness 2002-12-30 05:13:43 +00:00
moodler
9c9f7d7790 Various little fixes to remove warnings (usually about empty variables)
when error_reporting is turned up to 15 or so ... more of these to come ...
2002-12-29 17:32:32 +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
778c28671a Added new configuration setting "country" to set a default country
for the site.  If this is set then user menus are pre-selected.
eg when signing up or filling out profile after external authentication.
2002-12-14 08:18:18 +00:00