27 Commits

Author SHA1 Message Date
James Brooks
c4eedd2b8b Add to model factory 2018-03-26 21:02:21 +01:00
jvictor
6330f8a2fb added auto-refresh on master status page 2017-08-31 16:09:27 +02:00
James Brooks
2c1700f4da Fix validation for component groups 2017-02-27 19:47:44 +00:00
James Brooks
ebed68a7d8 Rewrite the entire scheduled maintenance implementation 2016-10-30 21:15:46 +00: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
f9bc46b460 Refactored the way we store metrics 2016-04-25 20:42:00 +01:00
Graham Campbell
f73788fab3 Tweaked the model factory 2016-03-24 15:25:58 +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
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
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
James Brooks
4b3ec45b03 Added component groups API. Closes #801 2015-08-08 15:36:48 +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
James Brooks
df2ae7726d Adds incident visibility. Closes #602 2015-06-11 22:43:16 +01:00
James Brooks
620e7fed56 Closes #688 - Drop user_id column 2015-06-10 13:36:26 +01:00
James Brooks
743ed28fd8 Added Metric and MetricPoint API testing 2015-06-02 20:02:43 +01:00
James Brooks
4245b95406 Finish Component API testing 2015-06-02 19:44:17 +01:00
James Brooks
2af917ace4 Added a User factory 2015-06-01 22:42:49 +01:00