sources/ldap: adjust order or fields in form
This commit is contained in:
parent
e87d52a76b
commit
a9ee67bf2d
|
@ -18,6 +18,7 @@ from json import dumps
|
||||||
import structlog
|
import structlog
|
||||||
from celery.schedules import crontab
|
from celery.schedules import crontab
|
||||||
from sentry_sdk import init as sentry_init
|
from sentry_sdk import init as sentry_init
|
||||||
|
from sentry_sdk.integrations.redis import RedisIntegration
|
||||||
from sentry_sdk.integrations.celery import CeleryIntegration
|
from sentry_sdk.integrations.celery import CeleryIntegration
|
||||||
from sentry_sdk.integrations.django import DjangoIntegration
|
from sentry_sdk.integrations.django import DjangoIntegration
|
||||||
|
|
||||||
|
@ -312,6 +313,7 @@ if not DEBUG and _ERROR_REPORTING:
|
||||||
integrations=[
|
integrations=[
|
||||||
DjangoIntegration(transaction_style="function_name"),
|
DjangoIntegration(transaction_style="function_name"),
|
||||||
CeleryIntegration(),
|
CeleryIntegration(),
|
||||||
|
RedisIntegration(),
|
||||||
],
|
],
|
||||||
before_send=before_send,
|
before_send=before_send,
|
||||||
release="passbook@%s" % __version__,
|
release="passbook@%s" % __version__,
|
||||||
|
|
|
@ -26,21 +26,21 @@ class LDAPSourceForm(forms.ModelForm):
|
||||||
"enabled",
|
"enabled",
|
||||||
# -- start of our custom fields
|
# -- start of our custom fields
|
||||||
"server_uri",
|
"server_uri",
|
||||||
|
"start_tls",
|
||||||
"bind_cn",
|
"bind_cn",
|
||||||
"bind_password",
|
"bind_password",
|
||||||
"start_tls",
|
|
||||||
"base_dn",
|
"base_dn",
|
||||||
|
"sync_users",
|
||||||
|
"sync_users_password",
|
||||||
|
"sync_groups",
|
||||||
|
"property_mappings",
|
||||||
"additional_user_dn",
|
"additional_user_dn",
|
||||||
"additional_group_dn",
|
"additional_group_dn",
|
||||||
"user_object_filter",
|
"user_object_filter",
|
||||||
"group_object_filter",
|
"group_object_filter",
|
||||||
"user_group_membership_field",
|
"user_group_membership_field",
|
||||||
"object_uniqueness_field",
|
"object_uniqueness_field",
|
||||||
"sync_users",
|
|
||||||
"sync_users_password",
|
|
||||||
"sync_groups",
|
|
||||||
"sync_parent_group",
|
"sync_parent_group",
|
||||||
"property_mappings",
|
|
||||||
]
|
]
|
||||||
widgets = {
|
widgets = {
|
||||||
"name": forms.TextInput(),
|
"name": forms.TextInput(),
|
||||||
|
|
Reference in New Issue