764 Commits

Author SHA1 Message Date
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
martin
44e2d2bb42 Functions moved here from files/index.php (related to file handling) 2002-09-01 14:29:17 +00:00
martin
7b1c0ce35c Increased size of section summaries from 255 chars to 65000 chars. 2002-09-01 14:24:16 +00:00
martin
f06c1d62dc Added slash after login link ... some servers have problems without it 2002-08-28 15:28:30 +00:00
martin
c21c671d74 Security fix for:
Internet Explorer bug that allows sends cookies to different sites if
  they have the same ending.  eg moodle.com cookie is sent to smec.moodle.com!!

  Also fixes case where multiple moodle installations may be in different
  directories on the same server.  When you go from one to the other the
  first session will be destroyed now (you can't be logged in the two
  at the same time).  It's just a lot safer this way, for now.

Basically this works by storing the wwwroot variable in the session
and checking it for every page.
2002-08-28 15:07:46 +00:00
martin
ca4f8eb868 Moved uploaded assignment files into a subdirectory called moddata,
where data from other modules can also live later on.

Also added a README for that directory to warn teachers not to mess
with it, version code to perform the upgrade, tweaks to assignment/lib.php
and a tweak to reading module so that assignment files aren't listed
in the list of possible readings (could get messy).
2002-08-28 13:07:10 +00:00
martin
9ab327d6f7 Doesn't matter if user isn't provided 2002-08-26 11:04:01 +00:00
martin
3f8247c2ea Changes to use a new configuration variable: CFG->slasharguments
If true, then display of user pictures or filenames will use the
method of providing arguments as "slash" arguments - this is much
better for caching, proxies, search engines etc.  Unfortunately
it doesn't seem to work on some PHP installations.

If false (the default), then a more compatible method is used
(ie usual way of passing parameters to scripts)
2002-08-26 09:48:00 +00:00
martin
57fa46e2a2 Nicer display of earth plot now contains user's name as well 2002-08-26 09:25:24 +00:00
martin
9268aa19ec Fixes to use Moodle background colour 2002-08-26 09:16:52 +00:00
martin
1864143c38 Adding IP-Atlas 1.0 to this distribution. I use it to provide maps
for IP addresses (in the logs).
2002-08-26 08:59:36 +00:00
martin
19a55d6776 Changes to improve layout and formatting on old Netscape (eg version 4) 2002-08-23 03:55:49 +00:00
martin
b0cb5e2297 Check that PHP is a recent enough version (ie 4.1.0 or later) 2002-08-23 02:14:19 +00:00
martin
7b3be1b12d New space-removal works better if done before adding link tags :-) 2002-08-22 08:31:29 +00:00