![]()
AA-SRP
Improved SRP Module for Alliance Auth
AA SRP
SRP Module for Alliance Auth
<hr />- Overview
- Features
- Screenshots
- Installation
- Prerequisites
- Bare Metal Installation
- Docker Installation
- Common Installation Steps
- Updating
- Bare Metal Installation
- Docker Installation
- Permissions
- Changelog
- Translation Status
- Contributing
Overview
Features
- Overview of SRP links
- Overview of your own SRP requests and their status
- Accepting kill mails from zKillboard, EveTools Killboard and EVE-Kill
- SRP Request administration is mostly done via ajax and without page reloads
- Use modern DataTables with filters where ever they're useful
- Tables fully searchable and sortable
- Mandatory reason on SRP reject
- Notifications in AA with detailed information on SRP rejection
- Discord notification via PM to the user on SRP request approval or rejection, if either AA-Discordbot, Discord Notify or Discord Proxy is installed
- Notify your SRP team (optional) in their Discord channel about new SRP requests, if AA-Discordbot or Discord Proxy is installed
Screenshots
Dashboard

Dashboard (View All)

Your SRP Requests

SRP Requests Overview

SRP Request Details

Installation
Prerequisites
[!IMPORTANT]
Please make sure you meet all prerequisites before you proceed!
- AA SRP is a plugin for Alliance Auth. If you don't have Alliance Auth running already, please install it first before proceeding. (see the official Alliance Auth installation guide for details)
- AA SRP needs at least Alliance Auth v4.12.0
Bare Metal Installation
Step 1: Install the Package
Make sure you're in the virtual environment (venv) of your Alliance Auth installation Then install the latest release directly from PyPi.
pip install aa-srp==4.2.0
Step 2: Configure Alliance Auth
This is fairly simple, just add the following to the INSTALLED_APPS of your local.py
Configure your AA settings (local.py) as follows:
INSTALLED_APPS += [
# …
"eve_sde", # Only if not already added for another app
"aasrp",
# …
]
# This line is right below the `INSTALLED_APPS` list, and only if not already added for another app
INSTALLED_APPS = ["modeltranslation"] + INSTALLED_APPS
Add the following new task to ensure the SDE data is kept up to date:
if "eve_sde" in INSTALLED_APPS:
# Run at 12:00 UTC each day
CELERYBEAT_SCHEDULE["EVE SDE :: Check for SDE Updates"] = {
"task": "eve_sde.tasks.check_for_sde_updates",
"schedule": crontab(minute="0", hour="12"),
}
Step 3: Finalizing the Installation
Run static files collection and migrations
Migrate and populate SDE:
python manage.py migrate eve_sde
python manage.py esde_load_sde
Migare the app and run static collection:
python manage.py migrate aasrp
python manage.py collectstatic --noinput
Restart your supervisor services for Auth
Docker Installation
Step 1: Add the App
Add the app to your conf/requirements.txt
aa-srp==4.2.0
Step 2: Update Your AA Settings
Configure your AA settings as (conf/local.py) follows:
INSTALLED_APPS += [
# …
"eve_sde", # Only if not already added for another app
"aasrp",
# …
]
# This line is right below the `INSTALLED_APPS` list, and only if not already added for another app
INSTALLED_APPS = ["modeltranslation"] + INSTALLED_APPS
Add the following new task to ensure the SDE data is kept up to date:
if "eve_sde" in INSTALLED_APPS:
# Run at 12:00 UTC each day
CELERYBEAT_SCHEDULE["EVE SDE :: Check for SDE Updates"] = {
"task": "eve_sde.tasks.check_for_sde_updates",
"schedule": crontab(minute="0", hour="12"),
}
Step 3: Build Auth and Restart Your Containers
docker compose build --no-cache
docker compose --env-file=.env up -d
Step 4: Finalizing the Installation
Run migrations and copy static files:
docker compose exec allianceauth_gunicorn bash
auth migrate eve_sde
auth esde_load_sde
auth migrate aasrp
auth collectstatic
Common Installation Steps
Setting up Permissions
Now it's time to set up access permissions for your new SRP module. You can do so in your admin backend in the AA SRP section. Read the Permissions section for more information about the available permissions.
(Optional) Import From Built-in SRP Module
[!NOTE]
This step is only needed when you have been using the built-in SRP module until now.
The import process can be done at any given time and doesn't necessarily have to be during the installation.
[!IMPORTANT]
Make sure you don't have any open SRP requests before. All SRP links in the built-in module will be closed during the import process, to make sure to not import any duplicates.
To import your SRP information from the built-in SRP module, run the following:
Bare Metal Installation
python manage.py aasrp_migrate_srp_data
Docker Installation
docker compose exec allianceauth_gunicorn bash
auth aasrp_migrate_srp_data
(Optional) Settings for Discord Proxy (If Used)
[!NOTE]
This step is only needed if you want to use Discord notifications and have Discord Proxy installed.
If you are using Discord Proxy to send Discord messages, you can configure the host and port in your local.py settings.
| Name | Description | Default |
|---|---|---|
DISCORDPROXY_HOST |
Hostname used to communicate with Discord Proxy. | localhost |
DISCORDPROXY_PORT |
Port used to communicate with Discord Proxy. | 50051 |
Docker Installation
If you have Discord Proxy installed via Docker (see here), you should set the following:
DISCORDPROXY_HOST = "allianceauth_discordproxy"
Updating
Bare Metal Installation
To update your existing installation of AA SRP, first enable your virtual environment (venv) of your Alliance Auth installation.
Then run the following command to update AA SRP to the latest version.
pip install aa-srp==4.2.0
python manage.py collectstatic
python manage.py migrate
redis-cli flushall
Restart your supervisor services for Auth.
Docker Installation
To update your existing installation of AA SRP, first update the version in your
conf/requirements.txt to the latest version.
aa-srp==4.2.0
Then build your Auth container and restart your containers.
docker compose build
docker compose --env-file=.env up -d
After that, run the following commands to update your database and static files:
docker compose exec allianceauth_gunicorn bash
auth collectstatic
auth migrate
Permissions
| ID | Description | Notes |
|---|---|---|
basic_access |
Can access the AA SRP module | Your line members should have this permission. |
create_srp |
Can create new SRP links | Your FCs should have this permission. |
manage_srp |
Can manage SRP | Users with this permission can manage the AA SRP Module. Like changing and removing SRP links and requests. |
manage_srp_requests |
Can manage SRP requests | Users with this permission can manage the SRP requests. Like changing and removing SRP requests. |
Changelog
See CHANGELOG.md
Translation Status
Do you want to help translate this app into your language or improve the existing translation? - Join our team of translators!
Contributing
You want to contribute to this project? That's cool!
Please make sure to read the Contribution Guidelines.\ (I promise, it's not much, just some basics)
No reviews yet...
Python Requirements
- allianceauth>=4.12
- django-esi>=8.3.1
- django-eveonline-sde>=0.0.1b5
- aa-discordnotify; extra == "tests-allianceauth-latest"
- aa-forum; extra == "tests-allianceauth-latest"
- allianceauth-discordbot; extra == "tests-allianceauth-latest"
- coverage; extra == "tests-allianceauth-latest"
- django-webtest; extra == "tests-allianceauth-latest"
- faker; extra == "tests-allianceauth-latest"
- py-cord>=2.7; extra == "tests-allianceauth-latest"
- requests-mock; extra == "tests-allianceauth-latest"
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
- Intended Audience :: Developers
- License :: OSI Approved :: GNU General Public License v3 (GPLv3)
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 3 :: Only
- Programming Language :: Python :: 3.10
- Programming Language :: Python :: 3.11
- Programming Language :: Python :: 3.12
- Programming Language :: Python :: 3.13
- Topic :: Internet :: WWW/HTTP
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
Version
4.2.0
License
GPLv3
PyPI
https://pypi.org/project/aa-srp/
Last updated
23 hours ago
First published
5 years, 2 months ago
Category
Plugin Apps
Rating
-Authors
Rounon Dax
Maintainers
Rounon Dax
Please login to see more options.