267 Commits

Author SHA1 Message Date
moodler
d99bab2d1d Some changes that may help on safe mode ... see bug 2093
The new directory permissions maintain group mode better,
and the manual chown is now removed to prevent safe mode
from getting upset.
2004-12-26 14:45:39 +00:00
moodler
366dfa6090 New config variable $CFG->tracksessionip will force Moodle to always
check that the user's IP number never changes
2004-09-27 14:35:37 +00:00
moodler
21f0148566 Two new config variables allow certain email addresses to be allowed or not. 2004-09-06 04:38:40 +00:00
mchurch
3eecaaf46d Added new config directives for default block functions. 2004-09-03 20:11:20 +00:00
moodler
9a3936a95e Merged loginhttps config from stable 2004-08-31 08:41:26 +00:00
gustav_delius
6b29ba6071 added $CFG->filelifetime to config-dist.php 2004-08-22 17:52:21 +00:00
moodler
3d3cb923b1 Formatting 2004-08-21 14:32:57 +00:00
julmis
d4cc7e31b3 Fixed paths for aspell setting. 2004-08-21 14:22:16 +00:00
julmis
eb2042f685 Add editor settings feature and Ludo's (Marc Alier) spellchecking functionality.
- Needs testing and should consider unstable.
2004-08-21 10:12:09 +00:00
moodler
8a33e3717d Based on code from Janne - this allows secure logins via https
$CFG->loginhttps

After logging in via https, Moodle returns to a normal http URL


More info:  http://moodle.org/mod/forum/discuss.php?d=8555
2004-06-19 16:13:28 +00:00
moodler
5ec98a94c3 Latest settings in config-dist.php (removed some) 2004-05-24 07:43:09 +00:00
gustav_delius
7f21ed0a08 Changed example for dirroot which must not contain capital letters 2004-05-23 18:55:20 +00:00
moodler
c9ca1fa5a1 A new option (off by default) will remove restrictions on usernames.
$CFG->extendedusernamechars
2004-05-15 07:30:31 +00:00
moodler
c81c6d0e34 Document $CFG->forceloginforprofiles 2004-05-03 14:57:11 +00:00
moodler
cec0a0fc30 New developmental setting to force UTF for the whole server
Plus, some optimisation on the way encoding is stored (in the session).
2004-04-27 13:57:46 +00:00
moodler
1e55ed2610 More details 2004-03-12 07:34:14 +00:00
moodler
aebaf90462 Changed default value for DB persistence 2004-03-12 07:30:34 +00:00
moodler
c6b456f66d Fixed some years 2004-03-10 13:21:12 +00:00
moodler
7758d00f97 New "secret" variable 2004-02-18 03:31:45 +00:00
moodler
609a2b13b7 SOme info about $CFG->filterall 2004-02-17 06:33:04 +00:00
moodler
9284861420 Updated config-dist.php since options have moved out of it 2004-02-10 05:06:12 +00:00
moodler
d363047eb0 TEXT CACHING
------------

I have a site which really needs this, so I went ahead with it already.

This add-on will cache formatted texts in the database and use them
for a specified timeperiod.

By default it is disabled.   Enable it with:

  $CFG->cachetext = 600;   // in seconds
2004-02-09 12:27:34 +00:00
moodler
21d1d0773b Added some documentation about a few preferences that are only in config.php
right now.
2004-02-08 14:27:54 +00:00
gustav_delius
6077020a60 got rid of bad line endings 2004-01-30 14:50:03 +00:00
moodler
e6ce0cb9f3 Undoing some wacko formatting ... What were you trying to do, Gustav? 2004-01-26 16:55:37 +00:00
gustav_delius
09b78a6b3d removed empty lines, which for example messed up the display of the license terms 2004-01-25 19:05:09 +00:00
moodler
2646460c6e Fixed up some examples 2003-12-07 13:49:51 +00:00
moodler
1e8ac0541b No need for useneweditor anymore 2003-11-03 16:13:59 +00:00
moodler
4c46c425db Changes to integrate the new HTML editor into Moodle in an optional way
until it's stable enough to replace Richtext

To enable the new editor, add this line into config.php:

  $CFG->useneweditor = true;
2003-10-29 08:06:11 +00:00
moodler
e67b9e31e5 NEW EXPERIMENTAL FEATURE: text filters.
This new feature allows arbitrary text filters to be added to
any HTML that is printed (forum posts, resources etc) ... anything
that uses the standard format_text function.

The first one properly supported is the glossary dynamic linking
feature.
2003-10-13 14:11:17 +00:00
moodler
5704a98da7 Some docs for PostgreSQL sockets users (see bug #749) 2003-09-14 17:50:07 +00:00
moodler
42b76b11bd Slightly different way of doing this to avoid problems with error_reporting
not working.
2003-09-01 12:07:06 +00:00
moodler
f7a6049e57 Checking in the include error code in again, with improvements
The problems I thought were happening were in fact another problem
on someone's installation (missing files).  This code now checks
for that too.
2003-05-26 01:54:11 +00:00
moodler
aa140aabfd Going back to old method, as the new one seems to have problems on some
platforms.
2003-05-25 12:11:10 +00:00
moodler
d8e2e28044 Added a check to make sure CFG->dirroot is correct. 2003-05-23 08:54:36 +00:00
moodler
54242af0d6 Changed default strings to use single-quotes and avoid possible slash problems 2003-05-19 07:41:12 +00:00
moodler
ae384ef160 New configuration variable: secureforms (defaults to 'true')
Replaces the old $CFG->buggy_referer (reverses it, in fact) and can
now be set in the configuration page (no need for it in config.php).
2003-05-15 15:59:52 +00:00
moodler
3d9f0f81d6 IMPORTANT SECURITY FIX - this makes sure $CFG can not be overridden 2003-05-09 02:02:27 +00:00
moodler
be09831ac3 More info about admin location and a fix 2003-04-10 13:57:21 +00:00
moodler
4c31e7cfba Removed main_frame 2003-03-12 08:37:42 +00:00
gregb_cc
08b3606390 This is a first attempt to make moodle frame safe.
I've added the variable CFG->main_frame to config-dist.php, and replaced _top
targets with the variable in all the php files.  HTML files, like those in the
documentation, have not been modified, as they are not (yet) parsed.

The variable should probably get moved into the config table, and get some
documentation.

I've also included, but commented out, a slight change in weblib.php, which
would guarantee that messages would be seen before redirecting the user (unless
delay intentionally set to 0 when redirect is used).
2003-03-11 21:35:12 +00:00
moodler
1685298e60 Removed a line from config.php 2003-01-12 06:31:07 +00:00
moodler
704ac9fe76 Slightly clearer documentation 2003-01-11 05:29:49 +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
4e042a3ee9 Clearer directions. 2002-12-23 14:44:32 +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
bb55809320 Another hint for the Windows users 2002-12-10 17:26:30 +00:00
moodler
076b229292 Changed it to DOS format to help Windows users 2002-11-19 14:35:07 +00:00
moodler
b9b2750adb Added info about $CFG->buggy_referer 2002-11-17 11:00:55 +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