Ł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
Łukasz Mierzwa
bef5125e48
fix(ci): improve test coverage
2020-10-04 18:12:27 +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
Frits van Bommel
72d24ad98a
chore(deps): migrate to new sortorder import path
...
See fvbommel/util#7
2020-09-13 17:09:12 +01:00
Łukasz Mierzwa
9ebc1b506c
fix(backend): don't raise false-positive alerts for alertmanagers with no cluster name
2020-09-09 15:27:14 +01:00
Łukasz Mierzwa
757f3478cf
feat(backend): improve alertmanager cluster handling
...
Always use passed cluster name, generate errors if cluster is in unhealthy state
2020-09-08 17:52:37 +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
b3e3de4a22
fix(backend): rebuild alertmanager models
2020-08-25 17:21:49 +01:00
Łukasz Mierzwa
4059f8bb04
chore(backend): drop support for alertmanager <0.19.0
2020-08-25 17:21:49 +01:00
Łukasz Mierzwa
71e61f5f18
fix(api): correctly format numeric filter values in the API response
2020-08-12 12:42:03 +01:00
Łukasz Mierzwa
ffdc843245
fix(backend): update alertmanager client code
2020-07-19 11:57:37 +01:00
Renovate Bot
1690ad3a67
chore(deps): update quay.io/goswagger/swagger docker tag to v0.25.0
2020-07-19 11:57:37 +01:00
Łukasz Mierzwa
5dc839696b
fix(backend): avoid race conditions when generating label colors
2020-07-08 11:21:56 +01:00
Łukasz Mierzwa
63fb49d8a9
fix(backend): don't over-allocate groups in dedup code
2020-07-01 13:57:48 +01:00
Łukasz Mierzwa
760acee8d7
feat(api): expose alert fingerprint in the API response
2020-06-30 23:53:56 +01:00
Łukasz Mierzwa
fcb207f397
fix(api): return label color data as rgba strings
2020-06-25 18:28:49 +01:00
Łukasz Mierzwa
0c65bc7821
feat(tests): add looppointer linter
2020-06-24 22:35:22 +01:00
Łukasz Mierzwa
20dfcd1b6a
chore(tests): add alertmanager 0.21.0 mock files
2020-06-19 14:03:11 +01:00
Łukasz Mierzwa
7a3da15b30
fix(tests): add more test coverage
2020-06-18 14:59:32 +01:00
Łukasz Mierzwa
e9551ed3e1
fix(backend): check for invalid listen.prefix
2020-06-18 14:59:32 +01:00
Łukasz Mierzwa
80ceba51d7
fix(tests): add more test coverage
2020-06-18 14:59:32 +01:00
Łukasz Mierzwa
473353cfd7
fix(backend): update swagger generated code
2020-06-16 09:15:34 +01:00
Renovate Bot
8afa6d6c31
chore(deps): update quay.io/goswagger/swagger docker tag to v0.24.0
2020-06-16 09:15:34 +01:00
Łukasz Mierzwa
1a46986600
fix(backend): cleanup state checks
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
ee718cff23
fix(backend): correctly filter alertmanager data
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
82e762e672
fix(backend): add missing alertmanager filters
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
e72fc2de1d
fix(tests): more test coverage
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
e484580bbf
fix(api): better support for @alertmanager & @cluster filters
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
d07c56d3d8
fix(api): color @cluster label
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
992d07e904
fix(api): fix handling of clusters in silence responses
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
9390bbccc0
feat(api): add @cluster filter
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
91c8170433
fix(backend): add ClusterName() method
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
4f58ff2e58
feat(backend): use cluster name from config
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
e52cc91964
feat(config): add cluster option to alertmanager instances
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
c74479d435
fix(api): expose alert fingerprint in the API
2020-05-30 18:12:54 +01:00
Łukasz Mierzwa
fbef0aeb5f
fix(backend): reduce number of memory allocations
2020-05-28 18:44:13 +01:00
Łukasz Mierzwa
9563b9119d
feat(test): report more metrics when running go benchmarks
2020-05-23 17:06:11 +01:00
Łukasz Mierzwa
4b927a3f92
feat(api): expose all receivers in the API response
2020-05-14 16:45:49 +01:00
Łukasz Mierzwa
b379e091c7
fix(tests): add annotation custom order sort tests
2020-05-09 15:18:56 +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
51f5c816a5
fix(tests): more test coverage
2020-04-21 17:33:31 +01:00
Łukasz Mierzwa
215242dc51
fix(tests): add more annotation tests
2020-04-20 22:59:48 +01:00
Łukasz Mierzwa
bc9b711d0f
fix(ui): correctly handle annotations with spaces after the link
...
Fixes #1648
2020-04-20 22:59:48 +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
e1b548fc93
fix(tests): add more test coverage
2020-04-05 12:50:15 +01:00