Jens L
|
0772756eef
|
crypto: fix has_key filter (#6727)
* crypto: fix has_key certificate filter
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* add tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
|
2023-09-01 11:51:41 +02:00 |
|
Jens L
|
2a2e159a0d
|
blueprints: improve schema generation by including model schema (#5503)
* blueprints: improve schema generation by including model schema
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* unset required
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* add deps
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
|
2023-05-07 12:32:01 +02:00 |
|
dependabot[bot]
|
18cfe67719
|
core: bump black from 22.12.0 to 23.1.0 (#4584)
* core: bump black from 22.12.0 to 23.1.0
Bumps [black](https://github.com/psf/black) from 22.12.0 to 23.1.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.12.0...23.1.0)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* re-format
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
|
2023-02-01 11:31:32 +01:00 |
|
Jens Langhammer
|
fdc445e6a1
|
ensure we don't generate an empty SAN certificate
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
|
2023-01-18 18:44:41 +01:00 |
|
Jens L
|
9568f4dbd6
|
root: improve code style (#4436)
* cleanup pylint comments
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* remove more
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix url name
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* *: use ExtractHour instead of ExtractDay
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
|
2023-01-15 17:02:31 +01:00 |
|
Jens Langhammer
|
47aba4a996
|
crypto: prevent creation of duplicate self-signed default certs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2023-01-06 16:51:07 +01:00 |
|
Jens Langhammer
|
960a2aab74
|
crypto: fix type for has_key
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2023-01-01 23:14:19 +01:00 |
|
Jens Langhammer
|
f0e121c064
|
api: add filter backend for secret key to allow access to tenants and certificates
closes #4182
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-12-28 18:59:25 +01:00 |
|
Jens Langhammer
|
a3cc844e25
|
crypto: fix cert_expiry not having the correct format
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-10-15 23:32:02 +02:00 |
|
Jens L
|
44e4f2e561
|
crypto: make certificate parsing optional for crypto api (#3711)
|
2022-10-01 00:06:00 +02:00 |
|
Jens Langhammer
|
03a3f1bd6f
|
crypto: add command to import certificates
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#3544
|
2022-09-06 19:39:10 +02:00 |
|
Jens L
|
a023eee9bf
|
blueprints: migrate from managed (#3338)
* test all bundled blueprints
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix empty title
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix default blueprints
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add script to generate dev config
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* migrate managed to blueprints
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add more to blueprint instance
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* migrated away from ObjectManager
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix lint errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* migrate things
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* migrate tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix some tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix a bit more
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix more tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* whops
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix missing name
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *sigh*
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* fix more tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* add tasks
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* scheduled
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* run discovery on start
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* oops this test should stay
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-08-01 23:05:58 +02:00 |
|
Jens Langhammer
|
11e25617bd
|
crypto: fully parse certificate on validation in serializer to prevent invalid certificates from being saved
closes #2082
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2022-01-10 20:36:50 +01:00 |
|
Jens Langhammer
|
b19da6d774
|
crypto: return private key's type (required for some oauth2 providers)
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-25 16:51:28 +01:00 |
|
Jens Langhammer
|
c1f0833c09
|
crypto: improve support for non-rsa private keys (discovery)
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-22 21:46:22 +01:00 |
|
Jens Langhammer
|
2b78c4ba86
|
*: use request.query_params instead of accessing the django request
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-05 11:14:20 +01:00 |
|
Jens Langhammer
|
572f6d4ea0
|
crypto: add certificate discovery to automatically import certificates from lets encrypt
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#1835
|
2021-12-03 18:27:36 +01:00 |
|
Jens Langhammer
|
20c738c384
|
crypto: fix default API not having an ordering
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-12-02 13:00:41 +01:00 |
|
Jens Langhammer
|
72a93c0959
|
root: pin node images to v16
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-10-28 10:29:48 +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 |
|
Jens Langhammer
|
77ed25ae34
|
root: reformat to 100 line width
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-08-03 17:45:16 +02:00 |
|
Jens Langhammer
|
d07704fdf1
|
crypto: show both sha1 and sha256 fingerprints
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-07-03 19:25:27 +02:00 |
|
Jens Langhammer
|
3a64d97040
|
crypto: add download links as API fields
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-10 13:46:12 +02:00 |
|
Jens L
|
34ae9e6dab
|
API: add endpoint to show by what objects an object is used (#995)
* core: add used_by API to show what objects are affected before deletion
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/elements: add support for used_by API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add authentik_used_by_shadows to shadow other models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: implement used_by API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: fix duplicate imports
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add action field to used_by api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add UI for used_by action
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: add notice to tenant form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: fix naming in used_by
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: check length for used_by
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: fix used_by for non-pk models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* *: improve __str__ on models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* core: add support for many to many in used_by
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-06-10 11:58:12 +02:00 |
|
Jens Langhammer
|
0bac738090
|
*: fix static response descriptions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-16 14:07:29 +02:00 |
|
Jens Langhammer
|
1324d03815
|
*: initial migration to openapi v3
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-05-15 23:57:28 +02:00 |
|
Jens Langhammer
|
24f2932777
|
crypto: add ?download flag
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
#861
|
2021-05-11 14:21:35 +02:00 |
|
Jens Langhammer
|
333758d91f
|
crypto: handle encrypted private keys
closes #811
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-30 15:25:42 +02:00 |
|
Jens Langhammer
|
d76db3caba
|
*: add missing error codes as swagger annotations
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-10 23:55:43 +02:00 |
|
Jens Langhammer
|
1dc01ef857
|
*: add API tests for types endpoints
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-02 23:11:53 +02:00 |
|
Jens Langhammer
|
83fc22005c
|
*: remove swagger parameters from functions that don't accept them
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-02 13:39:22 +02:00 |
|
Jens Langhammer
|
7a0ebbdc53
|
crypto: add filter for key-pairs with private key
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-04-01 11:38:35 +02:00 |
|
Jens Langhammer
|
b1214f6c35
|
*: add new base class for non-model serializers
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-30 15:50:00 +02:00 |
|
Jens Langhammer
|
7d74e1d2c4
|
*: revert to drf-yasg upstream
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-29 21:04:54 +02:00 |
|
Jens Langhammer
|
b3d54b7620
|
api: cleanup args for @permission_required
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-29 17:33:55 +02:00 |
|
Jens Langhammer
|
a445b03523
|
crypto: add API to generate keypair
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
|
2021-03-29 17:33:27 +02:00 |
|
Jens Langhammer
|
4cfcc48b23
|
admin: migrate certificate-keypair list to web
|
2021-02-16 23:16:52 +01:00 |
|
Jens Langhammer
|
0af66a26ab
|
crypto: move certificate and key data to separate api calls to create events
|
2021-02-09 21:47:00 +01:00 |
|
Jens Langhammer
|
ffee86fcf3
|
crypto: simplify api/forms key validation
|
2020-12-13 18:06:52 +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 |
|