Skip to main content

Blueprint Library plugin for Alliance Auth.

Project description

AA Blueprints

This is an blueprints library app for Alliance Auth (AA) that can be used to list blueprints for your corporation or alliance.

release License python django pre-commit Code style: black

Overview

Features

  • Lists all blueprints owned by corporation or alliance (configurable with permissions)
  • Manage user requests for making copies of blueprints

Hint
Blueprints sends Auth notifications to inform users about blueprint requests. If you like to get those as direct messages on Discord please consider also installing Discord Notify.

Screenshots

Library

library

View Blueprint

view-blueprint

Create a Request

create-request

My Requests

my-requests

Open Requests

open-requests

Manage Blueprints

manage-blueprints

Installation

Requirements

AA Blueprints needs the app django-eveuniverse to function. Please make sure it is installed before before continuing.

Steps

Step 1 - Install the Package

Make sure you are in the virtual environment (venv) of your Alliance Auth installation. Then install the newest release from PyPI:

pip install aa-blueprints

Step 2 - Configure AA

  • Add 'blueprints' to INSTALLED_APPS in settings/local.py.
  • Add the following automated task definition:
CELERYBEAT_SCHEDULE['blueprints_update_all_blueprints'] = {
    'task': 'blueprints.tasks.update_all_blueprints',
    'schedule': 10800, # 3 hours
}
CELERYBEAT_SCHEDULE['blueprints_update_all_industry_jobs'] = {
    'task': 'blueprints.tasks.update_all_industry_jobs',
    'schedule': 3600, # 1 hour
}
CELERYBEAT_SCHEDULE['blueprints_update_all_locations'] = {
    'task': 'blueprints.tasks.update_all_locations',
    'schedule': 43200, # 12 hours
}

Step 3 - Finalize App installation

Run migrations & copy static files:

python manage.py migrate
python manage.py collectstatic

Restart your supervisor services for Auth

Step 4 - Update EVE Online API Application

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

  • esi-assets.read_assets.v1
  • esi-assets.read_corporation_assets.v1
  • esi-characters.read_blueprints.v1
  • esi-corporations.read_blueprints.v1
  • esi-industry.read_character_jobs.v1
  • esi-industry.read_corporation_jobs.v1
  • esi-universe.read_structures.v1

Step 5 - Data import

Load EVE Online type data from ESI:

python manage.py blueprints_load_types

Permissions

ID Description Notes
basic_access Can access this app
request_blueprints Can request blueprints
manage_requests Can review and accept blueprint requests
add_personal_blueprint_owner Can add personal blueprint owners
add_corporate_blueprint_owner Can add corporate blueprint owners :warning: Should only be given to directors or the CEO.
view_alliance_blueprints Can view alliance's blueprints
view_industry_jobs Can view details about running industry jobs :warning: This permission will let someone see all industry job information.

Upgrading

See UPGRADING.md.

Authors

The main authors (in alphabetical order):

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_blueprints-3.0.0.tar.gz (196.9 kB view details)

Uploaded Source

Built Distribution

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

aa_blueprints-3.0.0-py3-none-any.whl (242.9 kB view details)

Uploaded Python 3

File details

Details for the file aa_blueprints-3.0.0.tar.gz.

File metadata

  • Download URL: aa_blueprints-3.0.0.tar.gz
  • Upload date:
  • Size: 196.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for aa_blueprints-3.0.0.tar.gz
Algorithm Hash digest
SHA256 5c7a38adc0da9e717c8f26c985e6f0eb023d63b1aa87ba85c3c66111bf6f9c69
MD5 9fde67b39c46eb6a7d90102388007af6
BLAKE2b-256 633602bb4496bec12f2b44c0376ae1b1aa4d99eb55e9ff08659ee18c107ed23f

See more details on using hashes here.

File details

Details for the file aa_blueprints-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: aa_blueprints-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 242.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for aa_blueprints-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b174f5ede55046c5f4ea1054fc99300927c5814c04c60972256d316c1d6aa696
MD5 008c40b1a93a8fccc729e99c2c4cd67a
BLAKE2b-256 f36da463ddd7b5cb386a89fdc5702a609c9dd7bdee1152c1c3a547e2da8fe9c5

See more details on using hashes here.

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