Peter Pfeufer
4f1ebedc44
[FIX] Reference before assignment
...
`ownership` doesn't exist at this point.
To get the main character, `user` is used here.
```
Traceback (most recent call last):
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/django/core/handlers/exception.py", line 56, in inner
response = get_response(request)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/esi/decorators.py", line 116, in _wrapped_view
return view_func(request, token, *args, **kwargs)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/allianceauth/authentication/views.py", line 156, in sso_login
user = authenticate(token=token)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/django/views/decorators/debug.py", line 42, in sensitive_variables_wrapper
return func(*func_args, **func_kwargs)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/django/contrib/auth/__init__.py", line 77, in authenticate
user = backend.authenticate(request, **credentials)
File "/home/allianceserver/venv/auth/lib/python3.10/site-packages/allianceauth/authentication/backends.py", line 68, in authenticate
if ownership.user.profile.main_character.character_id != token.character_id:
UnboundLocalError: local variable 'ownership' referenced before assignment
```
2023-09-01 20:46:00 +02:00
Peter Pfeufer
66822107e3
[ADD] Language code to page and language selector
2023-08-28 21:40:28 +02:00
Peter Pfeufer
7856cd5ce4
[ADD] Respect and display the new Discord username format when eligible
2023-08-26 00:47:08 +02:00
Ariel Rin
d6821b3fd6
Merge branch 'master' of gitlab.com:allianceauth/allianceauth into v4.x
2023-08-14 15:13:54 +10:00
Ariel Rin
90375246fd
Merge branch 'analytics' into 'v4.x'
...
Analytics UA to V4 Conversion
See merge request allianceauth/allianceauth!1500
2023-08-14 03:31:33 +00:00
Ariel Rin
a2f217ace5
Analytics UA to V4 Conversion
2023-08-14 03:31:33 +00:00
Ariel Rin
25cf2fdcd5
Merge branch 'docs' into 'v4.x'
...
V4.x Docker Refactoring and Docs
See merge request allianceauth/allianceauth!1507
2023-08-14 03:05:44 +00:00
Ariel Rin
4305ae7995
V4.x Docker Refactoring and Docs
2023-08-14 03:05:44 +00:00
Ariel Rin
36b3077caa
Version Bump 3.6.1
v3.6.1
2023-08-10 14:37:27 +10:00
Ariel Rin
1786f3a642
Merge branch 'prepare-base-template-for-public-views' into 'master'
...
[FIX] Templates prepared for public views
See merge request allianceauth/allianceauth!1525
2023-08-10 04:23:48 +00:00
Peter Pfeufer
55927c6f15
[FIX] Allow messages also for non-logged-in user to be displayed
2023-08-08 23:20:43 +02:00
Peter Pfeufer
8fbe0ba45d
[CHANGE] Comment
2023-08-07 07:23:21 +02:00
Peter Pfeufer
1563805ddb
[ADD] CCP's "No Character" character image as user menu image for public
2023-08-05 18:51:12 +02:00
Ariel Rin
c58ed53369
Merge branch 'fix-negative-running-tasks' into 'master'
...
Fix negative running tasks
See merge request allianceauth/allianceauth!1524
2023-08-05 09:17:42 +00:00
Peter Pfeufer
32128ace1c
[FIX] Better explanation in local.py
project template
2023-08-02 23:35:25 +02:00
Peter Pfeufer
7290eaad7e
[FIX] Notifications menu item removed in public views
2023-08-02 23:22:14 +02:00
Peter Pfeufer
f23d4f4dd1
[FIX] base.html
prepared for public views
...
Certain things need to be behind `{% if user.is_authenticated %}` in order for the base template to play nice with public views.
2023-08-02 23:17:28 +02:00
ErikKalkoken
ab3f10e6f2
Add more tests for ItemCounter
2023-08-02 16:11:24 +02:00
ErikKalkoken
20187cc73e
Add locks to ensure process safety
2023-08-02 15:58:36 +02:00
ErikKalkoken
1f55fbfccc
Add minimum to ItemCounter and refactor redis client init
2023-08-02 15:41:47 +02:00
Ariel Rin
12383d79c8
Version Bump 3.6.0
v3.6.0
2023-08-01 21:37:25 +10:00
Ariel Rin
56e2875650
Merge branch 'pre-commit-update' into 'master'
...
`pre-commit` Update and File Permission Fixes (redone)
See merge request allianceauth/allianceauth!1523
2023-08-01 11:22:37 +00:00
Peter Pfeufer
d0118e6c0b
[FIX] File permissions
2023-08-01 12:55:19 +02:00
Peter Pfeufer
7075ccdf7a
[CHANGE] Django Upgrade checks applied
2023-08-01 12:52:05 +02:00
Ariel Rin
b2d540c010
Merge branch 'add-public-routes-feature' into 'master'
...
Add public routes feature
See merge request allianceauth/allianceauth!1514
2023-08-01 10:20:14 +00:00
Erik Kalkoken
7cb7e2c77b
Add public routes feature
2023-08-01 10:20:13 +00:00
Ariel Rin
5d6a4ab1a9
Merge branch 'feature-show-running-tasks' into 'master'
...
Show running tasks on dashboard
See merge request allianceauth/allianceauth!1515
2023-08-01 10:15:43 +00:00
Erik Kalkoken
1122d617bd
Show running tasks on dashboard
2023-08-01 10:15:42 +00:00
Ariel Rin
ef33501e45
Merge branch 'proper-favicon-support' into 'master'
...
Proper favicon support
See merge request allianceauth/allianceauth!1520
2023-08-01 10:14:21 +00:00
Ariel Rin
08fd86db8f
Merge branch 'migrate-pep-621' into 'master'
...
Migrate to PEP 621
See merge request allianceauth/allianceauth!1513
2023-07-25 09:32:29 +00:00
Erik Kalkoken
c4193c15fc
Migrate to PEP 621
2023-07-25 09:32:28 +00:00
Ariel Rin
903074080e
Merge branch 'unknown_discord_group_patch' into 'master'
...
Discord: Don't fail on unknown groups, simply remove them.
See merge request allianceauth/allianceauth!1504
2023-07-25 09:27:19 +00:00
Ariel Rin
3046a26a02
Merge branch 'AA-Timer-Absolute' into 'master'
...
Adding Absolute Timers to base timerboard
See merge request allianceauth/allianceauth!1518
2023-07-25 09:26:10 +00:00
Hamish W
951c4135c2
Adding Absolute Timers to base timerboard
2023-07-25 09:26:10 +00:00
Ariel Rin
b256a0c5e1
Merge branch 'next-params' into 'master'
...
Encode Next Param for Login Redirection
See merge request allianceauth/allianceauth!1519
2023-07-25 09:02:31 +00:00
Ariel Rin
212b9b0f60
Merge branch 'stringify-crontab-arguments' into 'master'
...
[FIX] `crontab` arguments are of type `string`, not `int`
See merge request allianceauth/allianceauth!1517
2023-07-25 08:55:25 +00:00
Peter Pfeufer
fc29d7e80d
[ADD] All modern favicon versions generated by realfavicongenerator.net
2023-07-19 12:10:02 +02:00
Peter Pfeufer
ec536c66a0
[ADD] Favicon redirect to Nginx docs
2023-07-19 11:40:45 +02:00
Peter Pfeufer
749ece45e2
[ADD] Favicon redirect to Apache2 docs
2023-07-19 11:39:04 +02:00
Peter Pfeufer
b04c8873d0
[ADD] Directive for default favicon
2023-07-19 11:37:07 +02:00
Aaron Kable
9a77175bf3
Allow get params from next at login
2023-07-17 10:25:36 +08:00
Peter Pfeufer
5d4c7b9030
[FIX] crontab
arguments here as well
2023-07-14 19:22:29 +02:00
Aaron Kable
5f80259d57
fix test
2023-07-13 20:28:35 +08:00
Peter Pfeufer
dcd6bd1b36
[FIX] crontab
arguments are of type string
, not int
2023-07-12 13:11:18 +02:00
Ariel Rin
6f4dffe930
Version Bump 3.5.1
v3.5.1
2023-07-11 22:38:26 +10:00
Ariel Rin
56d70e6c74
Add pkg-config to dockerfile
2023-07-11 22:36:15 +10:00
Ariel Rin
5e14ea4573
Version Bump 3.5.0
v3.5.0
2023-07-11 13:01:50 +10:00
Ariel Rin
c743eca0f7
Merge branch 'fix-use-of-deprecated-function-calls' into 'master'
...
[FIX] Use of deprecated `logger.warn()` function calls
See merge request allianceauth/allianceauth!1516
2023-07-11 02:36:59 +00:00
Ariel Rin
2002f24178
Merge branch 'limit-django-registration' into 'master'
...
[COMPATIBILITY] Limit `django-registration` to <3.4
See merge request allianceauth/allianceauth!1512
2023-07-07 23:57:30 +00:00
Ariel Rin
6412aedf53
Merge branch 'add-docs-for-external-link' into 'master'
...
Add customization example to docs
See merge request allianceauth/allianceauth!1511
2023-07-07 23:56:07 +00:00