111 Commits

Author SHA1 Message Date
James Brooks
ebed68a7d8 Rewrite the entire scheduled maintenance implementation 2016-10-30 21:15:46 +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
0d81392414 Applied fixes from StyleCI
[ci skip] [skip ci]
2016-10-19 11:29:38 +00:00
James Brooks
ebf3c8656f Fix model validations 2016-10-19 12:29:22 +01:00
Laravel Shift
6e904641da Shift cleanup 2016-10-19 07:53:53 +00:00
Laravel Shift
b5a4656a25 Shift core files 2016-10-19 07:53:10 +00: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
Abhimanyu Sharma
d93859119d Using defaults 2016-10-12 23:31:45 +05:30
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
Abhimanyu Sharma
0f4c14ac08 Lowercase email for gravatar 2016-10-02 01:07:16 +05:30
James Brooks
f21a2b4b44 Revert "Check for unique user and email. Closes #2118"
This reverts commit 6ce4348a2801c8a84e77720ad2a39ae51efeca14.
2016-10-01 11:55:43 +01:00
James Brooks
6ce4348a28 Check for unique user and email. Closes #2118 2016-09-29 23:19:52 +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
e0a8e9d663 Cast status as int. Fixes #2058 2016-08-15 08:09:59 +01:00
James Brooks
a947cffcb8 Standardizing things 2016-08-10 10:46:45 +01:00
James Brooks
778664b20a Added new Beacon handling code 2016-08-04 10:12:06 +01:00
James Brooks
ec0f0768f0 Added missing typehints 2016-07-13 14:24:02 +01:00
James Brooks
47a5569f02 Improve how we work out system status with scheduled maintenance 2016-07-13 14:19:35 +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
15387b1da8 Allow searching incidents by component_id. Closes #1873 2016-06-02 08:46:59 +01:00
James Brooks
08c1f105c2 Order components within group. Fixes #1793 2016-05-20 14:31:08 +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
6e7df6e1f7 Added attributes to prevent bad default data in groups. Closes #1683 2016-04-16 12:19:16 +01: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
13f1e6a713 Fix docblocks 2016-03-09 11:25:41 +00:00
James Brooks
0b3483fb8a Implement very basic API searching. Closes #1348 2016-03-08 18:55:04 +00:00
Joseph Cohen
919c7127e7 Fixes API sorting and filtering. Closes #1489 2016-02-25 18:58:42 +00:00
James Brooks
0b78332a20 Display what subscriptions (if any) a subscriber has 2016-02-20 21:32:11 +00:00
Graham Campbell
0746abd2f1 Fixed typo 2016-02-10 14:33: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
45c6c37c65 Laravel auto casts the id column to int for us 2016-01-07 14:47:39 +00:00
James Brooks
5ccd601695 Fixes missing titles 2016-01-03 12:26:27 +00:00
James Brooks
cf4cbfa605 Display a status circle next to component groups. Closes #1317 2016-01-03 11:48:53 +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
phecho
2905c1339d Added missing annotation 2015-12-25 19:13:28 +08:00
phecho
2f9cc373ce Added const for user level 2015-12-25 17:52:01 +08:00
phecho
a6f6753fa0 Move HumanStatus to Presenter, see also #1258 2015-12-23 21:35:28 +08:00
phecho
8a47dd873f Move HumanStatus to Presenter 2015-12-23 19:44:06 +08:00
Graham Campbell
1607275d2d Merge branch '2.0'
# Conflicts:
#	VERSION
#	app/Handlers/Events/Incident/SendIncidentEmailNotificationHandler.php
#	app/Handlers/Events/Incident/SendMaintenanceEmailNotificationHandler.php
#	app/Models/Subscriber.php
2015-12-18 12:55:47 +00:00
James Brooks
dabed137ab Fixes #1237 2015-12-17 14:41:22 +00:00
Joseph Cohen
4c5a12ec89 Unify is clamed on Invite like we do on Subscriber 2015-12-09 18:36:17 -06:00
Graham Campbell
f1772a2108 Applied fixes from StyleCI 2015-12-09 18:38:06 -05:00
Joseph Cohen
e5c90b25b2 Make subscribers is verified a attribute getter 2015-12-09 17:37:54 -06:00
Joseph Cohen
412c119131 Added subcriber verified scope and already subscribed msg 2015-12-09 15:29:41 -06:00
James Brooks
34d2191140 Don't use is_null 2015-11-21 22:04:23 +00:00
James Brooks
af176d7c7a Incident API can now use incident templates with Twig templating 2015-11-15 11:32:51 +00:00