Skip to main content

Fleet Activity Tracking tool for Alliance Auth

Project description

ImicusFAT

pipeline status version license python django Code style: black

An Improved FAT/PAP System for Alliance Auth.

Feature Highlights/Differences

  • FATLink Creation and Population from ESI
  • Fleet Type Classification (can be added in the Admin Menu)
  • Graphical Statistics Views
  • Many Core Functionality Improvements and Fixes

ImicusFAT will work alongside the built-in AA-FAT System and bFAT*. However data does not share, but you can migrate their data to ImicusFAT, 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) Important: For users migrating from bFAT, please read Migrating from bFAT 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-imicusfat

Step 2 - Update your AA settings

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

  • Add 'imicusfat', to INSTALLED_APPS

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-imicusfat

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 own FAT system or bFAT, if you have used it until now.

!!IMPORTANT!!

Only do this once and ONLY BEFORE you are using ImicusFAT.

Import from AA-FAT

To import your old FAT data from Alliance Auth's own FAT, you have to disable foreign key checks temporarily.

INSERT INTO imicusfat_ifat (id, `system`, shiptype, character_id, ifatlink_id)
SELECT id,`system`,shiptype,character_id,fatlink_id
FROM fleetactivitytracking_fat;

INSERT INTO imicusfat_ifatlink (id, ifattime, fleet, `hash`, creator_id)
SELECT id,fatdatetime,fleet,hash,creator_id 
FROM fleetactivitytracking_fatlink;

Migrating from bFAT

Before installation, temporarily comment out bfat in your AA settings (local.py) by doing:

  • Modify 'bfat', to #'bfat', under INSTALLED_APPS

And then continue installation as normal. You may undo this after successful installation.

Import from bFAT

To import your old FAT data from bFAT, you have to disable foreign key checks temporarily.

INSERT INTO imicusfat_clickifatduration (id, duration, fleet_id)
SELECT id, duration, fleet_id
FROM bfat_clickfatduration;

INSERT INTO imicusfat_dellog (id, deltype, string, remover_id)
SELECT id, deltype, string, remover_id
FROM bfat_dellog;

INSERT INTO imicusfat_ifat (id, `system`, shiptype, character_id, ifatlink_id)
SELECT id,`system`,shiptype,character_id,fatlink_id
FROM bfat_fat;

INSERT INTO imicusfat_ifatlink (id, ifattime, fleet, `hash`, creator_id)
SELECT id,fattime,fleet,hash,creator_id 
FROM bfat_fatlink;

INSERT INTO imicusfat_manualifat (id, character_id, creator_id, ifatlink_id)
SELECT id, character_id, creator_id, fatlink_id
FROM bfat_manualfat;

Credits

• ImicusFAT • Developed and Maintained by @exiom with @Aproia and @ppfeufer • Based on allianceauth-bfat by @colcrunch •

Project details


Download files

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

Source Distribution

allianceauth-imicusfat-0.4.0.tar.gz (225.7 kB view details)

Uploaded Source

File details

Details for the file allianceauth-imicusfat-0.4.0.tar.gz.

File metadata

  • Download URL: allianceauth-imicusfat-0.4.0.tar.gz
  • Upload date:
  • Size: 225.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.12

File hashes

Hashes for allianceauth-imicusfat-0.4.0.tar.gz
Algorithm Hash digest
SHA256 47c8d91e1792bb4f0a33ad4f594c7b02bc1bff84d4193ed6e0d1de53a9cb2cf9
MD5 601196625ae80207a09199aea3f762c5
BLAKE2b-256 28e62b978fb07076dbdf4b4de32df3321fb8caa4818f39682f722579fa2d3b6a

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