TwiN
89e6e4abd8
fix(alerting): Omit nil structs within alerting provider struct
2022-01-11 20:13:37 -05:00
TwiN
4700f54798
docs: Remove outdated comment
2022-01-11 20:11:25 -05:00
TwiN
9ca4442e6a
docs: Add missing section "Configuring Opsgenie alerts"
2022-01-11 20:10:06 -05:00
TwiN
c466542990
test(security): Add tests for basic auth with bcrypt
2022-01-08 19:59:45 -05:00
TwiN
9cb8c37298
fix(security): Make sure to panic on start if the security middlewares return an error
2022-01-08 19:59:45 -05:00
TwiN
f6f7e15735
docs(security): Add warning about using a high cost for bcrypt
2022-01-08 19:59:45 -05:00
TwiN
c712133df0
feat(security): Implement Bcrypt for basic auth and deprecate SHA512
...
I've re-written the code for this several times before but always ended up not going through with it because a hashed Bcrypt string has dollar signs in it, which caused issues with the config due to environment variable support.
I finally decided to go through with it by forcing users to base64 encode the bcrypt hash
2022-01-08 19:59:45 -05:00
TwiN
fc016bd682
feat(ui): Make logo link and header configurable
...
Closes #213
2022-01-08 15:24:22 -05:00
TwiN
0e586e4152
refactor: Split direct and indirect modules
2022-01-06 23:24:07 -05:00
TwiN
ea425773e0
style: Use SVG instead of PNG for GitHub's logo
2022-01-03 21:41:53 -05:00
TwiN
10949b11f4
fix(oidc): Default isAuthenticated to true, not false
2022-01-02 21:37:15 -05:00
TwiN
0e022d04b1
chore: Fix inconsistent indentation + Rebuild assets
2022-01-02 21:14:01 -05:00
TwiN
3319e158b5
branding: Update logo
2022-01-02 21:14:01 -05:00
TwiN
f467a77ae2
chore: Upgrade Tailwind from v2 to v3
2022-01-02 21:14:01 -05:00
TwiN
56048725e4
oidc: Display error if applicable
2022-01-02 21:14:01 -05:00
TwiN
425c1d3674
oidc: Add /api/v1/config route for determining whether to display a login button on the UI
2022-01-02 21:14:01 -05:00
TwiN
8838f6f2ad
oidc: Add documentation
2022-01-02 21:14:01 -05:00
TwiN
139a78b2f6
oidc: Log when a subject tries to authenticate but isn't allowed
2022-01-02 21:14:01 -05:00
TwiN
dd5e3ee7ee
Add tests for OIDC
2022-01-02 21:14:01 -05:00
TwiN
9f8f7bb45e
Fix codecov configuration
2022-01-02 21:14:01 -05:00
TwiN
27e246859e
Use code coverage target instead of threshold
2022-01-02 21:14:01 -05:00
TwiN
f1688ac87a
Set code coverage threshold to 75%
2022-01-02 21:14:01 -05:00
TwiN
54779e1db8
Fix basic security tests
2022-01-02 21:14:01 -05:00
TwiN
be9087bee3
#205 : Work on supporting OpenID Connect for auth
2022-01-02 21:14:01 -05:00
TwiN
4ab5724fc1
Default to dark theme
2022-01-02 21:14:01 -05:00
TwiN
45a47940ad
#205 : Start working on adding support for IODC
2022-01-02 21:14:01 -05:00
TwiN
1777d69495
Remove unnecessary check
2021-12-14 23:26:18 -05:00
TwiN
b67701ff6d
BREAKING: Replace metrics
2021-12-13 19:38:20 -05:00
TwiN
eb9acef9b5
Minor update
2021-12-13 19:38:20 -05:00
TwiN
00aec70fb8
Update dependencies
2021-12-13 19:38:20 -05:00
TwiN
18d28fc362
Add tests for validation of description
2021-12-12 17:03:11 -05:00
TwiN
eb3545e994
Add tests for Slack alert body with endpoint that has a group
2021-12-12 17:03:11 -05:00
TwiN
ad71c8db34
Support displaying group name when applicable for every alert provider
2021-12-12 17:03:11 -05:00
TwiN
6da281bf4e
Disallow certain characters in endpoint name, group and alert description
2021-12-12 17:03:11 -05:00
TwiN
3dd8ba1a99
Add missing alert type
2021-12-09 21:18:44 -05:00
TwiN
2503d21522
Refactor Opsgenie alerting provider code
2021-12-09 21:18:25 -05:00
TwiN
36a3419aec
Update .gitignore
2021-12-09 20:40:28 -05:00
TwiN
b5a26caa08
Merge pull request #217 from ianagbip1oti/patch-3
...
Grammatical Fix
2021-12-09 01:19:54 -05:00
TwiN
4fa86a2c46
Merge pull request #216 from ianagbip1oti/patch-2
...
Grammatical Fix
2021-12-09 01:14:51 -05:00
TwiN
d9201c5084
Merge pull request #215 from ianagbip1oti/patch-1
...
Grammatical fix
2021-12-09 01:08:27 -05:00
TwiN
f89447badc
Merge pull request #211 from Juneezee/deprecate-ioutil
...
refactor: move from io/ioutil to io and os packages
2021-12-03 20:31:31 -05:00
TwiN
14c42f6e6d
Fix #212 : Stale endpoint on dashboard after config change
2021-12-03 18:20:14 -05:00
TwiN
5eb7763052
Implement email alerts
2021-12-02 23:31:14 -05:00
TwiN
8c73ae6035
Fix #22 : Improve alerting provider tests by mocking HTTP client
2021-12-02 23:10:21 -05:00
TwiN
6954e9dde7
Move alerting provider mocked tests at the watchdog level
2021-12-02 22:15:51 -05:00
TwiN
f6336eac4e
Fix #117 : Implement email alerts
2021-12-02 21:05:17 -05:00
TwiN
0331c18401
Make sure cache is disabled for badges and charts
2021-11-24 18:36:31 -05:00
TwiN
1f8fd29dad
Get rid of Discord link
...
I don't have time to manage a community 😩
2021-11-23 19:18:29 -05:00
TwiN
5877c4b2be
Update TwiN/health to v1.3.0
2021-11-19 23:43:24 -05:00
TwiN
c6d0809ecc
Hide Alert.ResolveKey and Alert.Triggered
2021-11-18 00:11:32 -05:00
TwiN
cf8a601104
Add more images to README.md
2021-11-17 21:47:38 -05:00
TwiN
96a0eebc0c
Change license to Apache 2 ( #203 )
...
Call me indecisive if you want, since I've done this once before (see 70c9c4b87c ), but after thing about the pros and cons, I decided that Apache 2 offers better protection for Gatus
2021-11-17 21:47:06 -05:00
TwiN
2af3425b9e
Fix #202 : Postgres error when an endpoint has a second page but others do not
2021-11-16 22:56:16 -05:00
TwiN
31bf2aeb80
Update TwiN/health to v1.1.0
2021-11-15 20:11:13 -05:00
TwiN
787f6f0d74
Add feedback email address
2021-11-12 00:32:11 -05:00
TwiN
17a431321c
Pass http.NoBody instead of nil as body
2021-11-11 00:14:00 -05:00
TwiN
05e9add16d
Regenerate static assets
2021-11-09 00:16:48 -05:00
TwiN
c4ef56511d
Update dependencies
2021-11-09 00:07:44 -05:00
TwiN
cfa2c8ef6f
Minor updates
2021-11-09 00:06:41 -05:00
TwiN
f36b6863ce
Minor update
2021-11-08 23:54:06 -05:00
TwiN
24482cf7a0
Fix icon_url for Mattermost
2021-11-08 21:07:16 -05:00
TwiN
d661a0ea6d
Add logo.png in .github/assets
2021-11-08 21:05:16 -05:00
TwiN
a0ec6941ab
Display number of days rather than hours if >72h
2021-11-08 20:57:58 -05:00
TwiN
5e711fb3b9
Use http.Error instead of writer.Write
2021-11-08 20:56:35 -05:00
TwiN
ab66e7ec8a
Fix badge examples
2021-11-08 02:22:43 -05:00
TwiN
08aba6cd51
Minor updates
2021-11-04 21:40:05 -04: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
dd70136e6c
Omit empty hostname and errors field
2021-11-03 22:18:23 -04:00
TwiN
a94c480c22
Fix typo in comment
2021-11-03 22:17:58 -04:00
TwiN
10fd4ecd6b
Minor fixes
2021-11-03 19:48:58 -04: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
257f859825
Rename getPagerDutyIntegrationKeyForGroup to getIntegrationKeyForGroup
2021-10-27 23:16:05 -04:00
TwiN
3a4ab62ddd
#191 : Handle memory issue caused by migration from Service to Endpoint
2021-10-24 21:20:01 -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
b59ff6f89e
Add ServiceAccount to Kubernetes example
2021-10-24 15:33:15 -04:00
TwiN
813fea93ee
#167 : Rename examples/minimal to .examples/docker-minimal
2021-10-24 15:27:25 -04:00
TwiN
8f50e44b45
#167 : Rename examples/ to .examples/
2021-10-24 15:20:39 -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
634123d723
Add support for armv6
2021-10-18 12:16:31 -04:00
TwiN
75c25ac053
Don't support garbage browser versions
2021-10-08 00:21:29 -04:00
TwiN
8088736d6e
Fix workflow
2021-10-07 22:42:37 -04:00
TwiN
6c45f5b99c
⚠ Migrate TwinProduction/gatus to TwiN/gatus
2021-10-07 21:28:04 -04:00
TwiN
422eaa6d37
Fix typo
2021-10-07 20:55:15 -04:00
TwinProduction
c423afb0bf
Fix #182 : Fix ICMP on Docker Linux
2021-10-07 01:21:13 -04:00
TwinProduction
835f768337
Shorten comment
2021-10-07 01:08:42 -04:00
TwinProduction
b3d0e54af2
Minor update
2021-10-07 01:08:17 -04:00
TwinProduction
1451cdfa64
Fix typo
2021-10-05 22:36:08 -04:00
TwinProduction
53cc9d88e5
Minor update
2021-10-05 20:44:18 -04:00
TwinProduction
a6bc0039e9
Rename integrations to overrides
2021-10-05 20:40:44 -04:00
TwinProduction
154bc7dbc6
Update dependencies
2021-10-03 22:15:20 -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
d19f564e4e
Ensure that tested hour never goes negative
2021-10-03 21:50:58 -04:00
TwinProduction
babe7b0be9
Update Go to 1.17
2021-10-03 15:03:09 -04:00
TwinProduction
dee04945d0
Minor update
2021-10-03 15:03:09 -04:00
TwinProduction
bf455fb7cc
Fix issue with under maintenance feature
2021-10-01 02:33:37 -04:00
TwinProduction
dfd2f7943f
Fix issue with privileged call on linux
2021-10-01 02:33:16 -04:00
TwinProduction
fece11540b
Remove unnecessary rows.Close() calls
2021-09-30 21:19:57 -04:00