Commit Graph

12 Commits

Author SHA1 Message Date
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
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
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
Ozzy Simpson
1548a965e8 Fixes incorrect timestamp on Scheduled Maintenances
Fixes #2578
2017-06-24 09:23:17 -10:00
James Brooks
507ae3e4ed Add meta relation to all models 2017-06-13 19:25:43 +01:00
James Brooks
8bace140e5 Fix schedules.completed_at not being null. Closes #2509 2017-05-06 09:57:30 +01:00
James Brooks
ebed68a7d8 Rewrite the entire scheduled maintenance implementation 2016-10-30 21:15:46 +00:00