From 9a682998540687b25bdece11c8433abd9c472e17 Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Wed, 22 Sep 2021 18:00:02 +0200 Subject: [PATCH] misc: remove auth2_ssl module (#57209) --- MANIFEST.in | 6 ----- src/authentic2/auth2_auth/__init__.py | 0 .../auth2_auth/auth2_ssl/__init__.py | 20 -------------- .../auth2_ssl/migrations/0001_initial.py | 27 ------------------- .../migrations/0002_auto_20150409_1840.py | 19 ------------- .../migrations/0003_auto_20190614_1438.py | 20 -------------- .../auth2_ssl/migrations/__init__.py | 0 7 files changed, 92 deletions(-) delete mode 100644 src/authentic2/auth2_auth/__init__.py delete mode 100644 src/authentic2/auth2_auth/auth2_ssl/__init__.py delete mode 100644 src/authentic2/auth2_auth/auth2_ssl/migrations/0001_initial.py delete mode 100644 src/authentic2/auth2_auth/auth2_ssl/migrations/0002_auto_20150409_1840.py delete mode 100644 src/authentic2/auth2_auth/auth2_ssl/migrations/0003_auto_20190614_1438.py delete mode 100644 src/authentic2/auth2_auth/auth2_ssl/migrations/__init__.py diff --git a/MANIFEST.in b/MANIFEST.in index 3f7e800e..a19b3f34 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -20,9 +20,6 @@ recursive-include src/authentic2/saml/templates *.html *.txt *.xml recursive-include src/authentic2/idp/templates *.html *.txt *.xml recursive-include src/authentic2_idp_cas/templates *.html *.txt *.xml recursive-include src/authentic2/idp/saml/templates *.html *.txt *.xml -recursive-include src/authentic2/auth2_auth/auth2_ssl/templates *.html *.txt *.xml -recursive-include src/authentic2/auth2_auth/templates *.html *.txt *.xml -recursive-include src/authentic2/auth2_auth/auth2_oath/templates *.html *.txt *.xml recursive-include src/authentic2_auth_fc/templates/authentic2_auth_fc *.html recursive-include src/authentic2_auth_saml/templates/authentic2_auth_saml *.html recursive-include src/authentic2_auth_saml/templates/mellon *.html @@ -35,8 +32,6 @@ recursive-include src/authentic2/saml/locale *.po *.mo recursive-include src/authentic2/idp/locale *.po *.mo recursive-include src/authentic2/idp/saml/locale *.po *.mo recursive-include src/authentic2_idp_cas/locale *.po *.mo -recursive-include src/authentic2/auth2_auth/locale *.po *.mo -recursive-include src/authentic2/auth2_auth/auth2_ssl/locale *.po *.mo recursive-include src/authentic2/attribute_aggregator/locale *.po *.mo recursive-include src/authentic2/disco_service/locale *.po *.mo recursive-include src/authentic2/custom_user/locale *.po *.mo @@ -55,7 +50,6 @@ recursive-include src/authentic2 README include doc/*.rst include doc/pictures/* include COPYING NEWS README AUTHORS.txt -include src/authentic2/auth2_auth/auth2_ssl/authentic_ssl.vhost include getlasso.sh include getlasso3.sh include src/authentic2/nonce/README.rst diff --git a/src/authentic2/auth2_auth/__init__.py b/src/authentic2/auth2_auth/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/src/authentic2/auth2_auth/auth2_ssl/__init__.py b/src/authentic2/auth2_auth/auth2_ssl/__init__.py deleted file mode 100644 index 0a75abd0..00000000 --- a/src/authentic2/auth2_auth/auth2_ssl/__init__.py +++ /dev/null @@ -1,20 +0,0 @@ -# authentic2 - versatile identity manager -# Copyright (C) 2010-2019 Entr'ouvert -# -# This program is free software: you can redistribute it and/or modify it -# under the terms of the GNU Affero General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . - - -class Plugin: - def get_apps(self): - return [__name__] diff --git a/src/authentic2/auth2_auth/auth2_ssl/migrations/0001_initial.py b/src/authentic2/auth2_auth/auth2_ssl/migrations/0001_initial.py deleted file mode 100644 index 087f4f57..00000000 --- a/src/authentic2/auth2_auth/auth2_ssl/migrations/0001_initial.py +++ /dev/null @@ -1,27 +0,0 @@ -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('auth', '0002_auto_20150323_1720'), - ] - - operations = [ - migrations.CreateModel( - name='ClientCertificate', - fields=[ - ( - 'id', - models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True), - ), - ('serial', models.CharField(max_length=255, blank=True)), - ('subject_dn', models.CharField(max_length=255)), - ('issuer_dn', models.CharField(max_length=255)), - ('cert', models.TextField()), - ('user', models.ForeignKey(to='auth.User')), - ], - options={}, - bases=(models.Model,), - ), - ] diff --git a/src/authentic2/auth2_auth/auth2_ssl/migrations/0002_auto_20150409_1840.py b/src/authentic2/auth2_auth/auth2_ssl/migrations/0002_auto_20150409_1840.py deleted file mode 100644 index 8d6079be..00000000 --- a/src/authentic2/auth2_auth/auth2_ssl/migrations/0002_auto_20150409_1840.py +++ /dev/null @@ -1,19 +0,0 @@ -from django.conf import settings -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - migrations.swappable_dependency(settings.AUTH_USER_MODEL), - ('auth2_ssl', '0001_initial'), - ] - - operations = [ - migrations.AlterField( - model_name='clientcertificate', - name='user', - field=models.ForeignKey(to=settings.AUTH_USER_MODEL), - preserve_default=True, - ), - ] diff --git a/src/authentic2/auth2_auth/auth2_ssl/migrations/0003_auto_20190614_1438.py b/src/authentic2/auth2_auth/auth2_ssl/migrations/0003_auto_20190614_1438.py deleted file mode 100644 index e13571ce..00000000 --- a/src/authentic2/auth2_auth/auth2_ssl/migrations/0003_auto_20190614_1438.py +++ /dev/null @@ -1,20 +0,0 @@ -# Generated by Django 1.11.20 on 2019-06-14 12:38 - -from django.db import migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('auth2_ssl', '0002_auto_20150409_1840'), - ] - - operations = [ - migrations.RemoveField( - model_name='clientcertificate', - name='user', - ), - migrations.DeleteModel( - name='ClientCertificate', - ), - ] diff --git a/src/authentic2/auth2_auth/auth2_ssl/migrations/__init__.py b/src/authentic2/auth2_auth/auth2_ssl/migrations/__init__.py deleted file mode 100644 index e69de29b..00000000 -- 2.30.2