Skip to main content

Extended Corpstats module for AllianceAuth

Project description

CorpStats 2.0

CorpStatsII fork

This is a fork from the orginal CorpStat 2.0

To migrate from CorpStats to this fork, run the following

  • source in your env.
pip uninstall aa-corpstats-two
pip install corpstatsII
  • restart auth

Electric Boogaloo!

Coverage Status Build Status

Extended Corpstats module for AllianceAuth with some extra features around corp member tracking, and auth utilization.

Includes:

  • Corp level views
  • Corp Overview views
  • Member Service activation stats
  • Member Tracking
    • Last Login and Duration
    • Last known ship

Based on the hard work of:

Active Devs:

Installation

  1. Install the Repo pip install corpstatsII
  2. Add 'corpstats', to your INSTALLED_APPS in your projects local.py
  3. run migrations and restart auth
  4. setup your perms as documented below

Permissions

If you are coming fromn the inbuilt module simply replace your perms from corputils with the matching corpstats perm

Perm Admin Site Auth Site
corpstats view_corp_corpstats None Can view corp stats of their corporation.
corpstats view_alliance_corpstats None Can view corp stats of members of their alliance.
corpstats view_state_corpstats None Can view corp stats of members of their auth state.
corpstats view_all_corpstats None Can view all corp stats.
corpstats add_corpstat Can create model Can add new corpstats using an SSO token.
corpstats change_corpstat Can edit model None.
corpstats remove_corpstat Can delete model None.

Usage

Is very well documented here

Contributing

Make sure you have signed the License Agreement by logging in at https://developers.eveonline.com before submitting any pull requests. All bug fixes or features must not include extra superfluous formatting changes.

Changes

1.1.8

  • Support Alliance Auth => 4.0

1.1.0

  • Added service activation information
  • Modified alliance view to show all corpstats visible to a user
  • updated to django-esi >= 2.0.0
  • FA 5 update

1.0.4

  • perms fixes

Project details


Download files

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

Source Distribution

corpstatsii-1.1.8.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

corpstatsii-1.1.8-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file corpstatsii-1.1.8.tar.gz.

File metadata

  • Download URL: corpstatsii-1.1.8.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for corpstatsii-1.1.8.tar.gz
Algorithm Hash digest
SHA256 24ba42ca17f1c82da9c691aacdd785b343be43a425decb65f5c42d57f72fa47b
MD5 5f44631076d7de3b5a276933ac5275dd
BLAKE2b-256 6f1d64cecd5b988806e3cfc605bd6e24f4817fa126aabd20275d6fdf764ec908

See more details on using hashes here.

File details

Details for the file corpstatsii-1.1.8-py3-none-any.whl.

File metadata

  • Download URL: corpstatsii-1.1.8-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for corpstatsii-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 65d43f66123a52453a136c28402c92666b196c5a4ebd361a6066f1ef86afbeb1
MD5 ae1ac977687ae1efd4332e15773041ce
BLAKE2b-256 de17d67dcfc986e23311c87c31140e788d30f86f8362328fcb490926447be6b8

See more details on using hashes here.

Supported by

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