80 Commits

Author SHA1 Message Date
martin
dfb6e4ac3e Tweaks to page titles to make them more consistent 2002-09-27 14:26:02 +00:00
martin
555bdfc813 Fixed a little link to login page 2002-09-27 13:44:52 +00:00
martin
34a0cda676 Put version info on admin page 2002-09-27 06:19:18 +00:00
martin
b35f948b97 Nicer way to find out the major changes since the last version.
RELEASES.html shows the changes, and these are displayed during
an upgrade.
2002-09-27 06:13:59 +00:00
martin
f1f901c3ea After upgrading version, stay on admin page rather than going to home
page, just in case there is more to do.
2002-09-26 13:05:18 +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
43dc944611 Make $a bold so it's easier to see 2002-09-26 03:36:16 +00:00
martin
4c2bcc7a1b Much better. No slashes needed AT ALL now, not even for $a variables.
Also provided a help button at the top.
2002-09-26 03:16:40 +00:00
martin
d66ee54d8d Add some comments 2002-09-25 13:37:12 +00:00
martin
632d640751 It's possible $USER->lang may not be defined. If so, use $CFG->lang. 2002-09-25 11:06:27 +00:00
martin
cb011cfd0a In compare mode you can now EDIT language files directly. This should
make language development much easier.

Based on code sent to me by Petri Asikainen
2002-09-25 07:33:04 +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
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
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
20aa2257dc Allow 1-minute delay (mostly good for testing) 2002-09-21 08:44:08 +00:00
martin
b92ea9450c More options for longtimenosee 2002-09-21 06:45:26 +00:00
martin
1e4d8ed1d2 Put sitename on debugging info (helpful when comparing two sites) 2002-09-19 14:59:47 +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
ba2e5d7347 Categories upgrade. Admin can now create/edit/delete categories, and
these are diesplayed wherever courses are listed
2002-09-09 11:48:11 +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
7fb8331432 Add a link if a "manage database" directory exists 2002-09-07 14:56:19 +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
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
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
cf38360f58 Language fixes, added english strings etc 2002-09-03 13:11:40 +00:00
martin
6f5db3b457 More direct link to index.php just in case they don't have index.php
set as a default page
2002-08-26 02:49:34 +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
ee23de06c1 Bugfix for unenrolling old users 2002-08-20 09:39:23 +00:00
martin
1e3e716f1d Changes related to new way of setting and recalling themes.
The CFG->theme variable is now obsolete in config.php - use the
admin page to set themes interactively.
2002-08-17 13:01:06 +00:00
martin
b1887065b5 Added a GPL license agreement as the very first step. 2002-08-17 08:38:43 +00:00
martin
169d3404a3 Fixes to languages for admin (setting up and upgrading databases) 2002-08-15 05:44:37 +00:00
martin
3be1715715 Language fixes and cleanups for admin/site.* 2002-08-13 15:40:07 +00:00
martin
d506a6976c Obsolete 2002-08-13 15:31:08 +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
53bfe78cd4 New functions get_list_of_modules() and moodle_needs_upgrading().
Used on the home page when admin is logged in, to check for any
upgrading of the databases that might need to be done.
2002-08-09 02:45:15 +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
ce15d1784c Close wide-open hacking hole! This script wasn't checking for admin
user in the case where the site has been defined already.  Oops. Fixed now.
2002-08-06 12:17:40 +00:00
martin
d0daec361a Needed to delete forum_subscriptions as well. 2002-08-05 08:57:37 +00:00
martin
3d7a585834 More efficiency when deleting enrolments 2002-08-05 08:43:53 +00:00
martin
f282e6314c Cron tidy-ups 2002-08-05 08:40:00 +00:00