f09d959c97
refactor: Simplify and modernize loops ( #1522 )
...
* refactor: Simplify loops
* refactor: Modernize loops using range over int
---------
Co-authored-by: TwiN <twin@linux.com >
2026-02-08 19:08:59 -05:00
TwiN and GitHub
6f1312dfcf
chore: Tweak configuration validation and yaml output ( #1302 )
2025-09-30 13:38:17 -04:00
TwiN
76a8710e0b
test: Revert change to maintenance test
2025-04-01 18:20:29 -04:00
TwiN
d5fe682f9a
test: Fix flaky maintenance test
2025-03-31 22:20:21 -04:00
Alex Maras and GitHub
975ac3592e
fix(maintenance): timezone handling offset issue ( #981 )
...
* fix: uses time.Date to construct time at midnight in Timezone instead of Truncate
* test: check for Perth validity using adjusted timezone handling
* chore: remove newlines around day adjustment block
* chore: remove separate define of dayWhereMaintenancePeriodWouldStart
2025-01-28 22:15:35 -05:00
TwiN and GitHub
54221eff9b
fix(maintenance): Import time/tzdata to support timezones ( #849 )
...
Fix #848
2024-08-28 18:41:21 -04:00
af00dfdb73
feat(alerting): add timezone for maintenance ( #653 )
...
* feat(alerting): add timezone for maintenance
* Update config/maintenance/maintenance.go
* docs: Add example of maintenance.timezone in readme.md
* fix: Only set time to timezone location if the location is set
* fix: Include the original error in the message
---------
Co-authored-by: TwiN <twin@linux.com >
2024-07-01 19:41:33 -04:00
Sergey Khokhlov and GitHub
c3e1835dd6
fix(alerting): Unable to set maintenance interval to all day ( #475 )
2023-05-17 18:45:18 -04:00
TwiN
fbdb5a3f0f
test(maintenance): Add tests for edge cases
2022-05-07 16:46:51 -04:00
TwiN
f6336eac4e
Fix #117 : Implement email alerts
2021-12-02 21:05:17 -05:00
TwiN and GitHub
6ed93d4b82
Rename Service to Endpoint ( #192 )
...
* Add clarifications in comments
* #191 : Rename Service to Endpoint
2021-10-23 16:47:12 -04:00
TwinProduction
d19f564e4e
Ensure that tested hour never goes negative
2021-10-03 21:50:58 -04:00
TwinProduction
bf455fb7cc
Fix issue with under maintenance feature
2021-10-01 02:33:37 -04:00
TwinProduction
428e415616
Fix issue with under maintenance
2021-09-27 00:11:42 -04:00
TwinProduction
df3a2016ff
Move web and ui configurations in their own packages
2021-09-22 00:47:51 -04:00
TwinProduction
fa4736c672
Close #74 : Add maintenance window
2021-09-22 00:04:51 -04:00