Contacts tool for AllianceAuth
Project description
AllianceAuth Contacts
This is a plugin for AllianceAuth that lets alliances and corporations track and manage their contacts (i.e. standings).
Overview
Tracking an Alliance or Corporation
Users with the right permission can add an alliance or corporation just by clicking on the + button in the index page.
Viewing Contacts
The index page shows all the alliances and corporations that have been added and are available for that user, that means every alliance or corporation in which the user has a character. Superusers can see all the alliances and corporations.
In every alliance or corporation view, the user can see the contacts and their standings. If it has the right permissions, the user can see and edit notes or trigger a manual update of the contacts.
Secure Groups integration
If the Secure Groups plugin is installed, a new smart filter will appear in the admin panel of AA Contacts. It allows to filter users by the standings a corporation or alliance has set for them or their groups.
Note: when multiple corporations/alliances are set, the logic applies an OR condition, i.e. it is sufficient that at least 1 corp/alliance meets the requirement for the filter to pass. If you want to apply an AND condition, you need to create one filter per condition and put them together in the smart group.
Installation
-
Install the package. If you have a traditional installation, run the following command in your terminal:
pip install aa-contacts
If you have a Docker installation instead, add to your
requirements.txt
file:aa-contacts==x.y.z
with the desired version and rebuild the Docker stack.
-
Add
'aa_contacts',
to yourINSTALLED_APPS
inlocal.py
. -
Run migrations and collectstatic:
python manage.py migrate python manage.py collectstatic
or, if you are on docker:
auth migrate auth collectstatic
-
Add the update task at the end of the
local.py
:# AA Contacts CELERYBEAT_SCHEDULE['aa_contacts_update_all_contacts'] = { 'task': 'aa_contacts.tasks.update_all_contacts', 'schedule': crontab(minute='24'), }
-
Restart Supervisor if you are on a traditional install or the docker stack if you are on docker.
Permissions
Permission | Description |
---|---|
manage_alliance_contacts |
Can add tokens for the alliance and trigger manual updates |
manage_corporation_contacts |
Can add tokens for the corporation and trigger manual updates |
view_alliance_notes |
Can view contact notes for alliance contacts. If combined with manage_alliance_contacts , can also edit notes. |
view_corporation_notes |
Can view contact notes for corporation contacts. If combined with manage_corporation_contacts , can also edit notes. |
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
File details
Details for the file aa_contacts-0.3.0.tar.gz
.
File metadata
- Download URL: aa_contacts-0.3.0.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c838e8ffcb18fed2e7cff647c067bc60227b114215786391c2d25cbe11dba652 |
|
MD5 | a76def69959ee3e94c694605975ca332 |
|
BLAKE2b-256 | e190aa57c4f5b0913ab1c72a1afd4c50ac33bae666219754c405c36b99221978 |
File details
Details for the file aa_contacts-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: aa_contacts-0.3.0-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ec1802f4085caed346933cc3fa03de6841d7888f0974dedbb30c23568547fe4 |
|
MD5 | f5aa856c2c320f1e60f61ef591ff0f18 |
|
BLAKE2b-256 | 778e51c3cd2a07a68551fb8e40b5435a140af6481d819b6039b0324cd1fac002 |