Skip to main content

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

  1. Add the app to your INSTALLED_APPS: Add the student app to the INSTALLED_APPS section in your settings.py file:

    INSTALLED_APPS += [
        'student',
    ]
    
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aa_student-0.2.0.tar.gz (9.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_student-0.2.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file aa_student-0.2.0.tar.gz.

File metadata

  • Download URL: aa_student-0.2.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for aa_student-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6deff2a44011788855923f2a5b5448f869abefc1660004e8c4375bdeda4bed3c
MD5 e8d29dd94e36d31472aa138bafdfe702
BLAKE2b-256 3faebcbf75ed5ec4f664a9459f78528024cc15b395f56075376fcc617759b0a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_student-0.2.0.tar.gz:

Publisher: python-publish.yml on EVE-University/aa-student

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aa_student-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: aa_student-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for aa_student-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b57f7da8900956020412ab5a4356c45729472ea87ce0db54743208b3e87ac685
MD5 3ba6d1b0f87b824c3f98408835b735b9
BLAKE2b-256 7419af718213d9fa8e817e95f44e23cb55a596560ed9472413f6080be86bc968

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_student-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on EVE-University/aa-student

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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