TwiN
79c9f24c15
feat(alerting): Implement alert-level provider overrides ( #929 )
...
* feat(alerting): Implement alert-level provider overrides
Fixes #96
* Fix tests
* Add missing test cases for alerting providers
* feat(alerting): Implement alert-level overrides on all providers
* chore: Add config.yaml to .gitignore
* fix typo in discord provider
* test: Start fixing tests for alerting providers
* test: Fix GitLab tests
* Fix all tests
* test: Improve coverage
* test: Improve coverage
* Rename override to provider-override
* docs: Mention new provider-override config
* test: Improve coverage
* test: Improve coverage
* chore: Rename Alert.OverrideAsBytes to Alert.ProviderOverrideAsBytes
2024-12-16 20:32:13 -05:00
TwiN
01131755bc
fix(logging): Replace log-level parameter by GATUS_LOG_LEVEL env var ( #895 )
...
* fix(logging): Replace log-level parameter by GATUS_LOG_LEVEL env var
* Improve log message if GATUS_LOG_LEVEL isn't set
2024-11-13 23:54:00 -05:00
TwiN
fdd00e7851
fix(alerting): Remove duplicate code and improve testing
...
Related to #768
2024-05-19 18:31:01 -04:00
TwiN
f2c5f5911c
feat(alerting): Persist triggered alerts across application restart ( #764 )
...
* feat(alerting): Persist triggered alerts across application restart
Fixes #679
* test(alerting): Add numerous tests related to alerts
2024-05-15 21:29:45 -04:00
TwiN
9d151fcdb4
refactor: Break core package into multiple packages under config/endpoint ( #759 )
...
* refactor: Partially break core package into dns, result and ssh packages
* refactor: Move core package to config/endpoint
* refactor: Fix warning about overlapping imported package name with endpoint variable
* refactor: Rename EndpointStatus to Status
* refactor: Merge result pkg back into endpoint pkg, because it makes more sense
* refactor: Rename parameter r to result in Condition.evaluate
* refactor: Rename parameter r to result
* refactor: Revert accidental change to endpoint.TypeDNS
* refactor: Rename parameter r to result
* refactor: Merge util package into endpoint package
* refactor: Rename parameter r to result
2024-05-09 22:56:16 -04:00
TwiN
f54c45e20e
feat: Implement push-based external endpoints ( #724 )
...
* refactor: Move SSH outside of endpoint.go
* refactor: Use pointers for Alert receivers
* feat: Implement push-based external endpoints
* Fix failing tests
* Validate external endpoints on start
* Add tests for external endpoints
* refactor some error equality checks
* Improve docs and refactor some code
* Fix UI-related issues with external endpoints
2024-04-08 21:00:40 -04:00
michael-baraboo
ae750aa367
feat(alerting): add alerting support for jetbrains space ( #713 )
...
* add alerting support for jetbrains space
* readme fixes
* add jetbrainsspace to provider interface compilation check
* add jetbrainsspace to a couple more tests
2024-03-28 18:36:22 -04:00
TwiN
7d6923730e
fix(config): Support $$
in config for literal $
( #427 )
2023-02-11 22:43:13 -05:00
Kevin Woblick
21f62f362f
feat(alerting): Add Pushover provider ( #405 )
...
* Add a new Pushover provider (#129 )
- Adds new provider named Pushover with corresponding tests
- Adds Pushover as a provider to the configuration and adjusts test accordingly
- Adds Pushover to alerting_test.go, provider.go and type.go
- Updates the readme with configuration details
* Correct import order
* Fix some missing pushover references
* Apply suggestions from code review
* Rename application-key to application-token for Pushover
---------
Co-authored-by: TwiN <twin@linux.com>
2023-01-29 17:32:16 -05:00
TwiN
3059e3e028
feat: Support multiple configuration files ( #396 )
...
* Revert "Revert "feat: Support multiple configuration files" (#395 )"
This reverts commit 87740e74a6
.
* feat: Properly implement support for config directory
2023-01-08 17:53:37 -05:00
TwiN
87740e74a6
Revert "feat: Support multiple configuration files" ( #395 )
...
Revert "feat: Support multiple configuration files (#389 )"
This reverts commit 8e14302765
.
2023-01-07 03:45:43 -05:00
Henning Janßen
8e14302765
feat: Support multiple configuration files ( #389 )
...
* Allow configuration to be distributed
* catch iteration errors when collecting config files
* rm unused func
* Fix suffix check for config loading
* test configuration loading
* GATUS_CONFIG_PATH can be a file or a directory now
* Add deprecation note
* Fix cs
Co-authored-by: TwiN <twin@linux.com>
* cs fixes
Co-authored-by: TwiN <twin@linux.com>
* cs fixes
Co-authored-by: TwiN <twin@linux.com>
* cs fixes
Co-authored-by: TwiN <twin@linux.com>
* cs + rm useless line
Co-authored-by: TwiN <twin@linux.com>
* Update config/config.go
Co-authored-by: TwiN <twin@linux.com>
2023-01-06 23:46:19 -05:00
TwiN
dfcea93080
fix(alerting): Use reflection to set invalid providers to nil instead of re-validating on every alert trigger/resolve
2022-12-15 21:37:34 -05:00
TwiN
f6a621da28
chore: Bump module version to v5
2022-12-06 01:41:18 -05:00
TwiN
741109f25d
chore!: Remove deprecated "services" in favor of "endpoints" ( #381 )
...
BREAKING CHANGE: `services` has been replaced by `endpoints` in v3.3.0, but backward compatibility has been retained until now. v5.0.0, however, will no longer support `services`, so make sure to update your configuration to use `endpoints` instead.
See #374 for more information
2022-12-06 01:27:31 -05:00
TwiN
d058d7a54b
fix!: Default Alert.Enabled to true ( #380 )
...
BREAKING CHANGE: It used to default to false, which meant that users had to explicitly set endpoints[].alerts[].enabled to true
2022-12-05 23:15:19 -05:00
TwiN
00b56ecefd
feat: Bundle assets in binary using go:embed ( #340 )
...
Fixes #47
2022-10-09 21:33:31 -04:00
TwiN
52d7cb6f04
ux: Improve endpoint validation by checking type on start
2022-09-01 21:12:29 -04:00
TwiN
ab2bee9c4b
chore!: Update module from v3 to v4
2022-06-20 21:25:14 -04:00
TwiN
c873b0ba0c
feat(security)!: Remove deprecated SHA512 parameter for password hashing
2022-06-14 23:48:28 -04:00
TwiN
0792f5490b
feat(storage)!: Remove persistence for memory storage
2022-06-14 23:36:18 -04:00
TwiN
9ede992e4e
feat(ui): Add support for buttons below header ( #106 )
2022-04-25 20:20:32 -04:00
TwiN
932ecc436a
test(security): Replace password-sha512 by password-bcrypt-base64 for test case
2022-01-17 11:55:05 -05:00
TwiN
d3805cd77a
Fix #197 ; Fix #198 : Deprecate storage.file in favor of storage.path and deprecate persistence with memory storage type
2021-11-04 21:33:13 -04:00
TwiN
6ed93d4b82
Rename Service to Endpoint ( #192 )
...
* Add clarifications in comments
* #191 : Rename Service to Endpoint
2021-10-23 16:47:12 -04:00
TwiN
6c45f5b99c
⚠ Migrate TwinProduction/gatus to TwiN/gatus
2021-10-07 21:28:04 -04:00
TwinProduction
2d3fe9795f
Add v3 to module path
...
Gatus wasn't intended to be used as a library, but I have a use case now.
2021-10-03 21:53:59 -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
TwinProduction
044f0454f8
Domain migration
2021-09-18 12:42:11 -04:00
TwinProduction
7a68920889
#77 : Make page title customizable
2021-09-11 01:51:14 -04:00
TwinProduction
556f559221
Remove Kubernetes auto discovery
2021-09-06 13:28:35 -04:00
Bastien
54d06b8688
Merge branch 'master' into feature/teams_alert_provider
2021-07-29 11:01:53 +02:00
TwinProduction
9cd6355056
#126 : Add client configuration
2021-07-28 21:52:14 -04:00
Bastien Ogier
23fb69fca9
Add teams alerting provider
2021-07-28 14:20:53 +02:00
TwinProduction
d3a81a2d57
Major fixes and improvements
2021-07-18 17:29:08 -04:00
TwinProduction
263b2f0f94
Fix failing tests
2021-05-18 23:27:43 -04:00
TwinProduction
db23bd9073
#29 : Automatically reload on configuration file update
2021-05-18 22:29:15 -04:00
TwinProduction
8106832d69
Improve test coverage
2021-05-15 22:24:13 -04:00
TwinProduction
758428b312
Improve test coverage
2021-05-15 22:09:58 -04:00
TwinProduction
a85c5d5486
Close #91 : Implement default provider alert
2021-05-15 21:31:32 -04:00
Jonah
24da853820
Add Telegram Alerting ( #102 )
2021-03-30 19:38:34 -04:00
TwinProduction
8fe9d013b5
Close #48 : Implement Discord alerting providers
2021-03-04 21:26:17 -05:00
TwinProduction
b603cdb0ea
Minor changes to the custom alert provider placeholders
2021-02-18 23:17:51 -05:00
Robert Hoppe
7390895514
Extend also tests on config
2021-02-17 13:27:11 +01:00
Robert Hoppe
2873d96b9f
Introduce configureable place holders for alerting
2021-02-17 12:39:17 +01:00
TwinProduction
79bef8d391
Implement persistence
2021-02-02 23:06:34 -05:00
TwinProduction
a1679ddc5e
Remove web.context-root
2021-01-31 05:49:01 -05:00
TwinProduction
0985e3bed8
Minor update
2021-01-17 16:38:22 -05:00
TwinProduction
91a9fa5274
Improve testing coverage
2021-01-09 22:55:36 -05:00