Commit Graph
37 Commits
Author SHA1 Message Date
Christoph Anton Mitterer 5fccb302a8 escape version string to prevent XSS for sure
* HTML escape the remotely retrieved version string printed to the HTML in order
  to prevent and attacks (if this would have been possible at all in 12
  characters).

The version string read from the davical.org webserver might be changed by an
attacker in order to perform XSS.
Even though this is highly unlikley (there are only 12 characters used) it's
better to HTML escape any such string that is printed to HTML.

This was originally reported at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703290
2013-03-20 23:41:43 +01:00
Christoph Anton Mitterer 56968d4865 set line endings of most text files to LF
* Changed the end-of-line encodings of all non-Windows-related and non-autogenerated text files to use UNIX LF (lots of them had mixed LF/CRLF).
2013-03-20 00:48:02 +01:00
Andrew McMillan 3239a0bdd8 Fix debian bug #656392 - correct detection of suhosin.server_strip status. 2012-06-26 18:44:54 +12:00
Andrew McMillan 2538835a12 Seems that change to output buffer flushing is problematic with zlib. 2012-06-14 13:36:15 +12:00
Andrew McMillan 46addb00fd Fix some final niggles with setup.php and spurious logged errors. 2012-05-30 23:04:10 +12:00
Andrew McMillan 9ee6f37d77 Make it possible to see output from /setup.php when DB is unavailable.
Also depends on some changes to AwlDbDialect/AwlQuery.
2012-04-22 10:01:40 +12:00
Rob Ostensen 063da3a23d add checks to prevent external binds from being created or updated if curl is missing, add check to setup page 2012-01-05 21:24:02 -06:00
Andrew McMillan 062e01aede We don't need to test for the PostgreSQL non-PDO drivers now. 2011-10-28 14:02:20 +13:00
Andrew McMillan be5374a7e9 Add test for PHP filter module and wiki links for each test. 2011-10-27 19:05:26 +13:00
Rob Ostensen 9dcda2abe4 add a check to the setup page for the php calendar extension
Signed-off-by: Rob Ostensen <rob@boxacle.net>
2011-09-14 11:25:54 +12:00
Andrew McMillan b4dfa9c1bf Rewriting some TODO comments as @todo 2011-08-26 01:03:13 +12:00
Andrew McMillan 310933231a Setup test should recognise "Off" as well as "0" 2011-05-22 18:04:51 +12:00
Andrew McMillan 7515f607c6 Check for LDAP module, but only if LDAP is configured.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-02-22 11:00:43 +13:00
Felix Möller 0ce2dfa421 Checking for the DateTime class, for extended date support.
Correcting a spelling mistake in the class name to check for the correct one.
2011-02-21 22:30:17 +13:00
Andrew McMillan 5e5fa2d44e Display status of DateTime support.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-08 13:29:36 +13:00
Andrew McMillan cc941a500e Fix broken last commit.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 22:07:32 +13:00
Andrew McMillan f30c0b84c9 Remove attempts to translate early error messages.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 21:42:49 +13:00
Andrew McMillan b2afb747da Add early check for iconv
Also, we're doing this before we load translation code so
we really can't translate it...

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-05 21:21:55 +13:00
Andrew McMillan fe095d009d Refactored to provide clearer display of issues. 2011-01-01 21:23:25 +13:00
Andrew McMillan 2033afcf97 Check for some more things, including that we have the right AWL version. 2010-10-14 21:17:24 -04:00
Andrew McMillan f77ac0fab4 Check for some supported stuff very early so we can show it is missing. 2010-10-07 15:38:07 -04:00
Andrew McMillan 645b9196fc [setup] Detect whether suhosin.server.strip is set and discourage it.
I sanitise the path just fine and I like being able to have arbitrary
paths, and don't want non-alphabetic stuff turned into a question mark.
2010-09-11 23:07:29 +12:00
Andrew McMillan 28af315848 A fix for problems with character output in the user configuration. 2010-06-17 23:27:22 +12:00
Andrew McMillan ad4d733e57 Add a check for gettext availability. 2010-05-12 22:01:39 +12:00
Andrew McMillan f0964f7583 Move always.php into the webroot for easier setup.
Also add some 'search for the AWL includes' code into it for
even more easier setup.
2010-03-23 21:52:00 +13:00
Aurelien Requiem 550bdda529 Updated i18n & French translation. 2010-03-17 20:25:17 +13:00
Aurelien Requiem c131834982 Updated french translation, with further i18n fixes to setup. 2010-03-12 13:25:24 +13:00
Rob Ostensen 30f159d2f3 Fix spelling and return value. 2010-03-10 09:17:29 +13:00
Andrew McMillan 0548dd64d2 Add configuration setting to optionally restrict /setup.php to admin. 2010-03-08 16:45:28 +13:00
Andrew McMillan 92015340d0 Link to the DAViCal website, rather than SourceForge. 2010-03-07 23:39:59 +13:00
Andrew McMillan 2e14fda7c1 Provide some rudimentary statistics about the setup. 2010-03-05 22:14:00 +13:00
Andrew McMillan 98717748db Fix typos. 2010-02-25 12:36:08 +13:00
Andrew McMillan 16089c6475 Include current version number in update version check. 2010-02-25 10:44:06 +13:00
Andrew McMillan 2e6dca26f2 More localisable, and now able to detect the PDO pgsql drivers.
Also don't require a person to be logged in if their setup is so
screwed they can't even connect to a database...
2010-02-23 22:59:37 +13:00
Andrew McMillan 26c00618f1 setup: Try and detect whether the PDO drivers are working. 2010-02-17 23:51:55 +13:00
Andrew McMillan 1dbc3b185b Move version display to setup.php and do basic dependency checks. 2010-01-31 16:35:08 +13:00
Andrew McMillan b8c946fcea Add simple placeholder pages for planned setup / upgrade activities. 2009-12-21 22:27:28 +13:00