Tax System module for Alliance Auth
Project description
Tax System module for AllianceAuth.
A Tax System for Corporation to Monitor Payments like Renting Tax, etc.
Features
- Multi-Owner Support: Manage both Corporations and Alliances
- Corporation & Alliance Tax System
- Statistics
- Owner Information
- Payments
- Tax Accounts
- Division Information
- Update Status
- Member Tracking
- Check Member is registered in Auth
- Check Member is Alt Char
- Report members as missing if they leave the corporation/alliance
- Payment System
- Allocate User from Member Tracking
- Automatic Payment Tracking
- Automatic Payment Approval via Filters
- Filtering Amount, Reason, Date
- Payments
- Track Payments that meets filters
- Manual approval workflow for unfiltered payments
- Log System
- Logs Actions from Administration Section
- Payment history tracking
- Statistics
Upcoming
- Notify via Discord
- Data export functionality
Screenshots
Administration View
Account User Payments History
Tax Filters
Payments Details
Payments
Installation
[!NOTE] AA Tax System needs at least Alliance Auth v4.12.0 Please make sure to update your Alliance Auth before you install this APP
Step 1 - Install the Package
Make sure you're in your virtual environment (venv) of your Alliance Auth then install the pakage.
pip install aa-taxsystem
Step 2 - Configure Alliance Auth
Configure your Alliance Auth settings (local.py) as follows:
- Add
'taxsystem',toINSTALLED_APPS
Step 3 - Add the Scheduled Tasks
To set up the Scheduled Tasks add following code to your local.py
CELERYBEAT_SCHEDULE["AA Taxsystem :: Update All Tax System"] = {
"task": "taxsystem.tasks.update_all_taxsytem",
"schedule": 1800,
}
Step 3.1 - (Optional) Add own Logger File
To set up the Logger add following code to your local.py
Ensure that you have writing permission in logs folder.
LOGGING["handlers"]["taxsystem_file"] = {
"level": "INFO",
"class": "logging.handlers.RotatingFileHandler",
"filename": os.path.join(BASE_DIR, "log/taxsystem.log"),
"formatter": "verbose",
"maxBytes": 1024 * 1024 * 5,
"backupCount": 5,
}
LOGGING["loggers"]["extensions.taxsystem"] = {
"handlers": ["taxsystem_file", "console", "extension_file"],
"level": "DEBUG",
}
Step 4 - Migration to AA
python manage.py collectstatic
python manage.py migrate
Step 5 - Setting up Permissions
With the Following IDs you can set up the permissions for the Tax System
| ID | Description | |
|---|---|---|
basic_access |
Can access the Tax System module | All Members with the Permission can access the Tax System. |
create_access |
Can add Corporation/Alliance | Users with this permission can add corporations and alliances. |
manage_own_corp |
Can manage own Corporation | Users with this permission can manage own corporation. |
manage_corps |
Can manage all Corporations | Users with this permission can manage all corporations. |
manage_own_alliance |
Can manage own Alliance | Users with this permission can manage own alliance. |
manage_alliances |
Can manage all Alliances | Users with this permission can manage all alliances. |
Step 6 - (Optional) Setting up Compatibilies
The Following Settings can be setting up in the local.py
-
TAXSYSTEM_APP_NAME:
"YOURNAME"- Set the name of the APP -
TAXSYSTEM_BULK_BATCH_SIZE:
500- Maximum database batch size per operation. Reduce (e.g., 250) if encountering 'max_allowed_packet' errors, increase for better performance if MySQL is configured with higher limits Advanced Settings: Stale Status for Each Section -
TAXSYSTEM_STALE_TYPES =
{ "wallet": 60, "divisions": 60, "division_names": 60, "members": 60, "payments": 60, "tax_accounts":60, "deadlines": 1440 }- Defines the stale status duration (in minutes) for each section.
Documentation
For detailed information on how to use the Tax System, please refer to our comprehensive User Manual.
The manual covers:
- Getting started with the Tax System
- Adding Corporations and Alliances
- Payment System functionality
- Filter configuration
- Account management
- Administration features
- FAQ and troubleshooting
Translations
Help us translate this app into your language or improve existing translations. Join our team!"
Contributing
You want to improve the project? Please ensure you read the contribution guidelines
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 aa_taxsystem-3.0.1.tar.gz.
File metadata
- Download URL: aa_taxsystem-3.0.1.tar.gz
- Upload date:
- Size: 574.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
774d6f5ba5a5d73a5fe358d75cdc33845f15c8c090046fa26b3eb3276c38705f
|
|
| MD5 |
9726fad6397cbf6cec336e699df03525
|
|
| BLAKE2b-256 |
fb4775fba24770ab199aec223d4ff0a3ef9eed754cb494ee8fbe7bab38c6736f
|
Provenance
The following attestation bundles were made for aa_taxsystem-3.0.1.tar.gz:
Publisher:
release.yml on Geuthur/aa-taxsystem
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aa_taxsystem-3.0.1.tar.gz -
Subject digest:
774d6f5ba5a5d73a5fe358d75cdc33845f15c8c090046fa26b3eb3276c38705f - Sigstore transparency entry: 1197255327
- Sigstore integration time:
-
Permalink:
Geuthur/aa-taxsystem@5fa5fec0733fbfc7576978e217187ee4f572f1a7 -
Branch / Tag:
refs/tags/v3.0.1 - Owner: https://github.com/Geuthur
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5fa5fec0733fbfc7576978e217187ee4f572f1a7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file aa_taxsystem-3.0.1-py3-none-any.whl.
File metadata
- Download URL: aa_taxsystem-3.0.1-py3-none-any.whl
- Upload date:
- Size: 687.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16fc5c6e46a93f0338b56b984d752a449b8168356949f36c76c578ed581c56cb
|
|
| MD5 |
5ef870f530c6c80f98153e5397509dc0
|
|
| BLAKE2b-256 |
b02738b1ffcc9dd086a7320d090d5c06e8f175de11748d3e4162028ff4aafcae
|
Provenance
The following attestation bundles were made for aa_taxsystem-3.0.1-py3-none-any.whl:
Publisher:
release.yml on Geuthur/aa-taxsystem
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aa_taxsystem-3.0.1-py3-none-any.whl -
Subject digest:
16fc5c6e46a93f0338b56b984d752a449b8168356949f36c76c578ed581c56cb - Sigstore transparency entry: 1197255356
- Sigstore integration time:
-
Permalink:
Geuthur/aa-taxsystem@5fa5fec0733fbfc7576978e217187ee4f572f1a7 -
Branch / Tag:
refs/tags/v3.0.1 - Owner: https://github.com/Geuthur
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5fa5fec0733fbfc7576978e217187ee4f572f1a7 -
Trigger Event:
release
-
Statement type: