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
78dccc90e1
fix( #400 ): Use proper configuration path when iterating over options
2023-01-10 00:24:56 -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
ecc0636a59
feat(alerting): Implement GitHub alerting provider
2022-12-15 23:38:44 -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
64f4dac705
fix: Wrap error properly (%s -> %w)
2022-11-12 14:56:25 -05:00
David Wheatley
e5a94979dd
fix: add Google Chat to list of alert types when determining valid providers ( #341 )
2022-10-15 17:56:38 -04:00
TwiN
35038a63c4
feat(alerting): Implement ntfy provider
...
Closes #308
Work remaining:
- Add the documentation on the README.md
- Test it with an actual Ntfy instance (I've only used https://ntfy.sh/docs/examples/#gatus as a reference; I haven't actually tested it yet)
2022-10-09 16:45:01 -04:00
TwiN
5c6bf84106
ux: Improve error message when endpoint is invalid
2022-09-01 21:12:29 -04:00
Jesibu
1bce4e727e
feat(api): Configurable response time badge thresholds ( #309 )
...
* recreated all changes for setting thresholds on Uptime Badges
* Suggestion accepted: Update core/ui/ui.go
Co-authored-by: TwiN <twin@linux.com>
* Suggestion accepted: Update core/ui/ui.go
Co-authored-by: TwiN <twin@linux.com>
* implemented final suggestions by Twin
* Update controller/handler/badge.go
* Update README.md
* test: added the suggestons to set the UiConfig at another line
Co-authored-by: TwiN <twin@linux.com>
2022-08-10 21:05:34 -04:00
TwiN
1aa94a3365
feat(remote): Implement lazy distributed feature ( #64 )
...
THIS IS AN EXPERIMENTAL FEATURE/IMPLEMENTATION, AND IT MAY BE REMOVED IN THE FUTURE.
Note that for now, it will be an undocumented feature.
2022-07-28 20:29:29 -04:00
Kalissaac
755c8bb43a
fix(alerting): Alphabetically sort Matrix provider
2022-07-20 19:00:12 -04:00
Kalissaac
37f3f964ea
feat(alerts): Add Matrix alert provider
2022-07-20 19:00:12 -04:00
TwiN
ab2bee9c4b
chore!: Update module from v3 to v4
2022-06-20 21:25:14 -04:00
TwiN
3dd8ba1a99
Add missing alert type
2021-12-09 21:18:44 -05:00
Eng Zer Jun
7a05bdcb82
refactor: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-12-03 14:44:17 +08:00
TwiN
f6336eac4e
Fix #117 : Implement email alerts
2021-12-02 21:05:17 -05:00
TwiN
9287e2f9e2
Move store initialization to store package
...
This will allow importing storage.Config without importing every SQL drivers in the known universe
2021-10-28 19:35:46 -04:00
TwiN
a4e9d8e9b0
Revert "Add GATUS_DONT_EXPAND_ENV env var"
2021-10-24 18:34:39 -04:00
TwiN
3be6d04d29
Add GATUS_DONT_EXPAND_ENV env var
2021-10-24 16:20:24 -04:00
TwiN
fb2448c15a
Omit fields that are not set
2021-10-24 15:03:41 -04:00
TwiN
db575aad13
Remove comments that no longer apply
2021-10-24 14:51:49 -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
7a68920889
#77 : Make page title customizable
2021-09-11 01:51:14 -04:00
TwinProduction
a917b31591
Add log in case an error happens while updating the last config modification time
2021-09-06 13:28:35 -04:00
TwinProduction
556f559221
Remove Kubernetes auto discovery
2021-09-06 13:28:35 -04:00
TwinProduction
3cbe068fc1
Rename storage type inmemory to memory
...
This is technically a breaking change, but given how long ago this field was implemented as well as the fact that this is the default value if the type is not specified, I doubt anybody's explicitly setting it as inmemory
2021-08-07 12:11:35 -04:00
TwinProduction
2074697efa
Improve alerting tests
2021-07-29 19:54:40 -04:00
Bastien Ogier
23fb69fca9
Add teams alerting provider
2021-07-28 14:20:53 +02:00
TwinProduction
3293222cd6
Add warning log about possible deprecation of Kubernetes integration
2021-07-27 21:08:30 -04:00
TwinProduction
d3a81a2d57
Major fixes and improvements
2021-07-18 17:29:08 -04:00
TwinProduction
1498b6d8a2
Add Service.Key() method to generate the unique service key
2021-07-18 17:29:08 -04:00
TwinProduction
db23bd9073
#29 : Automatically reload on configuration file update
2021-05-18 22:29:15 -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
79bef8d391
Implement persistence
2021-02-02 23:06:34 -05:00
TwinProduction
9196f57487
Add several tests
2021-02-01 01:37:56 -05:00
TwinProduction
a1679ddc5e
Remove web.context-root
2021-01-31 05:49:01 -05:00
TwinProduction
91a9fa5274
Improve testing coverage
2021-01-09 22:55:36 -05:00
cemturker
a870d3e43f
Add Messagebird as an alerting provider
2020-11-23 22:20:06 +01:00