Commit Graph

21 Commits

Author SHA1 Message Date
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
James Brooks
e281c5d646 Only send component change email when the status changes. Fixes #1989 2016-08-07 22:50:51 +01:00
James Brooks
e15af44449 Standardise the team member commands. Closes #1881 2016-07-21 11:49:05 +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
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
95d3d427a4 Stop using the TwigBridge facade 2016-04-21 15:00:19 +01:00
Joseph Cohen
537017925f Use create instead of createNormalized on handlers 2016-02-17 17:08:36 -06:00
James Brooks
c7af76af56 Fix bad import of invite was claimed event. Fixes #1466 2016-02-08 12:03:40 +00:00
James Brooks
69e1bc3948 Fixes #1437, fixes # 2016-02-02 22:08:03 +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
b4f5df945e Moves bus exceptions. Closes #1334 2016-01-07 15:05:28 +00:00
phecho
23ac8071bc Fix typo 2016-01-05 23:51:16 +08:00
Graham Campbell
c117550a8d Applied fixes from StyleCI 2016-01-04 21:38:41 -05:00
Graham Campbell
df5eb24efd Moved things into a bus namespace 2016-01-05 02:38:07 +00:00