James Brooks
84fd58459d
Merge pull request #3362 from TakeMeNL/bugfix/3269
...
Resolve #3269
2018-12-18 08:21:11 +00:00
TakeMeNL
5f1dfc6249
Resolve #3288
...
If Binput::get('enabled') is not defined this will return NULL which resulted in a false.
Updated tests
2018-12-17 17:46:31 +01:00
TakeMeNL
201322bb53
Resolve #3269
2018-12-14 21:46:45 +01:00
TakeMeNL
39c0829fce
Code style fixes
2018-07-20 00:23:17 +02:00
TakeMeNL
c60f1bd50f
Added GET incident templates to use in POST incidents template
2018-07-20 00:17:46 +02:00
Joe Cohen
edc9a45e53
Set test now and use config date
2018-07-03 13:29:16 -05:00
Joe Cohen
6a25bbddce
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2018-07-03 18:08:57 +00:00
Joe Cohen
60ec8b766b
test metric points by latests
2018-07-03 13:08:41 -05:00
Joe Cohen
72adad8a15
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2018-07-03 00:22:24 +00:00
Joe Cohen
66ccb2a56f
test metric points by latests
2018-07-02 19:22:01 -05:00
James Brooks
3e5dc6a3f9
Fix MetricPoint changes
2018-06-28 12:01:22 +01:00
James Brooks
db627f6e86
Don't dump the response
2018-06-28 11:46:07 +01:00
Nico Stapelbroek
253d9ec445
Allow updating incidents when the incident has no associated user
2018-06-28 09:23:54 +02:00
James Brooks
1ac884805d
Fix tests
2018-06-27 14:39:49 +01:00
James Brooks
9accf90c32
Test for status changes before firing event. Fixes #3082
2018-06-17 17:52:34 +01:00
James Brooks
f1478da036
Fix variable names and expect events
2018-06-17 09:04:14 +01:00
James Brooks
5116ec8f1a
Add event tests to ComponentTest and fix bad test
2018-06-17 09:00:44 +01:00
James Brooks
6f6d473f7a
Add assertions for ComponentGroup events
2018-06-17 08:57:51 +01:00
James Brooks
ecc050419a
Use ::class notation
2018-06-16 21:25:33 +01:00
James Brooks
62e377e6f7
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2018-06-16 20:21:51 +00:00
James Brooks
aa2a39da6d
Clean up test names and remove laravel/browser-kit-testing
2018-06-16 21:21:38 +01:00
James Brooks
39718c7936
Fix lack of Command Validating middleware
2017-07-17 21:21:06 +01:00
James Brooks
3ad23828ba
Remove redundant MakesHttpRequests trait
2017-07-17 20:59:23 +01:00
Graham Campbell
62503fd8fd
Merge branch '2.3' into 2.4
2017-06-28 23:24:09 +01:00
James Brooks
217a2e326c
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2017-06-25 10:44:46 +01:00
James Brooks
45c058b907
Update deps and fix tests
2017-06-25 10:44:46 +01:00
James Brooks
96a6d23a53
Fix test cases, removing tests for Controllers
...
Temporary till Laravel fixes the InteractsWithPages trait
2017-06-13 23:01:08 +01:00
James Brooks
f11c1edeee
Implement creating of meta data and tests
2017-06-13 19:34:50 +01:00
James Brooks
c3b053fa9d
Fix schedule test
2017-05-06 10:07:47 +01:00
James Brooks
1e9161cdaf
Fake notifications
2017-01-04 21:13:01 +00:00
James Brooks
a003fce913
Expect events for auto-verifying subscribers
2017-01-04 20:57:32 +00:00
James Brooks
edfbb2384f
Components can now be supplied meta data
2016-12-05 19:03:27 +00:00
James Brooks
ebed68a7d8
Rewrite the entire scheduled maintenance implementation
2016-10-30 21:15:46 +00:00
James Brooks
fe96a00b82
Incident templates cleanup ( #2182 )
...
Clean up Incident Templates, supply incident array to them by default
2016-10-14 08:03:19 +01:00
James Brooks
c94919f1b9
Backport Incident Updates from v3.0.0
2016-10-06 22:40:56 +01:00
Marius Palade
ad0954eb20
Add visibility to component groups ( #2027 )
...
Implement visibility for the components groups. Closes #1892
Add functional test that asserts a guest can only see public items.
* Fix tests not running due to hitting the Setup page.
The missing `boostrap/cachet/testing.php` file is now generated the first time tests are ran.
* Add a functional test that asserts logged in users can see all items.
Add constants for possible values for the visible column/field of the ComponentGroup model.
Code review changes.
* Add API tests for component group visibility feature.
* Implement the visibility hidden option for a component group. Fixes #1892 .
Add migration for the created_by column, in component_groups table.
Add methods to the ComponentGroup and User models to be able to work with the created_by column.
Hidden component groups are no longer displayed on the index page for loggedin users.
Add functional test for the dashboard page.
Save owner on create/edit component group.
Update the API tests for Component group visibility feature.
* Replace auth() usage with app(Guard::class).
* Apply StyleCI fixes.
* Drop the hidden visibility feature and fix all tests.
Some code review fixes too.
* Rename public to visible since it's a reserved keyword. Apply StyleCI fixes and correct typo.
* Code review changes.
* Tidy up component and component groups gathering.
* Code review changes and StyleCI fixes.
* Code review changes.
* Remove extra whitespace
* Remove useless method.
2016-10-02 13:57:32 +01:00
James Brooks
86013db148
Fix subscriber api. Closes #2112
2016-09-28 20:19:57 +01:00
Antoine GIRARD
1954cf26f3
Add stickied incident
2016-09-06 22:45:52 +02:00
Graham Campbell
0ce724a734
Removed old test skip
2016-08-22 15:40:49 +01:00
James Brooks
cab030237b
Set an order on metrics via the API. Closes #1874
2016-06-02 10:16:23 +01:00
James Brooks
cc102847f9
Specify components to subscribe to via API. Closes #1685
2016-05-08 16:26:59 +01:00
James Brooks
f9bc46b460
Refactored the way we store metrics
2016-04-25 20:42:00 +01:00
James Brooks
a0477b03e3
Option to auto-expand groups when components are down. Closes #1602
2016-03-10 15:01:13 +00:00
Graham Campbell
1b24cdb1c5
Improved the config system
2016-01-29 23:05:31 +00:00
James Brooks
a32f50fd5e
Added a test for reporting incident with component and status
2016-01-29 16:42:04 +00:00
James Brooks
da7af1fca0
Allow component groups to be collapsed by default. Closes #1398
2016-01-29 16:02:44 +00:00
James Brooks
ac3888f7c8
Added per-component subscriptions. Closes #734
2016-01-29 15:02:28 +00:00
Graham Campbell
df5eb24efd
Moved things into a bus namespace
2016-01-05 02:38:07 +00:00
James Brooks
1c27cf7360
Adds the ability to set the default view in which to display metrics
2015-12-28 09:14:50 +00:00
Graham Campbell
78b7582b8d
Prevent tests breaking due to rolling into the next second
2015-12-21 22:40:11 +00:00