Catalog PyPI
PACKAGE EXPLORERView in registry

aa-altcorp

PyPI

Example plugin app for Alliance Auth.

Versions collected1
Direct dependencies4From release 0.1.2b0
Last observed20 Oct, 16:47 UTC

README

Version 0.1.2b0 documentation

Alt Corp management app for Alliance Auth

Badge: Version Badge: License Badge: Supported Python Versions Badge: Supported Django Versions Badge: pre-commit Badge: pre-commit.ci status Badge: Code Style: black Badge: Automated Tests Badge: Code Coverage

Features

Players can request an alt corp be added to your alt alliance. Requests cannot be completed without all characters in that corp having tokens in auth.

Installing

Altcorp is a plugin for Alliance Auth. If you don't have Alliance Auth running already, please install it first before proceeding. (see the official AA installation guide for details)

pip install aa-altcorp

Configure your Auth settings (local.py) as follows:

  • Add 'altcorp' to INSTALLED_APPS
  • Add the following required lines to your settings file:
AC_ALT_ALLIANCE = 123456  # alt alliance ID
CELERYBEAT_SCHEDULE["altcorp_update"] = {
    "task": "altcorp.update_corp_requests_for_alliance(",
    "schedule": crontab(minute=0, hour=3),
    "apply_offset": True,
}

Run migrations & copy static files

python manage.py migrate
python manage.py collectstatic

Restart your supervisor services for Auth

Settings

Here is a list of available settings for this app. They can be configured by adding them to your Auth settings file (local.py).

Note that all settings are optional and the app will use the documented default settings if they are not used.

NameDescriptionDefault
AC_ALT_ALLIANCEThe ID of the alt alliance.123456
AC_ALLIANCE_IDSA list of alliance ID's. Toons in an alt corp must have their users main character as part of one of theses alliances. Blank ignores this check and will allow anyone to be in an alt corp[]
AC_WEBHOOKWebhook for sending manager notifications```
AC_REVOKE_DAYSDays of non compliance before the app tells you to remove a corp from alt alliance7
AC_IGNORE_CORPSA list of corps in the alt alliance to ignore. Use to ignore executor or other corps that don't require checks.[]
AC_REQUIRED_SCOPEA list of states and scopes to check toons for.{"Member": ["publicData"]}

Permissions

Here are all relevant permissions:

CodenameDescription
general - Can access this appBasic permission required by anyone to access this app and request an alt corp.
general - Can manage alt corp requestsUsers with this permission can manage requests.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.2b08 Apr 20254

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
astrum-mechanica/aa-altcorp

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:47 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:d3260808052950387974261af3e9d72d5a2a896fac3d96b6f8dd6c2311b0bece