Commit Graph

93 Commits

Author SHA1 Message Date
Robbie Averill
2131840da4 NEW Remove Phockito test dependency, update config API use 2017-08-25 15:19:45 +12:00
Andrew Aitken-Fincham
9dcfc4f337 BUGFIX move allowed_actions to private static (#47) 2017-08-22 19:06:24 +12:00
Daniel Hensby
7204c4792d Merge pull request #46 from andrewandante/FIX/add_object_traits
add object traits
2017-05-26 17:50:12 +01:00
Andrew Aitken-Fincham
5b4adb286e add object traits 2017-05-26 17:40:25 +01:00
Daniel Hensby
04b7cb2ff1 Merge pull request #45 from andrewandante/FIX/remove_object
update to not include Object
2017-05-26 17:19:54 +01:00
Andrew Aitken-Fincham
1e727bf8c6 update to not include Object 2017-05-26 17:11:35 +01:00
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