95 Commits

Author SHA1 Message Date
James Brooks
7622a8f474 Add status_id column 2017-07-25 14:40:43 -04:00
James Brooks
7bfba072bb Create incident_components table 2017-07-18 22:52:49 +01:00
James Brooks
c6d9798b91 Update .gitignore 2017-07-11 14:13:15 +01:00
James Brooks
4b9e0141e8 Create meta table and model 2017-06-13 19:23:53 +01:00
James Brooks
2c1700f4da Fix validation for component groups 2017-02-27 19:47:44 +00:00
James Brooks
3dc154dff1 Add event action storage. Closes #2344 2017-02-04 16:54:27 +00:00
Joseph Cohen
dbad195a7e Use unsigned tiny int instead of boolean for visible metrics 2017-01-15 23:55:23 -06:00
James Brooks
f03d55783c Be sure to make email nullable 2017-01-04 19:51:47 +00:00
James Brooks
e8ce42b8d6 Publish the notifications table 2017-01-04 19:51:20 +00:00
James Brooks
b8a9f41ae4 Integrate Mail, Nexmo and Slack notifications into Cachet 2017-01-04 19:51:20 +00:00
James Brooks
edfbb2384f Components can now be supplied meta data 2016-12-05 19:03:27 +00:00
James Brooks
105cff50b9 Added metric visibility options. Closes #2244 2016-12-04 16:54:36 +00:00
James Brooks
984d132902 Use nullable columns 2016-12-04 16:32:13 +00:00
James Brooks
b5916b7577 Fix missing down migrations 2016-12-04 16:16:22 +00:00
James Brooks
72ff181a02 Fix rollback of AlterTableIncidentsRemoveScheduledColumns 2016-12-04 16:14:48 +00:00
James Brooks
341bfb08a8 Use aliases when migrating data. Fixes #2240 2016-11-14 18:36:42 +00:00
James Brooks
ebed68a7d8 Rewrite the entire scheduled maintenance implementation 2016-10-30 21:15:46 +00:00
James Brooks
a2cded299d New migrations 2016-10-30 21:00:06 +00:00
James Brooks
804d02fbdc Don't use backticks as this breaks in Postgres 2016-10-30 17:45:50 +00:00
James Brooks
a0f2d6642e Add incident column for when an incident occurred at (#2212)
Add incident column for when an incident occurred at. Closes #2208
[ci skip] [skip ci]
2016-10-29 17:25:52 +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
Antoine GIRARD
1954cf26f3 Add stickied incident 2016-09-06 22:45:52 +02:00
James Brooks
6685ae96d8 Welcome all users to their status page 2016-08-23 13:09:47 +01:00
Graham Campbell
3ea1428c23 Added missing imports 2016-07-24 14:47:02 +01:00
James Brooks
27e46d77e6 Publish the cache table migration 2016-06-05 10:16:50 +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
21b60e0708 Take a backup before calling app commands. Closes #1730 2016-05-06 21:11:57 +01:00
Joe Cohen
f1b61c7ef1 Applied fixes from StyleCI 2016-05-01 16:04:43 +01:00
Joseph Cohen
05bb91d2d9 Global subscribers and fix notifications 2016-05-01 16:04:43 +01:00
James Brooks
f9bc46b460 Refactored the way we store metrics 2016-04-25 20:42:00 +01:00
James Brooks
fef84f8559 Publish the sessions table 2016-04-05 15:30:57 +01:00
Graham Campbell
f73788fab3 Tweaked the model factory 2016-03-24 15:25:58 +00:00
James Brooks
bca7c5340a Set default component group view to 1 2016-03-24 14:10:46 +00:00
James Brooks
045667dce8 Fixes #1608 2016-03-16 19:43:19 +00:00
James Brooks
97ec85ba2a Default to 2 2016-03-13 11:39:15 +00:00
James Brooks
a0477b03e3 Option to auto-expand groups when components are down. Closes #1602 2016-03-10 15:01:13 +00:00
James Brooks
5c0f39759e Make the model factories more dynamic 2016-02-24 12:14:33 +00:00
James Brooks
026d296d8f Change metric_points.value to DECIMAL(15,3). Closes #1508 2016-02-18 08:53:16 +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
James Brooks
6e9d5f5e8a Applied fixes from StyleCI 2015-12-28 09:14:50 +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
7c5e10f367 Applied fixes from StyleCI 2015-11-22 15:14:40 -05:00
Graham Campbell
3572451f1e Use class noation 2015-11-22 20:09:08 +00:00
Graham Campbell
7bd93e0170 Cleanup 2015-11-22 20:06:04 +00:00
Graham Campbell
4b668a83ef Use the random_int function 2015-11-22 20:05:39 +00:00
James Brooks
0771273049 Order factories 2015-11-22 19:31:42 +00:00
James Brooks
af176d7c7a Incident API can now use incident templates with Twig templating 2015-11-15 11:32:51 +00:00
Joe Cohen
d82bc57796 Applied fixes from StyleCI 2015-11-08 20:13:26 -06:00