Skip to main content

SRP-Payouts

A simple SRP table plugin, that offers dynamic rows and columns to show the maximum amount of ISK you're willing to reimburse if someone lost their ship. This plugin works independently from any SRP plugin and only offers you the table mechanics.

This plugin was inspired by Goonswarm Federation's Affordable Care App.

Contents

Current Features

  • Display a page with the maximum amount of ISK you're willing to reimburse
  • Dynamically add new ships, new payouts or new reimbursement reasons (columns)
  • Simple search bar for the ship name
  • Sorting filters for each column

TODO

  • Add pagination
  • Add option to only show a certain amout of entries
  • Add admin option to easily change payout values for one ship type

Active devs:

Screenshots

Showcase

Installation

Alliance Auth Production

Non-Docker Version

1.) Install the pip package via pip install aa-srppayouts

2.) Add srppayouts to your INSTALLED_APPS in your projects local.py

3.) Restart your server, then run migrations and collectstatic

4.) Run python manage.py srppayouts_load_data to load most ship data

5.) (Optional) Run python manage.py srppayouts_load_example to load example data

Docker Version

1.) Please make sure you followed the custom docker-image tutorial here:

2.) Edit your conf/requirements and add the following line aa-srppayouts (Check https://pypi.org/project/aa-simplewiki/ for different versions!)

3.) Add srppayouts to your INSTALLED_APPS in your projects local.py

4.) Start your server docker compose --env-file=.env up -d

5.) Run docker compose exec allianceauth bash

7.) Run auth migrate

8.) Run auth collectstatic

9.) Run auth srppayouts_load_data

10.) (Optional) Run auth srppayouts_load_example to load example data

Alliance Auth Development

Make sure you have installed alliance auth in the correct way: https://allianceauth.readthedocs.io/en/latest/development/dev_setup/index.html

1.) Download the repo git clone https://github.com/meowosaurus/aa-srppayouts

2.) Make sure it's under the root folder aa-dev, not under myauth

3.) Change directory into aa-dev aand run pip install -e aa-srppayouts

Important: If you are getting an error saying that srppayouts is not installed after running pip install -e aa-srppayouts, delete the setup.py file in the aa-srppayouts root directory and try again.

4.) Add srppayouts to your INSTALLED_APPS in your projects local.py

5.) Change directory into myauth

6.) Make migrations with python manage.py makemigrations

7.) Migrate with python manage.py migrate

8.) Restart auth with python manage.py runserver

Usage

Check out our wiki on GitHub: https://github.com/meowosaurus/aa-srppayouts/wiki

Permissions

Perm Admin Site Auth Site
basic_access None Can view the payouts page

Commands

  • Load over 200 ships with their correct ship id: python manage.py srppayouts_load_data
  • Load an example with 3 columns and 4 ships: python manage.py srppayouts_load_example

Dependencies

This plugin only works with Alliance Auth 4.0.0 or above

Support

  • On Discord: meowlicious

Release files for aa-srppayouts 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aa-srppayouts 1.0.1
File Size Uploaded
aa_srppayouts-1.0.1.tar.gz 158.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aa-srppayouts 1.0.1
File Interpreter ABI Platform
aa_srppayouts-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 191.4 kB

Release files / aa_srppayouts-1.0.1.tar.gz

Download URL aa_srppayouts-1.0.1.tar.gz
Size 158.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2e751a3170f7afa3f3faa6245eeff1aba8a4c417a9e85e1bf14f08f838b06efb
BLAKE2b-256 checksum
How to use checksums
608722b753424f10f62b8735e93b155f39da4aa2a8b502c7225b5fa4d1cea1b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release files / aa_srppayouts-1.0.1-py3-none-any.whl

Download URL aa_srppayouts-1.0.1-py3-none-any.whl
Size 32.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04dbbcb334053c09db3dae146f33173d45240db8f992603dc710036ece100d37
BLAKE2b-256 checksum
How to use checksums
60a7167cf6e102d5f6b21b53a3a3e3b781d3a21e713754f0da0a88be22cb4e89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page