Commit Graph

1617 Commits

Author SHA1 Message Date
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 7190b5036a Formatting 2017-01-02 13:36:49 +00:00
James Brooks 2b838fef16 We don't need MetricRepository everywhere 2017-01-02 13:35:33 +00:00
James Brooks 5857aac01b Add class docblock 2017-01-02 13:34:10 +00:00
James Brooks 3cb2109afd Simplify how we fetch incidents 2016-12-30 19:21:45 +00:00
James Brooks 08ca82ea2c Fixes #2277 - ordering of components works again 2016-12-26 12:25:01 +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 f5b6919aa3 Default components subscription to null 2016-12-04 17:52:05 +00:00
James Brooks f972bf4a55 Subscribers don't need to be enabled to send emails. Closes #1994 2016-12-04 17:48:50 +00:00
James Brooks 78e53b3d1e Fix bad var 2016-12-04 17:27:52 +00:00
James Brooks f2a338ba2d Apply fixes from StyleCI
[ci skip] [skip ci]
2016-12-04 16:54:47 +00:00
James Brooks 105cff50b9 Added metric visibility options. Closes #2244 2016-12-04 16:54:36 +00:00
James Brooks dab4b43824 Apply fixes from StyleCI
[ci skip] [skip ci]
2016-12-03 21:18:56 +00:00
James Brooks 3eb74058b2 Fix adding of incident templates 2016-12-03 21:18:45 +00:00
James Brooks 07767521b4 Apply fixes from StyleCI
[ci skip] [skip ci]
2016-12-03 20:14:45 +00:00
James Brooks 0a924f31f7 Write the env using the UpdateConfigCommand 2016-12-03 20:14:38 +00:00
James Brooks 443ded7029 Format the case statement like the rest 2016-12-03 19:37:07 +00:00
James Brooks 67df17d9e1 Use the TimestampsTrait for the formatted incident date 2016-12-03 19:36:55 +00:00
James Brooks f98eab988d Apply fixes from StyleCI
[ci skip] [skip ci]
2016-12-03 19:26:12 +00:00
James Brooks 77da0c9de1 Fix http middlewares that redirect to routes 2016-12-03 19:25:39 +00:00
James Brooks 02b2e4c214 Added missing command tests 2016-12-02 15:12:01 +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 72056e2ac5 Rename formattedMessage into snake_case for consistency 2016-11-25 20:34:58 +00:00
James Brooks 0af195af86 Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-25 20:19:46 +00:00
James Brooks c9c592b033 Show an alert when ./bootstrap/cachet is not writeable. 2016-11-25 20:19:38 +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 e23a9358e7 Fix metrics when using table prefixes 2016-11-14 18:43:18 +00:00
James Brooks 915e190a31 Use system getTablePrefix 2016-11-14 18:38:14 +00:00
James Brooks 381df1cf4f Remove debug 2016-11-14 18:38:08 +00:00
James Brooks 341bfb08a8 Use aliases when migrating data. Fixes #2240 2016-11-14 18:36:42 +00:00
James Brooks f05156412e Fix default occurred_at value 2016-11-14 18:26:44 +00:00
James Brooks 516b761220 Don't clean schedule messages either... 2016-11-14 18:22:36 +00:00
James Brooks bb56f28b89 Don't clean incident message. Part of #2236 2016-11-14 18:22:10 +00:00
James Brooks 93bf23671d Use the constant 2016-11-14 18:15:54 +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 fbb59ea66e Merge pull request #2040 from CachetHQ/metric-repository-perf
Metric repository perf
2016-10-30 17:36:01 +00:00
James Brooks 1c00dec364 Always use dynamic table names 2016-10-30 17:35:57 +00:00
James Brooks a8bdc5bf52 Applied fixes from StyleCI
[ci skip] [skip ci]
2016-10-30 17:32:41 +00:00
James Brooks 74c646e2f4 Rewrite the Metric repository implementation. Fixes #1900 2016-10-30 17:32:44 +00:00