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
7dccf5f08c
docs: Clarify that alerts still have to be defined when using default-alerts
2022-12-05 22:40:25 -05:00
TwiN
9fc8374a4d
docs: Fix typos
2022-12-03 21:26:46 -05:00
TwiN
1aeb045703
test: Fix failing tests
2022-12-01 20:26:14 -05:00
TwiN
cdec353744
chore(deps): Update sqlite dependencies
2022-12-01 20:19:56 -05:00
TwiN
080563bd4f
fix(alerting): Improve ntfy alert
2022-12-01 20:19:11 -05:00
TwiN
bcb565ba37
ci: Remove workflow_dispatch
2022-11-23 18:15:01 -05:00
TwiN
2327854641
ci: Update workflows
2022-11-23 18:12:55 -05:00
TwiN
79eacc5e50
ci: Re-add other platforms
2022-11-22 22:02:38 -05:00
TwiN
048a1d4a88
ci: Only publish for linux/amd64 during tests
2022-11-22 21:53:28 -05:00
TwiN
c09ee0b82f
ci: Create workflow to publish latest to GHCR
2022-11-22 21:08:40 -05:00
TwiN
7908eea2df
ci: Update workflow dependency name
2022-11-22 20:56:49 -05:00
TwiN
f8140e0d96
fix(alerting): Resolve issue with blank GoogleChat messages ( #364 )
...
* debug: Print GoogleChat request body
* chore: Update TwiN/whois to v1.1.0
* fix: Add missing client changes
* test: Improve DNS tests
* chore: Remove accidental change
* docs: Add note for future change to default behavior
* fix(alerting): Don't include URL in Google Chat alert if endpoint type isn't HTTP
Fixes #362
2022-11-22 20:12:26 -05:00
TwiN
4f569b7a0e
fix(jsonpath): Properly handle len of object in array, len of int and len of bool ( #372 )
2022-11-19 17:25:40 -05:00
TwiN
502e159dca
test: Add case for making sure pat() works inside a JSON array
2022-11-16 18:27:28 -05:00
TwiN
cdbf5902c7
build: Remove -mod vendor flag from Dockerfile
2022-11-15 21:58:24 -05:00
TwiN
c7f80f1301
ci: Rename build.yml to test.yml
2022-11-15 21:51:40 -05:00
TwiN
eb4e22e76b
chore: Replace 1.1.1.1 by 8.8.8.8 everywhere due to 1.1.1.1 being unreliable
2022-11-15 21:50:54 -05:00
TwiN
f37a0ef2d7
test: Replace DNS 1.1.1.1 by 8.8.8.8
2022-11-15 21:50:54 -05:00
TwiN
114b78c75c
test: Replace DNS 1.1.1.1 by 8.8.8.8
2022-11-15 21:50:54 -05:00
TwiN
d24ff5bd07
refactor: Move whois to client package and implement caching
2022-11-15 21:50:54 -05:00
TwiN
c172e733be
chore(deps): Update TwiN/gocache to v2.2.0
2022-11-15 21:50:54 -05:00
TwiN
f1ce83c211
chore(deps): Update TwiN/whois to v1.1.0
2022-11-15 00:25:02 -05:00
TwiN
64f4dac705
fix: Wrap error properly (%s -> %w)
2022-11-12 14:56:25 -05:00
TwiN
b801cc5801
fix(alerting): Prevent empty keyValue from being marshalled
2022-11-10 22:12:20 -05:00
TwiN
f1711b5c0b
fix(alerting): Omit empty KeyValue parameters when marshalling to JSON
2022-11-10 22:12:20 -05:00
TwiN
0ebd6c7a67
chore: Clean up old commented code
2022-11-10 22:12:20 -05:00
TwiN
967124eb43
fix(alerting): Resolve GoogleChat issue with bad payload when condition has " in it
...
Fixes #362
2022-11-10 22:12:20 -05:00
TwiN
1f84f2afa0
fix: Make sure len([BODY]) works if the body is a JSON array
...
Fixes #359
2022-11-03 20:50:40 -04:00
TwiN
cd927f630b
ci: Remove unnecessary dependabot labels
2022-11-01 23:41:35 -04:00
TwiN
c6c9bc8fa5
ci: Update dependabot labels
2022-11-01 23:36:40 -04:00
TwiN
d4983733f5
ci: Add dependabot.yml
2022-11-01 23:30:35 -04:00
TwiN
fed021826a
ui: Generate static assets
2022-11-01 00:45:04 -04:00
TwiN
8f9eca51c0
ui: Show "now" if the pretty time difference is less than 500ms
2022-11-01 00:44:41 -04:00
TwiN
e13730f119
docs: Fix table format
2022-11-01 00:43:42 -04:00
TwiN
fe4d9821f3
fix(alerting): Fix Discord alert payload missing required field
2022-10-20 20:23:10 -04:00
TwiN
d01a5d418b
test: Improve error readability
2022-10-20 20:23:10 -04:00
TwiN
34f8cd1eca
docs: Update screenshot of Mattermost alerts
2022-10-20 20:23:10 -04:00
TwiN
d101c17136
fix(alerting): Resolve Mattermost issue with bad payload when condition has " in it
2022-10-20 20:23:10 -04:00
TwiN
ade3d05983
fix(alerting): Use required Field.Title in Slack provider even if it's not enforced
...
Just to prevent future issues
2022-10-20 20:23:10 -04:00
TwiN
fbab0ef7ca
fix(alerting): Resolve Discord issue with bad payload when condition has " in it
2022-10-20 20:23:10 -04:00
TwiN
9121ec1cc8
fix(alerting): Resolve Matrix issue with bad payload when condition has " in it
2022-10-20 20:23:10 -04:00
TwiN
6ddf1258e5
fix(alerting): Resolve PagerDuty issue with bad payload when alert description has " in it
2022-10-20 20:23:10 -04:00
TwiN
490610ccfd
fix(alerting): Resolve Teams issue with bad payload when condition has " in it
2022-10-20 20:23:10 -04:00
TwiN
0eb6958085
fix(alerting): Resolve Telegram issue with bad payload when condition has " in it
2022-10-20 20:23:10 -04:00
TwiN
d20a41c7a7
fix(alerting): Make sure to close response body
2022-10-20 20:23:10 -04:00
TwiN
4c18e0d602
chore(alerting): Remove unnecessary cast
2022-10-20 20:23:10 -04:00
TwiN
da24b7e8ac
fix(alerting): Resolve Slack issue with bad payload when condition has " in it
2022-10-20 20:23:10 -04:00
TwiN
c619066e25
docs: Swap conditions/dark screenshots
2022-10-19 18:00:53 -04:00
TwiN
3688dd6e6f
chore: Clean up unused assets
2022-10-19 17:53:43 -04:00
TwiN
fc778300be
ci: Update Go to 1.19
2022-10-19 17:52:53 -04:00
TwiN
df560ad872
ui: Replace and reposition old icons by SVG icons ( #349 )
2022-10-19 17:38:32 -04:00
TwiN
de9c366777
docs: Add Keeping your configuration small section
2022-10-19 16:51:14 -04:00
TwiN
6a5fec2c55
perf: Improve jsonpath speed ( #348 )
2022-10-19 15:52:20 -04:00
TwiN
01d2ed3f02
ui: Make it more obvious that the response time can be toggled between avg and min-max
2022-10-17 00:49:33 -04:00
TwiN
92b85ee1ab
ui: Improve login page
2022-10-17 00:48:40 -04:00
TwiN
a789deb8c2
ui: Render div instead of a when link is blank ( #346 )
...
Fixes #343
2022-10-17 00:03:15 -04:00
TwiN
3c0ea72a5c
ci: Bump docker/build-push-action to v3
2022-10-10 22:11:19 -04:00
TwiN
d17e893131
docs: Uniformize number of newlines between each header
2022-10-10 22:05:48 -04:00
TwiN
7ea34ec8a8
docs: Add link for sponsoring below description
2022-10-10 21:49:55 -04:00
TwiN
f6b99f34db
ci: Add missing concurrency.group parameter
2022-10-09 23:08:52 -04:00
TwiN
37495ac3f3
ci: Prevent publish-latest workflow from running concurrently
2022-10-09 23:02:05 -04:00
TwiN
557f696f88
fix(alerting): Encode messagebird request body using json.Marshal
2022-10-09 22:59:18 -04:00
TwiN
c86492dbfd
fix(alerting): Encode ntfy request body using json.Marshal
...
Relevant: #336
2022-10-09 22:58:18 -04:00
TwiN
8a4db600c9
test: Add tests for endpoint display name
2022-10-09 21:34:36 -04:00
TwiN
02879e2645
ci: Bump docker/build-push-action to v3 and add "stable" tag
2022-10-09 21:33:55 -04:00
TwiN
00b56ecefd
feat: Bundle assets in binary using go:embed ( #340 )
...
Fixes #47
2022-10-09 21:33:31 -04:00
TwiN
47dd18a0b5
test(alerting): Add coverage for ntfy's request body
2022-10-09 16:45:01 -04:00
TwiN
1a708ebca2
test(alerting): Fix tests following change to defaults
2022-10-09 16:45:01 -04:00
TwiN
5f8e62dad0
fix(alerting): Make priority and url optional for ntfy
2022-10-09 16:45:01 -04:00
TwiN
b74f7758dc
docs(alerting): Document how to configure ntfy alerts
2022-10-09 16:45:01 -04:00
TwiN
899c19b2d7
fix: Swap tag for resolved and triggered
2022-10-09 16:45:01 -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
7b2af3c514
chore: Fix alerting provider order
2022-10-09 16:45:01 -04:00
TwiN
4ab7428599
chore: Format code
2022-10-09 16:45:01 -04:00
TwiN
be88af5d48
chore: Update Go to 1.19 + Update dependencies
2022-09-21 20:16:00 -04:00
TwiN
5bb3f6d0a9
refactor: Use %w instead of %s for formatting errors
2022-09-20 21:54:59 -04:00
TwiN
17c14a7243
docs(alerting): Provide better Matrix examples
2022-09-19 22:08:39 -04:00
TwiN
f44d4055e6
refactor(alerting): Clean up Matrix code
2022-09-19 22:08:18 -04:00
TwiN
38054f57e5
feat: Set minimum interval for endpoints with [DOMAIN_EXPIRATION] to 5m
2022-09-15 21:23:14 -04:00
TwiN
33ce0e99b5
chore: Fix typo in deprecation message
2022-09-15 17:41:24 -04:00
TwiN
b5e6466c1d
docs(security): Link "Securing Gatus with OIDC using Auth0" article
2022-09-09 22:59:13 -04:00
TwiN
f89ecd5c64
fix(ui): Decrease size of error message
2022-09-09 22:58:45 -04:00
TwiN
e434178a5c
test(alerting): Make sure ClientConfig is set after IsValid() call in Telegram provider
2022-09-07 19:02:30 -04:00
TwiN
e51abaf5bd
chore: Add check-domain-expiration to placeholder configuration file
2022-09-07 18:19:57 -04:00
TwiN
46d6d6c733
test(alerting): Improve coverage for custom alerting provider
2022-09-07 18:19:20 -04:00
TwiN
d9f86f1155
fix(storage): Default domain_expiration to 0 for SQL when the column doesn't already exist
...
This will prevent temporary issues with the parsing of old results that would otherwise
have a value of NULL for domain_expiration
Fixes an issue introduced by #325
2022-09-07 18:18:26 -04:00
TwiN
01484832fc
feat: Add [DOMAIN_EXPIRATION] placeholder for monitoring domain expiration using WHOIS ( #325 )
...
* feat: Add [DOMAIN_EXPIRATION] placeholder for monitoring domain expiration using WHOIS
* test: Fix issue caused by possibility of millisecond elapsed during previous tests
* test: Fix test with different behavior based on architecture
* docs: Revert accidental change to starttls example
* docs: Fix mistake in comment for Condition.hasIPPlaceholder()
2022-09-06 21:22:02 -04:00
TwiN
4857b43771
test: Improve coverage for Endpoint.Type()
2022-09-01 21:12:29 -04:00
TwiN
52d7cb6f04
ux: Improve endpoint validation by checking type on start
2022-09-01 21:12:29 -04:00
TwiN
5c6bf84106
ux: Improve error message when endpoint is invalid
2022-09-01 21:12:29 -04:00
TwiN
c84ae1cd55
refactor: Remove unused file
2022-09-01 21:12:29 -04:00
TwiN
daf8e3a16f
test(chart): Improve coverage for response time charts
2022-08-30 20:00:04 -04:00
TwiN
df719958cf
chore(remote): Log message about feature being a candidate for removal
2022-08-23 21:38:50 -04:00
TwiN
2be81b8e1a
docs(remote): Add "Remote instances (EXPERIMENTAL)" section
2022-08-22 18:26:36 -04:00
TwiN
4bed86dec9
ui(event): Add divider between each event
2022-08-18 20:24:52 -04:00
TwiN
072cf20cc6
chore(dependencies): Update tailwindcss to 3.1.8
2022-08-18 20:24:08 -04:00
TwiN
cca421e283
refactor(storage): Remove TODO comment about writeThroughCache
2022-08-18 19:29:39 -04:00
TwiN
a044f1d274
docs(storage): Add documentation for storage.caching
2022-08-18 19:29:39 -04:00