Commit Graph

87 Commits

Author SHA1 Message Date
Sam Minnee
5897559cd2 FIX: Simpler matrix, polish test. 2017-05-04 18:00:25 +12:00
Robbie Averill
b9af2d0734 FIX Update config API, Logger alias, dotenv config, remove PHP 5.5, other fixes
Remove PHP 5.5 from Travis configuration. Dotenv used for environment management now,
examples and tests updated to use putenv instead of define. Logger alias update to
LoggerInterface. Update mutable config API calls. Replace array declaration with
short version: []. Update license year.
2017-05-04 16:11:25 +12:00
Robbie Averill
745a9f93ef FIX Remove after from YAML to prevent circular reference (#39) 2017-03-16 14:10:33 +13:00
Robbie Averill
254ed4801f SilverStripe 4.x compatibility (#38)
* Update composer constraint for 4.x compat

* 4.x compatibility: Rename "code" to "src" and add PSR-4 autoloading

* Restructure code and tests for PSR-4

* Implement namespaces

* Implement namespaced throughout

* PSR-2 formatting updates, separate Result from CheckSuite, implement PSR-3 logging, fix tests

* FIX Routes and template location

* Update readme. Allow check classes to be namespaced or not.

* Add entry to changelog

* FIX Ensure DatabaseCheckTest always has a member. Allow strings or objects for $check in the suite

* Update readme to be clearer about passing checks with or without namespaces

* Revert namespace checking and implement Injector aliases instead. Update readme.
2017-01-05 11:16:12 +13:00
Daniel Hensby
1f6ba594a6
Updating composer alias 2016-12-28 11:21:23 +00:00
Will Rossiter
ad54d788d4 Update check URL (Fixes #37) 2016-11-08 07:02:13 +13:00
Daniel Hensby
582c4173e1 Merge pull request #36 from anotheredward/patch-1
add license to composer.json
2016-08-31 01:31:14 +01:00
Ed
c1ac12193e add license to composer.json 2016-08-30 13:07:47 +12:00
Damian Mooyman
a8c0963c69 Merge pull request #34 from silverstripe-labs/public-access
Allow public access to the dev/health url and change response to 500
2016-07-12 14:23:16 +12:00
Stig Lindqvist
f48efcf963 Change dev/health route to health/check 2016-07-12 14:13:41 +12:00
Stig Lindqvist
c24c52e77f Allow public access to the dev/health url and change response to 500 2016-07-12 14:13:41 +12:00
Stig Lindqvist
a19fcb42e6 Merge pull request #35 from tractorcow/pulls/fix-tests
BUG ensure tests have database enabled
2016-07-12 14:12:44 +12:00
Damian Mooyman
3135c1eec7
BUG ensure tests have database enabled 2016-07-12 14:08:44 +12:00
Damian Mooyman
b084f5433c Add changelog for 1.2.0 2016-02-04 13:31:33 +13:00
Scott Hutchinson
26817742d2 Merge pull request #33 from tractorcow/pulls/icons
Fix broken badges
2016-02-04 13:26:07 +13:00
Damian Mooyman
580a2deafe Fix broken badges 2016-02-04 13:21:10 +13:00
Damian Mooyman
c814d653f9 Merge pull request #32 from helpfulrobot/update-license-year
Updated license year
2016-01-05 11:19:35 +13:00
helpfulrobot
f2d0a39ff7 Updated license year 2016-01-01 06:44:20 +13:00
Damian Mooyman
18d79e1b12 Merge pull request #22 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-11-23 10:28:12 +13:00
Daniel Hensby
e090e4adb7 Merge pull request #31 from helpfulrobot/add-standard-code-of-conduct
Added standard code of conduct
2015-11-21 10:32:14 +00:00
helpfulrobot
b62632d6ab Added standard code of conduct 2015-11-21 20:13:19 +13:00
helpfulrobot
5f1f1fcd53 Converted to PSR-2 2015-11-21 19:18:35 +13:00
Damian Mooyman
d6a65e1614 Merge pull request #25 from helpfulrobot/add-standard-editor-config
Added standard editor config
2015-11-20 14:22:00 +13:00
Damian Mooyman
c9c6076156 Merge pull request #23 from helpfulrobot/add-standard-travis-config
Added standard Travis config
2015-11-20 14:21:50 +13:00
Damian Mooyman
9223736d30 Merge pull request #21 from helpfulrobot/add-standard-scrutinizer-config
Added standard Scrutinizer config
2015-11-20 14:16:56 +13:00
Sam Minnée
1ef045d1b7 Merge pull request #29 from chillu/pulls/log-check-failures
Log check failures
2015-11-20 13:49:11 +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
Daniel Hensby
b9bfacf223 Merge pull request #26 from helpfulrobot/add-standard-license
Added standard license
2015-11-19 17:25:03 +00:00
Daniel Hensby
e45a9019a1 Merge pull request #27 from helpfulrobot/add-license-to-composer
Added license to composer.json
2015-11-19 13:31:54 +00:00
Daniel Hensby
79e75aede9 Merge pull request #28 from helpfulrobot/add-standard-git-attributes
Added standard git attributes
2015-11-19 10:40:33 +00:00
helpfulrobot
3a3dd59964 Added standard git attributes 2015-11-19 19:11:39 +13:00
helpfulrobot
6c92cf3a8d Added license to composer.json 2015-11-19 18:52:02 +13:00
helpfulrobot
a24b6f23ba Added standard license 2015-11-19 18:30:18 +13:00
Scott Hutchinson
ac27101e1c Merge pull request #24 from tractorcow/pulls/release-112
Release 1.1.2
2015-11-19 15:53:25 +13:00
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