119 Commits

Author SHA1 Message Date
moodler
1c0200e074 More little robustness things 2003-01-01 08:21:19 +00:00
moodler
50c4bd4145 More robustness, and some little bug fixes.
Also, database module now supports md5 passwords
2002-12-31 08:45:37 +00:00
moodler
5eda92d0e2 Little robustness fixes 2002-12-30 15:47:54 +00:00
moodler
47f1da80d0 More little fixups for robustness 2002-12-30 05:13:43 +00:00
moodler
9c9f7d7790 Various little fixes to remove warnings (usually about empty variables)
when error_reporting is turned up to 15 or so ... more of these to come ...
2002-12-29 17:32:32 +00:00
moodler
7e5e076adf No need for forcetables hack any more. Moodle can now detect whether
it has already been installed in the current database (by looking
for all the main tables) and do the right thing.  It doesn't matter now
if there are other tables in the database or not.
2002-12-24 05:39:45 +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
d5f48b1619 Preset the FULLME variable 2002-12-18 08:08:34 +00:00
moodler
ca3cf39ee1 Turn off time limits with big SQL commands ... some databases are really slow. 2002-12-14 18:33:37 +00:00
moodler
778c28671a Added new configuration setting "country" to set a default country
for the site.  If this is set then user menus are pre-selected.
eg when signing up or filling out profile after external authentication.
2002-12-14 08:18:18 +00:00
moodler
c21f835ac3 Don't even attempt to install the template module 2002-12-12 13:35:10 +00:00
moodler
e3305cc5d9 Better checks when comparing languages. Now highlights missing or
empty strings.  Quick check mode also flags strings when they exist
but are empty.  Larger form space to edit empty strings.
2002-12-12 03:33:12 +00:00
moodler
d7facad81e Modifications from Greg Barnett at Crown College to add more admins.
See http://bugs.moodle.org/bug.php?op=show&bugid=202
2002-12-11 14:59:37 +00:00
moodler
7f1717c61e ALL LANGUAGE EDITORS PLEASE NOTICE THIS CHECKIN
I've changed htmlentities to htmlspecialchars in this file, to fix
bugs with editing multibyte languages (ie Japanese).  Please be
cautious and let me know if this causes any problems when editing
your language (it shouldn't, but I don't want to spoil your day!)
2002-11-22 17:27:56 +00:00
moodler
466558e349 Changes to allow admin to control the "forgot password" function
and a bug fix for set_config
2002-11-22 08:43:35 +00:00
moodler
009b59336b Updated version (authentication tweaks) 2002-11-21 07:53:35 +00:00
moodler
34daec9b3b Tweaks to authentication system. Database method now allows other
fields to be specified so that things like email, names etc can be
pulled in from external database when new Moodle accounts are created
2002-11-21 07:37:21 +00:00
moodler
35a48c9ae4 A significant new system for authentication configuration that
exposes the wide array of authentication possibilities.

Authentication now has it's own page separate from other variables.

Most of this work was done by Petri Asikainen <paca@sci.fi>, who started
these changes off.

I've done some cleanups and additions which is why I'm checking it in.

It's all working pretty well at the moment but could use some testing.

Thanks, Petri!  :-)
2002-11-19 08:51:33 +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
34e46e5787 Small script to force tables to be created even if the database already
contains tables ... useful for sharing with other applications.
2002-11-13 12:09:18 +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
9f58537a53 Added SMTP authentication for email delivery 2002-11-05 06:06:18 +00:00
moodler
06a609e91e One more thing - I' moved the RELEASE.html into the other documentation
to make it easier to find later on.
2002-10-26 05:37:31 +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
3d27c2c201 Added a new debugging command so that I can see the config variables 2002-10-24 02:42:26 +00:00
moodler
e7311a0a56 Changed name of upgrade_moodle function to main_upgrade (for consistency) 2002-10-23 04:10:10 +00:00
moodler
177e50ed98 New users created by admin also now default to site language 2002-10-18 08:48:44 +00:00
moodler
d197118510 Admin script to brutally delete every file and directory from the
Moodle data directory.  Will be useful for those on hosting servers
without root access.
2002-10-15 16:04:38 +00:00
moodler
541117b6cb Changes to support choice of language direction (so that languages
like Arabic, Hebrew etc will work)
2002-10-11 02:31:37 +00:00
moodler
0095d5cd3c Additions to cope with richtext editor being used in some forms. 2002-10-10 07:26:10 +00:00
moodler
f01826ee39 Moved module upgrading functions out into database-specific files 2002-10-05 17:21:39 +00:00
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
0cb8bf3bcd Locale box is a bit bigger, since locale strings can be bigger :-) 2002-10-02 10:35:43 +00:00
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