142 Commits

Author SHA1 Message Date
James Brooks
188eb00ca8 Apply fixes from StyleCI
[ci skip] [skip ci]
2017-07-18 21:52:51 +00:00
James Brooks
7bfba072bb Create incident_components table 2017-07-18 22:52:49 +01:00
Ozzy Simpson
1548a965e8 Fixes incorrect timestamp on Scheduled Maintenances
Fixes #2578
2017-06-24 09:23:17 -10:00
Aden Fraser
bcf1f06ca4 Fixes Date issue with incident dates being incorrect (as only loading out the date, not the time) 2017-06-23 15:10:37 +01:00
James Brooks
af3d5ab493 System status now ignores hidden groups for guests - Fixes #2577 2017-06-19 14:23:32 +01:00
James Brooks
c9c462be00 Apply fixes from StyleCI
[ci skip] [skip ci]
2017-06-13 18:34:51 +00:00
James Brooks
27e390ec17 Make the meta model fillable 2017-06-13 19:34:31 +01:00
James Brooks
507ae3e4ed Add meta relation to all models 2017-06-13 19:25:43 +01:00
James Brooks
4b9e0141e8 Create meta table and model 2017-06-13 19:23:53 +01:00
James Brooks
8bace140e5 Fix schedules.completed_at not being null. Closes #2509 2017-05-06 09:57:30 +01:00
James Brooks
3568a9f219 Fix error message 2017-04-02 14:46:13 +01:00
James Brooks
d115acf41c Fix condition 2017-04-02 14:35:34 +01:00
James Brooks
4607d90401 Improve metric threshold 2017-03-18 11:15:43 +00:00
Tim Davies
d8615e1cae Replace intVal() with casting to int (int) 2017-03-01 22:11:41 +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
2c1700f4da Fix validation for component groups 2017-02-27 19:47:44 +00:00
James Brooks
5481d716b9 Fix ordering of component group statuses. Closes #2342 2017-02-19 11:00:40 +00:00
James Brooks
766f32f64f Added docblock to component group 2017-02-19 10:55:42 +00:00
James Brooks
e99a198770 Fix visible validation rule 2017-02-14 19:29:46 +00:00
James Brooks
3dc154dff1 Add event action storage. Closes #2344 2017-02-04 16:54:27 +00:00
James Brooks
49dac9b6c3 Add rules to subscriber 2017-01-04 21:02:52 +00:00
James Brooks
1b5ddc66dc Update subscriber model 2017-01-04 20:26:57 +00:00
James Brooks
b8a9f41ae4 Integrate Mail, Nexmo and Slack notifications into Cachet 2017-01-04 19:51:20 +00:00
James Brooks
8b5a4fce28 Merge pull request #2266 from mwillbanks/hotfix/metrics-average-always-sums
Metrics: Calculation set to average always sums
2017-01-02 14:16:15 +00:00
James Brooks
26a4c720b2 Make some Subscriber fields fillable, fixes #2279 2016-12-23 13:34:54 +00:00
James Brooks
d0b0ce2140 Add missing return docs 2016-12-15 20:11:06 +00:00
James Brooks
027b2e13e9 Delete related points when deleting metrics 2016-12-15 20:09:59 +00:00
Mike Willbanks
4e2c6bce0d Metrics: Calculation set to average always sums
This commit is two part:

1. getActiveValueAttribute should always return the active attribute
without providing an average since the active is the current value.
2. The query to create the average was incorrect and was taking the
count value * the value which we are really looking for the average of
the value.
2016-12-07 15:59:01 -06: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
3eb74058b2 Fix adding of incident templates 2016-12-03 21:18:45 +00:00
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