Skip to main content

A simple Alliance Auth app to check the status of ESI and its endpoints

Project description

AA ESI Status

Version License Python Django pre-commit pre-commit.ci status Code Style: black Checks codecov Translation status Contributor Covenant Discord Alliance Auth Compatibility

ko-fi

App for Alliance Auth to show the current status of ESI and its end points.



Testimonials

Acknowledged By CCP

This app is so good, that after 5 years of its existence, CCP finally acknowledged its superiority and copied it.

CCP Stroopwafel Testimonial

Screenshots

ESI Status Page

AA ESI Status

Dashboard Widget

This is how the dashboard widget looks like. It shows the current status of ESI for administrative users.

AA ESI Status Dashboard Widget

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)

Bare Metal Installation

Step 1: Install the App

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

pip install aa-esi-status==3.3.5

Step 2: Update Your AA Settings

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

  • Add "esistatus", to INSTALLED_APPS
INSTALLED_APPS += [
    "esistatus",  # https://github.com/ppfeufer/aa-esi-status
]
  • Add the scheduled task
# AA ESI Status - https://github.com/ppfeufer/aa-esi-status
CELERYBEAT_SCHEDULE["ESI Status :: Update"] = {
    "task": "esistatus.tasks.update_esi_status",
    "schedule": 60,
}

Step 3: Finalizing the Installation

Run migrations & copy static files.

python manage.py collectstatic
python manage.py migrate

Restart your supervisor services for AA.

Docker Installation

Step 1: Add the App

Add the app to your conf/requirements.txt:

aa-esi-status==3.3.5

Step 2: Update Your AA Settings

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

  • Add "esistatus", to INSTALLED_APPS
INSTALLED_APPS += [
    "esistatus",  # https://github.com/ppfeufer/aa-esi-status
]
  • Add the scheduled task
# AA ESI Status - https://github.com/ppfeufer/aa-esi-status
CELERYBEAT_SCHEDULE["ESI Status :: Update"] = {
    "task": "esistatus.tasks.update_esi_status",
    "schedule": 60,
}

Step 3: Build Auth and Restart Your Containers

docker compose build --no-cache
docker compose --env-file=.env up -d

Step 4: Finalizing the Installation

Run migrations, copy static files and load EVE universe data:

docker compose exec allianceauth_gunicorn bash

auth collectstatic
auth migrate

Common Steps

(Optional) Public Views

This app supports AA's feature of public views, since the ESI status is not any mission-critical information. To allow users to view the time zone conversion page without the need to log in, please add "esistatus", to the list of APPS_WITH_PUBLIC_VIEWS in your local.py:

# By default, apps are prevented from having public views for security reasons.
# To allow specific apps to have public views, add them to APPS_WITH_PUBLIC_VIEWS
#   » The format is the same as in INSTALLED_APPS
#   » The app developer must also explicitly allow public views for their app
APPS_WITH_PUBLIC_VIEWS = [
    "esistatus",  # https://github.com/ppfeufer/aa-esi-status/
]

Note

If you don't have a list for APPS_WITH_PUBLIC_VIEWS yet, then add the whole block from here. This feature has been added in Alliance Auth v3.6.0 so you might not yet have this list in your local.py.

Updating

Bare Metal Installation

To update your existing installation of AA ESI Status, first enable your virtual environment.

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

pip install aa-esi-status==3.3.5
python manage.py collectstatic
python manage.py migrate

Now restart your AA supervisor services.

Docker Installation

To update your existing installation of AA ESI Status, all you need to do is to update the respective line in your conf/requirements.txt file to the latest version.

aa-esi-status==3.3.5

Now rebuild your containers:

docker compose build
docker compose --env-file=.env up -d

After that, run the following commands to update your database and static files:

docker compose exec allianceauth_gunicorn bash

auth collectstatic
auth migrate

Common Steps

It is possible that some versions need some more changes. Always read the release notes to find out more.

Changelog

See CHANGELOG.md

Translation Status

Translation status

Do you want to help translate this app into your language or improve the existing translation? - Join our team of translators!

Contributing

Do you want to contribute to this project? That's cool!

Please make sure to read the Contribution Guidelines.
(I promise, it's not much, just some basics)

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_esi_status-3.3.5.tar.gz (133.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aa_esi_status-3.3.5-py3-none-any.whl (180.4 kB view details)

Uploaded Python 3

File details

Details for the file aa_esi_status-3.3.5.tar.gz.

File metadata

  • Download URL: aa_esi_status-3.3.5.tar.gz
  • Upload date:
  • Size: 133.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aa_esi_status-3.3.5.tar.gz
Algorithm Hash digest
SHA256 19077f0fcacd251835714f93b1fbe522e64c5894408c2dc335d81072fed4c8ff
MD5 49ec6be4229ca0949f984f3431a00abe
BLAKE2b-256 c180c00adbaa0b1f1cc62dc76a7106a70056f41d496d363111c64093afd5baee

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_esi_status-3.3.5.tar.gz:

Publisher: release.yml on ppfeufer/aa-esi-status

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aa_esi_status-3.3.5-py3-none-any.whl.

File metadata

  • Download URL: aa_esi_status-3.3.5-py3-none-any.whl
  • Upload date:
  • Size: 180.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aa_esi_status-3.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 46ee348020b2c5a98f41cd9c65772f54a82863019a899a96d7a63e26d9dfaa2e
MD5 75bb147333ee9213a56beee1eb78360b
BLAKE2b-256 f9dd7b47086dee2b93997724ae0ff8169a7ff98addde299b24a7ed83db653c9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_esi_status-3.3.5-py3-none-any.whl:

Publisher: release.yml on ppfeufer/aa-esi-status

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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