Commit Graph

310 Commits

Author SHA1 Message Date
Łukasz Mierzwa
50cd656cf3 fix(backend): use randomcolor fork
Forked code doesn't require any locks
2021-07-05 22:20:33 +01:00
Łukasz Mierzwa
6b52155601 chore(api): refactor cluster filters source 2021-07-04 23:25:34 +01:00
Łukasz Mierzwa
dcfbea3376 chore(api): refactor grid label select source 2021-07-03 12:36:02 +01:00
Łukasz Mierzwa
04379fc3cc feat(ui): paginate api 2021-06-28 12:28:40 +01:00
Łukasz Mierzwa
a6bc8813ca fix(ui): fix history being fetched twice 2021-06-27 15:36:21 +01:00
Łukasz Mierzwa
19d7a29551 fix(ci): enable revive linter 2021-05-28 21:28:31 +01:00
Łukasz Mierzwa
954d3fe0ab chore(ci): add alertmanager v0.22.1 2021-05-27 14:15:35 +01:00
Łukasz Mierzwa
9726f4850a fix(ci): use alertmanager v0.22.0 instead of rc 2021-05-24 15:07:20 +01:00
Łukasz Mierzwa
caf18887ea feat(backend): support isEqual silence field in ACLs 2021-05-18 17:08:44 +01:00
Łukasz Mierzwa
19345cc53a feat(ui): add support for alertmanager v0.22.0 2021-05-15 11:41:01 +01:00
Łukasz Mierzwa
c812c25393 feat(backend): add alert history source rewrite rules
Fixes #3064
2021-05-04 13:28:35 +01:00
Łukasz Mierzwa
b7f0f0cc33 fix(api): use relative URIs for proxy endpoints
Fixes #3060.
2021-05-03 19:41:27 +01:00
Łukasz Mierzwa
12c4a22d71 feat(project): show alert history 2021-05-01 19:37:29 +01:00
Łukasz Mierzwa
31d21f29cf chore(backend): use hashicorp/golang-lru for internal cache 2021-04-25 18:38:29 +01:00
Łukasz Mierzwa
9222133df8 fix(backend): allow duplicated upstream URIs
Fixes #3024
2021-04-22 15:24:38 +01:00
Łukasz Mierzwa
e0f52dacbd feat(backend): add auto multi-grid config 2021-04-21 10:51:18 +01:00
Łukasz Mierzwa
e63447238d feat(ui): allow HTML in annotations
Fixes #2886
2021-04-08 19:43:25 +01:00
Łukasz Mierzwa
8addc08d21 chore(backend): upgrade to yaml.v3 2021-04-08 18:44:55 +01:00
Łukasz Mierzwa
a30b702203 fix(backend): avoid potential recursive locks
Fixes #2944
2021-04-06 15:33:45 +01:00
Łukasz Mierzwa
6f496cf450 feat(backend): add http server timeouts 2021-04-02 19:30:30 +01:00
Renovate Bot
accbeea47b chore(deps): update quay.io/goswagger/swagger docker tag to v0.27.0 2021-03-31 17:34:11 +01:00
Łukasz Mierzwa
baf3114ee7 fix(backend): sanitise header values before logging
Fixes #2930.
2021-03-30 23:21:16 +01:00
Łukasz Mierzwa
710c2616b5 fix(tests): fix a typo 2021-03-26 12:46:52 +00:00
Łukasz Mierzwa
c64b900c43 fix(backend): fix a deadlock in ClusterMemberNames()
ClusterMemberNames can aquire read lock twice, which could block write locks.

Fixes #2888
2021-03-22 09:43:31 +00:00
Martin Hrabovcin
17a1d07a67 feat(backend): add support for upstream server connection proxy 2021-03-21 13:49:54 +00:00
Łukasz Mierzwa
5534703db9 fix(tests): more test coverage 2021-03-11 19:05:58 +00:00
Łukasz Mierzwa
9a693524e6 fix(ci): request body must be bytes object 2021-03-09 14:16:12 +00:00
Łukasz Mierzwa
5333bf7568 fix(ci): switch to ubuntu 18 2021-03-09 14:16:12 +00:00
Łukasz Mierzwa
f68399cc70 feat(ui): allow moving annotations to alert dropdown menu
Fixes #2596
2021-03-06 16:01:50 +00:00
Łukasz Mierzwa
de757cd24c chore(backend): regenerate openapi code (#2731) 2021-02-05 18:43:00 +00:00
renovate[bot]
64a5d48cda chore(deps): update quay.io/goswagger/swagger docker tag to v0.26.1 (#2730)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-05 18:15:04 +00:00
Łukasz Mierzwa
0f5d40bde7 chore(backend): regenerate openapi code (#2647) 2021-01-19 11:15:01 +00:00
renovate[bot]
558cf89be1 chore(deps): update quay.io/goswagger/swagger docker tag to v0.26.0 (#2645)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-19 10:56:52 +00:00
Łukasz Mierzwa
477e8f29bb feat(backend): add healthcheck:visible config option
Fixes #2614
2021-01-17 12:59:19 +00:00
Łukasz Mierzwa
52bc3afd6b fix(backend): strip labels from alert group when configured
Fixes #2585
2020-12-29 19:46:31 +00:00
Łukasz Mierzwa
17b4e943b8 feat(backend): add healtcheck:filters option 2020-12-13 13:18:38 +00:00
Łukasz Mierzwa
886a59d97d fix(backend): fail on empty filters 2020-12-13 13:18:38 +00:00
Łukasz Mierzwa
3f3259c9f0 fix(tests): fix flaky tests 2020-12-08 13:26:14 +00:00
Łukasz Mierzwa
49cb8c9192 fix(tests): fix filter test 2020-11-26 18:18:50 +00:00
Łukasz Mierzwa
2b963c65d1 feat(ui): allow customising ack silence comment
Fixes #2369
2020-11-24 19:52:56 +00:00
Łukasz Mierzwa
c4a3478d1f chore(backend): refactor error checks 2020-11-21 18:14:46 +00:00
Łukasz Mierzwa
feaad60007 feat(backend): add config option to listen on HTTPS 2020-11-20 19:26:41 +00:00
Łukasz Mierzwa
6a67d5ba8e fix(backend): simplify version probes 2020-10-30 18:09:23 +00:00
Łukasz Mierzwa
7afda9d9a3 fix(tests): improve test coverage 2020-10-29 19:48:02 +00:00
Łukasz Mierzwa
8ee2a8e744 feat(backend): add log.requests option
This controls request log separately from log.level
2020-10-19 09:59:58 +01:00
Łukasz Mierzwa
640c701295 chore(backend): migrate from gin-gonic/gin to go-chi/chi
Gin comes with a lot of dependencies and doesn't use Go standard http handler.
Chi is smaller and allows to use standard middleware.
2020-10-18 11:57:43 +01:00
Łukasz Mierzwa
170dba8a37 chore(backend): use zerolog instead of logrus 2020-10-15 10:10:00 +01:00
Łukasz Mierzwa
e7b5bf8fd9 feat(backend): configure UI animations defaults in config 2020-10-11 17:09:37 +01:00
Łukasz Mierzwa
54b475da5d fix(backend): correctly handle AUTHENTICATION_HEADER_VALUE_RE env variable
SILENCEFORM_AUTHOR_POPULATE_FROM_HEADER_* env support was removed, but old code is still present, remove it.
Correctly parse AUTHENTICATION_HEADER_VALUE_RE env variable into authentication.header.value_re config option.

Fixes #2246
2020-10-06 12:42:46 +01:00
Łukasz Mierzwa
7f33af0bf5 fix(ci): improve test coverage 2020-10-04 18:12:27 +01:00