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

No reviews yet...

Python Requirements

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 :: 4.2
  • Framework :: Django :: 5.2
  • Intended Audience :: Developers
  • License :: OSI Approved :: MIT License
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 3 :: Only
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: 3.13
  • Programming Language :: Python :: 3.14
  • Programming Language :: Python :: Implementation :: CPython
  • Topic :: Internet :: WWW/HTTP
  • Topic :: Internet :: WWW/HTTP :: Dynamic Content

Version

1.0.1

License

MIT License

Homepage

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

PyPI

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

Last updated

5 days, 18 hours ago

First published

4 years, 3 months ago

Category

Plugin Apps

Rating

-

Authors

Ariel Rin

Maintainers

-

Please login to see more options.