182 Commits

Author SHA1 Message Date
moodler
99988d1a87 This version installs smoothly for me on PostgreSQL 2002-12-23 14:19:45 +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
9fa49e22ab Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
moodler
dfe952f2ea Small change to allow the same user (by email) be deleted more than
once.  Also some security in making deleted usernames very hard to guess.
2002-11-18 12:21:27 +00:00
moodler
07358d40a4 30 per page 2002-11-11 08:03:54 +00:00
moodler
ad81212ec3 Rearranged code so some output is printed before tackling the big table 2002-11-11 07:58:11 +00:00
moodler
2ee50b1a5d Added paging now, so this page is now usable with many users 2002-11-10 11:00:57 +00:00
moodler
584f0a10ed Starting to speed up this page 2002-11-10 10:19:06 +00:00
moodler
2be8b28f3d Changes to improve usability when the admin folder has been renamed,
and also a change in checking for the admin user, just in case an
old session is hanging around
2002-10-25 02:02:02 +00:00
moodler
177e50ed98 New users created by admin also now default to site language 2002-10-18 08:48:44 +00:00
martin
dfb6e4ac3e Tweaks to page titles to make them more consistent 2002-09-27 14:26:02 +00:00
martin
7c3cf7f3ef Better way of sorting countries 2002-09-22 16:12:49 +00:00
martin
096dc19f3b Fixes to country sorting 2002-09-22 16:03:01 +00:00
martin
8538258121 Better handling of country sorting 2002-09-22 15:57:23 +00:00
martin
66c95f3224 Don't delete a user if already deleted (reloading page, say) 2002-09-22 14:42:32 +00:00
martin
274f62e6d5 Fixes to table widths 2002-09-22 14:11:45 +00:00
martin
d578afc883 Major cleanup of user administration and display, including sortable listings,
confirmation on deletions, removing deleted user from all student lists,
teacher lists and subscription lists and freeing up their username and
email to be used again.
2002-09-22 14:06:38 +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
403bb50d7b BUG FIX: In the last version I introduced a new security feature
(keeping the site URL stored in the USER session object) but forgot
to add this to the brand new admin user - causing it to fail.

Fixed.
2002-09-05 02:04:00 +00:00
martin
793f20b885 Tweaks to creation of user account while searching for the login
problem some people are having ...
2002-08-22 06:41:30 +00:00
martin
1d4bc6ed76 In user list, name goes to full page instead of editing (because there
is an edit link at the end of the row, as well as on the ful page)
2002-08-11 04:30:25 +00:00
martin
2447921f18 Changes to make uploaded user pictures work properly on Windows :-( 2002-08-09 09:09:36 +00:00
martin
2b25f2a09b Further excellent tidy-ups to the admin pages. They are actually starting
to look/work as slick as the rest of the site.  :-)
2002-08-08 15:51:23 +00:00
martin
a3447e1053 Cleanup of the admin interface - especially the user management
Bugs fixed, duplicate code removed, plus you can now add new users.

Aaah much better.  :-)
2002-08-08 14:17:55 +00:00
martin
df8fa8f1ee Damn .. this bug was stopping the admin user being created properly.
(Checking for uploaded file)
2002-08-08 07:20:38 +00:00
martin
8223d27193 Widespread changes throughout Moodle to make sure it works on
servers that have register_globals turned off (this is the
default setting on newer version of PHP).

In fact it's partly a hack that globalises all GET, POST, FILES
AND COOKIE variables.  Unfortunately though the SESSION and
USER global session variables are only available as $_SESSION["USER"]
and $_SESSION["SESSION"], which is cumbersome to use.

So, for every request I now make a copy of these two session variables
into $USER and $SESSION.  Whenever I update them thoughout Moodle I
now have to call save_session("USER") which copies them back to the
session variable.  This seems to be working well now.

Because I'm using $_SESSION etc now this will raise
the required minimum version of PHP to 4.1.0
2002-08-06 17:23:45 +00:00
martin
3f63fdfbfb More admin cleanups - improved user listing 2002-08-03 04:57:45 +00:00
martin
ef58b82265 Misc changes to improve performance on a brand-new installation 2002-08-01 15:48:27 +00:00
martin
a83fded1a9 Consistent use of get_site() instead of checking course->category directly 2002-07-11 05:30:10 +00:00
martin
a9b07c5288 Moved creation of guest user to login page - this means it can be
trashed any time and it will recreate itself as necessary.
2002-06-10 04:24:50 +00:00
martin
da5c172a07 Changes to support guest user across any course (guest/guest) 2002-06-09 14:14:07 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00