aa-student plugin app for Alliance Auth.
Project description
EVE Uni Student Plugin for Alliance Auth
This is a plugin app for Alliance Auth designed to assist with managing member student titles within EVE University.
Features
- Automatically manages student titles based on configurable eligibility criteria.
- Periodically cleans up old member entries using Celery.
Installation
-
Add the app to your
INSTALLED_APPS: Add thestudentapp to theINSTALLED_APPSsection in yoursettings.pyfile:INSTALLED_APPS += [ 'student', ]
-
Apply migrations and collect static files: Run the following commands in your terminal:
python manage.py migrate python manage.py collectstatic
Configuration
Student Eligibility Days
Set the number of days a member must wait before being eligible for the student title. Add the following to your settings.py:
STUDENTDAYS = 14
By default, this is set to 14 days.
Set the number of people visible in the student page. Add the following to your settings.py:
STUDENTLIMIT = 50
By default, this is set to 50 people.
Celery Integration
Schedule Automatic Cleanup
To enable periodic cleanup of ineligible members, add the following task to your Celery schedule in settings.py:
from celery.schedules import crontab
CELERYBEAT_SCHEDULE["delete_excluded_members"] = {
"task": "student.tasks.delete_excluded_members",
"schedule": crontab(minute=0, hour=0), # Runs daily at midnight
}
Ensure your Celery worker and beat services are running.
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_student-0.3.0.tar.gz.
File metadata
- Download URL: aa_student-0.3.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46d3feba56469cac4fbb57f844e541301826bf376dbd212c7f66e861b7a17e64
|
|
| MD5 |
009fdeb7f01b9b323a56b94cec7aa611
|
|
| BLAKE2b-256 |
f3ec02eb10d09cf9b86f13773abdccbdc406ab76a455568076f6689b79553412
|
Provenance
The following attestation bundles were made for aa_student-0.3.0.tar.gz:
Publisher:
python-publish.yml on EVE-University/aa-student
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aa_student-0.3.0.tar.gz -
Subject digest:
46d3feba56469cac4fbb57f844e541301826bf376dbd212c7f66e861b7a17e64 - Sigstore transparency entry: 158520361
- Sigstore integration time:
-
Permalink:
EVE-University/aa-student@acdce604957b899af089cf49d482ee25d6acc567 -
Branch / Tag:
refs/tags/V0.3.0 - Owner: https://github.com/EVE-University
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@acdce604957b899af089cf49d482ee25d6acc567 -
Trigger Event:
release
-
Statement type:
File details
Details for the file aa_student-0.3.0-py3-none-any.whl.
File metadata
- Download URL: aa_student-0.3.0-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1849dfcf9fd4dcde175f17ddac1f2e290ad42a0c000bb9f693cb7836671eca1d
|
|
| MD5 |
beaa957c1aeef09d43cf70b8c1d54456
|
|
| BLAKE2b-256 |
adcfae3f665cb8e786cb76ce1b5fff3930d5aedea8baf5195eba9b2a31e9e6aa
|
Provenance
The following attestation bundles were made for aa_student-0.3.0-py3-none-any.whl:
Publisher:
python-publish.yml on EVE-University/aa-student
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aa_student-0.3.0-py3-none-any.whl -
Subject digest:
1849dfcf9fd4dcde175f17ddac1f2e290ad42a0c000bb9f693cb7836671eca1d - Sigstore transparency entry: 158520362
- Sigstore integration time:
-
Permalink:
EVE-University/aa-student@acdce604957b899af089cf49d482ee25d6acc567 -
Branch / Tag:
refs/tags/V0.3.0 - Owner: https://github.com/EVE-University
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@acdce604957b899af089cf49d482ee25d6acc567 -
Trigger Event:
release
-
Statement type: