Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ Section Order:

<!-- Your changes go here -->

### Removed

- Unexpected argument from task chain

## [3.5.0] - 2026-01-23

> [!IMPORTANT]
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ ______________________________________________________________________
>
> Please make sure you meet all preconditions before you proceed.

> [!IMPORTANT]
>
> This app is utilising features that are only available in Alliance Auth >= 4.12.0.
> Please make sure to update your Alliance Auth instance before installing this app,
> otherwise, an update to Alliance Auth will be pulled in unsupervised.

- AA Sovereignty Timer is a plugin for Alliance Auth. If you don't have Alliance
Auth running already, please install it first before proceeding. (see the official
[AA installation guide](https://allianceauth.readthedocs.io/en/latest/installation/allianceauth.html) for details)
Expand Down
4 changes: 2 additions & 2 deletions sovtimer/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def run_sov_campaign_updates() -> None:

# Chain the update tasks for structures and campaigns, and execute them asynchronously
chain(
update_sov_structures.s().set(priority=TASK_PRIORITY, once=TASK_ONCE_ARGS),
update_sov_campaigns.s().set(priority=TASK_PRIORITY, once=TASK_ONCE_ARGS),
update_sov_structures.s().set(priority=TASK_PRIORITY),
update_sov_campaigns.s().set(priority=TASK_PRIORITY),
).apply_async()


Expand Down
3 changes: 0 additions & 3 deletions sovtimer/tests/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import sovtimer.tasks as tasks_module
from sovtimer.models import Campaign, SovereigntyStructure
from sovtimer.tasks import (
TASK_ONCE_ARGS,
TASK_PRIORITY,
run_sov_campaign_updates,
update_sov_campaigns,
Expand Down Expand Up @@ -49,11 +48,9 @@ def test_updates_both_structures_and_campaigns(

struct_kwargs = mock_update_structures.return_value.set.call_args.kwargs
self.assertEqual(struct_kwargs.get("priority"), TASK_PRIORITY)
self.assertEqual(struct_kwargs.get("once"), TASK_ONCE_ARGS)

camp_kwargs = mock_update_campaigns.return_value.set.call_args.kwargs
self.assertEqual(camp_kwargs.get("priority"), TASK_PRIORITY)
self.assertEqual(camp_kwargs.get("once"), TASK_ONCE_ARGS)

@patch("sovtimer.tasks.update_sov_structures.s")
@patch("sovtimer.tasks.update_sov_campaigns.s")
Expand Down
Loading