116 Commits

Author SHA1 Message Date
Łukasz Mierzwa
0a8769054a chore(backend): use any instead of interface{} 2022-03-19 17:38:28 +00:00
Łukasz Mierzwa
ded6716f86 fix(project): drop sentry support 2022-03-15 14:44:40 +00:00
Łukasz Mierzwa
5fa49ace2f feat(backend): show recently expired silences 2021-12-19 13:20:19 +00:00
Łukasz Mierzwa
650fdca8e6 feat(ci): use goimports to format import statements 2021-12-16 20:51:52 +00:00
Łukasz Mierzwa
087c9c1398 feat(backend): add tls options for history requests
Fixes #3707
2021-12-16 19:07:43 +00:00
Alex Kampmeier
d3df971af5 fix(config): support tls config via env variables for single alertmanager server 2021-11-10 11:55:21 +00:00
Łukasz Mierzwa
14ce63f7dc fix(backend): enable more linters in golangci-lint 2021-11-03 17:16:14 +00:00
Łukasz Mierzwa
d172c58a1a feat(backend): add labels:order config option
Fixes #3500
2021-11-01 11:00:46 +00:00
Łukasz Mierzwa
c90a5063ef fix(api): move static & valueOnly label information to a map 2021-11-01 00:18:05 +00:00
Alex Kampmeier
23fb5484d6 feat(config): add config parameter labels.valueOnly_re 2021-10-28 10:44:38 +01:00
Alex Kampmeier
7018eb1c8b feat(config): add config parameters labels.keep_re and labels.strip_re 2021-10-28 10:44:38 +01:00
Łukasz Mierzwa
b0994fe868 fix(tests): fix failing test 2021-10-23 14:38:54 +01:00
Łukasz Mierzwa
4ccc0a35ab fix(auth): add missing test coverage 2021-10-23 14:38:54 +01:00
Taavi Väänänen
9b89b4ee2a feat(auth): allow reading user groups from headers
Closes: #3361
Signed-off-by: Taavi Väänänen <hi@taavi.wtf>
2021-10-23 14:38:54 +01:00
Łukasz Mierzwa
75b2789597 feat(backend): add labels:valueOnly config option 2021-07-19 20:04:05 +01:00
Łukasz Mierzwa
04379fc3cc feat(ui): paginate api 2021-06-28 12:28:40 +01:00
Łukasz Mierzwa
19d7a29551 fix(ci): enable revive linter 2021-05-28 21:28:31 +01:00
Łukasz Mierzwa
caf18887ea feat(backend): support isEqual silence field in ACLs 2021-05-18 17:08:44 +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
12c4a22d71 feat(project): show alert history 2021-05-01 19:37:29 +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
6f496cf450 feat(backend): add http server timeouts 2021-04-02 19:30:30 +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
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
f68399cc70 feat(ui): allow moving annotations to alert dropdown menu
Fixes #2596
2021-03-06 16:01:50 +00:00
Łukasz Mierzwa
477e8f29bb feat(backend): add healthcheck:visible config option
Fixes #2614
2021-01-17 12:59:19 +00:00
Łukasz Mierzwa
17b4e943b8 feat(backend): add healtcheck:filters option 2020-12-13 13:18:38 +00:00
Łukasz Mierzwa
2b963c65d1 feat(ui): allow customising ack silence comment
Fixes #2369
2020-11-24 19:52:56 +00:00
Łukasz Mierzwa
feaad60007 feat(backend): add config option to listen on HTTPS 2020-11-20 19:26:41 +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
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
c8d706bb91 feat(backend): fail on unknown keys in the config file 2020-09-27 20:40:18 +01:00
Łukasz Mierzwa
940eacd0ea feat(backend): fail on unknown keys in ACL config file 2020-09-27 20:40:18 +01:00
Łukasz Mierzwa
958653a505 fix(tests): refactor testscript tests 2020-09-25 19:11:50 +01:00
Łukasz Mierzwa
5c0ad44fb3 feat(backend): allow using regex rules in requiredMatcher acl actions
Fixes #2001
2020-09-08 12:50:20 +01:00
Łukasz Mierzwa
e9551ed3e1 fix(backend): check for invalid listen.prefix 2020-06-18 14:59:32 +01:00
Łukasz Mierzwa
e52cc91964 feat(config): add cluster option to alertmanager instances 2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
7711f3bcd6 fix(tests): update tests with annotations order option 2020-05-09 15:18:56 +01:00
Benoît Knecht
7f3846b9f8 feat(backend): Add option to order annotations
The `annotations.order` option lets users pass a list of annotation names in
the order they want them displayed. Any annotation that isn't in the list is
shown after the annotations from the list, in alphabetical order.

For instance, with

```yaml
annotations:
  order:
  - summary
  - description
```

an alert with `description`, `help`, `runbook` and `summary` annotations will
have them displayed in that order:

- `summary`
- `description`
- `help`
- `runbook`

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
2020-05-09 15:18:56 +01:00
Łukasz Mierzwa
1e787e0c9c fix(backend): ensure alertmanager server uses default name if not set
Fixes #1646
2020-04-20 15:52:58 +01:00
Łukasz Mierzwa
53289a1a06 feat(backend): add multi-grid UI options to configuration file 2020-03-31 09:16:55 +01:00
Łukasz Mierzwa
4117a0b391 fix(backend): anchor all regexes in the config 2020-03-26 16:12:23 +00:00
Łukasz Mierzwa
225bf73373 fix(backend): remove empty config slice checks 2020-03-25 22:41:51 +00:00
Łukasz Mierzwa
6313077150 feat(backend): add configuration options for silence ACL rules 2020-03-09 22:28:43 +00:00