Package: allianceauth-afat
Alliance Auth AFAT — Another Fleet Activity TrackerAn Improved FAT/PAP System forAlliance Auth.Alliance Auth AFAT — Another Fleet Activity TrackerFeatures and HighlightsScreenshotsDashboardFat Link ListFat Link DetailsAdd Fat Link View for FCsInstallationImportantStep 1: Install the AppStep 2: Update Your AA SettingsStep 3: Finalizing the InstallationUpdatingData MigrationImport From Native FATImport From ImicusFATUninstall ImicusFATSettingsPermissionsChangelogTranslation StatusContributingCreditsFeatures and HighlightsAutomatic tracking of participation on FAT links created via ESIMultiple ESI fleets (with your alts)Manually end ESI tracking per fleetFleet type classification (can be added in the admin backend)Ship type overview per FAT linkGraphical statistics viewsCustom module nameRe-open FAT link if the FAT link has expired and is within the defined grace time
(only for clickable FAT links)Manually add pilots to clickable FAT links, in case they missed clicking the link
(for a period of 24 hours after the FAT links original expiry time)Log for the following actions (Logs are kept for a certain time, 60 days per default):Create FAT linkChange FAT linkRemove FAT linkRe-open FAT linkManually add pilot to FAT linkRemove pilot from FAT linkAFAT will work alongside the built-in native FAT System and ImicusFAT.
However, data doesn't share, but you can migrate their data to AFAT, for more
information, see below.ScreenshotsDashboardFat Link ListFat Link DetailsAdd Fat Link View for FCsInstallationImportantThis app is a plugin for Alliance Auth. If you don't have Alliance Auth running already,
please install it first before proceeding. (See the officialAA installation guidefor details)For users migrating from one of the other FAT systems, please read the specific
instructions FIRST.Step 1: Install the AppMake sure you're in the virtual environment (venv) of your Alliance Auth installation.
Then install the latest version:pipinstallallianceauth-afatStep 2: Update Your AA SettingsConfigure your AA settings in yourlocal.pyas follows:Add'afat',toINSTALLED_APPSAdd the scheduled tasks# AFAT - https://github.com/ppfeufer/allianceauth-afatCELERYBEAT_SCHEDULE["afat_update_esi_fatlinks"]={"task":"afat.tasks.update_esi_fatlinks","schedule":crontab(minute="*/1"),}CELERYBEAT_SCHEDULE["afat_logrotate"]={"task":"afat.tasks.logrotate","schedule":crontab(minute="0",hour="1"),}Step 3: Finalizing the InstallationRun migrations & copy static filespythonmanage.pycollectstatic
pythonmanage.pymigrateRestart your supervisor services for AA.UpdatingTo update your existing installation of AFAT, first enable your
virtual environment (venv) of your Alliance Auth installation.pipinstall-Uallianceauth-afat

pythonmanage.pycollectstatic
pythonmanage.pymigrateFinally, restart your supervisor services for AAIt is possible that some versions need some more changes. Always read therelease notesto find out
more.Data MigrationRight after theinitialinstallation and running migrations,
you can import the data from Alliance Auth's native FAT system or from ImicusFAT if
you have used one of these until now.Import From Native FATTo import from the native FAT module, simply run the following command:pythonmyauth/manage.pyafat_import_from_allianceauth_fatImport From ImicusFATTo import from the ImicusFAT module, simply run the following command:pythonmyauth/manage.pyafat_import_from_imicusfatUninstall ImicusFATNow that you've migrated, you can uninstalImicusFAT.First, remove all Django migrations forImicusFATwith:pythonmanage.pymigrateimicusfatzeroThis will remove all migrations forImicusFATincluding its DB tables.Should this command throw an error, a bit of manual labor is needed, but nothing you
can't handle, I'm sure.pythonmanage.pymigrateimicusfatzero--fakeAnd remove all DB tables beginning withimicusfat_from your DB manually afterwards.Now that the DB is cleaned up, time to remove te app.pipuninstallallianceauth-imicusfatNow removeimicusfatfrom yourINSTALLED_APPSin yourlocal.py, restart
supervisor and ... Done!SettingsTo customize the module, the following settings are available.NameDescriptionDefault ValueValue TypeAFAT_APP_NAMECustom application name, in case you'd like a different nameFleet Activity TrackingstringAFAT_DEFAULT_FATLINK_EXPIRY_TIMEDefault expiry time for clickable FAT links in Minutes60intAFAT_DEFAULT_FATLINK_REOPEN_GRACE_TIMETime in minutes a FAT link can be re-opened after it has expired60intAFAT_DEFAULT_FATLINK_REOPEN_DURATIONTime in minutes a FAT link is re-opened60intAFAT_DEFAULT_LOG_DURATIONTime in days before log entries are being removed from the DB60intPermissionsNameDescriptionNotesbasic_accessCan access the AFAT moduleYour line member probably want this permission, so they can see the module and click the FAT links they are given. They also can see their own statistics with this permission.manage_afatCan manage the AFAT moduleYour Military lead probably should get this permissionadd_fatlinkCan create FAT LinksYour regular FC or who ever should be able to add FAT links should have this permissionstats_corporation_ownCan see own corporation statisticsstats_corporation_otherCan see statistics of other corporationslogs_viewCan view the modules logsChangelogTo keep track of all changes, please read theChangelog.Translation StatusDo you want to help translate this app into your language or improve the existing
translation? -Join our team of translators!ContributingYou want to contribute to this project? That's cool!Please make sure to read thecontribution guidelines.(I promise, it's not much, just some basics)CreditsAFAT is maintained by @ppfeufer and is based onImicusFATby @exiom with @Aproia and @ppfeufer which is based onallianceauth-bfatby @colcrunchBoth of these modules are no longer maintained and are deprecated. Both modules will
not run with the latest stable releases of Alliance Auth.