Skip to main content

Fleet plugin for Alliance Auth

Project description

Fleet plugin app for Alliance Auth

This is an fleet plugin app for Alliance Auth (AA).

License python django

Features

Alliance Fleet offers the following main features:

  • Create a fleet advert on auth
  • Restrict fleet advert to some AuthGroups
  • Set MOTD and Free Move from auth
  • Automaticly kill the fleet advert if the creator is out of fleet or changed fleet
  • Invite any character related to the user on auth
  • FC View with an aggregation of ships in fleet with variation each 60 seconds

fleets

fleet_advert_create

fleet_invite

fleet_view

Installation

1. Install app

Install into your Alliance Auth virtual envrionment from github

pip install aa-fleet

2. Update Eve Online app

update the Eve Online app used for authentication in your AA installation to include the following scopes:

esi-fleets.read_fleet.v1
esi-fleets.write_fleet.v1

3. Configure AA settings

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

  • Add 'fleet' to INSTALLED_APP
  • Add these lines to the bottom of your settings file:
#settings for fleet
CELERYBEAT_SCHEDULE['fleet_check_fleet_adverts'] = {
    'task': 'fleet.tasks.check_fleet_adverts',
    'schedule': crontab(minute='*/1'),
}

4. Finalize installation into AA

Run migrations & copy static files

python manage.py migrate
python manage.py collectstatic

Restart your supervisor services for AA

5. Setup permissions

Now you can access Alliance Auth and setup permissions for your users. See section Permissions below for details.

Updating

To update your existing installation of Alliance Fleet first enable your virtual environment.

Then run the following commands from your AA project directory (the one that contains manage.py).

pip install -U aa-fleet
python manage.py migrate
python manage.py collectstatic

Finally restart your AA supervisor services.

Permissions

This is an overview of all permissions used by this app:

Name Purpose Code
Can add / manage fleets Let a user create and update fleet information manage
Can access this app Enabling the app for a user. This permission should be enabled for everyone who is allowed to use the app (e.g. Member state) fleet_access

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

aa-fleet-1.2.0.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

aa_fleet-1.2.0-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file aa-fleet-1.2.0.tar.gz.

File metadata

  • Download URL: aa-fleet-1.2.0.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for aa-fleet-1.2.0.tar.gz
Algorithm Hash digest
SHA256 cdb7c612acd755d16d53f171977f5a831bf1cffef8adeb7588d88d89b34bde74
MD5 816a6005e4d774cb710b572fe04a475f
BLAKE2b-256 40bf54b2c6872c44a976dc436b7641a593a48fb91c94c3abfd28921bc99de367

See more details on using hashes here.

File details

Details for the file aa_fleet-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: aa_fleet-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for aa_fleet-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2570876e5ec6ee8e3318a6f8f6254a1e78a9d9aaf9b5e9a6eb0dc07187fe21c6
MD5 c8a02fd38aaf65a17238f90fcc244f20
BLAKE2b-256 4f939afab0b4c85816fdd341d58be1c62fd72175e9c2d8dd00a0f7a49e410856

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