Commit Graph

7424 Commits

Author SHA1 Message Date
Jens Langhammer dd7cb45733 root: handle liveness probe in router (also keep internal one)
This reverts commit d39dbc7287.

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-12 18:43:39 +02:00
Jens Langhammer 2b09d97522 core: fix squash migrations error when AK_ADMIN_TOKEN is set
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-12 17:45:10 +02:00
Jens Langhammer d39dbc7287 root: handle liveness probe in router
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-12 14:54:15 +02:00
Jens Langhammer 48f96ea55f lifecycle: only set prometheus_multiproc_dir in ak wrapper to prevent full disk on worker
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-12 14:44:32 +02:00
Jens Langhammer 22a7c25526 internal: call GetStore on application to improve logging
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-12 13:33:20 +02:00
Jens Langhammer cc69311ec0 stages/authenticator_validate: add new class
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-12 13:13:31 +02:00
Jens Langhammer 15d7004e25 tests/e2e: use vanity urls
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-12 12:38:23 +02:00
Jens Langhammer ddb70a283e managed: don't run managed reconciler in foreground on startup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-12 12:10:46 +02:00
Jens Langhammer ecfc3a6d93 *: migrate everything to goauthentik.io docker proxy
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-12 11:04:47 +02:00
Jens L 5753182e03
root: migrate docker images to netlify proxy (#1603)
* migrate to netlify proxy

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* relative forward to func

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* custom logic for go paths

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* fix const

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* missing break

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* add default for new repos

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-12 10:58:02 +02:00
dependabot[bot] db79244ba4
build(deps): bump @typescript-eslint/eslint-plugin in /web (#1602)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.33.0 to 5.0.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.0.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-12 09:26:39 +02:00
dependabot[bot] 3231bcea66
build(deps): bump eslint from 7.32.0 to 8.0.0 in /web (#1596) 2021-10-12 08:34:10 +02:00
dependabot[bot] 5e0299ca82
build(deps): bump @types/codemirror from 5.60.4 to 5.60.5 in /web (#1597) 2021-10-12 08:33:01 +02:00
dependabot[bot] 42e35aace0
build(deps-dev): bump coverage from 6.0.1 to 6.0.2 (#1598) 2021-10-12 08:32:23 +02:00
dependabot[bot] d96cfc8e30
build(deps): bump goauthentik.io/api from 0.202198.2 to 0.202198.3 (#1599) 2021-10-12 08:32:13 +02:00
dependabot[bot] 36c97afc44
build(deps): bump django-storages from 1.12 to 1.12.1 (#1600) 2021-10-12 08:32:02 +02:00
dependabot[bot] 9c322be8d7
build(deps): bump boto3 from 1.18.58 to 1.18.59 (#1601) 2021-10-12 08:31:51 +02:00
Jens Langhammer cf09205933 website/docs: fix sidebar
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-11 22:45:24 +02:00
Jens Langhammer e851a7f294 website/docs: add missing make migrate
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-11 22:33:31 +02:00
Jens L e4f141c6c0
*: Squash Migrations (#1593)
* *: first squash pass

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* sources/saml: squash less

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* outposts: fix docker controller not correctly checking image

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* tests/e2e: fix old migration reference

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-11 21:39:35 +02:00
Jens Langhammer 35fa93d9aa ci: fix missing gettext
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-11 17:59:52 +02:00
github-actions[bot] 2bdc0102f9
web: Update Web API Client version (#1592)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: BeryJu <BeryJu@users.noreply.github.com>
2021-10-11 17:53:43 +02:00
Jens L aef9d27706
stages/authenticator_sms: Add SMS Authenticator Stage (#1577)
* stages/authenticator_sms: initial implementation

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web/admin: add initial stage UI

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web/elements: clear invalid state when old input was invalid but new input is correct

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* stages/authenticator_sms: add more logic

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web/user: add basic SMS settings

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* stages/authenticator_sms: initial working version

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* stages/authenticator_sms: add tests

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web/flows: optimise totp password manager entry on authenticator_validation stage

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web/elements: add grouping support for table

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web/admin: allow sms class in authenticator stage

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web/admin: add grouping to more pages

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* stages/authenticator_validate: add SMS support

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* api: add throttling for flow executor based on session key and pending user

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web: fix style issues

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* ci: add workflow to compile backend translations

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-11 17:51:49 +02:00
Jens L 7bf587af24
ci: push dev images to ghcr (#1591)
* ci: push dev images to ghcr

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* *: use new ghcr images

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* website/docs: use ghcr proxy

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-11 14:08:34 +02:00
Jens Langhammer ef1cf7867c Revert "build(deps): bump eslint from 7.32.0 to 8.0.0 in /web (#1584)"
This reverts commit e22b8f5fdc.
2021-10-11 13:43:36 +02:00
Jens Langhammer da443b443c website: use ghcr proxy for registry
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-11 10:08:21 +02:00
dependabot[bot] f4322e665a
build(deps): bump github.com/go-openapi/strfmt from 0.20.2 to 0.20.3 (#1585)
Bumps [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt) from 0.20.2 to 0.20.3.
- [Release notes](https://github.com/go-openapi/strfmt/releases)
- [Commits](https://github.com/go-openapi/strfmt/compare/v0.20.2...v0.20.3)

---
updated-dependencies:
- dependency-name: github.com/go-openapi/strfmt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 09:20:36 +02:00
dependabot[bot] e22b8f5fdc
build(deps): bump eslint from 7.32.0 to 8.0.0 in /web (#1584) 2021-10-11 08:33:38 +02:00
dependabot[bot] a18176af56
build(deps): bump react-before-after-slider-component in /website (#1583) 2021-10-11 08:32:48 +02:00
dependabot[bot] 4132fd139c
build(deps): bump goauthentik.io/api from 0.202197.2 to 0.202198.2 (#1586) 2021-10-11 08:32:28 +02:00
dependabot[bot] b077bb8783
build(deps): bump github.com/go-openapi/runtime from 0.19.31 to 0.20.0 (#1587) 2021-10-11 08:32:20 +02:00
dependabot[bot] 69665d9547
build(deps): bump pycryptodome from 3.10.4 to 3.11.0 (#1588) 2021-10-11 08:32:11 +02:00
dependabot[bot] d0f056357d
build(deps): bump boto3 from 1.18.57 to 1.18.58 (#1589) 2021-10-11 08:32:02 +02:00
Ilya Kogan 9ed236f7ab
outposts/ldap: Support hard coded `uidNumber` and `gidNumber`. (#1582) 2021-10-10 23:43:36 +02:00
Jens Langhammer 83f4830946 website: add netlify config file
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-10 22:26:33 +02:00
github-actions[bot] e23df99a9e
web: Update Web API Client version (#1580)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: BeryJu <BeryJu@users.noreply.github.com>
2021-10-10 18:57:23 +02:00
Jens Langhammer b80ecd4668 stages/prompt: fix wrong field type of field_key
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-10 18:54:56 +02:00
github-actions[bot] 66ca488ea0
web: Update Web API Client version (#1579)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: BeryJu <BeryJu@users.noreply.github.com>
2021-10-10 14:43:58 +02:00
Jens Langhammer d959b7a930 Merge branch 'version-2021.9' 2021-10-10 14:35:40 +02:00
Jens Langhammer 62ae3f1e31 website/docs: prepare 2021.9.8
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-10 13:22:36 +02:00
Jens Langhammer 619203c177 release: 2021.9.8 2021-10-10 13:12:26 +02:00
Jens Langhammer a1adf382af root: don't compilemessages in build process since it requires redis, do it on startup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-09 23:38:25 +02:00
Jens Langhammer 834bddd0da root: add AUTHENTIK_SECRET_KEY for compilemessages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-09 22:52:32 +02:00
Jens Langhammer 7d9251ce2f root: fix linting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-09 20:56:49 +02:00
github-actions[bot] fb13a46252
web: Update Web API Client version (#1576)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: BeryJu <BeryJu@users.noreply.github.com>
2021-10-09 20:23:38 +02:00
Jens Langhammer dfefdbfd7c root: compile messages for backend in docker
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-09 20:11:51 +02:00
Jens Langhammer 846c971674 root: add translation for backend strings
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-09 20:07:28 +02:00
Jens Langhammer 5b7e1f97e0 stages/authenticator_duo: remove signals
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-09 19:29:35 +02:00
Jens Langhammer dff0613b3d crypto: add managed field, prepare managed JWT cert
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-10-09 19:14:39 +02:00
github-actions[bot] 0a4343d61b
web: Update Web API Client version (#1575)
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: BeryJu <BeryJu@users.noreply.github.com>
2021-10-09 16:05:02 +02:00