Structure Registry app for Alliance Auth.
Project description
Structure Registry and Timer Board
This is a Structure Registry and Timer Board app for Alliance Auth (AA)
Features
- Structure Registry with ability to paste in fit information, set windows and add timer with stucture auto-populated
- Structure Registry will show if a timer is linked to structure and the remaining time
- Timer Board with open and recent timers with ability to set Lead FC
- Link from Timer to structure in Structure Registry if linked.
- Automatic count up after countdown based on structure type
- When adding Timer, one can search Structure Registry
- Add a Timer based on EVE reinforce text from a structure
- Different timer access levels, Public (default), Skirmish, Tactical
- Optional background task to create friendly timers (requires corptools and importing of notifications)
Installation
Once you have cloned the repo or copied all files into place.
Make sure you are in your venv. Then install it with pip in editable mode:
pip install -e {path_to}/cmStructureRegistry
First add your app to the Django project by adding 'cmStructureRegistry' to INSTALLED_APPS in settings/local.py.
Next perform migrations to add models to the database:
python manage.py migrate
Next initialize all the lookup data.
python manage.py loaddata cmStructureRegistry/init
Next initalize all the universe data such as regions, constellations and solar systems
python manage.py populate_universe
Next copy all the static data to the output folder
python manage.py collectstatic --noinput
Finally restart your AA setup.
Permissions
There are two separate menu items in this plugin. One is for the Structure Registry and one is for Timers.
Here are the features of the plugin and what permissions allow them
View Structure Registry and Timers menu items cmStructureRegistry.basic_access
Add, modify a structure, fit or vulnerability: cmStructureRegistry.manage_structures
Remove a structure: cmStructureRegistry.delete_structure
Add Timer and set FCs: cmStructureRegistry.manage_timers
Remove Timer: cmStructureRegistry.delete_timer
View and Add Skirmish Level Timers (requires manage_timers permission): cmStructureRegistry.skirmish_timer
View and Add Tactical Level Timers (requires manage_timers permission): cmStructureRegistry.tactical_timer
Friendly Timers
There is an optional feature that requires the corptools dependency. It queries notifications and creates friendly timers.
To enable, create an Alliance Auth periodic task that runs the shared task: cmStructureRegistry.tasks.notification_timer_task
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
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 cmstructureregistry-1.0.1.tar.gz.
File metadata
- Download URL: cmstructureregistry-1.0.1.tar.gz
- Upload date:
- Size: 466.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84260296b026172e5cc4d7dfbaed305fee27bc8b962fb1d5d2a6276fd2fdcbbf
|
|
| MD5 |
1449451c78bc1b95f5de499f3c20738e
|
|
| BLAKE2b-256 |
c3beb11606c3e8ebd9e6765613e037ffd798d08789862e3cc8134c4e38cfed07
|
File details
Details for the file cmstructureregistry-1.0.1-py3-none-any.whl.
File metadata
- Download URL: cmstructureregistry-1.0.1-py3-none-any.whl
- Upload date:
- Size: 504.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfe18260791bc708c83eeeab971121cfc3905aa41474649119fae91a96981e3f
|
|
| MD5 |
b8fb217d86e91441053473abc3b8dffe
|
|
| BLAKE2b-256 |
174f9cc77f99b471f5f0fe520c37e4c75186e72c97f476fce1ec781f30c5ddfe
|