Skip to main content

Contacts tool for AllianceAuth

Project description

AllianceAuth Contacts

PyPI

EvE Partner

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 alliance/corporation.

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.

Fields

  • comparison: comparison operator to use
  • standings: the standing to compare against
  • check type:
    • at least one character: if at least one character passes the filter, the user passes the filter
    • all characters: all characters have to pass the filter for the user to pass the filter
    • no character: opposite of all characters
  • only main: consider only the main character
  • corporations and alliances: groups that have set the standings

Installation

  1. 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.

  2. Add 'aa_contacts', to your INSTALLED_APPS in local.py.

  3. Run migrations and collectstatic:

    python manage.py migrate
    python manage.py collectstatic
    

    or, if you are on docker:

    auth migrate
    auth collectstatic
    
  4. 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='0'),
        'apply_offset': True,
    }
    
  5. Restart Supervisor if you are on a traditional install or the docker stack if you are on docker.

Settings

Setting Description Default
AA_CONTACTS_TASK_JITTER Maximum number of seconds for a task to be delayed. This helps to prevent tasks from running at the same time and spreads the load both on workers and on ESI. 300

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aa_contacts-0.11.1.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aa_contacts-0.11.1-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file aa_contacts-0.11.1.tar.gz.

File metadata

  • Download URL: aa_contacts-0.11.1.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aa_contacts-0.11.1.tar.gz
Algorithm Hash digest
SHA256 16f77a4275274e0decadf22bc7d64f7f0c2c427f8eb4fe6512616be4c02e03f6
MD5 9fb67bd736cfeb76385ddfbc543001b6
BLAKE2b-256 01421c8ed4e87025efe5b1bfddef96d30f914c9a58380878ddeab4cf33b44907

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_contacts-0.11.1.tar.gz:

Publisher: python-publish.yml on Maestro-Zacht/aa-contacts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aa_contacts-0.11.1-py3-none-any.whl.

File metadata

  • Download URL: aa_contacts-0.11.1-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aa_contacts-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2893bc94d798b40d4d1f874d6ec25345cd05f6f057439e750463e9027a79a482
MD5 086c8d67c550418d645cfd8d17e13b67
BLAKE2b-256 5dab7ebff71f38e81a1a1b1e8410713e9818af8455be040ec874b0ee2a37f7e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_contacts-0.11.1-py3-none-any.whl:

Publisher: python-publish.yml on Maestro-Zacht/aa-contacts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page