162 Commits

Author SHA1 Message Date
fiedorow
16da26a666 With authentication defined on per user basis, all user administration methods should be available, regardless whether the default site method is internal or external 2004-09-16 01:50:41 +00:00
gustav_delius
0cdd138180 some fixes for XHTML compliance 2004-09-12 00:21:21 +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
ff7acbfeca Merged recent stable fix for 1607 2004-07-02 02:46:17 +00:00
gustav_delius
0671ba130f used is_internal_auth() to decide if to show "Add new user" link 2004-05-31 08:20:13 +00:00
gustav_delius
aed646106b "Add a new user" link near top of page, see bug 713 2004-05-30 21:12:09 +00:00
moodler
ee02c13d91 Table columns retain current search parameters 2004-03-20 07:03:46 +00:00
moodler
488acd1be9 Some fixes to the functions for fetching users (some of it is backing
out Scott's changes, sorry Scott!) and some fixes to the interface
for the admin user page.
2004-03-20 06:58:52 +00:00
selliott
6c2ae454a5 Modified to be more consistent with user/index.php for paging, sorting and searching 2004-03-19 04:29:00 +00:00
selliott
8516afd507 Added logic to allow confirmation of unconfirmed users. 2004-03-09 21:43:09 +00:00
moodler
e21f6c81b5 No need to require this file 2004-01-11 18:09:09 +00:00
moodler
b405515797 Fixed typo from last night 2003-11-29 14:26:59 +00:00
moodler
2f15e48cf6 Implemented more fullname() calls 2003-11-28 10:31:06 +00:00
moodler
5fde0ca615 Use the new fullname function 2003-11-19 16:15:56 +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
cbdb4ca067 For some reason there was a target on the delete link which pops up the list
in a new window.  Gone.
2003-08-31 06:54:39 +00:00
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
f406e6785e Avoid problems with quotes and so on in user records when updating users 2003-07-28 12:08:31 +00:00
moodler
351039ae34 Further fixes to the last fix ... the same thing was happening further down. 2003-07-24 14:52:41 +00:00
moodler
3712e0b5b5 YES!!! FINALLY fixed that damn bug that was causing the admin user
to be skipped during installation!

Bug 565 has the details, but basically it was caused by not initialising
the variable $user before using it.  Some people probably had a cookie
called "user" that was polluting the variable.

YAY!
2003-07-24 08:36:43 +00:00
moodler
b4a348291b Primary admin should never be allowed to be deleted by sub-admins 2003-06-21 04:09:20 +00:00
moodler
9dc9273aa9 Don't allow adding of users when external authentication is being used. 2003-06-19 03:00:58 +00:00
moodler
4a6a574f2a Robustness on finding country name 2003-05-29 03:06:10 +00:00
moodler
5a74165523 FIxed up function get_user() which now takes lots of parameters and
can be used all over the place.

Also, related fixes to "add admin" (MUCH better performance) and the user listings

More to come for "add teacher" and "add creator"
2003-05-14 15:19:04 +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
49e16355c2 Improvements to display of users 2003-03-21 10:08:23 +00:00
moodler
c750592ac4 Added a search form to the "edit users" admin page yay! 2003-03-21 09:42:42 +00:00
moodler
55271c3047 Removed save_session() - no longer needed 2003-02-27 02:43: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
97485d0726 More database tweaks and improved access to forum search engine 2002-12-23 15:33:40 +00:00
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