Squads plugin app for Alliance Auth
Project description
Squads module for AllianceAuth.
Features
- Detailed Squad Information (html)
- Squad Filters
- Overview of Members in Squads
Upcoming
- Updating Squad Membership on state change.
- Updating Members State on Filter changes.
- More Filters.
Installation
[!NOTE] AA Squads needs at least Alliance Auth v4.0.0 Please make sure to update your Alliance Auth before you install this APP
Step 1 - Install the Package
Make sure you're in your virtual environment (venv) of your Alliance Auth then install the pakage.
pip install aa-squads
Step 2 - Configure Alliance Auth
Configure your Alliance Auth settings (local.py
) as follows:
- Add
'eveuniverse',
toINSTALLED_APPS
- Add
'memberaudit',
toINSTALLED_APPS
- Add
'squads',
toINSTALLED_APPS
Step 3 - Add the Scheduled Tasks
At the Moment it is not implemented yet.
Step 4 - Migration to AA
python manage.py collectstatic
python manage.py migrate
Step 5 - Setting up Permissions
With the Following IDs you can set up the permissions for the Squads
ID | Description | |
---|---|---|
basic_access |
Can access the Squads module | All Members with the Permission can access the Squads. |
squad_manager |
Can Create / Manage Squads | Manage Squads like Edit, Create Squads, Approve, Decline Request, etc. |
squad_admin |
Can View All Squads | Can View all Squads. |
Step 6 - (Optional) Setting up Compatibilies
The Following Settings can be setting up in the local.py
- SQUADS_APP_NAME:
"YOURNAME"
- Set the name of the APP - SQUADS_LOGGER_USE:
True / False
- Set to use own Logger File
If you set up SQUADS_LOGGER_USE to True
you need to add the following code below:
LOGGING_SQUADS = {
"handlers": {
"squads_file": {
"level": "INFO",
"class": "logging.handlers.RotatingFileHandler",
"filename": os.path.join(BASE_DIR, "log/squads.log"),
"formatter": "verbose",
"maxBytes": 1024 * 1024 * 5,
"backupCount": 5,
},
},
"loggers": {
"squads": {
"handlers": ["squads_file", "console"],
"level": "INFO",
},
},
}
LOGGING["handlers"].update(LOGGING_SQUADS["handlers"])
LOGGING["loggers"].update(LOGGING_SQUADS["loggers"])
Highlights
[!NOTE] Contributing You want to improve the project? Just Make a Pull Request with the Guidelines. We Using pre-commit
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_squads-0.1.9a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b95b78db5ff481a0df37aef3f2a857c1a6f866cfcff05fbfaf94b250df9efd82 |
|
MD5 | 5b1c36aca6c76f46067385344a39b9fd |
|
BLAKE2b-256 | b51ff60ab9912adebc1e95bae65cb3d8211a7d5099d8b4fa20a1788494fec063 |