29 Commits

Author SHA1 Message Date
moodler
d523d2ead1 Some configuration options now added to the Configuration page.
opentogoogle

  textfilters

  cachetext

They should upgrade cleanly from anything you may have in config.php
2004-02-10 05:05:28 +00:00
moodler
0a45ffe301 A new configuration setting - "forcelogin".
Default is false, everything is as it is now.

If turned on, then users are forced to log in before
being able to see the front page or the course listings.
2004-01-14 08:27:18 +00:00
moodler
b5cbb64dc5 Final pieces to allow site-wide configuration of name display.
Site variable can override order of "firstname lastname" or it
can leave it up to the language packs.
2003-11-30 14:02:01 +00:00
moodler
c1f5319532 A new Moodle variable called sessioncookie is now added to the session
cookie name.  This provides a means for multiple Moodles within the
same website to keep separate sessions and not get confused.
2003-10-16 13:19:10 +00:00
moodler
5204d8316a A new configuration parameter 'allowunenroll' will enable/disable the
"unenrol me" buttons on user pages and course pages.
2003-10-12 18:03:50 +00:00
moodler
d8152d04c0 Language direction is now set in the language file, rather than
as a site-level setting.  This currently only affects Arabic but
will affect Hebrew later and maybe others.
2003-10-05 14:05:57 +00:00
moodler
7cdcb42239 Added controls for the invisible variable teacherassignteachers which
decides whether teachers can edit teachers in their own courses.
2003-08-26 15:52:22 +00:00
moodler
21f93862bd Backed out the new configuration variable "creatornewcourses" as it
is no longer wanted or needed
2003-08-16 05:43:26 +00:00
moodler
02ebf404c8 WARNING: BIG CHANGES!
OK, this is a big check-in with some big changes, and needs work still.

It seems relatively stable, but I need help identifying the rough patches.

1) First grading scales support.  There is a now a new table called "scale"
   that contains grading scales.  There can be site scales (course=0) and
   custom course scales.  These can be used in modules - I've only done
   forums for now but that was the hard one.  Scales can be edited via
   the new item in the course admin menu.

   There is one default scale - the connected/separate knowing one that used
   to be in forum.  To build this I pull data from the language packs
   to create one during the upgrade, or anytime a scales menu is called
   and no scales are found.

2) New roles for course creator and teachers.  I've fixed up the course
   menus and some other things but there's a lot left to do on this to
   make it all smooth.  The idea is that teachers no longer can edit courses
   unless they are also course creators.  The interface for this needs to
   be smoothed out a fair bit and I need help with this.

   The upgrade will upgrade all teachers to be creators, but will default
   the new site config "creatornewcourses" to "no", so that effectively
   these new teachers have the same privileges.

3) Simplified teacher management.  There is no longer an "assign teachers"
   and a "teacher roles" page - it's all on one page in course/teacher.html.


Phew ... time for a shower and then back into it.
2003-08-15 13:59:24 +00:00
moodler
754095d63e Secureforms now default to OFF 2003-07-30 04:59:29 +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
b086c2b527 Fixed variable name 2003-05-14 03:37:47 +00:00
moodler
984a8bf349 Two new language variables implemented.
langmenu  - turns the language menu on and off
langlist  - allows the admin to restrict and/or re-order the available language choices
2003-05-03 06:50:29 +00:00
moodler
f8bccb148a iNew configuration variable delete old logs - loglifetime 2003-04-27 06:41:53 +00:00
moodler
e64984a0bb Modifications to allow Moodle files management page to use PclZip
instead of external zip programs.

To use the internal PclZip, the config variables "zip" and "unzip"
must be left blank.

Code for PclZip integration originally from Robert Hetzel, though
I've expanded it and modified it a lot.

The zip files seem compatible with itself and Windows XP, but I had a
compatibility problem trying to unzip a PclZip file using Zip 2.3 on Linux
(directories are unpacked as empty files)
2003-04-06 05:53:47 +00:00
moodler
f82c2d428a Modified Greg's work to:
- rename the main_frame variable to framename, because it
       - might have caused some confusion
       - none of the global variables have underscores
  - put the config in the config table, with a default of _top
2003-03-12 07:36:22 +00:00
moodler
eb58acca4d New sessiontimeout config variable to set the timeout for sessions 2003-01-24 04:31:58 +00:00
moodler
e29fa0c8e2 Add default prefix (for tables) of "" for upgraders 2003-01-01 08:33:22 +00:00
moodler
4fd7ccc0fe New "debug" variable to turn debugging on and off 2002-12-30 03:24:07 +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
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
d26c7f1740 Forgot a comma 2002-11-20 15:16:03 +00:00
moodler
bb90c4e867 Added guestloginbutton as default 2002-11-20 15:04:21 +00:00
moodler
9f58537a53 Added SMTP authentication for email delivery 2002-11-05 06:06:18 +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
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
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