Skip to main content

AA-Dens

Alliance Auth applications to handle mercenary dens

release python django license

Features

  • List mercenary dens
  • Show other users mercenary dens depending on your roles
  • Sends timers over to timberboard or structuretimers

Screenshots

Installations

Step 1 - Check prerequisites

aa-dens 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 for details).

You will also need the django-eveonline-sde module to be properly installed.

Step 2 - Install app

Make sure you are in the virtual environment (venv) of your Alliance Auth installation. Then install the newest release from PyPI:

pip install aa-dens

Step 3 - Configure Auth settings

Configure your Auth settings (local.py) as follows:

  • Add 'dens' to INSTALLED_APPS
  • Add below lines to your settings file:
CELERYBEAT_SCHEDULE['dens_update_owners'] = {
    'task': 'dens.tasks.update_all_den_owners',
    'schedule': crontab(minute='0', hour='*/2'),
    'apply_offset': True,
}

CELERYBEAT_SCHEDULE['dens_update_notifications'] = {
    'task': 'dens.tasks.update_all_owners_notifications',
    'schedule': crontab(minute='*/10'),
    'apply_offset': True,
}

CELERYBEAT_SCHEDULE['dens_send_daily_analytics'] = {
  'task': 'dens.tasks.send_daily_analytics',
  'schedule': crontab(minute='0', hour='5')
}

For the send_daily_analytics task refer to analytics

Step 4 - Finalize App installation

Run migrations & copy static files:

python manage.py migrate
python manage.py collectstatic --noinput

Restart your supervisor services for Auth.

Analytics

This application will send anonymous analytic data using Alliance Auth built-in analytics module. If you wish to disable the analytics for this application you can easily do so by removing the dens_send_daily_analytics task.

The collected analytics are

  • The number of den owners in your application
  • The number of mercenary dens registered

Permissions

Permissions overview.

Name Description
basic_access Can access the application and add den owners
corporation_view Can view all dens anchored by members of their corporation
alliance_view Can view all dens anchored by members of their alliance
manager Can view all dens regardless of affiliations

Settings

List of settings that can be modified for the application. You can alter them by adding them in your local.py file.

Name Description Default
DENS_ADMIN_NOTIFICATIONS_ENABLED Decides if admin should be notified about important events like new owners and disabled owners. True
DENS_FORWARD_TIMER_TO_TIMERBOARD Decides if notifications will be forwarded to timerboard applications True

Commands

The following commands can be used when running the module:

Name Description
dens_update_owners.py Will check all mercenary den owners and update their in space dens
dens_update_notifications.py Will check all den owners and update their notifications

Metadata

Release files for aa-dens 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aa-dens 2.0.0
File Size Uploaded
aa_dens-2.0.0.tar.gz 69.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aa-dens 2.0.0
File Interpreter ABI Platform
aa_dens-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 153.0 kB

Release files / aa_dens-2.0.0.tar.gz

Download URL aa_dens-2.0.0.tar.gz
Size 69.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0764a135bca48248f12f7b22c5b81e8212968e340f875e72bcb9d90eb2eb74e4
BLAKE2b-256 checksum
How to use checksums
50dac5bdef364d95c39351fd901c825373d9817e8e880a3de044d3b18fb0f6fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / aa_dens-2.0.0-py3-none-any.whl

Download URL aa_dens-2.0.0-py3-none-any.whl
Size 83.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
709ac466ae231e0928a87f56dc8100044aa7a0d872eeee6d35077e6ae6525733
BLAKE2b-256 checksum
How to use checksums
0fab482a93c74c26953755c70170d6a46fd0b5fcf561b70ab764e9200f465e37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.10.20

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page