From a6b479db191af6f4522b621c69ad2667652ab3ef Mon Sep 17 00:00:00 2001 From: charliep Date: Wed, 7 Feb 2024 02:26:49 +0100 Subject: [PATCH] Update 131 files - /apps/activity/api/serializers.py - /apps/activity/api/urls.py - /apps/activity/api/views.py - /apps/activity/tests/test_activities.py - /apps/activity/__init__.py - /apps/activity/admin.py - /apps/activity/apps.py - /apps/activity/forms.py - /apps/activity/tables.py - /apps/activity/urls.py - /apps/activity/views.py - /apps/api/__init__.py - /apps/api/apps.py - /apps/api/serializers.py - /apps/api/tests.py - /apps/api/urls.py - /apps/api/views.py - /apps/api/viewsets.py - /apps/logs/signals.py - /apps/logs/apps.py - /apps/logs/__init__.py - /apps/logs/api/serializers.py - /apps/logs/api/urls.py - /apps/logs/api/views.py - /apps/member/api/serializers.py - /apps/member/api/urls.py - /apps/member/api/views.py - /apps/member/templatetags/memberinfo.py - /apps/member/__init__.py - /apps/member/admin.py - /apps/member/apps.py - /apps/member/auth.py - /apps/member/forms.py - /apps/member/hashers.py - /apps/member/signals.py - /apps/member/tables.py - /apps/member/urls.py - /apps/member/views.py - /apps/note/api/serializers.py - /apps/note/api/urls.py - /apps/note/api/views.py - /apps/note/models/__init__.py - /apps/note/static/note/js/consos.js - /apps/note/templates/note/mails/negative_balance.txt - /apps/note/templatetags/getenv.py - /apps/note/templatetags/pretty_money.py - /apps/note/tests/test_transactions.py - /apps/note/__init__.py - /apps/note/admin.py - /apps/note/apps.py - /apps/note/forms.py - /apps/note/signals.py - /apps/note/tables.py - /apps/note/urls.py - /apps/note/views.py - /apps/permission/api/serializers.py - /apps/permission/api/urls.py - /apps/permission/api/views.py - /apps/permission/templatetags/perms.py - /apps/permission/tests/test_oauth2.py - /apps/permission/tests/test_permission_denied.py - /apps/permission/tests/test_permission_queries.py - /apps/permission/tests/test_rights_page.py - /apps/permission/__init__.py - /apps/permission/admin.py - /apps/permission/backends.py - /apps/permission/apps.py - /apps/permission/decorators.py - /apps/permission/permissions.py - /apps/permission/scopes.py - /apps/permission/signals.py - /apps/permission/tables.py - /apps/permission/urls.py - /apps/permission/views.py - /apps/registration/tests/test_registration.py - /apps/registration/__init__.py - /apps/registration/apps.py - /apps/registration/forms.py - /apps/registration/tables.py - /apps/registration/tokens.py - /apps/registration/urls.py - /apps/registration/views.py - /apps/treasury/api/serializers.py - /apps/treasury/api/urls.py - /apps/treasury/api/views.py - /apps/treasury/templatetags/escape_tex.py - /apps/treasury/tests/test_treasury.py - /apps/treasury/__init__.py - /apps/treasury/admin.py - /apps/treasury/apps.py - /apps/treasury/forms.py - /apps/treasury/signals.py - /apps/treasury/tables.py - /apps/treasury/urls.py - /apps/treasury/views.py - /apps/wei/api/serializers.py - /apps/wei/api/urls.py - /apps/wei/api/views.py - /apps/wei/forms/surveys/__init__.py - /apps/wei/forms/surveys/base.py - /apps/wei/forms/surveys/wei2021.py - /apps/wei/forms/surveys/wei2022.py - /apps/wei/forms/surveys/wei2023.py - /apps/wei/forms/__init__.py - /apps/wei/forms/registration.py - /apps/wei/management/commands/export_wei_registrations.py - /apps/wei/management/commands/import_scores.py - /apps/wei/management/commands/wei_algorithm.py - /apps/wei/templates/wei/weilist_sample.tex - /apps/wei/tests/test_wei_algorithm_2021.py - /apps/wei/tests/test_wei_algorithm_2022.py - /apps/wei/tests/test_wei_algorithm_2023.py - /apps/wei/tests/test_wei_registration.py - /apps/wei/__init__.py - /apps/wei/admin.py - /apps/wei/apps.py - /apps/wei/tables.py - /apps/wei/urls.py - /apps/wei/views.py - /note_kfet/settings/__init__.py - /note_kfet/settings/base.py - /note_kfet/settings/development.py - /note_kfet/settings/secrets_example.py - /note_kfet/static/js/base.js - /note_kfet/admin.py - /note_kfet/inputs.py - /note_kfet/middlewares.py - /note_kfet/urls.py - /note_kfet/views.py - /note_kfet/wsgi.py - /entrypoint.sh --- apps/activity/__init__.py | 2 +- apps/activity/admin.py | 2 +- apps/activity/api/serializers.py | 2 +- apps/activity/api/urls.py | 2 +- apps/activity/api/views.py | 2 +- apps/activity/apps.py | 2 +- apps/activity/forms.py | 2 +- apps/activity/tables.py | 2 +- apps/activity/tests/test_activities.py | 2 +- apps/activity/urls.py | 2 +- apps/activity/views.py | 2 +- apps/api/__init__.py | 2 +- apps/api/apps.py | 2 +- apps/api/serializers.py | 2 +- apps/api/tests.py | 2 +- apps/api/urls.py | 2 +- apps/api/views.py | 2 +- apps/api/viewsets.py | 2 +- apps/logs/__init__.py | 2 +- apps/logs/api/serializers.py | 2 +- apps/logs/api/urls.py | 2 +- apps/logs/api/views.py | 2 +- apps/logs/apps.py | 2 +- apps/logs/signals.py | 2 +- apps/member/__init__.py | 2 +- apps/member/admin.py | 2 +- apps/member/api/serializers.py | 2 +- apps/member/api/urls.py | 2 +- apps/member/api/views.py | 2 +- apps/member/apps.py | 2 +- apps/member/auth.py | 2 +- apps/member/forms.py | 2 +- apps/member/hashers.py | 2 +- apps/member/signals.py | 2 +- apps/member/tables.py | 2 +- apps/member/templatetags/memberinfo.py | 2 +- apps/member/urls.py | 2 +- apps/member/views.py | 2 +- apps/note/__init__.py | 2 +- apps/note/admin.py | 2 +- apps/note/api/serializers.py | 2 +- apps/note/api/urls.py | 2 +- apps/note/api/views.py | 2 +- apps/note/apps.py | 2 +- apps/note/forms.py | 2 +- apps/note/models/__init__.py | 2 +- apps/note/signals.py | 2 +- apps/note/static/note/js/consos.js | 2 +- apps/note/tables.py | 2 +- apps/note/templates/note/mails/negative_balance.txt | 2 +- apps/note/templatetags/getenv.py | 2 +- apps/note/templatetags/pretty_money.py | 2 +- apps/note/tests/test_transactions.py | 2 +- apps/note/urls.py | 2 +- apps/note/views.py | 2 +- apps/permission/__init__.py | 2 +- apps/permission/admin.py | 2 +- apps/permission/api/serializers.py | 2 +- apps/permission/api/urls.py | 2 +- apps/permission/api/views.py | 2 +- apps/permission/apps.py | 2 +- apps/permission/backends.py | 2 +- apps/permission/decorators.py | 2 +- apps/permission/permissions.py | 2 +- apps/permission/scopes.py | 2 +- apps/permission/signals.py | 2 +- apps/permission/tables.py | 2 +- apps/permission/templatetags/perms.py | 2 +- apps/permission/tests/test_oauth2.py | 2 +- apps/permission/tests/test_permission_denied.py | 2 +- apps/permission/tests/test_permission_queries.py | 2 +- apps/permission/tests/test_rights_page.py | 2 +- apps/permission/urls.py | 2 +- apps/permission/views.py | 2 +- apps/registration/__init__.py | 2 +- apps/registration/apps.py | 2 +- apps/registration/forms.py | 2 +- apps/registration/tables.py | 2 +- apps/registration/tests/test_registration.py | 2 +- apps/registration/tokens.py | 2 +- apps/registration/urls.py | 2 +- apps/registration/views.py | 2 +- apps/treasury/__init__.py | 2 +- apps/treasury/admin.py | 2 +- apps/treasury/api/serializers.py | 2 +- apps/treasury/api/urls.py | 2 +- apps/treasury/api/views.py | 2 +- apps/treasury/apps.py | 2 +- apps/treasury/forms.py | 2 +- apps/treasury/signals.py | 2 +- apps/treasury/tables.py | 2 +- apps/treasury/templatetags/escape_tex.py | 2 +- apps/treasury/tests/test_treasury.py | 2 +- apps/treasury/urls.py | 2 +- apps/treasury/views.py | 2 +- apps/wei/__init__.py | 2 +- apps/wei/admin.py | 2 +- apps/wei/api/serializers.py | 2 +- apps/wei/api/urls.py | 2 +- apps/wei/api/views.py | 2 +- apps/wei/apps.py | 2 +- apps/wei/forms/__init__.py | 2 +- apps/wei/forms/registration.py | 2 +- apps/wei/forms/surveys/__init__.py | 2 +- apps/wei/forms/surveys/base.py | 2 +- apps/wei/forms/surveys/wei2021.py | 2 +- apps/wei/forms/surveys/wei2022.py | 2 +- apps/wei/forms/surveys/wei2023.py | 2 +- apps/wei/management/commands/export_wei_registrations.py | 2 +- apps/wei/management/commands/import_scores.py | 2 +- apps/wei/management/commands/wei_algorithm.py | 2 +- apps/wei/tables.py | 2 +- apps/wei/templates/wei/weilist_sample.tex | 2 +- apps/wei/tests/test_wei_algorithm_2021.py | 2 +- apps/wei/tests/test_wei_algorithm_2022.py | 2 +- apps/wei/tests/test_wei_algorithm_2023.py | 2 +- apps/wei/tests/test_wei_registration.py | 2 +- apps/wei/urls.py | 2 +- apps/wei/views.py | 2 +- entrypoint.sh | 2 +- note_kfet/admin.py | 2 +- note_kfet/inputs.py | 2 +- note_kfet/middlewares.py | 2 +- note_kfet/settings/__init__.py | 2 +- note_kfet/settings/base.py | 2 +- note_kfet/settings/development.py | 2 +- note_kfet/settings/secrets_example.py | 2 +- note_kfet/static/js/base.js | 2 +- note_kfet/urls.py | 2 +- note_kfet/views.py | 2 +- note_kfet/wsgi.py | 2 +- 131 files changed, 131 insertions(+), 131 deletions(-) diff --git a/apps/activity/__init__.py b/apps/activity/__init__.py index efee9563..713ba510 100644 --- a/apps/activity/__init__.py +++ b/apps/activity/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later default_app_config = 'activity.apps.ActivityConfig' diff --git a/apps/activity/admin.py b/apps/activity/admin.py index d8fb6106..88496361 100644 --- a/apps/activity/admin.py +++ b/apps/activity/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.contrib import admin diff --git a/apps/activity/api/serializers.py b/apps/activity/api/serializers.py index 5f0da651..e4bc50b8 100644 --- a/apps/activity/api/serializers.py +++ b/apps/activity/api/serializers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from rest_framework import serializers diff --git a/apps/activity/api/urls.py b/apps/activity/api/urls.py index 6680201f..5906705b 100644 --- a/apps/activity/api/urls.py +++ b/apps/activity/api/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from .views import ActivityTypeViewSet, ActivityViewSet, EntryViewSet, GuestViewSet diff --git a/apps/activity/api/views.py b/apps/activity/api/views.py index ae9347c7..97e6c40d 100644 --- a/apps/activity/api/views.py +++ b/apps/activity/api/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from api.viewsets import ReadProtectedModelViewSet diff --git a/apps/activity/apps.py b/apps/activity/apps.py index e1f7ba70..f3ee3936 100644 --- a/apps/activity/apps.py +++ b/apps/activity/apps.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.apps import AppConfig diff --git a/apps/activity/forms.py b/apps/activity/forms.py index 1ca98cef..6e1c35ff 100644 --- a/apps/activity/forms.py +++ b/apps/activity/forms.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from datetime import timedelta diff --git a/apps/activity/tables.py b/apps/activity/tables.py index 2d8e5dcc..9bbd100a 100644 --- a/apps/activity/tables.py +++ b/apps/activity/tables.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.utils import timezone diff --git a/apps/activity/tests/test_activities.py b/apps/activity/tests/test_activities.py index 1fcc7769..379f5d1b 100644 --- a/apps/activity/tests/test_activities.py +++ b/apps/activity/tests/test_activities.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from datetime import timedelta diff --git a/apps/activity/urls.py b/apps/activity/urls.py index 73e4a385..3578c340 100644 --- a/apps/activity/urls.py +++ b/apps/activity/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.urls import path diff --git a/apps/activity/views.py b/apps/activity/views.py index 1f966c65..38b87964 100644 --- a/apps/activity/views.py +++ b/apps/activity/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from hashlib import md5 diff --git a/apps/api/__init__.py b/apps/api/__init__.py index bfa0f07d..2e6addb0 100644 --- a/apps/api/__init__.py +++ b/apps/api/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later default_app_config = 'api.apps.APIConfig' diff --git a/apps/api/apps.py b/apps/api/apps.py index ebce358c..46fa6979 100644 --- a/apps/api/apps.py +++ b/apps/api/apps.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.apps import AppConfig diff --git a/apps/api/serializers.py b/apps/api/serializers.py index 0bae937f..74a95775 100644 --- a/apps/api/serializers.py +++ b/apps/api/serializers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/apps/api/tests.py b/apps/api/tests.py index 36de0658..285acc46 100644 --- a/apps/api/tests.py +++ b/apps/api/tests.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import json diff --git a/apps/api/urls.py b/apps/api/urls.py index 5d8b8b98..7c73093b 100644 --- a/apps/api/urls.py +++ b/apps/api/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.conf import settings diff --git a/apps/api/views.py b/apps/api/views.py index 9718336d..43ef3f78 100644 --- a/apps/api/views.py +++ b/apps/api/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.contrib.auth.models import User diff --git a/apps/api/viewsets.py b/apps/api/viewsets.py index faeadee1..35dad92d 100644 --- a/apps/api/viewsets.py +++ b/apps/api/viewsets.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.contrib.contenttypes.models import ContentType diff --git a/apps/logs/__init__.py b/apps/logs/__init__.py index 708d35df..5271d575 100644 --- a/apps/logs/__init__.py +++ b/apps/logs/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later default_app_config = 'logs.apps.LogsConfig' diff --git a/apps/logs/api/serializers.py b/apps/logs/api/serializers.py index f861bd21..cca94155 100644 --- a/apps/logs/api/serializers.py +++ b/apps/logs/api/serializers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from rest_framework import serializers diff --git a/apps/logs/api/urls.py b/apps/logs/api/urls.py index d0044c9b..9f255dd5 100644 --- a/apps/logs/api/urls.py +++ b/apps/logs/api/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from .views import ChangelogViewSet diff --git a/apps/logs/api/views.py b/apps/logs/api/views.py index eab1f1e4..655a473a 100644 --- a/apps/logs/api/views.py +++ b/apps/logs/api/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django_filters.rest_framework import DjangoFilterBackend diff --git a/apps/logs/apps.py b/apps/logs/apps.py index bdf52d5e..366981ec 100644 --- a/apps/logs/apps.py +++ b/apps/logs/apps.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.apps import AppConfig diff --git a/apps/logs/signals.py b/apps/logs/signals.py index a3166eed..c331e89e 100644 --- a/apps/logs/signals.py +++ b/apps/logs/signals.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.contrib.contenttypes.models import ContentType diff --git a/apps/member/__init__.py b/apps/member/__init__.py index ae68f6ce..d0ab8586 100644 --- a/apps/member/__init__.py +++ b/apps/member/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later default_app_config = 'member.apps.MemberConfig' diff --git a/apps/member/admin.py b/apps/member/admin.py index b3352c1a..3adc54ed 100644 --- a/apps/member/admin.py +++ b/apps/member/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.contrib import admin diff --git a/apps/member/api/serializers.py b/apps/member/api/serializers.py index ef1c586d..31bb1655 100644 --- a/apps/member/api/serializers.py +++ b/apps/member/api/serializers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from rest_framework import serializers diff --git a/apps/member/api/urls.py b/apps/member/api/urls.py index c55b0969..6f323186 100644 --- a/apps/member/api/urls.py +++ b/apps/member/api/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from .views import ProfileViewSet, ClubViewSet, MembershipViewSet diff --git a/apps/member/api/views.py b/apps/member/api/views.py index 43127507..ab6146ed 100644 --- a/apps/member/api/views.py +++ b/apps/member/api/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django_filters.rest_framework import DjangoFilterBackend diff --git a/apps/member/apps.py b/apps/member/apps.py index 1090c072..840c8783 100644 --- a/apps/member/apps.py +++ b/apps/member/apps.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.apps import AppConfig diff --git a/apps/member/auth.py b/apps/member/auth.py index 888adea1..06e48afa 100644 --- a/apps/member/auth.py +++ b/apps/member/auth.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from cas_server.auth import DjangoAuthUser # pragma: no cover diff --git a/apps/member/forms.py b/apps/member/forms.py index 527816cb..20060085 100644 --- a/apps/member/forms.py +++ b/apps/member/forms.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import io diff --git a/apps/member/hashers.py b/apps/member/hashers.py index 32f8c63e..659aab39 100644 --- a/apps/member/hashers.py +++ b/apps/member/hashers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import hashlib diff --git a/apps/member/signals.py b/apps/member/signals.py index 197c6413..94dd4021 100644 --- a/apps/member/signals.py +++ b/apps/member/signals.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/apps/member/tables.py b/apps/member/tables.py index 7f7e54fd..46be76e7 100644 --- a/apps/member/tables.py +++ b/apps/member/tables.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from datetime import date diff --git a/apps/member/templatetags/memberinfo.py b/apps/member/templatetags/memberinfo.py index f528677e..c9b3b60c 100644 --- a/apps/member/templatetags/memberinfo.py +++ b/apps/member/templatetags/memberinfo.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from datetime import date diff --git a/apps/member/urls.py b/apps/member/urls.py index 54b0f91d..51d506ab 100644 --- a/apps/member/urls.py +++ b/apps/member/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.urls import path diff --git a/apps/member/views.py b/apps/member/views.py index 066a7ef3..7c72d3d4 100644 --- a/apps/member/views.py +++ b/apps/member/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from datetime import timedelta, date diff --git a/apps/note/__init__.py b/apps/note/__init__.py index d3b96f09..828d8ed2 100644 --- a/apps/note/__init__.py +++ b/apps/note/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later default_app_config = 'note.apps.NoteConfig' diff --git a/apps/note/admin.py b/apps/note/admin.py index 8d081d90..9bd8add1 100644 --- a/apps/note/admin.py +++ b/apps/note/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.contrib import admin diff --git a/apps/note/api/serializers.py b/apps/note/api/serializers.py index a374fc33..980d992d 100644 --- a/apps/note/api/serializers.py +++ b/apps/note/api/serializers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.conf import settings diff --git a/apps/note/api/urls.py b/apps/note/api/urls.py index d15e8241..0522ebea 100644 --- a/apps/note/api/urls.py +++ b/apps/note/api/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from .views import NotePolymorphicViewSet, AliasViewSet, ConsumerViewSet, \ diff --git a/apps/note/api/views.py b/apps/note/api/views.py index 34ffaf2d..39b9b270 100644 --- a/apps/note/api/views.py +++ b/apps/note/api/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import re diff --git a/apps/note/apps.py b/apps/note/apps.py index 435fedf8..3d9c8583 100644 --- a/apps/note/apps.py +++ b/apps/note/apps.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.apps import AppConfig diff --git a/apps/note/forms.py b/apps/note/forms.py index 791abb51..209b49d9 100644 --- a/apps/note/forms.py +++ b/apps/note/forms.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from datetime import datetime diff --git a/apps/note/models/__init__.py b/apps/note/models/__init__.py index ab5d4ff1..4beb8112 100644 --- a/apps/note/models/__init__.py +++ b/apps/note/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from .notes import Alias, Note, NoteClub, NoteSpecial, NoteUser, Trust diff --git a/apps/note/signals.py b/apps/note/signals.py index 1ef51476..6ca702b9 100644 --- a/apps/note/signals.py +++ b/apps/note/signals.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.utils import timezone diff --git a/apps/note/static/note/js/consos.js b/apps/note/static/note/js/consos.js index 9ee543f7..4f096207 100644 --- a/apps/note/static/note/js/consos.js +++ b/apps/note/static/note/js/consos.js @@ -1,4 +1,4 @@ -// Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +// Copyright (C) 2018-2024 by BDE ENS Paris-Saclay // SPDX-License-Identifier: GPL-3.0-or-later // When a transaction is performed, lock the interface to prevent spam clicks. diff --git a/apps/note/tables.py b/apps/note/tables.py index 243a8da6..3ca2d1d4 100644 --- a/apps/note/tables.py +++ b/apps/note/tables.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import html diff --git a/apps/note/templates/note/mails/negative_balance.txt b/apps/note/templates/note/mails/negative_balance.txt index 0052995a..8707bde5 100644 --- a/apps/note/templates/note/mails/negative_balance.txt +++ b/apps/note/templates/note/mails/negative_balance.txt @@ -9,7 +9,7 @@ Ce mail t'a été envoyé parce que le solde de ta Note Kfet Ton solde actuel est de {{ note.balance|pretty_money }}. -Par ailleurs, le BDE ne sert pas d'alcool aux adhérents dont le solde +Par ailleurs, le BDE ne sert pas d'alcool aux adhérent·e·s dont le solde est inférieur à 0 € depuis plus de 24h. Si tu ne comprends pas ton solde, tu peux consulter ton historique diff --git a/apps/note/templatetags/getenv.py b/apps/note/templatetags/getenv.py index c00343d4..3d97b6e9 100644 --- a/apps/note/templatetags/getenv.py +++ b/apps/note/templatetags/getenv.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django import template diff --git a/apps/note/templatetags/pretty_money.py b/apps/note/templatetags/pretty_money.py index dcd58188..2bf838df 100644 --- a/apps/note/templatetags/pretty_money.py +++ b/apps/note/templatetags/pretty_money.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django import template diff --git a/apps/note/tests/test_transactions.py b/apps/note/tests/test_transactions.py index 4f5dd6c5..a11a1962 100644 --- a/apps/note/tests/test_transactions.py +++ b/apps/note/tests/test_transactions.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from api.tests import TestAPI diff --git a/apps/note/urls.py b/apps/note/urls.py index 29ee38c6..f3d50845 100644 --- a/apps/note/urls.py +++ b/apps/note/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.urls import path diff --git a/apps/note/views.py b/apps/note/views.py index 0cdfe370..a84e3636 100644 --- a/apps/note/views.py +++ b/apps/note/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import json diff --git a/apps/permission/__init__.py b/apps/permission/__init__.py index 201d8131..de866996 100644 --- a/apps/permission/__init__.py +++ b/apps/permission/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later default_app_config = 'permission.apps.PermissionConfig' diff --git a/apps/permission/admin.py b/apps/permission/admin.py index d5ef8b4f..a6fc713c 100644 --- a/apps/permission/admin.py +++ b/apps/permission/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-lateré from django.contrib import admin diff --git a/apps/permission/api/serializers.py b/apps/permission/api/serializers.py index 4e98364e..c1426a15 100644 --- a/apps/permission/api/serializers.py +++ b/apps/permission/api/serializers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from rest_framework import serializers diff --git a/apps/permission/api/urls.py b/apps/permission/api/urls.py index 30651936..fece3d7a 100644 --- a/apps/permission/api/urls.py +++ b/apps/permission/api/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from .views import PermissionViewSet, RoleViewSet diff --git a/apps/permission/api/views.py b/apps/permission/api/views.py index 2db14e00..5296e29b 100644 --- a/apps/permission/api/views.py +++ b/apps/permission/api/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from api.viewsets import ReadOnlyProtectedModelViewSet diff --git a/apps/permission/apps.py b/apps/permission/apps.py index 58c30082..1531479c 100644 --- a/apps/permission/apps.py +++ b/apps/permission/apps.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.apps import AppConfig diff --git a/apps/permission/backends.py b/apps/permission/backends.py index 4d7ffbf1..f64fd461 100644 --- a/apps/permission/backends.py +++ b/apps/permission/backends.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from datetime import date diff --git a/apps/permission/decorators.py b/apps/permission/decorators.py index 0e79df90..da36b7dc 100644 --- a/apps/permission/decorators.py +++ b/apps/permission/decorators.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import sys from functools import lru_cache diff --git a/apps/permission/permissions.py b/apps/permission/permissions.py index 1a5f51e5..3840a3cd 100644 --- a/apps/permission/permissions.py +++ b/apps/permission/permissions.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from rest_framework.permissions import DjangoObjectPermissions diff --git a/apps/permission/scopes.py b/apps/permission/scopes.py index 65242804..c3edfd93 100644 --- a/apps/permission/scopes.py +++ b/apps/permission/scopes.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from oauth2_provider.oauth2_validators import OAuth2Validator from oauth2_provider.scopes import BaseScopes diff --git a/apps/permission/signals.py b/apps/permission/signals.py index 6fb27392..37b7f7c3 100644 --- a/apps/permission/signals.py +++ b/apps/permission/signals.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.core.exceptions import PermissionDenied diff --git a/apps/permission/tables.py b/apps/permission/tables.py index eaec5138..894d4d13 100644 --- a/apps/permission/tables.py +++ b/apps/permission/tables.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import django_tables2 as tables diff --git a/apps/permission/templatetags/perms.py b/apps/permission/templatetags/perms.py index 17f336f4..241b2c73 100644 --- a/apps/permission/templatetags/perms.py +++ b/apps/permission/templatetags/perms.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.contrib.contenttypes.models import ContentType diff --git a/apps/permission/tests/test_oauth2.py b/apps/permission/tests/test_oauth2.py index 4593b35a..b37902b5 100644 --- a/apps/permission/tests/test_oauth2.py +++ b/apps/permission/tests/test_oauth2.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from datetime import timedelta diff --git a/apps/permission/tests/test_permission_denied.py b/apps/permission/tests/test_permission_denied.py index 1aa3e9e9..7d3fef5f 100644 --- a/apps/permission/tests/test_permission_denied.py +++ b/apps/permission/tests/test_permission_denied.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from datetime import timedelta, date diff --git a/apps/permission/tests/test_permission_queries.py b/apps/permission/tests/test_permission_queries.py index 218c5a75..95e303e4 100644 --- a/apps/permission/tests/test_permission_queries.py +++ b/apps/permission/tests/test_permission_queries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from datetime import date diff --git a/apps/permission/tests/test_rights_page.py b/apps/permission/tests/test_rights_page.py index 83e41cf3..ee777f48 100644 --- a/apps/permission/tests/test_rights_page.py +++ b/apps/permission/tests/test_rights_page.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.contrib.auth.models import User diff --git a/apps/permission/urls.py b/apps/permission/urls.py index 43eec1ef..31e44b77 100644 --- a/apps/permission/urls.py +++ b/apps/permission/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.conf import settings diff --git a/apps/permission/views.py b/apps/permission/views.py index 8f498478..77e5a4d0 100644 --- a/apps/permission/views.py +++ b/apps/permission/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from collections import OrderedDict from datetime import date diff --git a/apps/registration/__init__.py b/apps/registration/__init__.py index 5c37e986..024c5572 100644 --- a/apps/registration/__init__.py +++ b/apps/registration/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later default_app_config = 'registration.apps.RegistrationConfig' diff --git a/apps/registration/apps.py b/apps/registration/apps.py index 9ea23dc2..44067233 100644 --- a/apps/registration/apps.py +++ b/apps/registration/apps.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.apps import AppConfig diff --git a/apps/registration/forms.py b/apps/registration/forms.py index 6761da43..7021cf02 100644 --- a/apps/registration/forms.py +++ b/apps/registration/forms.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django import forms diff --git a/apps/registration/tables.py b/apps/registration/tables.py index 960866a6..151d5d74 100644 --- a/apps/registration/tables.py +++ b/apps/registration/tables.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import django_tables2 as tables diff --git a/apps/registration/tests/test_registration.py b/apps/registration/tests/test_registration.py index 69ab52d5..a37ad12a 100644 --- a/apps/registration/tests/test_registration.py +++ b/apps/registration/tests/test_registration.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.contrib.auth.models import User diff --git a/apps/registration/tokens.py b/apps/registration/tokens.py index ef8ddb02..332c4ee1 100644 --- a/apps/registration/tokens.py +++ b/apps/registration/tokens.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later # Copied from https://gitlab.crans.org/bombar/codeflix/-/blob/master/codeflix/codeflix/tokens.py diff --git a/apps/registration/urls.py b/apps/registration/urls.py index fe7f1a1f..45ca4c60 100644 --- a/apps/registration/urls.py +++ b/apps/registration/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.urls import path diff --git a/apps/registration/views.py b/apps/registration/views.py index eb415bdd..02d6f05e 100644 --- a/apps/registration/views.py +++ b/apps/registration/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.conf import settings diff --git a/apps/treasury/__init__.py b/apps/treasury/__init__.py index d14a7f6b..21ef103b 100644 --- a/apps/treasury/__init__.py +++ b/apps/treasury/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later default_app_config = 'treasury.apps.TreasuryConfig' diff --git a/apps/treasury/admin.py b/apps/treasury/admin.py index 5069e535..c435a4ff 100644 --- a/apps/treasury/admin.py +++ b/apps/treasury/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-lateré from django.contrib import admin diff --git a/apps/treasury/api/serializers.py b/apps/treasury/api/serializers.py index 5442fd06..79c2445d 100644 --- a/apps/treasury/api/serializers.py +++ b/apps/treasury/api/serializers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.db import transaction from rest_framework import serializers diff --git a/apps/treasury/api/urls.py b/apps/treasury/api/urls.py index 90c9d332..a4ba7c1e 100644 --- a/apps/treasury/api/urls.py +++ b/apps/treasury/api/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from .views import InvoiceViewSet, ProductViewSet, RemittanceViewSet, RemittanceTypeViewSet, SogeCreditViewSet diff --git a/apps/treasury/api/views.py b/apps/treasury/api/views.py index e6ba9ced..c7bf68e6 100644 --- a/apps/treasury/api/views.py +++ b/apps/treasury/api/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django_filters.rest_framework import DjangoFilterBackend diff --git a/apps/treasury/apps.py b/apps/treasury/apps.py index fb0b09db..e25accc0 100644 --- a/apps/treasury/apps.py +++ b/apps/treasury/apps.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.apps import AppConfig diff --git a/apps/treasury/forms.py b/apps/treasury/forms.py index 02441189..c3a3fc49 100644 --- a/apps/treasury/forms.py +++ b/apps/treasury/forms.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from crispy_forms.helper import FormHelper diff --git a/apps/treasury/signals.py b/apps/treasury/signals.py index fc87b874..67b516fc 100644 --- a/apps/treasury/signals.py +++ b/apps/treasury/signals.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from treasury.models import SpecialTransactionProxy, RemittanceType diff --git a/apps/treasury/tables.py b/apps/treasury/tables.py index f309c20f..c5272091 100644 --- a/apps/treasury/tables.py +++ b/apps/treasury/tables.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import django_tables2 as tables diff --git a/apps/treasury/templatetags/escape_tex.py b/apps/treasury/templatetags/escape_tex.py index 9ecbb613..656e53ac 100644 --- a/apps/treasury/templatetags/escape_tex.py +++ b/apps/treasury/templatetags/escape_tex.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django import template diff --git a/apps/treasury/tests/test_treasury.py b/apps/treasury/tests/test_treasury.py index bc0eddc3..69dabbb8 100644 --- a/apps/treasury/tests/test_treasury.py +++ b/apps/treasury/tests/test_treasury.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from api.tests import TestAPI diff --git a/apps/treasury/urls.py b/apps/treasury/urls.py index 4fe87924..2759358f 100644 --- a/apps/treasury/urls.py +++ b/apps/treasury/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.urls import path diff --git a/apps/treasury/views.py b/apps/treasury/views.py index fef684cc..be989f99 100644 --- a/apps/treasury/views.py +++ b/apps/treasury/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import os diff --git a/apps/wei/__init__.py b/apps/wei/__init__.py index 93dd4163..c4ea977d 100644 --- a/apps/wei/__init__.py +++ b/apps/wei/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later default_app_config = 'wei.apps.WeiConfig' diff --git a/apps/wei/admin.py b/apps/wei/admin.py index 63792b6b..f7c94227 100644 --- a/apps/wei/admin.py +++ b/apps/wei/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from note_kfet.admin import admin_site diff --git a/apps/wei/api/serializers.py b/apps/wei/api/serializers.py index ee028a37..93915ea9 100644 --- a/apps/wei/api/serializers.py +++ b/apps/wei/api/serializers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from rest_framework import serializers diff --git a/apps/wei/api/urls.py b/apps/wei/api/urls.py index 58dab39c..e5692224 100644 --- a/apps/wei/api/urls.py +++ b/apps/wei/api/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from .views import WEIClubViewSet, BusViewSet, BusTeamViewSet, WEIRoleViewSet, WEIRegistrationViewSet, \ diff --git a/apps/wei/api/views.py b/apps/wei/api/views.py index bad8ff68..e16a5374 100644 --- a/apps/wei/api/views.py +++ b/apps/wei/api/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django_filters.rest_framework import DjangoFilterBackend diff --git a/apps/wei/apps.py b/apps/wei/apps.py index 6836a50f..2f89420b 100644 --- a/apps/wei/apps.py +++ b/apps/wei/apps.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.apps import AppConfig diff --git a/apps/wei/forms/__init__.py b/apps/wei/forms/__init__.py index 10765752..fce2373a 100644 --- a/apps/wei/forms/__init__.py +++ b/apps/wei/forms/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from .registration import WEIForm, WEIRegistrationForm, WEIMembership1AForm, WEIMembershipForm, BusForm, BusTeamForm diff --git a/apps/wei/forms/registration.py b/apps/wei/forms/registration.py index 408071f4..808d7eda 100644 --- a/apps/wei/forms/registration.py +++ b/apps/wei/forms/registration.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2023 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django import forms diff --git a/apps/wei/forms/surveys/__init__.py b/apps/wei/forms/surveys/__init__.py index 0b1c583f..0e0c37e2 100644 --- a/apps/wei/forms/surveys/__init__.py +++ b/apps/wei/forms/surveys/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from .base import WEISurvey, WEISurveyInformation, WEISurveyAlgorithm diff --git a/apps/wei/forms/surveys/base.py b/apps/wei/forms/surveys/base.py index d8e86b3e..02bf0be8 100644 --- a/apps/wei/forms/surveys/base.py +++ b/apps/wei/forms/surveys/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from typing import Optional, List diff --git a/apps/wei/forms/surveys/wei2021.py b/apps/wei/forms/surveys/wei2021.py index e515d447..83f2d8ce 100644 --- a/apps/wei/forms/surveys/wei2021.py +++ b/apps/wei/forms/surveys/wei2021.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import time diff --git a/apps/wei/forms/surveys/wei2022.py b/apps/wei/forms/surveys/wei2022.py index 6a6aecd5..2550bc94 100644 --- a/apps/wei/forms/surveys/wei2022.py +++ b/apps/wei/forms/surveys/wei2022.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2023 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import time diff --git a/apps/wei/forms/surveys/wei2023.py b/apps/wei/forms/surveys/wei2023.py index 70bd814e..0ec017bb 100644 --- a/apps/wei/forms/surveys/wei2023.py +++ b/apps/wei/forms/surveys/wei2023.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2023 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from functools import lru_cache diff --git a/apps/wei/management/commands/export_wei_registrations.py b/apps/wei/management/commands/export_wei_registrations.py index a51f1c64..ca3dc06c 100644 --- a/apps/wei/management/commands/export_wei_registrations.py +++ b/apps/wei/management/commands/export_wei_registrations.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.core.management import BaseCommand, CommandError diff --git a/apps/wei/management/commands/import_scores.py b/apps/wei/management/commands/import_scores.py index f8587cfd..915ce696 100644 --- a/apps/wei/management/commands/import_scores.py +++ b/apps/wei/management/commands/import_scores.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import argparse import sys diff --git a/apps/wei/management/commands/wei_algorithm.py b/apps/wei/management/commands/wei_algorithm.py index 9e895035..8d070242 100644 --- a/apps/wei/management/commands/wei_algorithm.py +++ b/apps/wei/management/commands/wei_algorithm.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from argparse import ArgumentParser, FileType diff --git a/apps/wei/tables.py b/apps/wei/tables.py index 687f8f07..7cf26b02 100644 --- a/apps/wei/tables.py +++ b/apps/wei/tables.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from datetime import date diff --git a/apps/wei/templates/wei/weilist_sample.tex b/apps/wei/templates/wei/weilist_sample.tex index 820df64d..f570f310 100644 --- a/apps/wei/templates/wei/weilist_sample.tex +++ b/apps/wei/templates/wei/weilist_sample.tex @@ -6,7 +6,7 @@ \begin{document} \begin{center} -\huge{Liste des inscrits « {{ wei.name }} »} +\huge{Liste des inscrit·e·s « {{ wei.name }} »} {% if bus %} \LARGE{Bus {{ bus.name|safe }}} diff --git a/apps/wei/tests/test_wei_algorithm_2021.py b/apps/wei/tests/test_wei_algorithm_2021.py index 53207127..d6782fe8 100644 --- a/apps/wei/tests/test_wei_algorithm_2021.py +++ b/apps/wei/tests/test_wei_algorithm_2021.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import random diff --git a/apps/wei/tests/test_wei_algorithm_2022.py b/apps/wei/tests/test_wei_algorithm_2022.py index 2d358dbe..2ee3da6e 100644 --- a/apps/wei/tests/test_wei_algorithm_2022.py +++ b/apps/wei/tests/test_wei_algorithm_2022.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2022 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import random diff --git a/apps/wei/tests/test_wei_algorithm_2023.py b/apps/wei/tests/test_wei_algorithm_2023.py index ae982d3c..c94cbb0c 100644 --- a/apps/wei/tests/test_wei_algorithm_2023.py +++ b/apps/wei/tests/test_wei_algorithm_2023.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2023 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import random diff --git a/apps/wei/tests/test_wei_registration.py b/apps/wei/tests/test_wei_registration.py index 86dd4cfd..74fdcf0b 100644 --- a/apps/wei/tests/test_wei_registration.py +++ b/apps/wei/tests/test_wei_registration.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2023 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import subprocess diff --git a/apps/wei/urls.py b/apps/wei/urls.py index fb497216..c96fa040 100644 --- a/apps/wei/urls.py +++ b/apps/wei/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.urls import path diff --git a/apps/wei/views.py b/apps/wei/views.py index 4f2b7b65..4771cb5b 100644 --- a/apps/wei/views.py +++ b/apps/wei/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later import os diff --git a/entrypoint.sh b/entrypoint.sh index ddfcb00a..60a0a912 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later if [ -z ${NOTE_URL+x} ]; then diff --git a/note_kfet/admin.py b/note_kfet/admin.py index dc209c67..0900c3b0 100644 --- a/note_kfet/admin.py +++ b/note_kfet/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.conf import settings diff --git a/note_kfet/inputs.py b/note_kfet/inputs.py index 6e729c47..0ad0797a 100644 --- a/note_kfet/inputs.py +++ b/note_kfet/inputs.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from json import dumps as json_dumps diff --git a/note_kfet/middlewares.py b/note_kfet/middlewares.py index ed6d6acf..47948adb 100644 --- a/note_kfet/middlewares.py +++ b/note_kfet/middlewares.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from threading import local diff --git a/note_kfet/settings/__init__.py b/note_kfet/settings/__init__.py index 0710212b..22d5fd0c 100644 --- a/note_kfet/settings/__init__.py +++ b/note_kfet/settings/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.utils.translation import gettext_lazy as _ diff --git a/note_kfet/settings/base.py b/note_kfet/settings/base.py index f3c23f4d..74fed818 100644 --- a/note_kfet/settings/base.py +++ b/note_kfet/settings/base.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later # This file implements sane defaults to use in production. diff --git a/note_kfet/settings/development.py b/note_kfet/settings/development.py index 7fa4da86..c83f301a 100644 --- a/note_kfet/settings/development.py +++ b/note_kfet/settings/development.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later ######################## diff --git a/note_kfet/settings/secrets_example.py b/note_kfet/settings/secrets_example.py index 5b69c10f..49a77a95 100644 --- a/note_kfet/settings/secrets_example.py +++ b/note_kfet/settings/secrets_example.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later OPTIONAL_APPS = [ diff --git a/note_kfet/static/js/base.js b/note_kfet/static/js/base.js index bf21b4ed..3111c362 100644 --- a/note_kfet/static/js/base.js +++ b/note_kfet/static/js/base.js @@ -1,4 +1,4 @@ -// Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +// Copyright (C) 2018-2024 by BDE ENS Paris-Saclay // SPDX-License-Identifier: GPL-3.0-or-later /** diff --git a/note_kfet/urls.py b/note_kfet/urls.py index 7fc37fa7..d222c239 100644 --- a/note_kfet/urls.py +++ b/note_kfet/urls.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.conf import settings diff --git a/note_kfet/views.py b/note_kfet/views.py index b65bf761..faf14a67 100644 --- a/note_kfet/views.py +++ b/note_kfet/views.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay +# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay # SPDX-License-Identifier: GPL-3.0-or-later from django.contrib.auth.mixins import LoginRequiredMixin diff --git a/note_kfet/wsgi.py b/note_kfet/wsgi.py index b89430ec..8b86ba3b 100644 --- a/note_kfet/wsgi.py +++ b/note_kfet/wsgi.py @@ -1,4 +1,4 @@ -# Copyright (C) 2016-2019 by BDE +# Copyright (C) 2016-2024 by BDE # SPDX-License-Identifier: GPL-3.0-or-later """