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
Graham Campbell
19e3804227
Updated tests
2015-12-06 11:04:02 +00:00
James Brooks
af176d7c7a
Incident API can now use incident templates with Twig templating
2015-11-15 11:32:51 +00:00
Graham Campbell
8cd8c35125
Fixes
2015-11-07 15:37:06 +00:00
Joseph Cohen
bb691ec427
Test setting timezone on the api for metric points
...
Signed-off-by: Graham Campbell <graham@alt-three.com>
2015-11-07 13:20:06 +00:00
James Brooks
edd111451e
Started work on enabling/disabling components
2015-11-03 21:32:45 +00:00
Joseph Cohen
9581c5a394
Add and remove metrics and metric points commands
2015-08-31 20:16:36 +01:00
Joseph Cohen
64ff4d73c2
Rename incident events and fixes
2015-08-31 20:16:36 +01:00
Joseph Cohen
924eee9752
Fix tests
2015-08-31 20:16:35 +01:00
James Brooks
a77efc12e0
Added casts properties to all models, re-ordered model properties. Fixes #916
2015-08-24 21:08:59 +01:00
James Brooks
4b3ec45b03
Added component groups API. Closes #801
2015-08-08 15:36:48 +01:00
Graham Campbell
1e3e1df616
Removed overkill test
2015-07-25 15:48:10 +01:00
James Brooks
ecb3a4e1d9
Remove unused import
2015-07-24 14:37:06 +01:00
James Brooks
71f5de8726
Introduce the Subscriber API. Closes #787
2015-07-24 14:35:31 +01:00
Graham Campbell
0a321bffd8
Updated copyright information
2015-07-06 17:37:01 +01:00
Graham Campbell
77834fb493
Added more api tests
2015-06-18 18:15:16 +01:00
Graham Campbell
62ac2780cf
Removed unneeded checks
2015-06-18 18:13:37 +01:00
James Brooks
5c6bcae02d
Closes #519 - Allow supplying of timestamps to metric points.
2015-06-15 12:59:33 +01:00
James Brooks
df2ae7726d
Adds incident visibility. Closes #602
2015-06-11 22:43:16 +01:00
James Brooks
106c1a034a
Remove repositories from the API and switch cipher to rijndael-256
2015-06-09 10:57:45 +01:00
James Brooks
fad393be1d
Add testing of status code to API
2015-06-03 08:28:48 +01:00
James Brooks
dd8fc60209
Added API /ping endpoint. Closes #687
2015-06-03 08:22:08 +01:00
James Brooks
743ed28fd8
Added Metric and MetricPoint API testing
2015-06-02 20:02:43 +01:00
James Brooks
90110944ff
Finish incident API tests
2015-06-02 19:48:09 +01:00
James Brooks
f94a5ec57b
Rename vars
2015-06-02 19:47:20 +01:00
James Brooks
4245b95406
Finish Component API testing
2015-06-02 19:44:17 +01:00
James Brooks
6637e49c6c
Start working on metric tests
2015-06-02 14:23:55 +01:00
James Brooks
b6b5146f16
Formatting
2015-06-02 14:22:48 +01:00
James Brooks
149f043be3
Remove failing test till it can be fixed. More incident testing.
2015-06-02 14:19:24 +01:00
James Brooks
f06e9cc88f
Move beUser into Abstract class
2015-06-02 13:42:39 +01:00
James Brooks
4d8b340397
Be more verbose in our testing
2015-06-02 13:41:54 +01:00
James Brooks
ee66f4c451
Now tests if a component can be created via the API
2015-06-02 09:00:33 +01:00
James Brooks
fff91417c7
Added letUserBeLoggedIn for CompoentTest (doesn't fully work)
2015-06-01 22:53:38 +01:00
Graham Campbell
049b9ac308
Fixed tests
2015-06-01 22:25:34 +01:00
Graham Campbell
0c065ae690
Use annotation
2015-06-01 22:03:29 +01:00