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
- run migrations and static data
python /home/allianceserver/myauth/manage.py migrate
python /home/allianceserver/myauth/manage.py collectstatic --noinput
- restart auth
Electric Boogaloo!
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:
Previous Dev (all credits to him, for this app!):
Active Devs:
Installation
- Install the Repo
pip install corpstatsII - Add
'corpstats',to yourINSTALLED_APPSin your projectslocal.py - run migrations and restart auth
- 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.9
- 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file corpstatsii-1.1.9.tar.gz.
File metadata
- Download URL: corpstatsii-1.1.9.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26be774f67e4651c0e680831a14d40b6ac11971de973a66e586d13a25cf524ce
|
|
| MD5 |
69a2a7c89028564206fc7bbf7d794431
|
|
| BLAKE2b-256 |
a9f705a882aa6365d678aa7036cb336228512f05a46044bb99184af6db0d2c4f
|
File details
Details for the file corpstatsii-1.1.9-py3-none-any.whl.
File metadata
- Download URL: corpstatsii-1.1.9-py3-none-any.whl
- Upload date:
- Size: 30.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e530a08d06ee714d358825a20ae03708c8234413aa432b4b53f1d3f7e9e1e5e3
|
|
| MD5 |
f531f0a168b0be902f5fb5ff61536c8d
|
|
| BLAKE2b-256 |
8317f87cb3b0d7dd30fcc7d8ac73681c1184dfceaea2f84e3b80aa8b4b7d7414
|