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.3.0.tar.gz (9.2 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.3.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

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

Hashes for aa_student-0.3.0.tar.gz
Algorithm Hash digest
SHA256 46d3feba56469cac4fbb57f844e541301826bf376dbd212c7f66e861b7a17e64
MD5 009fdeb7f01b9b323a56b94cec7aa611
BLAKE2b-256 f3ec02eb10d09cf9b86f13773abdccbdc406ab76a455568076f6689b79553412

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_student-0.3.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.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

Hashes for aa_student-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1849dfcf9fd4dcde175f17ddac1f2e290ad42a0c000bb9f693cb7836671eca1d
MD5 beaa957c1aeef09d43cf70b8c1d54456
BLAKE2b-256 adcfae3f665cb8e786cb76ce1b5fff3930d5aedea8baf5195eba9b2a31e9e6aa

See more details on using hashes here.

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

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