Skip to main content

Integration with Alliance Auths State System

Project description

Alliance Auth - Alumni

Features

  • Integration with Alliance Auth's State System, creates and maintains an Alumni State for past members of an Alliance and/or Corporation.

Installation

Step 1 - Prepare Auth

Remove/Promote any state with a priority of 1, Alumni is considered slightly better than the built in Guest State.

Step 2 - Install from pip

pip install aa-alumni

Step 3 - Configure Auth settings

Configure your Auth settings (local.py) as follows:

  • Add 'alumni' to INSTALLED_APPS
  • Add below lines to your settings file:
## Settings for AA-Alumni
# Tasks
CELERYBEAT_SCHEDULE['alumni_run_alumni_check_all'] = {
    'task': 'alumni.tasks.run_alumni_check_all',
    'schedule': crontab(minute="0", hour="0", day_of_week="4"),
    'apply_offset': True,
}
CELERYBEAT_SCHEDULE['alumni_run_update_all_models'] = {
    'task': 'alumni.tasks.update_all_models',
    'schedule': crontab(minute="0", hour="0", day_of_week="3"),
    'apply_offset': True,
}

Step 4 - Update AA's State system

python myauth/manage.py alumni_state

Step 5 - Maintain Alliance Auth

  • Run migrations python manage.py migrate
  • Gather your staticfiles python manage.py collectstatic
  • Restart your project supervisorctl restart myauth:

Step 6 - Configure Further

In the Admin interface, visit alumni > config > add or <AUTH-URL>/admin/alumni/config/add/ Select the Alliances and/or Corporations for which characters with historical membership are Alumni

Settings

Name Description Default
ALUMNI_CHARACTERCORPORATION_RATELIMIT Celery Rate Limit per worker, 10 tasks * 10 Workers = 100 tasks/min '10/m'

Contributing

Make sure you have signed the License Agreement by logging in at https://developers.eveonline.com before submitting any pull requests. All bug fixes or features must not include extra superfluous formatting changes.

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_alumni-1.0.0b1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

aa_alumni-1.0.0b1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file aa_alumni-1.0.0b1.tar.gz.

File metadata

  • Download URL: aa_alumni-1.0.0b1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for aa_alumni-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 07736f5398a4859b9bf0c9fabf7f867dcd742f6e9f8246c8a6a64263de873836
MD5 151c36cc27bc04fae5087c6b1268b77a
BLAKE2b-256 391b5c349a3efef5d7f6da6e5f4638a40c7c246bf6d755193f8fcd594ca06d13

See more details on using hashes here.

File details

Details for the file aa_alumni-1.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: aa_alumni-1.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for aa_alumni-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 438baa84d52818944217409d7b27741c013c50b78f921353d911d672e1aaecd9
MD5 98d41a4f0d36f726a1e033b52c36ea1d
BLAKE2b-256 8f74fe7a24ffe404c7c636730eaa05b2fecd4ca8865cad85143c66e3bca22c47

See more details on using hashes here.

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