Log of /moodle/lib/defaults.php
Parent Directory
Revision
1.80.6.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Mar 25 22:49:16 2007 WST (2 years, 11 months ago) by
moodler
Branch:
MOODLE_16_STABLE
CVS Tags:
MOODLE_165,
MOODLE_166,
MOODLE_167,
MOODLE_168
Changes since
1.80: +6 -3 lines
Diff to
previous 1.80
Restoring changes all the changes in MOODLE_16_STABLE since MOODLE_16_BETA.
This had to be done because the MOODLE_16_STABLE branch tags were moved.
Hopefully after this MOODLE_16_STABLE will be back to how it was (and a
proper branch) but some of the history may look a bit odd.
See MDL-9032 for more discussion and details.
Revision
1.87
Thu Sep 21 16:05:50 2006 WST (3 years, 5 months ago) by
skodak
Branch:
MAIN
CVS Tags:
HEAD
Changes since
1.86: +1 -1 lines
FILE REMOVED
old admin configuration cleanup - MDL-6595 MDL-6449 MDL-6447
Revision
1.85 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Sep 1 05:50:22 2006 WST (3 years, 6 months ago) by
skodak
Branch:
MAIN
Changes since
1.84: +3 -3 lines
Diff to
previous 1.84
fixed default values in apply_default_exception_settings(); several values in lib/default.php are wrong, but I guess we do not need to fix them because it as replaced by the new administration framowork ;-)
Revision
1.84 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Aug 26 21:00:16 2006 WST (3 years, 6 months ago) by
skodak
Branch:
MAIN
Changes since
1.83: +2 -1 lines
Diff to
previous 1.83
trusttext:
* proposed by Martin Dougiamas
* implemented by skodak
Usage:
1/ change enabletrusttext to yes in site settings (it is off by default) or set it in config.php
2/ assign moodle/site:trustcontent capability to users whose text submitted in glossary entries, comments, forum posts etc. should not be cleaned == they can use javascript or any other forbidden tags in glossary and forums...
done:
* core
* glossary (without proper upgrade)
to do:
* data cleaning in upgrades
* forum, blocks and some other places (MD decides)
Revision
1.82 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jul 30 18:39:21 2006 WST (3 years, 7 months ago) by
skodak
Branch:
MAIN
Changes since
1.81: +2 -2 lines
Diff to
previous 1.81
Bug #6176 - locale setting on config variables page not functioning correctly; merged from MOODLE_16_STABLE
Revision
1.81 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jun 20 21:41:56 2006 WST (3 years, 9 months ago) by
stronk7
Branch:
MAIN
Changes since
1.80: +2 -1 lines
Diff to
previous 1.80
Added new option to decide if docs will be showed in a new window.
Merged from MOODLE_16_STABLE
Revision
1.75 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Mar 1 15:47:14 2006 WST (4 years ago) by
vyshane
Branch:
MAIN
Changes since
1.74: +2 -1 lines
Diff to
previous 1.74
Added function page_doc_link in weblib.php. This function is used to print a
link to the moodle docs for the current page.
Added the default value (http://docs.moodle.org) for docroot config variable
in defaults.php.
Revision
1.71 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jan 5 23:59:16 2006 WST (4 years, 2 months ago) by
stronk7
Branch:
MAIN
Changes since
1.70: +3 -1 lines
Diff to
previous 1.70
Adding new defaults for email encoding.
Merged from MOODLE_16_UTF8. Abandoning the branch.
Revision
1.70 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jan 4 16:23:42 2006 WST (4 years, 2 months ago) by
moodler
Branch:
MAIN
Changes since
1.69: +2 -2 lines
Diff to
previous 1.69
Merging language-pack-related updates from Eloy's MOODLE_16_UTF8 branch.
Do not use that branch any more!!
Revision
1.67 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Sep 12 22:23:03 2005 WST (4 years, 6 months ago) by
thepurpleblob
Branch:
MAIN
Changes since
1.66: +3 -1 lines
Diff to
previous 1.66
Added defaults (off) for filtermatchoneperpage and filtermatchonepertext.
Revision
1.61 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Apr 1 15:39:25 2005 WST (4 years, 11 months ago) by
ikawhero
Branch:
MAIN
Changes since
1.60: +2 -1 lines
Diff to
previous 1.60
Can provide an alternate page for the login form.
The page must contain a form with an action field set to /login/index.php
and return fields username and password
TODO
It may be worth checking the URL when it's entered at admin/auth.php
to ensure it is at least pointing to a valid page as an incorrect URL
could potentially lock all users out of a site.
Revision
1.55 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Feb 24 12:59:27 2005 WST (5 years ago) by
defacer
Branch:
MAIN
Changes since
1.54: +5 -1 lines
Diff to
previous 1.54
Added missing defaults for the 4 clam options, they gave me notices when
test-driving upgrade MOODLE_141 -> HEAD
Revision
1.53 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Feb 10 18:28:23 2005 WST (5 years, 1 month ago) by
moodler
Branch:
MAIN
Changes since
1.52: +4 -1 lines
Diff to
previous 1.52
This more or less completes the PHP side of the 1.5 themes
Added $user->theme and $course->theme choices, controlled by admin
variables on the main config variables page.
By default this is all turned off, since multiple themes can be
a little disorienting.
A hidden feature is session themes ... you can change the theme
on any page by passing theme=xxxx as a parameter. By default this
requires sesskey (so that people don't change theme on each other),
but this security can be switched off using a hidden variable
$CFG->allowthemechangeonurl = true; Good for quick tests.
Revision
1.51 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Nov 29 13:30:33 2004 WST (5 years, 3 months ago) by
moodler
Branch:
MAIN
Changes since
1.50: +2 -1 lines
Diff to
previous 1.50
New feature: Site Policy Agreements.
If the admin specifies a Policy Agreement (via URL in the config variables)
then each user is required to see and agree to that document once before
continuing.
To get everyone to see it again (on an update, say) one just needs to issue:
UPDATE user SET policyagreed = 0
Revision
1.49 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 30 14:02:38 2004 WST (5 years, 5 months ago) by
moodler
Branch:
MAIN
Changes since
1.48: +12 -11 lines
Diff to
previous 1.48
SESSIONS-IN-DATABASE SUPPORT
Support for a new configuration variable called $CFG->dbsessions
which enables sessions via database. Based on code from Jason Cole's
team - thanks!
Revision
1.41 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Aug 21 18:12:07 2004 WST (5 years, 6 months ago) by
julmis
Branch:
MAIN
Changes since
1.40: +7 -1 lines
Diff to
previous 1.40
Add editor settings feature and Ludo's (Marc Alier) spellchecking functionality.
- Needs testing and should consider unstable.
Revision
1.35 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jun 6 20:49:55 2004 WST (5 years, 9 months ago) by
gustav_delius
Branch:
MAIN
Changes since
1.34: +2 -1 lines
Diff to
previous 1.34
Fixed bug 1535. Unless $CFG->forum_replytouser is set to 1 AND the user has set maildisplay nonzero, the address $CFG->noreplyaddress is sent instead of the user's address.
Revision
1.31 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 11 10:14:14 2004 WST (6 years ago) by
moodler
Branch:
MAIN
Changes since
1.30: +2 -1 lines
Diff to
previous 1.30
Added an option on the filters page to control whether uploaded
files are parsed by filters. bug 1128
Revision
1.30 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Feb 12 14:08:06 2004 WST (6 years, 1 month ago) by
moodler
Branch:
MAIN
Changes since
1.29: +2 -1 lines
Diff to
previous 1.29
A new configuration setting so that the admin can define the site's default
timezone.
Revision
1.29 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Feb 10 13:05:27 2004 WST (6 years, 1 month ago) by
moodler
Branch:
MAIN
Changes since
1.28: +4 -1 lines
Diff to
previous 1.28
Some configuration options now added to the Configuration page.
opentogoogle
textfilters
cachetext
They should upgrade cleanly from anything you may have in config.php
Revision
1.28 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jan 14 16:27:18 2004 WST (6 years, 2 months ago) by
moodler
Branch:
MAIN
Changes since
1.27: +2 -1 lines
Diff to
previous 1.27
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.
Revision
1.27 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 30 22:02:00 2003 WST (6 years, 3 months ago) by
moodler
Branch:
MAIN
CVS Tags:
PREGROUPS
Changes since
1.26: +3 -2 lines
Diff to
previous 1.26
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.
Revision
1.26 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Oct 16 21:19:09 2003 WST (6 years, 5 months ago) by
moodler
Branch:
MAIN
Changes since
1.25: +2 -1 lines
Diff to
previous 1.25
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.
Revision
1.25 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Oct 13 02:03:49 2003 WST (6 years, 5 months ago) by
moodler
Branch:
MAIN
Changes since
1.24: +2 -1 lines
Diff to
previous 1.24
A new configuration parameter 'allowunenroll' will enable/disable the
"unenrol me" buttons on user pages and course pages.
Revision
1.24 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Oct 5 22:05:57 2003 WST (6 years, 5 months ago) by
moodler
Branch:
MAIN
Changes since
1.23: +2 -2 lines
Diff to
previous 1.23
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.
Revision
1.21 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Aug 15 21:59:24 2003 WST (6 years, 7 months ago) by
moodler
Branch:
MAIN
Changes since
1.20: +2 -1 lines
Diff to
previous 1.20
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.
Revision
1.19 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu May 15 23:59:52 2003 WST (6 years, 10 months ago) by
moodler
Branch:
MAIN
CVS Tags:
Moodle_109,
Moodle_109_B1
Changes since
1.18: +2 -1 lines
Diff to
previous 1.18
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).
Revision
1.17 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat May 3 14:50:29 2003 WST (6 years, 10 months ago) by
moodler
Branch:
MAIN
Changes since
1.16: +21 -19 lines
Diff to
previous 1.16
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
Revision
1.15 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Apr 6 13:53:46 2003 WST (6 years, 11 months ago) by
moodler
Branch:
MAIN
CVS Tags:
dev-2003041600
Changes since
1.14: +3 -3 lines
Diff to
previous 1.14
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)
Revision
1.14 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Mar 12 15:36:16 2003 WST (7 years ago) by
moodler
Branch:
MAIN
Changes since
1.13: +2 -1 lines
Diff to
previous 1.13
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
Revision
1.10 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Dec 30 01:32:31 2002 WST (7 years, 2 months ago) by
moodler
Branch:
MAIN
Changes since
1.9: +2 -1 lines
Diff to
previous 1.9
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 ...
Revision
1.9 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Dec 14 16:18:18 2002 WST (7 years, 3 months ago) by
moodler
Branch:
MAIN
Changes since
1.8: +2 -1 lines
Diff to
previous 1.8
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.
Revision
1.5 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Oct 11 10:31:36 2002 WST (7 years, 5 months ago) by
moodler
Branch:
MAIN
Changes since
1.4: +2 -1 lines
Diff to
previous 1.4
Changes to support choice of language direction (so that languages
like Arabic, Hebrew etc will work)
Revision
1.3 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 26 15:03:22 2002 WST (7 years, 5 months ago) by
martin
Branch:
MAIN
Changes since
1.2: +2 -1 lines
Diff to
previous 1.2
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.
Revision
1.2 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 19 22:07:24 2002 WST (7 years, 6 months ago) by
martin
Branch:
MAIN
Changes since
1.1: +2 -3 lines
Diff to
previous 1.1
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.
Revision
1.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 19 20:01:55 2002 WST (7 years, 6 months ago) by
martin
Branch:
MAIN
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".
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.