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'toINSTALLED_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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aa_alumni-1.0.1.tar.gz.
File metadata
- Download URL: aa_alumni-1.0.1.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fba6695f7354e4977c116f2226e986e0181afefb9e1e890c9683197e3f02443b
|
|
| MD5 |
b84677c2cee31caae35ed8257c8858cc
|
|
| BLAKE2b-256 |
62fb4270d056fb9c07c919b27f95e3e7acf77cffd71b55411fab5fee5349e294
|
File details
Details for the file aa_alumni-1.0.1-py3-none-any.whl.
File metadata
- Download URL: aa_alumni-1.0.1-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c365627db9e3e229f7735d62c242890cebd244ba3eb30e71c75ffdc59abb43d8
|
|
| MD5 |
5079ce92ed97ba7738c83a22fcc05dc8
|
|
| BLAKE2b-256 |
8ead794202bf2ca42b56f6722b9254e1ddac808e0fe9b0384cb63a4d5f08748b
|