Commit Graph

161 Commits

Author SHA1 Message Date
James Brooks
1593b7b451 Use standard "not equal" operator 2018-06-16 17:27:28 +01:00
James Brooks
d25e626678 Standardise models 2018-06-16 17:00:27 +01:00
James Brooks
43fefec37a Schedules should be soft deletable 2018-06-14 21:16:05 +01:00
James Brooks
e5509d4776 Use correct ValidatingTrait. Closes #3033 2018-06-14 07:34:19 +01:00
James Brooks
34c1bff186 Make Taggable trait for simpleness 2018-05-11 18:02:56 +01:00
James Brooks
23f7d58010 Add tags to the Incident model 2018-05-11 17:58:55 +01:00
James Brooks
47f0077928 Fix issue with taggables 2018-05-11 17:57:29 +01:00
Vincent Domange
b2e64e186d Corrected link component tag : morphMany => morphToMany cf.#3004 2018-04-20 09:26:57 +02:00
Nathan Rennie-Waldock
c4f2eb1aad Cast status and component_id to int 2018-04-10 04:18:18 +01:00
James Brooks
785f2391f3 Add tests for Taggable model 2018-04-02 18:21:58 +01:00
James Brooks
737dd689b0 Fix test 2018-04-02 18:17:07 +01:00
James Brooks
c137e9ab1b Make component_tag a polymorphic structure 2018-04-02 17:43:22 +01:00
James Brooks
1e3516d7b7 Track who created incident. Closes #2717 2018-03-26 20:54:23 +01:00
Nico Stapelbroek
14e15ca543 Fix codestyle 2018-01-21 14:32:29 +01:00
Nico Stapelbroek
53142e2c93 Fix a bug where notifications are send because the end of the maintenance time is set 2018-01-21 13:38:18 +01:00
James Brooks
f53f88f950 Don't send notifications when within maintenance window. Fixes #2720 2018-01-21 12:32:33 +01:00
James Brooks
8e1c9801fb When disabling third-party deps, don't use Gravatar.
Fixes #2810
2017-12-03 17:34:59 +00:00
Graham Campbell
613b7445fb Apply fixes from StyleCI (#2684)
[ci skip] [skip ci]
2017-08-12 12:36:06 +01:00
James Brooks
7622a8f474 Add status_id column 2017-07-25 14:40:43 -04:00
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