web: Update Web API Client version (#1857)
Signed-off-by: GitHub <noreply@github.com> Co-authored-by: BeryJu <BeryJu@users.noreply.github.com> Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
a2b38caf64
commit
7d2f622f4b
|
@ -5,7 +5,14 @@ from django.conf import settings
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from drf_spectacular.utils import extend_schema
|
from drf_spectacular.utils import extend_schema
|
||||||
from kubernetes.config.incluster_config import SERVICE_HOST_ENV_NAME
|
from kubernetes.config.incluster_config import SERVICE_HOST_ENV_NAME
|
||||||
from rest_framework.fields import BooleanField, CharField, ChoiceField, FloatField, IntegerField, ListField
|
from rest_framework.fields import (
|
||||||
|
BooleanField,
|
||||||
|
CharField,
|
||||||
|
ChoiceField,
|
||||||
|
FloatField,
|
||||||
|
IntegerField,
|
||||||
|
ListField,
|
||||||
|
)
|
||||||
from rest_framework.permissions import AllowAny
|
from rest_framework.permissions import AllowAny
|
||||||
from rest_framework.request import Request
|
from rest_framework.request import Request
|
||||||
from rest_framework.response import Response
|
from rest_framework.response import Response
|
||||||
|
@ -23,6 +30,7 @@ class Capabilities(models.TextChoices):
|
||||||
CAN_GEO_IP = "can_geo_ip"
|
CAN_GEO_IP = "can_geo_ip"
|
||||||
CAN_BACKUP = "can_backup"
|
CAN_BACKUP = "can_backup"
|
||||||
|
|
||||||
|
|
||||||
class ErrorReportingConfigSerializer(PassiveSerializer):
|
class ErrorReportingConfigSerializer(PassiveSerializer):
|
||||||
"""Config for error reporting"""
|
"""Config for error reporting"""
|
||||||
|
|
||||||
|
@ -32,7 +40,6 @@ class ErrorReportingConfigSerializer(PassiveSerializer):
|
||||||
traces_sample_rate = FloatField(read_only=True)
|
traces_sample_rate = FloatField(read_only=True)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class ConfigSerializer(PassiveSerializer):
|
class ConfigSerializer(PassiveSerializer):
|
||||||
"""Serialize authentik Config into DRF Object"""
|
"""Serialize authentik Config into DRF Object"""
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
"@babel/preset-env": "^7.16.4",
|
"@babel/preset-env": "^7.16.4",
|
||||||
"@babel/preset-typescript": "^7.16.0",
|
"@babel/preset-typescript": "^7.16.0",
|
||||||
"@fortawesome/fontawesome-free": "^5.15.4",
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
||||||
"@goauthentik/api": "^2021.10.4-1637919181",
|
"@goauthentik/api": "^2021.10.4-1638190705",
|
||||||
"@jackfranklin/rollup-plugin-markdown": "^0.3.0",
|
"@jackfranklin/rollup-plugin-markdown": "^0.3.0",
|
||||||
"@lingui/cli": "^3.13.0",
|
"@lingui/cli": "^3.13.0",
|
||||||
"@lingui/core": "^3.13.0",
|
"@lingui/core": "^3.13.0",
|
||||||
|
@ -1708,9 +1708,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@goauthentik/api": {
|
"node_modules/@goauthentik/api": {
|
||||||
"version": "2021.10.4-1637919181",
|
"version": "2021.10.4-1638190705",
|
||||||
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2021.10.4-1637919181.tgz",
|
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2021.10.4-1638190705.tgz",
|
||||||
"integrity": "sha512-a+2h++6b2WGXurlTwRTZwRB3QhsT8rL9aiowUjqTJt7reUw5SwItduLe6eDeGThecLHRiklfZ1PF2zqtuUP0oA=="
|
"integrity": "sha512-fEtKGX8F9BDnYWIF9vTxLEkqGkABRl+0M2sgCOd4XqiflNveDEQYMVZAK5yvNzCK8L4wIcbn7y8s/lCncEKJ2Q=="
|
||||||
},
|
},
|
||||||
"node_modules/@humanwhocodes/config-array": {
|
"node_modules/@humanwhocodes/config-array": {
|
||||||
"version": "0.6.0",
|
"version": "0.6.0",
|
||||||
|
@ -9895,9 +9895,9 @@
|
||||||
"integrity": "sha512-eYm8vijH/hpzr/6/1CJ/V/Eb1xQFW2nnUKArb3z+yUWv7HTwj6M7SP957oMjfZjAHU6qpoNc2wQvIxBLWYa/Jg=="
|
"integrity": "sha512-eYm8vijH/hpzr/6/1CJ/V/Eb1xQFW2nnUKArb3z+yUWv7HTwj6M7SP957oMjfZjAHU6qpoNc2wQvIxBLWYa/Jg=="
|
||||||
},
|
},
|
||||||
"@goauthentik/api": {
|
"@goauthentik/api": {
|
||||||
"version": "2021.10.4-1637919181",
|
"version": "2021.10.4-1638190705",
|
||||||
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2021.10.4-1637919181.tgz",
|
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2021.10.4-1638190705.tgz",
|
||||||
"integrity": "sha512-a+2h++6b2WGXurlTwRTZwRB3QhsT8rL9aiowUjqTJt7reUw5SwItduLe6eDeGThecLHRiklfZ1PF2zqtuUP0oA=="
|
"integrity": "sha512-fEtKGX8F9BDnYWIF9vTxLEkqGkABRl+0M2sgCOd4XqiflNveDEQYMVZAK5yvNzCK8L4wIcbn7y8s/lCncEKJ2Q=="
|
||||||
},
|
},
|
||||||
"@humanwhocodes/config-array": {
|
"@humanwhocodes/config-array": {
|
||||||
"version": "0.6.0",
|
"version": "0.6.0",
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
"@babel/preset-env": "^7.16.4",
|
"@babel/preset-env": "^7.16.4",
|
||||||
"@babel/preset-typescript": "^7.16.0",
|
"@babel/preset-typescript": "^7.16.0",
|
||||||
"@fortawesome/fontawesome-free": "^5.15.4",
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
||||||
"@goauthentik/api": "^2021.10.4-1637919181",
|
"@goauthentik/api": "^2021.10.4-1638190705",
|
||||||
"@jackfranklin/rollup-plugin-markdown": "^0.3.0",
|
"@jackfranklin/rollup-plugin-markdown": "^0.3.0",
|
||||||
"@lingui/cli": "^3.13.0",
|
"@lingui/cli": "^3.13.0",
|
||||||
"@lingui/core": "^3.13.0",
|
"@lingui/core": "^3.13.0",
|
||||||
|
|
Reference in New Issue