aa-eveunicalendar plugin app for Alliance Auth.
Project description
EVE Uni Calendar Plugin for Alliance Auth
This plugin app for Alliance Auth displays Eve University's Discord events in a calendar view, making it easy to keep track of scheduled activities.
Features
- Displays Eve University's Discord events in a visually appealing calendar view.
- Fully integrated with Alliance Auth and leverages Discord data.
- Supports logging events to Google Sheets for historical tracking.
Installation
-
Add the app to
INSTALLED_APPS: Addeveunicalendarto theINSTALLED_APPSsection of yoursettings.py:INSTALLED_APPS += [ 'eveunicalendar', ]
-
Apply migrations and collect static files: Run the following commands:
python manage.py migrate python manage.py collectstatic
Configuration
-
Ensure Discord integration is enabled in Alliance Auth.
-
Set the following environment variables in your
local.pyor.envfile:DISCORD_GUILD_ID: Your Eve University Discord server ID.DISCORD_BOT_TOKEN: A valid bot token with permission to read scheduled events.
-
Configure Google Sheets integration: Place your
credentials.jsonfile (from Google Sheets API setup) in the same directory as yourlocal.pyfile, and add the following configuration to yourlocal.py:import os BASE_DIR = os.path.dirname(os.path.abspath(__file__)) GOOGLE_CREDENTIALS_FILE = os.path.join(BASE_DIR, 'credentials.json')
Optional config setting
Defaults are shown when not present.
GOOGLE_ACTIVE_SHEET = 'Current'
GOOGLE_ARCHIVE_SHEET = 'Archive'
Celery Integration
Add the following task to your Celery Beat schedule to fetch events hourly:
from celery.schedules import crontab
CELERYBEAT_SCHEDULE["populate_events"] = {
"task": "eveunicalendar.tasks.populate_events",
"schedule": crontab(minute=0), # Runs hourly
}
Ensure your Celery worker and Celery Beat services are running to sync events automatically.
Support
For questions, issues, or feature requests, please contact the Eve University development team or submit an issue on the project's repository.
Project details
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_eveunicalendar-0.8.0.tar.gz.
File metadata
- Download URL: aa_eveunicalendar-0.8.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0290339451841eea74077e126515383da9a69cd10f8f12161d81db998f0d42d
|
|
| MD5 |
3647a760f6e553121cae3a5350304a99
|
|
| BLAKE2b-256 |
e0b084fc0a9f22e666228fdfe066dd5d80a74838fd7c94192493256d8300a443
|
Provenance
The following attestation bundles were made for aa_eveunicalendar-0.8.0.tar.gz:
Publisher:
python-publish.yml on EVE-University/aa-eveunicalendar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aa_eveunicalendar-0.8.0.tar.gz -
Subject digest:
e0290339451841eea74077e126515383da9a69cd10f8f12161d81db998f0d42d - Sigstore transparency entry: 164139672
- Sigstore integration time:
-
Permalink:
EVE-University/aa-eveunicalendar@0939ac790746aef51500d3353c0573f9cabb3bea -
Branch / Tag:
refs/tags/V0.8.0 - Owner: https://github.com/EVE-University
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@0939ac790746aef51500d3353c0573f9cabb3bea -
Trigger Event:
release
-
Statement type:
File details
Details for the file aa_eveunicalendar-0.8.0-py3-none-any.whl.
File metadata
- Download URL: aa_eveunicalendar-0.8.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c636cf08738fbb4086e4acd2104f7bb0aafd10cee0cf31824257a053f629dae4
|
|
| MD5 |
75d8ffc8bfb56f4f79b8d0cd26696085
|
|
| BLAKE2b-256 |
9a2ad858c1fa576b95b9e460ba5b8c966d1c938b39ce496b93386d13da10c751
|
Provenance
The following attestation bundles were made for aa_eveunicalendar-0.8.0-py3-none-any.whl:
Publisher:
python-publish.yml on EVE-University/aa-eveunicalendar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aa_eveunicalendar-0.8.0-py3-none-any.whl -
Subject digest:
c636cf08738fbb4086e4acd2104f7bb0aafd10cee0cf31824257a053f629dae4 - Sigstore transparency entry: 164139674
- Sigstore integration time:
-
Permalink:
EVE-University/aa-eveunicalendar@0939ac790746aef51500d3353c0573f9cabb3bea -
Branch / Tag:
refs/tags/V0.8.0 - Owner: https://github.com/EVE-University
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@0939ac790746aef51500d3353c0573f9cabb3bea -
Trigger Event:
release
-
Statement type: