266 Commits

Author SHA1 Message Date
tjhunt
e1d1b7968f Improve documentation of our global variables 2009-04-16 08:59:46 +00:00
tjhunt
0c34c7eb50 translation: MDL-18766 reverting. I guess it was not yet ready for prime-time.
I'll commit the patch to contrib in case anyone wishes to experiment further.
2009-04-02 02:42:11 +00:00
tjhunt
b4cf937102 translation: MDL-18766 Prototype automatic translation system for Moodle.
If Google can do something like http://translate.google.com/, surely we
can do something just as good in Moodle. Here is a first attempt. It is
a bit rough around the edges, and only a couple of target lananguages
have been implemented so far. (More and better attempts welcome!)

In order to ensure that this gets adequate testing, I have made sure that
it gets turn on by default. However, if you really don't like it, you can
turn it off under Administration > Development -> Experimental settings.
2009-04-01 00:39:17 +00:00
skodak
133b5929a1 MDL-18253 hopefully fixed weird float precision that breaks upgrade and gradebook 2009-02-15 19:02:50 +00:00
skodak
fbf2c91e43 MDL-10275 added fatal PHP config setting test on each page, replaces some tests done in installer 2009-02-01 13:37:42 +00:00
skodak
b62dff9939 MDL-17789 fixed typo 2009-01-06 12:46:55 +00:00
skodak
f98cfb53d1 MDL-17789 prevent potential XSS problems through PHP_SELF 2009-01-06 12:31:20 +00:00
skodak
11e7b506ce MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support 2009-01-05 21:37:20 +00:00
skodak
a91b910e4f MDL-17776 added new define CLI_SCRIPT that identifies all CLI scripts + cron (cli scripts do not have session and do not like HTML in output and are executed from command line, cron is an exception) 2009-01-03 14:28:02 +00:00
skodak
9bda43e6be MDL-16613 refactore session IP tracking; MDL-14213 improved message when IP changes; MDL-17754 SID is regenerated when terminating session and old session is deleted 2009-01-02 23:49:29 +00:00
skodak
1b813f5c2a MDL-17772 fixed guest access; MDL-17754 $USER object initialisation cleanup 2009-01-02 21:05:16 +00:00
skodak
b7b64ff2e0 MDL-17754 next round of session related refactoring 2009-01-02 20:32:05 +00:00
skodak
6132768ecb MDL-17767 loginas refactoring and simplification; full SESSION switching implemented 2009-01-02 15:15:26 +00:00
skodak
542797b4e8 MDL-17767 loginas internals refactoring - code moved to sessionlib.php 2009-01-02 14:53:02 +00:00
skodak
0ad6b20cb2 MDL-17754 session code refactoring; removing test cookie which will be replaced by wwwroot checks 2009-01-02 13:42:43 +00:00
skodak
0ecff22d84 MDL-17267 fixed regression caused by my last commit 2008-11-19 14:43:38 +00:00
skodak
c23b0ea11b MDL-17129 dml: implemented exceptions in new drivers, yay! 2008-11-04 23:07:14 +00:00
nicolasconnault
647a1a8289 MDL-17091 Added zend framework to include_path 2008-10-31 15:34:23 +00:00
skodak
a78bee285d MDL-16433 themes and javascript files are not blocked by running upgrade anymore 2008-09-14 08:40:23 +00:00
skodak
8aff848213 MDL-14589 minor database driver loading refactoring 2008-09-02 20:32:03 +00:00
skodak
20e9d26f83 MDL-16066 fixed apache log typo - thanks Neil Streeter 2008-08-17 22:23:19 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
dongsheng
d255c6e9ad "MDL-15244, fix bugs of ip blocker" 2008-07-25 08:27:50 +00:00
dongsheng
5035228fc0 MDL-15244
1. move ip blocker to security menu
2. blocked list and allowed list can work together, a new option could set the order of them
2008-07-22 04:07:58 +00:00
dongsheng
4e63912156 MDL-15244, add ability to block ip addresses. 2008-07-16 02:16:42 +00:00
dongsheng
ab99c8f014 MDL-15244, add ability to block ip addresses for HEAD. 2008-07-14 08:14:31 +00:00
skodak
b373260475 MDL-15413 warn admins if display_errors enabled 2008-07-07 14:34:40 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
3dce78e125 MDL-15247 lib/dmllib.php is now obsolete 2008-06-15 11:35:25 +00:00
skodak
251387d087 MDL-14956 basic exception support in Moodle + other minor related refactoring 2008-06-13 17:51:34 +00:00
skodak
e4c033a9dd MDL-15194 adodb separation, dml database creation support 2008-06-09 20:22:11 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
stronk7
6d5a22b208 Installer fixed, prefixes improved, moved conn settings to connect() and some more improvements. MDL-14864 2008-05-19 18:02:33 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
fmarier
211c6890c5 Printing ADODB error to the web server error log (MDL-14628)
Merged from MOODLE_18_STABLE and MOODLE_19_STABLE
2008-05-07 04:40:18 +00:00
skodak
a648b6a8f1 MDL-14617 ancient register globals hack removed 2008-05-01 21:53:10 +00:00
skodak
8d14ff6d9c MDL-14617 removed old PHP4 session stuff 2008-05-01 21:52:09 +00:00
skodak
d3acaab4e4 MDL-14617 removed pre PHP 5.2.0 coocie compatibility stuff 2008-05-01 21:15:29 +00:00
skodak
2728a623e7 MDL-14622 fixed regression during install time - thanks Stephen Bourget 2008-05-01 21:08:50 +00:00
skodak
f995580108 MDL-14622 error when unsupported version jump detected - only upgrades from 1.8.x allowed 2008-04-30 14:05:36 +00:00
skodak
0a2925beb9 MDL-13881 fixed silly logic bug when disabling rcache - patch by Matt Clarkson; merged from MOODLE_19_STABLE 2008-03-11 09:05:20 +00:00
skodak
7fc1a27d05 MDL-90 fixed quickforms pear include regression; merged from MOODLE_19_STABLE 2008-02-27 11:09:27 +00:00
martinlanghoff
a4c371ece6 MDL-90 lib/setup: extend include_path to cover the PEAR libs we distribute
Almost no cost - most of our require/include calls are with
absolute paths, which will skip the include_path. The few
that are not absolute are usually to include PEAR libs -
so this is appropriate and avoids having to change the
PEAR libs themselves when they make references to other
PEAR libs.

Using the include path does mean that OS-installed PEAR libs
will override ours. There's a small compat risk here - if you
need to ensure a particular version, use an absolute path.
2008-02-27 02:55:36 +00:00
martinlanghoff
8f64ba0483 MDL-90 Introducing MOODLE_SANE_INPUT and MOODLE_SANE_OUTPUT to setup.php
These two constants indicate that the Moodle core should not mangle
input (magic quotes of any kind verboten!) and should not spit odd stuff
in the output (displaydebug verboten!). Both are needed for WebDAV
support.

MOODLE_SANE_INPUT is tricky - it means that the codepaths _must_ use
$db->qstr() (or addslashes() - but that has its own problems).
2008-02-27 02:51:49 +00:00
skodak
8cadac9dc7 MDL-13623 proper version detection; merged from MOODLE_19_STABLE 2008-02-26 18:35:30 +00:00
skodak
748923a045 MDL-13623 fixed regression in PHP < 5.2.0; merged from MOODLE_19_STABLE 2008-02-26 06:26:55 +00:00
skodak
585385278c MDL-13483 found two more native php mail() commands; merged from MOODLE_19_STABLE 2008-02-25 14:05:06 +00:00
skodak
4ea8df2173 MDL-11494 MDL-13623 - support for secure and httponly cookies; merged from MOODLE_19_STABLE 2008-02-24 12:46:37 +00:00
skodak
6a525ce289 MDL-12983 Installation stops after trying to download Language-Pack - patch by Dan Poltawski; merged from MOODLE_19_STABLE 2008-01-20 17:59:26 +00:00
martinlanghoff
b1df0eb2ce lib/setup: restore sanity to rcache handling
$CFG->rcache is safe to keep, even as we are reading the config table.

This is because whenever we update the config table, all the rcache
plugins either mark the cache as dirty or they update the cache.

The reason we want to be able to preserve this is that rcache settings
in CFG should usually be set in config.php rather than in the config
table.

With this fix, we support both control points.
2008-01-06 22:56:07 +00:00