helpfulrobot
5f1f1fcd53
Converted to PSR-2
2015-11-21 19:18:35 +13:00
Ingo Schommer
ea047df63d
Use config API
2015-11-20 12:08:29 +13:00
Ingo Schommer
81c7f2ba27
Optionally log check failures
...
Gives more granular control over monitoring failures
2015-11-20 12:06:26 +13:00
Christopher Pitt
53aafd97ba
Made supported
2015-09-14 09:12:12 +12:00
Ingo Schommer
631b7ba502
Fix environment check basic auth tests
...
Was assuming that Member::currentMember() is set,
which isn't the case unless you log in beforehand and start a PHP session.
Given we want the checks to run on their own without user interaction,
they need to work in isolation through a single HTTP call containing
the basic auth info.
2015-07-07 19:35:33 +12:00
Sean Harvey
2c0c77df13
Allow specifying the permission for dev/check
2015-04-09 11:39:34 +12:00
Sean Harvey
e11e4349f9
Output check result and details as JSON if requested.
...
Can be either automatically if the Accept header is "application/json"
or suffixed with "json" extension, e.g. dev/check.json
2015-04-09 09:41:13 +12:00
Mateusz Uzdowski
fdd78d1a26
NEW Add alternative way of setup via the config system.
2015-03-12 16:21:26 +13:00
Mateusz Uzdowski
8485e1b30a
Add a new check for Solr core availability.
...
This is intended to be used with the silverstripe/fulltextsearch
module.
2015-03-12 13:52:42 +13:00
Ingo Schommer
c1dcef940e
Run individual suites through dev/checksuite
2014-08-22 16:14:15 +12:00
Sean Harvey
cda00c8a62
Provide a way to enable basic auth for authenticating dev/check URL.
...
In live or test environments, you need to be logged in as an admin to
access dev/check, but that's not appropriate if you wish to use that
page for a service that automatically checks the health of a site.
2014-06-19 17:44:02 +12:00
Ingo Schommer
2bbcde2b64
Avoid 100% CPU on curl_multi_exec
...
Never finishes (up to max_execlution_limit) on PHP 5.4.24.
See http://nz1.php.net/curl_multi_exec#113002
and http://www.adrianworlddesign.com/Knowledge-Base/php/Download-content-with-cURL/Doing-curlmultiexec-the-right-way
2014-05-12 17:11:03 +12:00
jean
82241b4f9d
Merge pull request #5 from candidasa
2013-06-21 15:36:45 +12:00
Filype Pereira
a041a6b643
ENHANCEMENT DatabaseCheck returns a PHP error if the table doesn't exist ( fixes #6 )
2013-04-04 22:37:43 +13:00
Stig Lindqvist
7a4671962c
BUG EnvironmentChecker::init() calls non existing RequestHandler::init()
2013-01-30 12:08:37 +13:00
Ingo Schommer
0e8d61869a
BUGFIX Use httpError() in EnvironmentChecker
...
Security::permissionFailure() relies on the object extending Controller,
not RequestHandler, since it wants to use the redirect() API.
2013-01-09 18:59:22 +01:00
Ingo Schommer
edc433793b
NEW Cleaned up access checks, allow extension
...
Logic hasn't changed, but removed duplicate ADMIN check in DevCheckController.
2013-01-09 18:59:22 +01:00
Normann Lou
1862de0ee2
FEATURE: add one more Environment checker
2013-01-09 18:59:22 +01:00
Andrew O'Neil
38355adffd
Use ArrayList instead of DataObjectSet for SS3
2013-01-09 18:59:22 +01:00
Julian Seidenberg
b32e243c99
BUGFIX: fixing bug in FileAgeCheck when checking multiple files
2013-01-09 18:59:22 +01:00
Julian Seidenberg
fecf0979a9
ENHANCEMENT: clearer error message when dev/check fails
2013-01-09 18:59:21 +01:00
Julian Seidenberg
ce94e7584a
BUGFIX: fixing env check code error
2013-01-09 18:59:21 +01:00
Julian Seidenberg
b7ca70984d
NEW Adding a configuration option to get the Environment Checker to email its results
2013-01-09 18:59:07 +01:00
Ingo Schommer
616f0d98c1
MINOR Consistent class naming and file<->class relationships (no functional changes)
2012-01-20 18:12:16 +01:00
Ingo Schommer
908a66b4ef
ENHANCEMENT Added ExternalURLCheck, FileAgeCheck, SMTPConnectCheck
2012-01-20 18:12:16 +01:00
Ingo Schommer
0946addf7e
MINOR Unified messages in URLCheck, removed "homepage" references
2012-01-20 18:12:16 +01:00
Ingo Schommer
09ba044f5d
MINOR Allowing to register checks for multiple suites in one call to avoid repetition
2012-01-20 18:06:24 +01:00
Sam Minnee
9426ffb12e
Initial release of the module, based on Sam and Will's work
2012-01-10 19:28:04 +13:00