Commit Graph

202 Commits

Author SHA1 Message Date
helpfulrobot e2fdefab59 Added standard Travis config 2015-11-19 14:19:06 +13:00
helpfulrobot 8ccafb5cd4 Added standard editor config 2015-11-19 13:25:13 +13:00
Damian Mooyman be424c145d Release 1.1.2 2015-11-19 10:53:11 +13:00
helpfulrobot 0f67667ce5 Added standard Scrutinizer config 2015-11-18 15:08:21 +13:00
Damian Mooyman 9b3d3be032 Merge pull request #20 from assertchris/make-supported
Made supported
2015-09-14 12:21:19 +12:00
Christopher Pitt 53aafd97ba Made supported 2015-09-14 09:12:12 +12:00
Damian Mooyman 7e28448664 Merge pull request #17 from silverstripe-labs/pulls/basicauth-fix
Fix environment check basic auth tests
2015-07-08 11:10:07 +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
Stig Lindqvist 98126dc448 Merge pull request #15 from halkyon/permission-check
Allow specifying the permission for dev/check
2015-04-09 11:42:45 +12:00
Sean Harvey 2c0c77df13 Allow specifying the permission for dev/check 2015-04-09 11:39:34 +12:00
Stig Lindqvist 20f0a2bf88 Merge pull request #14 from halkyon/json-output
Output check result and details as JSON if requested
2015-04-09 10:02:58 +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
Sean Harvey 507c572d0b Merge pull request #13 from mateusz/config-system
Config system
2015-03-13 09:36:19 +13:00
Mateusz Uzdowski fdd78d1a26 NEW Add alternative way of setup via the config system. 2015-03-12 16:21:26 +13:00
Mateusz Uzdowski 7345771df6 Add SolrIndexCheck to the list of available checks in the README. 2015-03-12 14:57:26 +13:00
Stig Lindqvist 52ef1e5776 Merge pull request #12 from mateusz/solr-check
Add a new check for Solr core availability.
2015-03-12 14:01:32 +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
Stig Lindqvist 05758843bc Merge pull request #11 from silverstripe-iterators/pulls/checksuite
Run individual suites through dev/checksuite
2014-08-22 16:17:06 +12:00
Ingo Schommer c1dcef940e Run individual suites through dev/checksuite 2014-08-22 16:14:15 +12:00
Ingo Schommer e77fc5c864 Merge pull request #10 from halkyon/basicauth_support
Provide a way to enable basic auth for authenticating dev/check URL.
2014-06-19 17:53:31 +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
Sean Harvey 9d930c1901 Merge pull request #9 from silverstripe-labs/pulls/cpu-usage-curl-multi
Avoid 100% CPU on curl_multi_exec
2014-05-12 17:13:06 +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
Sean Harvey 815a1ad6db Merge pull request #8 from patbolo/deprecation-3.1.2
BUGFIX Use loop instead of control to avoid deprecation message in SS 3....
2013-12-01 18:22:25 -08:00
jean dcf3746bfe BUGFIX Use loop instead of control to avoid deprecation message in SS 3.1.2 2013-12-02 15:18:39 +13:00
Sean Harvey 3ff3b05692 Fixing deprecated usage of Director::addRules(), replace with YAML. 2013-09-20 11:26:21 +12:00
jean 82241b4f9d Merge pull request #5 from candidasa 2013-06-21 15:36:45 +12:00
Julian Seidenberg d16ca16e67 Merge pull request #7 from fpereira1/isssue/6
ENHANCEMENT DatabaseCheck returns a PHP error if the table doesn't exist...
2013-04-04 21:15:09 -07: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
Sam Minnee 135126ac2e Added composer config 2012-11-03 14:27:44 +13:00
Sam Minnée b20867aa77 Merge pull request #2 from chillu/new-checks
New checks, some restructuring
2012-01-23 12:57:39 -08:00
Will Rossiter f104ce825f Merge pull request #3 from oddnoc/documentation
MINOR: Documentation
2012-01-20 12:23:42 -08:00
Fred Condo a7d01e7637 DOC: Remove incomplete sentence 2012-01-20 09:33:59 -08:00
Fred Condo ab96697cd3 DOC: Remove redundant word 2012-01-20 09:33:59 -08:00
Fred Condo 0ea3e23e38 DOC: Typo fix: mode -> module 2012-01-20 09:33:59 -08:00
Fred Condo 58258bee0a MINOR: Added newline at EOF 2012-01-20 09:33:59 -08: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 5c13c1b7a5 MINOR Disabled default checks in _config.php, to enable custom ordering in own configuration without modifying the module files. Noted configuration settings in README. 2012-01-20 18:12:14 +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