Activity monitoring app for Alliance Auth
Project description
AA Inactivity
This is a player activity monitoring plugin app for Alliance Auth (AA).
Content
Features
- Notify users inactive for a specified time.
- Notify administrators when users meet an inactivity threshold.
- 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.
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
Release history Release notifications | RSS feed
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.0a5.tar.gz
(77.1 kB
view hashes)
Built Distribution
Close
Hashes for aa_inactivity-0.1.0a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe0e53034ca966a6f5db4a3d06af5f2baf0c243a8b006648633a9a1accded53d |
|
MD5 | 2fa9a6c9abecd21e858d4c9ffcdf3950 |
|
BLAKE2b-256 | 958df6c786db563c28912fa026f41f5b68aa612da732cd2ce42bd144c74e0f98 |