Skip to main content

Improved SRP Module for Alliance Auth

Project description

AA-SRP

Version License Python Django pre-commit Code Style: black Discord

SRP Module for Alliance Auth

Contents

Overview

Features

  • Overview of SRP links
  • Overview of your own SRP requests and their status
  • SRP Request administration mostly done via ajax and without page reloads
  • Use of modern DataTables with filters where ever they are 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 AA-Discordbot is installed
  • Notify your SRP team (optional) in their Doscord channel about new SRP requests, if AA-Discordbot is installed

Screenshots

Dashboard

Dashboard

Dashboard (View All)

Dashboard (View All)

Your SRP Requests

Your SRP Requests

SRP Requests Overview

SRP Requests Overview

SRP Request Details

SRP Request Details

Installation

Important: Please make sure you meet all preconditions 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 AA installation guide for details)
  • AA SRP needs the app django-eveuniverse 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 latest releast directly from PyPi.

pip install aa-srp

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:

  • Add "eveuniverse", to INSTALLED_APPS
  • Add "aasrp", to INSTALLED_APPS

Step 3 - Finalize the installation

Run static files collection and migrations

python manage.py collectstatic
python manage.py migrate

Restart your supervisor services for Auth

Step 4 - Preload Eve Universe data

AA SRP utilizes the EveUniverse module so it doesn't need to ask ESI for ship informations. To set this up, you now need to run the following command.

python manage.py aasrp_load_eve

Step 5 - Import from built-in SRP module

Important:

Make sure you don't have any open SRP reqests before. All SRP links in the built-in module will be closed during the import process, to make sure to not import any duplicates.

The import process can be done at any given time and does not necessarily have to be at the time of the installation.

To import your SRP information from the buil-in SRP module, run the following command.

python manage.py aasrp_migrate_srp_data

Step 6 - Set 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.

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.

Settings

Key Description Type Default
AASRP_SRP_TEAM_DISCORD_CHANNEL ID of the Discord channel of your SRP team. If set, your SRP team will be notified (no ping to prevent ping spam) about new SRP requests in their channel. (You need to have AA-Discordbot installed and configured to use this option) int None

Changelog

See CHANGELOG.md

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)

Project details


Release history Release notifications | RSS feed

This version

1.3.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aa-srp-1.3.2.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

aa_srp-1.3.2-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file aa-srp-1.3.2.tar.gz.

File metadata

  • Download URL: aa-srp-1.3.2.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for aa-srp-1.3.2.tar.gz
Algorithm Hash digest
SHA256 aa2e05a8db46393b040f2490a0a2275f791009f8143f1b63717864491d799818
MD5 9f4120ffd4c4f1f96cc93f4511623c13
BLAKE2b-256 e85e881be0346609cd597e9a57fab348a1453c5a3d9e31b6c6dd3e35b32b2e17

See more details on using hashes here.

File details

Details for the file aa_srp-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: aa_srp-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for aa_srp-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8cc013904d6adbedc2e69483f6df9ba59853a2e3caf13934359a394e46da958a
MD5 8c5899f9550d5593a2cbc4c72b39a0c0
BLAKE2b-256 0559527e2f8d1f588d227eeaaa5c11ae3b72c47c9c1ff660ef16c19308dc18e1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page