727 Commits

Author SHA1 Message Date
moodler
31f0900c61 Moved upgrade_moodle functions out to database-specific files, because
the SQL is not compatible (nor is it possible to make it so).
2002-10-05 17:09:31 +00:00
moodler
e858f9da96 create_new_user() can now import other fields from an external source
if the function for it has been defined.  (Petri's code with additions by me)
2002-10-05 16:49:42 +00:00
moodler
7d95ed97c7 User's name in footer is now a link 2002-10-03 11:11:53 +00:00
moodler
8dbed6be60 format_time() now supports language strings for day(s)/hour(s)/min(s)/sec(s)
String lookups are cached in user/index.php for efficiency
2002-10-03 04:04:59 +00:00
moodler
4bfa92e714 Added new header to all pages to set the current charset, to help browsers 2002-10-02 10:33:05 +00:00
moodler
7fbd6b1c0b Don't use getenv anywhere - not necessary and breaks PHP under ISAPI 2002-10-02 02:05:29 +00:00
martin
8dcea3963a Added a few more allowed HTML tags in plain text files. <dl> <h1><h2><h3> <hr> 2002-09-27 14:48:25 +00:00
martin
91ac0405fa A little extra error checking. 2002-09-27 04:53:27 +00:00
martin
3ef909ca58 Removed encoding setting because i suspect it may be messing with SMTP mail 2002-09-27 01:35:25 +00:00
martin
faebaf0f40 First implementation of new authentication system, which can now use
pluggable modules in the 'auth' directory.

Everything is done through authentication_user_login in lib/moodlelib.php

As well as the old default "email" confirmation, I added a new type of
confirmation "none", which basically does no confirmation at all.
2002-09-26 07:03:22 +00:00
martin
ab998e5d07 Check for USER->email in require_login. With external authentication
schemes it's possible that the email field could be empty, so this
will force users to update it (and the rest of their profile) any
time they log into a course.
2002-09-26 03:51:31 +00:00
martin
96dad0de43 Added DirectoryIndex stuff 2002-09-25 16:33:54 +00:00
martin
7104dfc9ef Added new postgres7 schema, developed by Felipe Rodrigues da Silva <felipe@pontoexe.com>. Thanks Felipe!
I've personally not tested this yet so PostgrSQL user feedback is encouraged!
2002-09-25 15:16:21 +00:00
martin
04ad372d93 Improved explanations for how to use this file 2002-09-25 12:33:21 +00:00
martin
a28af1fe74 New set_config() and better use of $CFG->version 2002-09-23 15:40:16 +00:00
martin
1e22462d01 Fixed up default-sized tables again 2002-09-23 07:02:26 +00:00
martin
45aa6d563c Fixes to unenrolling students, and unenrol_student() and remove_teacher()
now remove forum_subscriptions correctly
2002-09-22 14:33:21 +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
01a086c3dd Support for new deleted field in user table 2002-09-22 03:11:05 +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
562bbe9074 Make mail format explicitly 8bit 2002-09-21 08:39:54 +00:00
martin
dccd16712a Slight additions to print_table 2002-09-21 05:43:46 +00:00
martin
c07daf5bbc Added lang for users 2002-09-21 05:43:21 +00:00
martin
08056730fa Improved interface for course/teachers.php ... instead of typing numbers
into a box there is now a menu for each user.   Much better!
2002-09-19 14:51:49 +00:00
martin
ae7aafeb53 Got rid of errorlevel configuration - more trouble than it's worth!
Hardcoded it into setup.php now - people who are that keen can change
it there.
2002-09-19 14:07:24 +00:00
martin
74944b734d Most of the configuration variables have been moved out of the config.php
file and into a database, where they can be edited using a new admin form
called "Configure variables".
2002-09-19 12:01:55 +00:00
martin
a9858957e1 Typo 2002-09-16 07:08:33 +00:00
martin
7185779262 Fixed name in popup javascript window 2002-09-16 07:03:33 +00:00
martin
af90e74e59 Sample .htaccess file 2002-09-16 06:33:53 +00:00
martin
a7b9e8bc9f Fixes to point directly to index.php wherever it was assumed. This wasn't
a problem on most servers, but was causing some problems on IIS servers
2002-09-15 06:06:32 +00:00
martin
1a72314d0f Can now specify current language on a per-user basis 2002-09-14 03:43:24 +00:00
martin
ddd9a8969b SUrprise icon is a bit wider than 16 pixels 2002-09-12 17:08:32 +00:00
martin
a789fb73f4 More security for email confirmation process ... a 15-character random
"secret" key is stored the user record on account creation, sent via
email and checked again during confirmation.
2002-09-10 12:54:01 +00:00
martin
e5c2a9e441 Whoops ... last conversion actully tampered with comment formatting
... I've fixed that now.
2002-09-09 06:23:39 +00:00
martin
bc44a3a0ad Converted all the DOS format text files to UNIX format, for consistency
with the rest of Moodle and also to prevent possible mangling of
files in case they are FTP'd individually to a server.
2002-09-09 06:17:11 +00:00
martin
503eced327 Added height and width to smiley icons, to make emails look
better in circumstances where external images are blocked
(eg some webmail programs like squirrelmail).
2002-09-08 16:13:10 +00:00
martin
5b54db6ee4 Improved print_table() a bit (can now specify column widths) 2002-09-08 05:15:37 +00:00
martin
b4d7002e66 Changes to allow much better control over what "teachers" are called
in a course.  Firstly, the course settings page now allows the teachers
to specify the word they want to use in place of "teachers" and "students"
as well as "teacher" and "student".  Secondly, a new teacher admin tool
allows any teacher to modify the order and displayed role of teachers
in that course.  This affects the display on the course listings, the
participants page and so on.
2002-09-08 03:24:38 +00:00
martin
774ab66002 Improvements to the language checker. As well as checking for missing
strings, you can now see the current language compared side-by-side
with English.
2002-09-07 14:57:33 +00:00
martin
c646b70d66 Added a new $release variable that shows the user-friendly version number 2002-09-06 14:06:48 +00:00
martin
7c6addde73 Cleaned up a bit 2002-09-06 14:05:43 +00:00
martin
e2d8972553 BUG FIX! - fixes error that could allow ANY file on the system to be read! 2002-09-05 11:53:17 +00:00
martin
a3cbb7539d Using different logo file to avoid caching problems on changeover 2002-09-04 09:39:03 +00:00
martin
1903dd11d8 Tweaked the new icon 2002-09-04 06:32:50 +00:00
martin
5e391d346d New logo that should work on more themes 2002-09-03 16:58:49 +00:00
martin
31410e9a16 Added a new administration page that can check the current language
pack against the English language pack.  It prints any missing strings
or files.  This should help language pack developers.
2002-09-03 14:29:39 +00:00
martin
0eae8049a0 Fixed over-zealous removal of returns from text ... 2002-09-02 07:41:39 +00:00
martin
cffbaff2dc Print the user's stated city/country as well 2002-09-02 07:18:13 +00:00
martin
d3fcd70b3d Add Moodle support for proxies 2002-09-02 06:30:57 +00:00