Revert "*: providers and sources -> channels, PolicyModel to PolicyBindingModel that uses custom M2M through"

This reverts commit 7ed3ceb960.
This commit is contained in:
Jens Langhammer
2020-05-16 16:02:42 +02:00
parent 7ed3ceb960
commit 406f69080b
293 changed files with 4692 additions and 3244 deletions

View File

@ -89,15 +89,15 @@ INSTALLED_APPS = [
"passbook.policies.hibp.apps.PassbookPolicyHIBPConfig",
"passbook.policies.password.apps.PassbookPoliciesPasswordConfig",
"passbook.policies.reputation.apps.PassbookPolicyReputationConfig",
"passbook.channels.out_app_gw.apps.PassbookApplicationApplicationGatewayConfig",
"passbook.channels.out_oauth.apps.PassbookOutletOAuthConfig",
"passbook.channels.out_oidc.apps.PassbookOutletOIDCConfig",
"passbook.channels.out_saml.apps.PassbookOutletSAMLConfig",
"passbook.channels.out_samlv2.apps.PassbookOutletSAMLv2Config",
"passbook.providers.app_gw.apps.PassbookApplicationApplicationGatewayConfig",
"passbook.providers.oauth.apps.PassbookProviderOAuthConfig",
"passbook.providers.oidc.apps.PassbookProviderOIDCConfig",
"passbook.providers.saml.apps.PassbookProviderSAMLConfig",
"passbook.providers.samlv2.apps.PassbookProviderSAMLv2Config",
"passbook.recovery.apps.PassbookRecoveryConfig",
"passbook.channels.in_ldap.apps.PassbookInletLDAPConfig",
"passbook.channels.in_oauth.apps.PassbookInletOAuthConfig",
"passbook.channels.in_saml.apps.PassbookInletSAMLConfig",
"passbook.sources.ldap.apps.PassbookSourceLDAPConfig",
"passbook.sources.oauth.apps.PassbookSourceOAuthConfig",
"passbook.sources.saml.apps.PassbookSourceSAMLConfig",
"passbook.stages.captcha.apps.PassbookStageCaptchaConfig",
"passbook.stages.dummy.apps.PassbookStageDummyConfig",
"passbook.stages.email.apps.PassbookStageEmailConfig",
@ -228,8 +228,8 @@ USE_TZ = True
# Add a 10 minute timeout to all Celery tasks.
CELERY_TASK_SOFT_TIME_LIMIT = 600
CELERY_BEAT_SCHEDULE = {
"clean_tokens": {
"task": "passbook.core.tasks.clean_tokens",
"clean_nonces": {
"task": "passbook.core.tasks.clean_nonces",
"schedule": crontab(minute="*/5"), # Run every 5 minutes
}
}