Skip to main content

Another Fleet Activity Tracking tool for Alliance Auth

Project description

Alliance Auth AFAT - Another Fleet Activity Tracker

Version License Python Django pre-commit PyPI Downloads Code Style: black

An Improved FAT/PAP System for Alliance Auth.

AFAT is a privately maintained whitelabel of ImicusFAT. The only reason AFAT exists is because I don't like having an alliance internal meme as a name for a module in my Auth system. Nothing else ...

Features and highlights

  • FATLink Creation and Population from ESI
  • Automatic tracing of participation on FAT links created via ESI
  • Fleet Type Classification (can be added in the Admin Menu)
  • Graphical Statistics Views

AFAT will work alongside the built-in native FAT System, bFAT and ImicusFAT. However, data does not share, but you can migrate their data to AFAT, for more information see below.

Contents

Installation

Important

This app 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)

For users migrating from one of the other FAT systems, please read the specific instructions FIRST.

Step 1 - Install app

Make sure you are in the virtual environment (venv) of your Alliance Auth installation. Then install the latest version:

pip install allianceauth-afat

Step 2 - Update your AA settings

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

  • Add 'afat', to INSTALLED_APPS
  • Add the scheduled task so ESI links will be updated automagically
# AFAT - https://github.com/ppfeufer/allianceauth-afat
CELERYBEAT_SCHEDULE["afat_update_esi_fatlinks"] = {
    "task": "afat.tasks.update_esi_fatlinks",
    "schedule": crontab(minute="*/1"),
}

Step 3 - Finalize the installation

Run migrations & copy static files

python manage.py collectstatic
python manage.py migrate

Restart your supervisor services for AA.

Updating

To update your existing installation of ImicusFAT, first enable your virtual environment (venv) of your Alliance Auth installation.

pip install -U allianceauth-afat

python manage.py collectstatic
python manage.py migrate

Finally restart your supervisor services for AA

Data Migration

Right after the initial installation and running migrations, you can import the data from Alliance Auth's native FAT system, from bFAT or from ImicusFAT if you have used one of these until now.

!!IMPORTANT!!

Only do this once and ONLY BEFORE you are using AFAT. A later migration is not possible.

Import from native FAT

python myauth/manage.py afat_import_from_allianceauth_fat

Import from bFAT

python myauth/manage.py afat_import_from_bfat

Import from ImicusFAT

python myauth/manage.py afat_import_from_imicusfat

Settings

To customize the module, the following settings are available.

Name Description Default Value
AFAT_DEFAULT_FATLINK_EXPIRY_TIME Sets the default expiry time for clickable FAT links in Minutes 60

Permissions

Name Description Notes
afat.Alliance Auth AFAT.Can access the Alliance Auth AFAT Module Users with this permission can acces the AFAT module and register their participation through clickable FAT links Your line member probably want this permission
afat.FAT Link.Can Manage the AFAT Module User with this permission can manage the complete AFAT Module. They can create, edit and remove FAT links as well as they can create and remove FATs Your Military lead probably should get this permission
afat.Fat Link.Can add FAT Link Users with this permission can only add FAT links Your regular FC or who ever should be able to add FAT links should have this permission

There are probably a lot more permissions registered in your Django Admin Panel, but they are not used as of now, so you can happiely ignore them.

Changelog

To keep track of all changes, please read the Changelog.

Credits

• AFAT • Privately maintained by @ppfeufer is a whitelabel of ImicusFAT maintained by @exiom with @Aproia and @ppfeufer • Based on allianceauth-bfat by @colcrunch •

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

allianceauth-afat-1.4.4b1.tar.gz (203.2 kB view details)

Uploaded Source

Built Distribution

allianceauth_afat-1.4.4b1-py3-none-any.whl (253.2 kB view details)

Uploaded Python 3

File details

Details for the file allianceauth-afat-1.4.4b1.tar.gz.

File metadata

  • Download URL: allianceauth-afat-1.4.4b1.tar.gz
  • Upload date:
  • Size: 203.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for allianceauth-afat-1.4.4b1.tar.gz
Algorithm Hash digest
SHA256 acbb113b622731d6c3d32a89753f273aeacf0baec2105a65ef9703832531387a
MD5 7862e363a782bd0735cfdfa0b26ffc23
BLAKE2b-256 4ea718140bc205035c20c0714efa141d329eba45f93ee6c3e84a879706228808

See more details on using hashes here.

File details

Details for the file allianceauth_afat-1.4.4b1-py3-none-any.whl.

File metadata

  • Download URL: allianceauth_afat-1.4.4b1-py3-none-any.whl
  • Upload date:
  • Size: 253.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for allianceauth_afat-1.4.4b1-py3-none-any.whl
Algorithm Hash digest
SHA256 e319611e45ac1c0a90b57c5129c17b3b62f9110c5e2a068d2bbe9ed2c9c1921c
MD5 fc42bc3d20df515291d0004f43ab307b
BLAKE2b-256 6f20dac5b355746d3d1ac2e92676c5d85af4daac527bacb879f5a17c4910644c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page