133 Commits

Author SHA1 Message Date
moodler
7684f1efcc Minor fix with display of %% in language strings 2003-01-15 11:28:54 +00:00
moodler
dcde9f020a Displayed time formats are now stored in lang files
(see the new strftime* strings) so they can be customised per language
2003-01-15 10:55:54 +00:00
moodler
d98228e497 More checks to solve support requests before they happen. 2003-01-13 14:05:29 +00:00
moodler
11159c3c60 Fixed some PHP warnings 2003-01-13 12:14:47 +00:00
moodler
f978ad0acb Put in a check for the sessions directory 2003-01-10 07:33:26 +00:00
moodler
1079c8a872 More robust when dealing with a plugin module that isn't readable 2003-01-08 09:07:07 +00:00
moodler
bfe89310ce Link from admin page to docs 2003-01-06 08:23:13 +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
8b3235f57f Fixes to use new mysql module with frame 2003-01-05 12:00:57 +00:00
moodler
607809b3ba OK a number of small changes here.
Firstly, I'm replacing all use of old-style global variables like
$HTTY_REFERER with their new-style equivalent $_SERVER["HTTP_REFERER"]
Also using $_POST instead $HTTP_POST_VARS  etc

Secondly, if gdversion == 0 (ie GD is not installed) then:

 - users are not even allowed to upload new images
 - graphs now just print a message instead of failing.

this allows Moodle to still be used even if GD is not present
2003-01-05 06:45:20 +00:00
moodler
17e6df458d Fixed display of headers while updating modules 2003-01-03 16:35:51 +00:00
moodler
14217044a5 Some little fixes 2003-01-02 15:25:51 +00:00
moodler
36b4f9852e buggy_referer is dead! Long live buggy_referer!
Should be fixed now.  As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.

All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).

Much nicer.
2003-01-02 14:49:23 +00:00
moodler
5b4fd9c20a Allow phpinfo() debugging to occur even if Moodle isn't configured yet
(to help with configuration problems!).
2003-01-02 07:37:28 +00:00
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