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
Metadata
Release files for corpstatsII 1.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| corpstatsii-1.1.9.tar.gz | 24.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| corpstatsii-1.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.3 kB
Release files / corpstatsii-1.1.9.tar.gz
| Download URL | corpstatsii-1.1.9.tar.gz |
|---|---|
| Size | 24.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26be774f67e4651c0e680831a14d40b6ac11971de973a66e586d13a25cf524ce
|
|
BLAKE2b-256 checksum How to use checksums |
a9f705a882aa6365d678aa7036cb336228512f05a46044bb99184af6db0d2c4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.13
|
Release files / corpstatsii-1.1.9-py3-none-any.whl
| Download URL | corpstatsii-1.1.9-py3-none-any.whl |
|---|---|
| Size | 30.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e530a08d06ee714d358825a20ae03708c8234413aa432b4b53f1d3f7e9e1e5e3
|
|
BLAKE2b-256 checksum How to use checksums |
8317f87cb3b0d7dd30fcc7d8ac73681c1184dfceaea2f84e3b80aa8b4b7d7414
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.13
|