Compare commits

..

1 Commits

Author SHA1 Message Date
Erik Kalkoken
535bdd743b Merge branch 'seperate-out-celery-once' into 'master'
Remove dependecies from celery_once customizations

See merge request allianceauth/allianceauth!1491
2025-11-03 13:04:28 +01:00
6 changed files with 56 additions and 73 deletions

View File

@ -25,12 +25,12 @@ exclude: |
repos:
# Code Upgrades
- repo: https://github.com/asottile/pyupgrade
rev: v3.21.1
rev: v3.21.0
hooks:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.29.1
rev: 1.29.0
hooks:
- id: django-upgrade
args: [--target-version=4.2]
@ -64,7 +64,7 @@ repos:
- id: check-executables-have-shebangs
- id: end-of-file-fixer
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 3.4.1
rev: 3.4.0
hooks:
- id: editorconfig-checker
- repo: https://github.com/igorshubovych/markdownlint-cli
@ -76,7 +76,7 @@ repos:
- --disable=MD013
# Infrastructure
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.11.1
rev: v2.11.0
hooks:
- id: pyproject-fmt
name: pyproject.toml formatter

View File

@ -5,7 +5,7 @@ manage online service access.
# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
__version__ = '4.11.2'
__version__ = '4.11.0'
__title__ = 'Alliance Auth'
__title_useragent__ = 'AllianceAuth'
__url__ = 'https://gitlab.com/allianceauth/allianceauth'

View File

@ -727,8 +727,7 @@ class TestEveSwaggerProvider(TestCase):
my_provider = EveSwaggerProvider()
my_client = my_provider.client
operation = my_client.Universe.get_universe_factions()
expected_variants = {
f'AllianceAuth/{aa_version} (dummy@example.net; +{aa_url}) DjangoEsi/{esi_version} (+{esi_url})', # Django-ESI 8.0.0
f'AllianceAuth/{aa_version} (dummy@example.net; +{aa_url}) Django-ESI/{esi_version} (+{esi_url})' # Django-ESI 7.x, Py38 Py39
}
self.assertIn(operation.future.request.headers['User-Agent'], expected_variants)
self.assertEqual(
operation.future.request.headers['User-Agent'],
f'AllianceAuth/{aa_version} (dummy@example.net; +{aa_url}) Django-ESI/{esi_version} (+{esi_url})'
)

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-13 10:19+1000\n"
"POT-Creation-Date: 2025-09-21 13:44+1000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -57,7 +57,7 @@ msgid "You are not allowed to add or remove these restricted groups: %s"
msgstr ""
#: allianceauth/authentication/models.py:72
#: allianceauth/project_template/project_name/settings/base.py:105
#: allianceauth/project_template/project_name/settings/base.py:104
msgid "English"
msgstr ""
@ -66,57 +66,57 @@ msgid "Czech"
msgstr ""
#: allianceauth/authentication/models.py:74
#: allianceauth/project_template/project_name/settings/base.py:107
#: allianceauth/project_template/project_name/settings/base.py:106
msgid "German"
msgstr ""
#: allianceauth/authentication/models.py:75
#: allianceauth/project_template/project_name/settings/base.py:108
#: allianceauth/project_template/project_name/settings/base.py:107
msgid "Spanish"
msgstr ""
#: allianceauth/authentication/models.py:76
#: allianceauth/project_template/project_name/settings/base.py:109
#: allianceauth/project_template/project_name/settings/base.py:108
msgid "Italian"
msgstr ""
#: allianceauth/authentication/models.py:77
#: allianceauth/project_template/project_name/settings/base.py:110
#: allianceauth/project_template/project_name/settings/base.py:109
msgid "Japanese"
msgstr ""
#: allianceauth/authentication/models.py:78
#: allianceauth/project_template/project_name/settings/base.py:111
#: allianceauth/project_template/project_name/settings/base.py:110
msgid "Korean"
msgstr ""
#: allianceauth/authentication/models.py:79
#: allianceauth/project_template/project_name/settings/base.py:112
#: allianceauth/project_template/project_name/settings/base.py:111
msgid "French"
msgstr ""
#: allianceauth/authentication/models.py:80
#: allianceauth/project_template/project_name/settings/base.py:115
#: allianceauth/project_template/project_name/settings/base.py:114
msgid "Russian"
msgstr ""
#: allianceauth/authentication/models.py:81
#: allianceauth/project_template/project_name/settings/base.py:113
#: allianceauth/project_template/project_name/settings/base.py:112
msgid "Dutch"
msgstr ""
#: allianceauth/authentication/models.py:82
#: allianceauth/project_template/project_name/settings/base.py:114
#: allianceauth/project_template/project_name/settings/base.py:113
msgid "Polish"
msgstr ""
#: allianceauth/authentication/models.py:83
#: allianceauth/project_template/project_name/settings/base.py:116
#: allianceauth/project_template/project_name/settings/base.py:115
msgid "Ukrainian"
msgstr ""
#: allianceauth/authentication/models.py:84
#: allianceauth/project_template/project_name/settings/base.py:117
#: allianceauth/project_template/project_name/settings/base.py:116
msgid "Simplified Chinese"
msgstr ""
@ -125,30 +125,22 @@ msgstr ""
msgid "Language"
msgstr ""
#: allianceauth/authentication/models.py:106
#: allianceauth/authentication/models.py:105
#: allianceauth/templates/allianceauth/night-toggle.html:6
msgid "Night Mode"
msgstr ""
#: allianceauth/authentication/models.py:110
#: allianceauth/authentication/models.py:109
#: allianceauth/theme/templates/theme/theme_select.html:4
msgid "Theme"
msgstr ""
#: allianceauth/authentication/models.py:117
msgid "Minimize Sidebar Menu"
msgstr ""
#: allianceauth/authentication/models.py:119
msgid "Keep the sidebar menu minimized"
msgstr ""
#: allianceauth/authentication/models.py:133
#: allianceauth/authentication/models.py:126
#, python-format
msgid "State changed to: %s"
msgstr ""
#: allianceauth/authentication/models.py:134
#: allianceauth/authentication/models.py:127
#, python-format
msgid "Your user's state is now: %(state)s"
msgstr ""
@ -208,8 +200,8 @@ msgstr ""
#: allianceauth/authentication/templates/authentication/tokens.html:7
#: allianceauth/authentication/templates/authentication/tokens.html:11
#: allianceauth/menu/templates/menu/menu-user.html:158
#: allianceauth/menu/templates/menu/menu-user.html:161
#: allianceauth/menu/templates/menu/menu-user.html:133
#: allianceauth/menu/templates/menu/menu-user.html:136
#: allianceauth/templates/allianceauth/top-menu-user-dropdown.html:62
msgid "Token Management"
msgstr ""
@ -755,8 +747,8 @@ msgstr ""
#: allianceauth/fleetactivitytracking/views.py:323
#, python-brace-format
msgid ""
"Cannot register the fleet participation for {character_name}. The character "
"needs to be online."
"Cannot register the fleet participation for {character.character_name}. The "
"character needs to be online."
msgstr ""
#: allianceauth/framework/apps.py:16
@ -1494,45 +1486,37 @@ msgid "Notifications"
msgstr ""
#: allianceauth/menu/templates/menu/menu-user.html:77
msgid "Sidebar"
msgstr ""
#: allianceauth/menu/templates/menu/menu-user.html:93
msgid "Minimize Sidebar"
msgstr ""
#: allianceauth/menu/templates/menu/menu-user.html:102
msgid "Super User"
msgstr ""
#: allianceauth/menu/templates/menu/menu-user.html:108
#: allianceauth/menu/templates/menu/menu-user.html:111
#: allianceauth/menu/templates/menu/menu-user.html:83
#: allianceauth/menu/templates/menu/menu-user.html:86
msgid "Alliance Auth Documentation"
msgstr ""
#: allianceauth/menu/templates/menu/menu-user.html:119
#: allianceauth/menu/templates/menu/menu-user.html:122
#: allianceauth/menu/templates/menu/menu-user.html:94
#: allianceauth/menu/templates/menu/menu-user.html:97
msgid "Alliance Auth Discord"
msgstr ""
#: allianceauth/menu/templates/menu/menu-user.html:130
#: allianceauth/menu/templates/menu/menu-user.html:133
#: allianceauth/menu/templates/menu/menu-user.html:105
#: allianceauth/menu/templates/menu/menu-user.html:108
msgid "Alliance Auth Git"
msgstr ""
#: allianceauth/menu/templates/menu/menu-user.html:143
#: allianceauth/menu/templates/menu/menu-user.html:146
#: allianceauth/menu/templates/menu/menu-user.html:118
#: allianceauth/menu/templates/menu/menu-user.html:121
#: allianceauth/templates/allianceauth/top-menu-admin.html:9
msgid "Admin"
msgstr ""
#: allianceauth/menu/templates/menu/menu-user.html:169
#: allianceauth/menu/templates/menu/menu-user.html:172
#: allianceauth/menu/templates/menu/menu-user.html:144
#: allianceauth/menu/templates/menu/menu-user.html:147
msgid "Sign Out"
msgstr ""
#: allianceauth/menu/templates/menu/menu-user.html:180
#: allianceauth/menu/templates/menu/menu-user.html:183
#: allianceauth/menu/templates/menu/menu-user.html:155
#: allianceauth/menu/templates/menu/menu-user.html:158
#: allianceauth/templates/allianceauth/top-menu-rh-default.html:13
#: allianceauth/templates/allianceauth/top-menu-rh-default.html:14
msgid "Sign In"
@ -1793,9 +1777,9 @@ msgstr ""
msgid "That service account already exists"
msgstr ""
#: allianceauth/services/abstract.py:105
#: allianceauth/services/abstract.py:103
#, python-brace-format
msgid "Successfully set your {service_name} password"
msgid "Successfully set your {self.service_name} password"
msgstr ""
#: allianceauth/services/apps.py:8 allianceauth/services/auth_hooks.py:12
@ -2334,11 +2318,11 @@ msgstr ""
msgid "Invalid Link. Please use zkillboard.com or kb.evetools.org"
msgstr ""
#: allianceauth/srp/form.py:49
#: allianceauth/srp/form.py:46
msgid "Invalid Link. Please post a direct link to a killmail."
msgstr ""
#: allianceauth/srp/form.py:56
#: allianceauth/srp/form.py:53
msgid "After Action Report Link"
msgstr ""
@ -2612,7 +2596,7 @@ msgstr ""
msgid "Saved changes to SRP fleet %(fleetname)s"
msgstr ""
#: allianceauth/templates/allianceauth/admin-status/esi_check.html:5
#: allianceauth/templates/allianceauth/admin-status/esi_check.html:4
msgid "Your Server received an ESI error response code of "
msgstr ""
@ -3017,36 +3001,36 @@ msgstr ""
msgid "Saved changes to the timer."
msgstr ""
#: allianceauth/views.py:78
#: allianceauth/views.py:55
msgid "Bad Request"
msgstr ""
#: allianceauth/views.py:80 allianceauth/views.py:110
#: allianceauth/views.py:57 allianceauth/views.py:87
msgid ""
"Auth encountered an error processing your request, please try again. If the "
"error persists, please contact the administrators."
msgstr ""
#: allianceauth/views.py:88
#: allianceauth/views.py:65
msgid "Permission Denied"
msgstr ""
#: allianceauth/views.py:90
#: allianceauth/views.py:67
msgid ""
"You do not have permission to access the requested page. If you believe this "
"is in error please contact the administrators."
msgstr ""
#: allianceauth/views.py:98
#: allianceauth/views.py:75
msgid "Page Not Found"
msgstr ""
#: allianceauth/views.py:100
#: allianceauth/views.py:77
msgid ""
"Page does not exist. If you believe this is in error please contact the "
"administrators. "
msgstr ""
#: allianceauth/views.py:108
#: allianceauth/views.py:85
msgid "Internal Server Error"
msgstr ""

View File

@ -1,7 +1,7 @@
PROTOCOL=https://
AUTH_SUBDOMAIN=%AUTH_SUBDOMAIN%
DOMAIN=%DOMAIN%
AA_DOCKER_TAG=registry.gitlab.com/allianceauth/allianceauth/auth:v4.11.2
AA_DOCKER_TAG=registry.gitlab.com/allianceauth/allianceauth/auth:v4.11.0
# Nginx Proxy Manager
PROXY_HTTP_PORT=80

View File

@ -1,5 +1,5 @@
FROM python:3.11-slim
ARG AUTH_VERSION=v4.11.2
ARG AUTH_VERSION=v4.11.0
ARG AUTH_PACKAGE=allianceauth==${AUTH_VERSION}
ENV AUTH_USER=allianceauth
ENV AUTH_GROUP=allianceauth