1860 Commits

Author SHA1 Message Date
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
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
Nicolas Fagotti
b223da94a0 Add "Unknown" status to the available component statuses 2016-10-24 10:32:00 -03:00
Connor S. Parks
196eba7129 use _our_ version of the middleware 2016-10-24 10:19:15 +01:00
Connor S. Parks
e670f9b64e update to new blade extension format 2016-10-21 22:55:30 +01:00
Connor S. Parks
25bba1c178 re-adds the middleware 2016-10-19 16:28:25 +01:00
James Brooks
0d81392414 Applied fixes from StyleCI
[ci skip] [skip ci]
2016-10-19 11:29:38 +00:00
James Brooks
67b09af833 Check where consistency 2016-10-19 12:29:47 +01:00