Commit Graph

66 Commits

Author SHA1 Message Date
James Brooks
41621612a7 Use Twig namespaces 2019-01-01 11:22:58 +00:00
James Brooks
8bb8ee3dc7 Fix command dispatching 2018-06-25 22:25:54 +01:00
James Brooks
3f4c423005 Use Analyzer and fix several issues 2018-06-25 21:49:07 +01:00
James Brooks
b22f7abd28 Fix how tags are created. Fixes #3004 2018-06-18 21:28:46 +01:00
James Brooks
9accf90c32 Test for status changes before firing event. Fixes #3082 2018-06-17 17:52:34 +01:00
Jordy van Dortmont
7dd94bd21c Fix metric point counting within threshold 2018-04-06 01:52:07 +02:00
James Brooks
1e3516d7b7 Track who created incident. Closes #2717 2018-03-26 20:54:23 +01:00
Graham Campbell
62503fd8fd Merge branch '2.3' into 2.4 2017-06-28 23:24:09 +01:00
James Brooks
f11c1edeee Implement creating of meta data and tests 2017-06-13 19:34:50 +01:00
James Brooks
979ea1110c Fixes #2463 - Redirect back instead of erroring 2017-05-06 11:01:14 +01:00
James Brooks
8bace140e5 Fix schedules.completed_at not being null. Closes #2509 2017-05-06 09:57:30 +01:00
James Brooks
485116b5ce Rename incident bus 2017-03-18 09:41:33 +00:00
James Brooks
a55575656d Rename Bus Add to Create 2017-03-18 09:30:36 +00:00
James Brooks
7d27c61abe Rename ComponentStatusWasUpdated 2017-03-18 09:14:16 +00:00
Tim Davies
3e77b6d1d1 Add missing silent paramater, and cast status to Int before comparing 2017-03-01 22:02:33 +00:00
James Brooks
8725ab2b9b Component notifications can be silenced. Closes #2316 2017-02-06 18:59:05 +00:00
James Brooks
a1a00d07bc Apply fixes from StyleCI
[ci skip] [skip ci]
2017-02-04 16:54:39 +00:00
James Brooks
3dc154dff1 Add event action storage. Closes #2344 2017-02-04 16:54:27 +00:00
James Brooks
0b35002c62 Apply fixes from StyleCI
[ci skip] [skip ci]
2017-01-30 13:31:07 +00:00
James Brooks
27847b6814 Move DateFactory into Services namespace 2017-01-30 13:30:45 +00:00
James Brooks
6626ba93d5 Add missing param to command call 2017-01-23 21:05:15 +00:00
James Brooks
277fe77565 Use each syntax 2017-01-17 19:25:50 +00:00
James Brooks
f9bf20aa53 Delete subscriptions when unsubscribing. Fixes #2315 2017-01-17 19:22:45 +00:00
James Brooks
4d89119a8c Use each and always fire the event 2017-01-04 20:57:41 +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
78e53b3d1e Fix bad var 2016-12-04 17:27:52 +00:00
James Brooks
105cff50b9 Added metric visibility options. Closes #2244 2016-12-04 16:54:36 +00:00
James Brooks
ebc427b4b6 Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 18:32:01 +00:00
James Brooks
9dc80b4229 Edit the mail config from the dashboard and provide testing button 2016-11-29 18:31:37 +00:00
James Brooks
529ea726b6 Call update and fire the UserRegeneratedApiTokenEvent event 2016-11-25 20:10:29 +00:00
James Brooks
47eb5f7c8f Call update 2016-11-25 20:09:38 +00:00
James Brooks
fd9b1ffd5a Slight refactor 2016-11-25 20:07:49 +00:00
James Brooks
39299829ab Added missing docblock 2016-11-25 20:06:52 +00:00
James Brooks
fc1f98cb6c Call update 2016-11-25 20:05:51 +00:00
James Brooks
da7a7f41dd Call update 2016-11-25 20:04:40 +00:00
James Brooks
f05156412e Fix default occurred_at value 2016-11-14 18:26:44 +00:00
James Brooks
ebed68a7d8 Rewrite the entire scheduled maintenance implementation 2016-10-30 21:15:46 +00:00
James Brooks
ffab454314 Fix tests 2016-10-30 20:59:54 +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
67b09af833 Check where consistency 2016-10-19 12:29:47 +01: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
Davide Bellini
3700f1485f Fixed incident update (#2151)
… and now tests are green :)
2016-10-07 17:53:19 +01:00
James Brooks
bed038653a Standardise @joecohens name in the class headers 2016-10-07 12:25:40 +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
b40066b20e Don't fire component update emails if the status hasn't changed.
Fixes #2113
2016-09-29 10:03:47 +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
James Brooks
6685ae96d8 Welcome all users to their status page 2016-08-23 13:09:47 +01:00