Alliance Auth Plugin
Project description
Auth Reports
Auth Data in report form, in Auth, fully configurable
AKA Corp Stats 3.0
- Configurable Report Framework for corporate level aggregation of any data
- each "field" is a smart filter similar to secure groups ( can use secure groups filters too ) or a "field only" filter provided by any application in the alliance auth ecosystem.
- These filters MUST be the more modern kind with either a
process_field
oraudit_filter
methods. Legacy filters using onlyprocess_filter
will not show any data. Please see this link for more info
- These filters MUST be the more modern kind with either a
What it needs:
- require corporate member tokens to build the corp groups to see people not known to auth, to make a report for that too. these can be added with the pluss button in the menubar
Min Release Req's:
- a basic report that does what corpstats 2.0 does now
- alts to mains
- join dates
- last login
- permissions that give access to all reports at a
corp/alli/state/holding corps
level - overview screen with passing/failing per corp per "report" ( maybe have this as optional aka "show_on_global_overview_report" )
Nice to haves future plans
- state level report that shows all members of a state
- csv/json/other export
- more things...
Filters/stats provided by this app
- show all alts for a main, with option to only show in corp alts
Installation
BETA INSTALL This will be updated with QOL in later releases but this is still BETA software
Bare Metal
pip install allianceauth-auth-stats==0.0.1b2
- add
'authstats',
to your local.py - migrate
python manage.py migrate
- collectstatic
python manage.py collectstatic --noinput
- sync commands
python manage.py reports_sync_filters
- restart auth
- continue to the common section
Docker
- add
allianceauth-auth-stats==0.0.1b1
to your requirements.txt file and rebuild your containersdocker compose build --no-cache
- add
'authstats',
and'solo',
to your local.py - recreate you docker stack
docker compose up -d
- enter your auth container and run migrations and collect static and sync filters
docker compose exec auth bash
auth collectstatic
auth migrate
auth reports_sync_filters
- continue to the common section
Common setup steps
- run the following command to sync all the available filters
manage.py reports_sync_filters
- In the auth admin site edit the
Auth Reports Configuration
to your liking. - set your states to include in reports at a minimum.
- Create a new
Report Field: Character Alts
defaults are fine - create your first report.
- Name "Corpstats"
- Check show character images
- Setup your fields
- Don't forget to add the characters field you setup in the previous step. i recommend you uncheck sorting on this field.
- add permissions to the parties you wish to be able to use reports. permisions are defined below.
Screenshots
Permissions
There are some basic access perms
All permissions are filtered by main character, if a person has neutral alts loaded they will also be visible to someone who can see their main.
Perm | Admin Site | Perm | Description |
---|---|---|---|
basic_access | nill | Can access reports module | Shows the Auth Reports module in the menu and gives access to the UI |
own_corp | nill | Can access own corporations reports. | |
own_alliance | nill | Can access own alliances reports. | |
own_state | nill | Can access own states reports. |
Future Perms
these are not hooked up yet
Perm | Admin Site | Perm | Description |
---|---|---|---|
restricted_reports | nill | Can access restricted reports. | |
holding_corps | nill | Can access configured holding corp reports. |
Note: Configure the "Holding Corps" in the Auth Reports Configuration
Admin Model. via the auth admin interface.
Settings
Setting | Default | Description |
---|---|---|
AUTHSTATS_APP_NAME |
"Auth Reports" | Name on the menu for Auth Stats |
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.
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
File details
Details for the file allianceauth-auth-stats-0.0.1b3.tar.gz
.
File metadata
- Download URL: allianceauth-auth-stats-0.0.1b3.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce01214284afa49a6bf33828ad12c9c1e71fed9f952034041eb7d72000e66b5c |
|
MD5 | 8eed57977ba3336d87aa696d35e3dd37 |
|
BLAKE2b-256 | 821a1f63d56faada39d8bf80cf195e7667298e053aa07af6e12f7189ceec4140 |