Browse Apps

aa-alumni

Integration with Alliance Auths State System


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_models_subset'] = {
    'task': 'alumni.tasks.update_models_subset',
    'schedule': crontab(minute="0", hour="0"),
    '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_STATE_NAME Name of the AA State that alumni characters are added to 'Alumni'
ALUMNI_TASK_PRIORITY Celery priority for the history-update tasks 7

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.

No reviews yet...

Python Requirements

  • allianceauth<6,>=5
  • django-esi>=9.6
  • celery-types; extra == "dev"
  • djlint; extra == "dev"
  • flake8; extra == "dev"
  • isort; extra == "dev"
  • coverage; extra == "test"

Required Python packages to be installed and other Python requirement.

App Dependencies


Required apps:

Used by apps:

    -

Dependencies to other apps registered in this app directory.

Classifiers

  • Environment :: Web Environment
  • Framework :: Celery
  • Framework :: Django
  • Framework :: Django :: 5.2
  • Intended Audience :: Developers
  • License :: OSI Approved :: GNU General Public License v3 (GPLv3)
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 3 :: Only
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: 3.13
  • Programming Language :: Python :: 3.14
  • Programming Language :: Python :: 3.15
  • Programming Language :: Python :: Implementation :: CPython
  • Topic :: Internet :: WWW/HTTP
  • Topic :: Internet :: WWW/HTTP :: Dynamic Content

Version

2.1.0

License

GPLv3

Homepage

  https://gitlab.com/tactical-supremacy/aa-alumni

PyPI

  https://pypi.org/project/aa-alumni/

Last updated

2 weeks ago

First published

4 years, 9 months ago

Category

Plugin Apps

Rating

-

Authors

Ariel Rin

Maintainers

-

Please login to see more options.