Commit Graph

179 Commits

Author SHA1 Message Date
James Brooks 88571d7e8f Move meta relation into trait 2019-02-18 21:56:25 +00:00
James Brooks 497cbe5525 Do not use arr_* or str_* helpers 2019-02-01 20:55:51 +00:00
thomasxd24 1fdb7909d3 Revert schedule maintenance
commit of de172e5def have made the schedule maintenance disappear completely. 

This PR reverts the change. Please fix the change or revert back.
2018-10-05 19:34:00 +02:00
Wouter van Os 9b4e8c1545 Show schedules till they are completed
Currently schedules are shown on the status page when they are in the status upcoming or in progress. But, when the scheduled time is in the past - it's hidden, even when it's still going on.

This PR fixes this issue by hiding the maintenance when it's in the status completed, or the completed time has passed.
2018-09-06 23:43:10 +02:00
Joe Cohen 66ccb2a56f test metric points by latests 2018-07-02 19:22:01 -05:00
James Brooks f98ae4d38e Order metric points by the created_at time 2018-07-02 22:15:36 +01:00
James Brooks 085552607a Move calculated_value presenter method into MetricPoint getter 2018-07-02 18:05:21 +01:00
James Brooks c006b7d6ef Remove unused activeValue getter 2018-07-02 17:41:46 +01:00
James Brooks 3e5dc6a3f9 Fix MetricPoint changes 2018-06-28 12:01:22 +01:00
Nico Stapelbroek 253d9ec445 Allow updating incidents when the incident has no associated user 2018-06-28 09:23:54 +02:00
James Brooks 3e3763722b Apply fixes from StyleCI (#3139)
[ci skip] [skip ci]
2018-06-27 14:40:19 +01:00
James Brooks 1ac884805d Fix tests 2018-06-27 14:39:49 +01:00
James Brooks 55002bb4b4 Group metric points into intervals of 30 seconds 2018-06-27 14:28:38 +01:00
James Brooks bdacc81b8d Merge pull request #3103 from CachetHQ/incident-notifications-flag
Add notifications column to incidents
2018-06-25 08:56:45 +01:00
James Brooks a9558d35c5 Apply fixes from StyleCI
[ci skip] [skip ci]
2018-06-18 20:23:05 +00:00
James Brooks ab64572274 Add the ability to filter components by tags. Closes #2920 2018-06-18 21:22:43 +01:00
James Brooks 77281a7cc5 Start testing searching of tags 2018-06-18 07:13:10 +01:00
James Brooks 7c9d540477 Add notifications column to incidents (WIP) 2018-06-17 19:31:47 +01:00
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