Jens Langhammer
|
994c5882ab
|
root: fix error if secret_key is purely numerical
closes #2099
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-18 09:17:33 +01:00 |
|
Jens Langhammer
|
0db0a12ef3
|
root: rename csrf header
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-16 16:17:44 +01:00 |
|
Jens Langhammer
|
111fbf119b
|
*: refactor prometheus gauges to directly updating metrics view
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-16 13:57:07 +01:00 |
|
Jens Langhammer
|
92cc0c9c64
|
root: decrease to 10 backup history
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-14 19:59:50 +01:00 |
|
Jens Langhammer
|
fae6d83f27
|
*: simplify extracting current version info
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-13 17:47:31 +01:00 |
|
Jens Langhammer
|
ed84fe0b8d
|
root: set samesite for csrf cookie
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-12 23:14:14 +01:00 |
|
Jens Langhammer
|
f9a5add01d
|
root: include build in analytics
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-12 22:18:52 +01:00 |
|
Jens Langhammer
|
2986b56389
|
root: fix backups running every minute instead of once
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-12 22:09:44 +01:00 |
|
Jens Langhammer
|
0027dbc0e5
|
root: remove old api path
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-06 22:21:21 +01:00 |
|
Jens Langhammer
|
22d6621b02
|
root run backup every 24 hours
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-06 15:29:11 +01:00 |
|
Jens Langhammer
|
6e53f1689d
|
policies/reputation: rework reputation to use a single entry, include geo_ip data
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-05 21:02:33 +01:00 |
|
Jens Langhammer
|
31ba543c62
|
*: don't use exception keyword with structlog
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-03 21:33:52 +01:00 |
|
Jens Langhammer
|
22d1dd801c
|
root: also use analytics uuid for sentry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-24 15:13:27 +01:00 |
|
Jens Langhammer
|
c78236a2a2
|
root: don't set secure cross opener policy
closes #1977
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-21 19:16:22 +01:00 |
|
Jens Langhammer
|
3da526f20e
|
root: allow trace log level to work for core/embedded
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-20 21:11:47 +01:00 |
|
Jens Langhammer
|
8e6fcfe350
|
root: fix inconsistent URL quoting of redis URLs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-18 22:24:41 +01:00 |
|
Jens Langhammer
|
71a22c2a34
|
outposts: add unittests for docker controller
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-17 13:42:33 +01:00 |
|
Jens Langhammer
|
6ff8fdcc49
|
root: enable threading integration in sentry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-15 15:49:08 +01:00 |
|
Jens Langhammer
|
8cdf22fc94
|
root: set default redis iter to 1000
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-12 20:24:43 +01:00 |
|
Jens Langhammer
|
8a8aafec81
|
root: enable boto3 sentry integration
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-12 14:38:24 +01:00 |
|
Jens Langhammer
|
e3129c1067
|
root: bump celery messages to info
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-11 13:59:56 +01:00 |
|
Jens Langhammer
|
b761659227
|
root: use ghcr for containers during testing
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-10 20:57:09 +01:00 |
|
Jens Langhammer
|
6209714f87
|
policies/expression: add ak_call_policy
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-09 09:39:28 +01:00 |
|
Jens Langhammer
|
1ed2bddba7
|
root: fix celery task ID not being included in log
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-09 09:36:52 +01:00 |
|
Jens Langhammer
|
26b35c9b7b
|
root: fix name conflict in threadlocal
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-08 21:42:48 +01:00 |
|
Jens Langhammer
|
86a9271f75
|
root: add request_id to celery tasks, prefixed with "task-"
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-08 21:34:20 +01:00 |
|
Jens Langhammer
|
402ed9bd20
|
root: allow usage of --randomly-seed for testing
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-08 21:33:41 +01:00 |
|
Jens Langhammer
|
7e316b5fc2
|
root: add missing sample_rate default
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-02 19:54:37 +01:00 |
|
Jens Langhammer
|
e3a5ef1907
|
root: make sentry sample rate configurable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-29 13:52:34 +01:00 |
|
Jens Langhammer
|
363aed2a47
|
root: url quote redis passwords for connection string
closes https://github.com/goauthentik/helm/issues/39
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-25 18:05:36 +01:00 |
|
Jens Langhammer
|
75724b6f8d
|
root: make testing output more consistent
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-23 23:46:27 +01:00 |
|
Jens Langhammer
|
b2d2e7cbc8
|
tests/e2e: remove logger
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-23 21:19:33 +01:00 |
|
Jens Langhammer
|
91fd792f88
|
tests/e2e: use generated uid
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-23 19:19:13 +01:00 |
|
Jens Langhammer
|
d785998c5a
|
Revert "root: disable random tests for now"
This reverts commit 8ba9553220 .
|
2021-11-23 18:46:51 +01:00 |
|
Jens Langhammer
|
8ba9553220
|
root: disable random tests for now
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-23 17:57:56 +01:00 |
|
Jens Langhammer
|
e32d4f0095
|
tests/e2e: don't run e2e tests randomly for now
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-23 00:32:24 +01:00 |
|
Jens Langhammer
|
61621e7d60
|
lifecycle: improve backup restore by dropping database before
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-20 00:32:24 +01:00 |
|
Jens Langhammer
|
bb6eed0db1
|
root: properly catch 404 errors for websocket connections
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-19 23:19:07 +01:00 |
|
Jens Langhammer
|
e831e4fb94
|
root: add lifespan shim to prevent errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-16 13:25:03 +01:00 |
|
Jens Langhammer
|
638e8d741f
|
*: fix multiple tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-16 10:38:21 +01:00 |
|
Jens Langhammer
|
d12e24017e
|
outposts: add websocket tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-15 23:58:19 +01:00 |
|
Jens Langhammer
|
867fb0dac0
|
root: fix settings for managed not loaded
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-15 19:49:03 +01:00 |
|
Jens Langhammer
|
2666aa2c73
|
root: add errorhandling in log middleware
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-15 17:11:44 +01:00 |
|
Jens Langhammer
|
e08077c73a
|
root: replace asgi-based logger with middleware
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-15 16:32:56 +01:00 |
|
Jens Langhammer
|
e73606b54d
|
root: catch error in analytics on startup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-10 11:28:08 +01:00 |
|
Jens Langhammer
|
5d479a6c8f
|
root: set utm_source
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-09 23:23:47 +01:00 |
|
Jens Langhammer
|
9ca15983a2
|
root: keep last 30 backups
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-08 17:46:25 +01:00 |
|
Jens Langhammer
|
c6cc1b1728
|
root: fix defaults for EMAIL_USE_TLS
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-07 21:37:14 +01:00 |
|
Jens Langhammer
|
8d766efecb
|
root: don't set signal on start when running in ci or dev
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-04 14:32:21 +01:00 |
|
Jens Langhammer
|
bcd42fce13
|
root: further improve detection of environment we're running in
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-11-04 13:35:22 +01:00 |
|