Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

aa-inactivity

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aa-inactivity

Activity monitoring app for Alliance Auth.

Source
pipPyPI
Version
2.0.1
Maintainers
1

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.

NamePurposeCode
general - Can access this appEnabling the app for a user. This permission should be enabled for everyone who is allowed to use the appbasic_access
general - Can manage leave of absence requestsAllows a user to approve/deny loa requests.manage_leave

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts