From aca9150dbd678384a85c3309fdba416819d45c71 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Thu, 9 Jul 2026 11:45:42 +0200 Subject: [PATCH] [CHANGE] Migrated to Alliance Auth proxy models for our tests --- CHANGELOG.md | 11 +++++++++++ README.md | 2 +- pyproject.toml | 2 +- sovtimer/tests/__init__.py | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80d2143f..1cb58ec5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,17 @@ Section Order: +> [!IMPORTANT] +> +> **This version needs Alliance Auth v5.2.0 or newer!** +> +> Please make sure to update your Alliance Auth instance **before** you install this +> version; otherwise, an update to Alliance Auth will be pulled in unsupervised. + +### Changed + +- Migrated to Alliance Auth proxy models for `Permission`, `User` and `Group` + ## [5.0.1] - 2026-07-07 ### Added diff --git a/README.md b/README.md index 3c0beaff..f6ae43c7 100644 --- a/README.md +++ b/README.md @@ -307,7 +307,7 @@ See [CHANGELOG.md][changelog] for a detailed list of changes and improvements. ## Translation Status -[![Translation status](https://weblate.ppfeufer.de/widget/alliance-auth-apps/aa-sov-timer/multi-auto.svg)](https://weblate.ppfeufer.de/engage/alliance-auth-apps/) +[![Translation status](https://weblate.ppfeufer.de/widget/alliance-auth-apps/aa-sov-timer/matrix-auto.svg)](https://weblate.ppfeufer.de/engage/alliance-auth-apps/) Do you want to help translate this app into your language or improve the existing translation? - [Join our team of translators][weblate engage]! diff --git a/pyproject.toml b/pyproject.toml index 02a7f6a1..58693468 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ dynamic = [ "version", ] dependencies = [ - "allianceauth>=5,<6", + "allianceauth>=5.2,<6", "django-eveonline-sde>=0.0.1b9", ] optional-dependencies.tests-allianceauth-latest = [ diff --git a/sovtimer/tests/__init__.py b/sovtimer/tests/__init__.py index cb61f22e..f8377fbb 100644 --- a/sovtimer/tests/__init__.py +++ b/sovtimer/tests/__init__.py @@ -7,11 +7,11 @@ import socket # Django -from django.contrib.auth.models import User from django.core.handlers.wsgi import WSGIRequest from django.test import TestCase # Alliance Auth +from allianceauth.authentication.models import User from allianceauth.tests.auth_utils import AuthUtils