Skip to main content

Activity monitoring app for Alliance Auth

Project description

AA Inactivity

This is a player activity monitoring plugin app for Alliance Auth (AA).

release License python django pre-commit Code style: black

Features

  • Notify users inactive for a specified time.
  • Notify administrators when users meet an inactivity theshold.
  • Keep track of leave of absence requests.
  • Notify administrators when leave of absence requests are created or approved.

Installation

Requirements

This app needs Member Audit (and optionally, but ideally, DiscordBot) to function. Please make sure they are installed before continuing.

Steps

Step 1 - Install the Package

Make sure you are in the virtual environment (venv) of your Alliance Auth installation. Then install the newest release from PyPI:

pip install aa-inactivity

Step 2 - Config

Add inactivity to your INSTALLED_APPS, and add the following task definition:

CELERYBEAT_SCHEDULE['inactivity_check_inactivity'] = {
    'task': 'inactivity.tasks.check_inactivity',
    'schedule': crontab(minute=0, hour=0),
}

Step 3 - Finalize App Installation

Run migrations:

python manage.py migrate
python manage.py collectstatic

Restart your supervisor services for Auth

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-inactivity-0.1.0a3.tar.gz (75.2 kB view hashes)

Uploaded source

Built Distribution

aa_inactivity-0.1.0a3-py3-none-any.whl (83.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page