
AA Inactivity
An app for monitoring game activity of members with Member Audit and Alliance Auth.
AA Inactivity
An app for monitoring game activity of members with Member Audit and Alliance Auth.
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
[!TIP] 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:

A manager reviewing a leave of absence request:

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

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 |
No reviews yet...
Python Requirements
- aa-memberaudit>=5
- allianceauth-app-utils>=1.32
- django-multiselectfield
- py-cord>=2.4.1
- pytz>=2023.3
- humanize>=4.7
- coverage; extra == "test"
- factory_boy; extra == "test"
Required Python packages to be installed and other Python requirement.
App Dependencies
Required apps:
Used by apps:
-
Dependencies to other apps registered in this app directory.
Classifiers
- Environment :: Web Environment
- Framework :: Django
- Framework :: Django :: 4.2
- Framework :: Django :: 5.2
- Intended Audience :: End Users/Desktop
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 3.10
- Programming Language :: Python :: 3.11
- Programming Language :: Python :: 3.12
- Topic :: Internet :: WWW/HTTP
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
Version
3.0.2
License
?
Homepage
https://github.com/AllianceAuth-Apps/aa-inactivity
PyPI
https://pypi.org/project/aa-inactivity/
Last updated
2 weeks ago
First published
5 years, 6 months ago
Category
Plugin Apps
Rating
-Authors
Erik Kalkoken
Rebecca Murphy
Maintainers
Erik Kalkoken
Please login to see more options.