Projet

Général

Profil

0001-misc-remove-auth2_ssl-module-57209.patch

Valentin Deniaud, 22 septembre 2021 18:00

Télécharger (6,91 ko)

Voir les différences:

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
MANIFEST.in
20 20
recursive-include src/authentic2/idp/templates *.html *.txt *.xml
21 21
recursive-include src/authentic2_idp_cas/templates *.html *.txt *.xml
22 22
recursive-include src/authentic2/idp/saml/templates *.html *.txt *.xml
23
recursive-include src/authentic2/auth2_auth/auth2_ssl/templates *.html *.txt *.xml
24
recursive-include src/authentic2/auth2_auth/templates *.html *.txt *.xml
25
recursive-include src/authentic2/auth2_auth/auth2_oath/templates *.html *.txt *.xml
26 23
recursive-include src/authentic2_auth_fc/templates/authentic2_auth_fc *.html
27 24
recursive-include src/authentic2_auth_saml/templates/authentic2_auth_saml *.html
28 25
recursive-include src/authentic2_auth_saml/templates/mellon *.html
......
35 32
recursive-include src/authentic2/idp/locale *.po *.mo
36 33
recursive-include src/authentic2/idp/saml/locale *.po *.mo
37 34
recursive-include src/authentic2_idp_cas/locale *.po *.mo
38
recursive-include src/authentic2/auth2_auth/locale *.po *.mo
39
recursive-include src/authentic2/auth2_auth/auth2_ssl/locale *.po *.mo
40 35
recursive-include src/authentic2/attribute_aggregator/locale *.po *.mo
41 36
recursive-include src/authentic2/disco_service/locale *.po *.mo
42 37
recursive-include src/authentic2/custom_user/locale *.po *.mo
......
55 50
include doc/*.rst
56 51
include doc/pictures/*
57 52
include COPYING NEWS README AUTHORS.txt
58
include src/authentic2/auth2_auth/auth2_ssl/authentic_ssl.vhost
59 53
include getlasso.sh
60 54
include getlasso3.sh
61 55
include src/authentic2/nonce/README.rst
src/authentic2/auth2_auth/auth2_ssl/__init__.py
1
# authentic2 - versatile identity manager
2
# Copyright (C) 2010-2019 Entr'ouvert
3
#
4
# This program is free software: you can redistribute it and/or modify it
5
# under the terms of the GNU Affero General Public License as published
6
# by the Free Software Foundation, either version 3 of the License, or
7
# (at your option) any later version.
8
#
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
# GNU Affero General Public License for more details.
13
#
14
# You should have received a copy of the GNU Affero General Public License
15
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
16

  
17

  
18
class Plugin:
19
    def get_apps(self):
20
        return [__name__]
src/authentic2/auth2_auth/auth2_ssl/migrations/0001_initial.py
1
from django.db import migrations, models
2

  
3

  
4
class Migration(migrations.Migration):
5

  
6
    dependencies = [
7
        ('auth', '0002_auto_20150323_1720'),
8
    ]
9

  
10
    operations = [
11
        migrations.CreateModel(
12
            name='ClientCertificate',
13
            fields=[
14
                (
15
                    'id',
16
                    models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True),
17
                ),
18
                ('serial', models.CharField(max_length=255, blank=True)),
19
                ('subject_dn', models.CharField(max_length=255)),
20
                ('issuer_dn', models.CharField(max_length=255)),
21
                ('cert', models.TextField()),
22
                ('user', models.ForeignKey(to='auth.User')),
23
            ],
24
            options={},
25
            bases=(models.Model,),
26
        ),
27
    ]
src/authentic2/auth2_auth/auth2_ssl/migrations/0002_auto_20150409_1840.py
1
from django.conf import settings
2
from django.db import migrations, models
3

  
4

  
5
class Migration(migrations.Migration):
6

  
7
    dependencies = [
8
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
9
        ('auth2_ssl', '0001_initial'),
10
    ]
11

  
12
    operations = [
13
        migrations.AlterField(
14
            model_name='clientcertificate',
15
            name='user',
16
            field=models.ForeignKey(to=settings.AUTH_USER_MODEL),
17
            preserve_default=True,
18
        ),
19
    ]
src/authentic2/auth2_auth/auth2_ssl/migrations/0003_auto_20190614_1438.py
1
# Generated by Django 1.11.20 on 2019-06-14 12:38
2

  
3
from django.db import migrations
4

  
5

  
6
class Migration(migrations.Migration):
7

  
8
    dependencies = [
9
        ('auth2_ssl', '0002_auto_20150409_1840'),
10
    ]
11

  
12
    operations = [
13
        migrations.RemoveField(
14
            model_name='clientcertificate',
15
            name='user',
16
        ),
17
        migrations.DeleteModel(
18
            name='ClientCertificate',
19
        ),
20
    ]