Plugin to check the fitting of corporation handouts
Project description
Corporation Handouts
AA module for managing corporation handouts and especially to keep track of their fits/ammo to know if they should be fixed.
Features:
Screenshots
Installation
Step 1 - Check prerequisites
- Corporation handouts 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)
- The app requires you to have two other applications installed to work properly:
Make sure to have both properly installed before continuing
Step 2 - Install app
Make sure you are in the virtual environment (venv) of your Alliance Auth installation. Then install the newest release from PyPI:
pip install aa-corphandouts
Step 3 - Configure Auth settings
Configure your Auth settings (local.py) as follows:
- Add
'corphandouts'toINSTALLED_APPS - Add below lines to your settings file:
CELERYBEAT_SCHEDULE['corphandouts_update_all'] = {
'task': 'corphandouts.tasks.update_all_doctrine_reports',
'schedule': crontab(minute='0', hour='*/1'),
}
Step 4 - Finalize App installation
Run migrations & copy static files
python manage.py migrate
python manage.py collectstatic --noinput
Restart your supervisor services for Auth.
Admin setup
To set up which doctrines should be verified by this module, you need to create new doctrine reports in the admin panel.
YOURAUTH/admin/corphandouts/doctrinereport
All fits you want to check need to already be added in the fitting module to be selected.
When creating a new doctrine, you need to determine:
- the doctrine name
- the corporation that has the ships in hangars
- the location of the doctrine
- which corp hangar division (a number between one and seven)
After that you can add all the ships that are part of this doctrine. You can optionally specify:
- how many ships of this type are expected in corp hangars
- a regex to match ship names
Once the doctrine is saved you can select the doctrine and use an admin action to update it immediately.
Ship name regex
When your doctrine has several ships of the same types but with different fits, or you have more ships of this type in your hangar than the ones of the doctrine, you should consider using a regex to match ship names.
For example, a loki fleet could use both dps loki and logi loki.
The DPS loki would be name LOKI DPS and the logi ones LOKI LOGI, entering these values in the regex will only select the ships with this name.
In case you name your ships with number - for example LOKI DPS 0 up to LOKI DPS 9 - you can use a regex to match those LOKI DPS \d.
Permissions
Permissions overview.
| Name | Description |
|---|---|
| basic_access | Can access the module and see doctrines |
Commands
The following commands can be used when running the module:
| Name | Description |
|---|---|
| corphandouts_check_all | Updates all doctrine reports in the auth |
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aa_corphandouts-1.0.2.tar.gz.
File metadata
- Download URL: aa_corphandouts-1.0.2.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
578a6c338157ae543b33dbf354e28105fbcb1d6f20afd0668552009794894d0e
|
|
| MD5 |
535353c0d33c101cd80daa97b92d0a63
|
|
| BLAKE2b-256 |
9c20328ae35d48f507cd58a499c6fb20a91ec48eda1c3d0aa26f6a3a3138b263
|
File details
Details for the file aa_corphandouts-1.0.2-py3-none-any.whl.
File metadata
- Download URL: aa_corphandouts-1.0.2-py3-none-any.whl
- Upload date:
- Size: 35.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59298caa6c443947e920642e534b3ef778e51b6a01c65d883d35c21e4213a5ed
|
|
| MD5 |
763a77d3173ea8beb6e448c3328fd144
|
|
| BLAKE2b-256 |
8810fab0b222e820835e27c16903e2a469753c5bb7ee19b613cd4aa30ac1d461
|