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.
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
View Blueprint
Create a Request
My Requests
Open Requests
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
insettings/local.py
. - Add the following automated task definition:
CELERYBEAT_SCHEDULE['blueprints_update_all_blueprints'] = {
'task': 'blueprints.tasks.update_all_blueprints',
'schedule': crontab(minute=0, hour='*/3'),
}
CELERYBEAT_SCHEDULE['blueprints_update_all_industry_jobs'] = {
'task': 'blueprints.tasks.update_all_industry_jobs',
'schedule': crontab(minute=0, hour='*'),
}
CELERYBEAT_SCHEDULE['blueprints_update_all_locations'] = {
'task': 'blueprints.tasks.update_all_locations',
'schedule': crontab(minute=0, hour='*/12'),
}
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):
- Erik Kalkoken
- Rebecca Claire Murphy, aka Myrhea
- Peter Pfeufer, aka Rounon Dax
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for aa_blueprints-1.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 771f92367301da45a3d5f7dfbbbf35a6429b80f16542d61e6074b6d90e822255 |
|
MD5 | 07593742a15b1cd36d2edb19703e4072 |
|
BLAKE2b-256 | 95ee07e5e2d372a7d205731b8133dedad2a54eeee804d0d9f7da99f88425af1f |