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 python django pipeline license pre-commit Code style: black chat

Content

Features

  • Automatically notify users who become inactive.
  • Automatically notify managers when users become inactive.
  • Approval process for leave of absence requests
  • Can inform managers about various events via Discord webhook
  • List of inactive users
  • Define through policies after how many days a user of absence a user is considered inactive
  • Fetching the last login dates from Member Audit to determine how long a user has been inactive

Users are notified on Alliance Auth. If you want those notifications to be forwarded as DM on Discord, please check out this app: Discord Notify.

Screenshots

A user creating a new leave of absence request:

request

A manager reviewing a leave of absence request:

pending

A manager looking through the list of currently inactive and notified users:

notified

Installation

Step 0 - Requirements

This app needs Member Audit to function. Please make sure it is installed before continuing.

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

Permissions

This app uses permissions to control access to features.

Name Purpose Code
general - Can access this app Enabling the app for a user. This permission should be enabled for everyone who is allowed to use the app basic_access
general - Can manage leave of absence requests Allows a user to approve/deny loa requests. manage_leave

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-2.0.1.tar.gz (84.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_inactivity-2.0.1-py3-none-any.whl (97.2 kB view details)

Uploaded Python 3

File details

Details for the file aa_inactivity-2.0.1.tar.gz.

File metadata

  • Download URL: aa_inactivity-2.0.1.tar.gz
  • Upload date:
  • Size: 84.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for aa_inactivity-2.0.1.tar.gz
Algorithm Hash digest
SHA256 89ea8bbe636cee2412c26bc7005f41a14f2b1e9fc78e8c5c67080fb749aa1e33
MD5 e019504f4f156cb738f4e9a4dcbe26de
BLAKE2b-256 48533d3c1f265300d12769caef4a45e458ff1ec8cb5883c448acdb9407f82282

See more details on using hashes here.

File details

Details for the file aa_inactivity-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: aa_inactivity-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 97.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for aa_inactivity-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22f183875229e8248269b1f26ca36b06b5f683331d80f2f2280c7d44774c9c8d
MD5 e5185ee7f8f3db800eabe0d75000473b
BLAKE2b-256 fc943ba5c711cd10b4e5db610f7a197ba2d4b03d6751cb8e83d6ed0c26f92574

See more details on using hashes here.

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