Commit Graph

86 Commits

Author SHA1 Message Date
Jens Langhammer 751e77fa9e web: fix package json failing
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-05 01:24:10 +02:00
Jens Langhammer 99d161e212 Merge branch 'master' into outpost-ldap
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

# Conflicts:
#	authentik/core/api/users.py
#	authentik/policies/event_matcher/migrations/0013_alter_eventmatcherpolicy_app.py
2021-05-04 21:02:20 +02:00
Jens Langhammer 4acbda2b77 core: improve messaging on flow_manager, authenticate user when they linked their account after not having been authenticateed
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 18:49:27 +02:00
Jens Langhammer 0f0a5b0621 ci: fix API not being generated for server build
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-04 10:58:37 +02:00
Jens Langhammer 82f6c515ea root: fix readme links to az pipelines
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-22 22:32:38 +02:00
Jens Langhammer 3686cba6b4 root: fix build for static files during e2e
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-30 14:06:11 +02:00
Jens Langhammer 3f6174e8cc ci: fix missing isort
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 18:28:23 +01:00
Jens Langhammer 145ef8b071 ci: start postgres for pylint
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 20:10:38 +01:00
Jens Langhammer 8155d88db7 root: update linters, remove prospector
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 19:52:51 +01:00
Jens Langhammer cd1218c78e Merge branch 'master' into next 2021-03-17 20:09:47 +01:00
Jens Langhammer cf519f48e7 ci: ensure dist exists before client gen
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 00:47:23 +01:00
Jens Langhammer eb884f7ef7 ci: ensure dist exists before client gen
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-17 00:18:37 +01:00
Jens Langhammer 5f024eb1f7 web: use API as dedicated module
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-16 21:32:39 +01:00
Jens Langhammer ce555aa5e9 root: fix hash for docker build
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-16 16:45:53 +01:00
Jens Langhammer 07ca82e599 admin: include git build hash in gh-* tags and show build hash in admin overview
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-16 14:42:01 +01:00
Jens L 2852fa3c5e
web: use generated API Client (#616)
* api: fix types for config API

* api: remove broken swagger UI

* admin: re-fix system task enum

* events: make event optional

* events: fix Schema for notification transport test

* flows: use APIView for Flow Executor

* core: fix schema for Metrics APIs

* web: rewrite to use generated API client

* web: generate API Client in CI

* admin: use x_cord and y_cord to prevent yaml issues

* events: fix linting errors

* web: don't lint generated code

* core: fix fields not being required in TypeSerializer

* flows: fix missing permission_classes

* web: cleanup

* web: fix rendering of graph on Overview page

* web: cleanup imports

* core: fix missing background image filter

* flows: fix flows not advancing properly

* stages/*: fix warnings during get_challenge

* web: send Flow response as JSON instead of FormData

* web: fix styles for horizontal tabs

* web: add base chart class and custom chart for application view

* root: generate ts client for e2e tests

* web: don't attempt to connect to websocket in selenium tests

* web: fix UserTokenList not being included in the build

* web: fix styling for static token list

* web: fix CSRF Token missing

* stages/authenticator_static: fix error when disable static tokens

* core: fix display issue when updating user info

* web: fix Flow executor not showing spinner when redirecting
2021-03-08 11:14:00 +01:00
Jens Langhammer dde5e910cf root: fix name of docker images 2021-03-03 10:36:46 +01:00
Jens Langhammer 662d117b66 root: replace ghcr with harbor for expiry 2021-03-03 00:07:42 +01:00
Jens L 36690de285
root: push PR and branch images to GHCR (#601) 2021-03-01 12:04:56 +01:00
Jens Langhammer 21d6a28715 root: fix branch Name extraction to work on non PRs 2021-02-28 14:24:16 +01:00
Jens Langhammer e930a1d0dc root: run ci on version-* branches 2021-02-27 17:07:11 +01:00
Jens Langhammer 4a94f515b3 root: add next branch 2021-02-18 21:24:34 +01:00
Jens Langhammer 5417d0a90c *: bump pyright version 2021-02-12 10:19:38 +01:00
Jens Langhammer 51cbb7cc8e ci: fix warning when setting branchName in PR 2021-02-05 00:38:08 +01:00
Jens L e25d03d8f4
Managed objects (#519)
* managed: add base manager and Ops

* core: use ManagedModel for Token and PropertyMapping

* providers/saml: implement managed objects for SAML Provider

* sources/ldap: migrate to managed

* providers/oauth2: migrate to managed

* providers/proxy: migrate to managed

* *: load .managed in apps

* managed: add reconcile task, run on startup

* providers/oauth2: fix import path for managed

* providers/saml: don't set FriendlyName when mapping is none

* *: use ObjectManager in tests to ensure objects exist

* ci: use vmImage ubuntu-latest

* providers/saml: add new mapping for username and user id

* tests: remove docker proxy

* tests/e2e: use updated attribute names

* docs: update SAML docs

* tests/e2e: fix remaining saml cases

* outposts: make tokens as managed

* *: make PropertyMapping SerializerModel

* web: add page for property-mappings

* web: add codemirror to common_styles because codemirror

* docs: fix member-of in nextcloud

* docs: nextcloud add admin

* web: fix refresh reloading data two times

* web: add loading lock to table to prevent double loads

* web: add ability to use null in QueryArgs (value will be skipped)

* web: add hide option to property mappings

* web: fix linting
2021-02-03 21:18:31 +01:00
Jens Langhammer 6076ae2f9e ci: fix building for dependabot 2021-01-25 21:11:29 +01:00
Jens Langhammer f8a426f0e8 ci: fix docker tag name for dependabot PRs 2021-01-11 16:18:44 +01:00
Jens Langhammer 9549a7188b ci: fix branchName in PRs 2020-12-24 16:18:06 +01:00
Jens L 1cfe1aff13
wip: rename to authentik (#361)
* root: initial rename

* web: rename custom element prefix

* root: rename external functions with pb_ prefix

* root: fix formatting

* root: replace domain with goauthentik.io

* proxy: update path

* root: rename remaining prefixes

* flows: rename file extension

* root: pbadmin -> akadmin

* docs: fix image filenames

* lifecycle: ignore migration files

* ci: copy default config from current source before loading last tagged

* *: new sentry dsn

* tests: fix missing python3.9-dev package

* root: add additional migrations for service accounts created by outposts

* core: mark system-created service accounts with attribute

* policies/expression: fix pb_ replacement not working

* web: fix last linting errors, add lit-analyse

* policies/expressions: fix lint errors

* web: fix sidebar display on screens where not all items fit

* proxy: attempt to fix proxy pipeline

* proxy: use go env GOPATH to get gopath

* lib: fix user_default naming inconsistency

* docs: add upgrade docs

* docs: update screenshots to use authentik

* admin: fix create button on empty-state of outpost

* web: fix modal submit not refreshing SiteShell and Table

* web: fix height of app-card and height of generic icon

* web: fix rendering of subtext

* admin: fix version check error not being caught

* web: fix worker count not being shown

* docs: update screenshots

* root: new icon

* web: fix lint error

* admin: fix linting error

* root: migrate coverage config to pyproject
2020-12-05 22:08:42 +01:00
Jens L 6164db5a18
root: attempt to build static image without django's collectstatic (#360)
* root: attempt to build static image without django's collectstatic

* web: move static dockerfile to /web

* web: fix dockerfile path

* web: improve image size by not copying node_modules
2020-12-02 21:23:07 +01:00
Jens L 9466f91466
root: move webapp to /web (#347)
* root: move webapp to /web

* root: fix static build

* root: fix static files not being served for e2e tests
2020-11-28 19:43:42 +01:00
Jens Langhammer c0fd3e79bc ci: fix e2e tests not running in python 3.9 2020-11-23 00:38:25 +01:00
Jens Langhammer 9c3bc4eb38 tests: move integration tests into separate folder, add separate pipeline task 2020-11-19 14:35:43 +01:00
Jens Langhammer 1319c480c4 ci: install previous python version for upgrade testing 2020-11-15 20:41:35 +01:00
Jens Langhammer 50531b8a36 root: upgrade to python3.9 2020-11-15 16:15:01 +01:00
Jens Langhammer 085247e2dc ci: fix apt install for libxmlsec1 2020-11-15 01:05:20 +01:00
Jens Langhammer 42702fa96a root: fix missing libxmlsec1-dev pkg-config packages 2020-11-12 19:38:58 +01:00
Jens Langhammer 05866d3544 providers/proxy: fix creation of ingress 2020-10-19 15:06:50 +02:00
Jens Langhammer 152b2d863d api: add fallback for proxies < 0.12 which send authorization without b64 2020-10-18 15:14:00 +02:00
Jens Langhammer 25d0ac6534 ci: bump pyright version 2020-10-16 22:29:59 +02:00
Jens Langhammer 4750f8c653 ci: fix typo 2020-10-14 20:28:24 +02:00
Jens Langhammer 635f6c1ef2 ci: add k3d cluster for kubernetes controller tests 2020-10-14 20:21:36 +02:00
Jens Langhammer 1ea2d99ff2 ci: run rollup build 2020-10-09 11:33:02 +02:00
Jens Langhammer 801bb90806 root: lock pyright version 2020-10-03 15:34:53 +02:00
Jens L 719099a5af ci: remove deploy as --recreate is deprecated 2020-09-30 23:00:05 +02:00
Jens Langhammer e699dfe88c ci: fix CD not working correctly 2020-09-30 15:41:04 +02:00
Jens Langhammer d2bf2c8896 ci: fix prospector call 2020-09-26 19:17:42 +02:00
Jens Langhammer f27b43507c ci: ensure same checks as locally are run 2020-09-26 19:08:37 +02:00
Jens Langhammer ae435f423e ci: fix failing unittests not reporting correctly 2020-09-26 14:55:50 +02:00
Jens Langhammer ea38da441b ci: run e2e tests with failfast 2020-09-25 22:21:58 +02:00