Skip to main content

Contacts tool for AllianceAuth

Project description

AllianceAuth Contacts

PyPI

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.

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='24'),
    }
    
  5. 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


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.2.1.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

aa_contacts-0.2.1-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aa_contacts-0.2.1.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for aa_contacts-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0868bc4189269b968ec4bcc790be451e935f0f4ce693b3f3743dc3d2cec838b5
MD5 75c21d393546509668f217fffb9511a1
BLAKE2b-256 0db8ffa5e76f15c3b6af78705f4b24074e4887ceb80dfa31db297b239c76d55f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aa_contacts-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 29.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for aa_contacts-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e404ae74512516d5a8c748bcf44bd936ca1ba59ab5d889e8dcf7b49f4659065
MD5 00835e5aa7a55e116c507d9cb59e030e
BLAKE2b-256 c71a51833bd9e3696e21d238fca818614fc6c9909b69d4325cdf8c1322a0c67f

See more details on using hashes here.

Supported by

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