
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
An operation calendar app for Alliance Auth to display fleet operations and other events.
Dark and white themes
aa-moonmining support
aa-structuretimers support
Custom event visibility filters and categories
details for manual events
Supports importing public NPSI events right into opcalendar
Pull ingame events from personal, corporation and alliance
Discord feed based on visibility filter
Supports aa-discordbot to fetch events over discord
pip install aa-opcalendar
'opcalendar',
to your INSTALLED_APPS
in your projects local.py
python manage.py migrate
python manage.py collectstatic
supervisorctl reload myauth:
Perm | Auth Site | Example Target Group |
---|---|---|
opcalendar basic_access | Can access this app and see operations based on visibility rules | Everyone |
opcalendar create_event | Can create and edit events | Leadership, FCs |
opcalendar manage_event | Can delete and manage signups | Leadership, FCs |
opcalendar see_signups | Can see all signups for event | Leadership, FCs, Members |
Name | Description | Default |
---|---|---|
OPCALENDAR_NOTIFY_IMPORTS | Wheter to send out discord notifications for ingame and public NPSI events | True |
OPCALENDAR_DISPLAY_STRUCTURETIMERS | whether we should inculde timers from the structuretimers plugin in the calendar. Inherits view permissions from aa-structuretimers | True |
OPCALENDAR_DISPLAY_MOONMINING | whether we should inculde extractions from the aa-moonmining plugin in the calendar. Inherits view permissions from aa-moonmining | True |
OPCALENDAR_DISCORD_OPS_DISPLAY_EXTERNAL | whether we display external hosts such as ingame hosts in the discord ops command filters | False |
OPCALENDAR_DISPLAY_MOONMINING_TAGS | Display the rarity tag of aa-moonmining moons if the moonmining plugin is installed | True |
OPCALENDAR_DISPLAY_MOONMINING_ARRIVAL_TIME | Displays aa-moonmining extraction time based on arrival time. Set to False to display as auto fracture time | True |
OPCALENDAR_NOTIFY_REPEAT_EVENTS | If repeated events should also be created as webhook pings on discord. Can create spam if the event repeat is set to high | True |
OPCALENDAR_SHOW_EVENT_COUNTER | Shows a counter next to the opcalendar menu for events that the user has not responded to | True |
Before you are able to create new events on the front end you will need to setup the needed categories and visibility filters for your events.
Hosts are for identifying reasons. If you run a single corporation or alliance entity you most likely only want one host. If you want to extend the calendar with other hosts such as NPSI communities you can create a host for each different entity.
These filters will determine who is able to see the events that are labeled with each different visibility filter.
Categories are displayed as a ticker infront of manually created events. Most common categories are: PvP, Stratop, Mining, CTA etc...
If you want to receive notifications about your events (created/modified/deleted) on your discord you can add a webhook for the channel in discord you want to receive the notifications to. The webhooks you create will be used in the visibility filters.
To add a manual event simply go to the calendar page and press on the new event button. Fill in and select the needed information.
Opcalendar has the ability to import predetermined NPSI fleets directly into your calendar from public NPSI community APIs.
Opcalendar is currently supporting imports for the following NPSI fleets:
To schedule the import runs either add the following line in your local.py file or set up a perioduc task for the opcalendar.tasks.import_all_npsi_fleets
task on your admin menu to fetch fleets every hour.
CELERYBEAT_SCHEDULE['import_all_npsi_fleets'] = {
'task': 'opcalendar.tasks.import_all_npsi_fleets',
'schedule': crontab(minute=0, hour='*'),
}
You can import events that have been created in the ingame calendar. As the fields on the ingame calendar are limited the events will not be as detailed as when created directly from the calendar.
add_ingame_calendar_owner
role for the wanter groupsAdd Ingame Calendar Feed
buttonopcalendar.tasks.update_all_ingame_events
to pull fleets from ingame every 5 minutes.CELERYBEAT_SCHEDULE['update_all_ingame_events'] = {
'task': 'opcalendar.tasks.update_all_ingame_events',
'schedule': crontab(minute='*/5'),
}
On default the ingame events you import have no visibility filter and no category. This means they will be visible for everyone.
If you wish to add a visibility filter or a category similar to the manual events simply go to the admin panel -> Ingame event owners
and select a filter and a category for the owner.
After selecing a visibility filter and a category the ingame events will behave similar to the manual events and respect the group and state restrictions set for the visibility filters.
Opcalendar has the ability to generate a standard ical formated feed for pushing out events. To push out evets to the feed without login requirement requires editing auth settings file.
Open up the event visibility category and check the box to include it in the ical feed. Only categories tagged with this box will show up on the feed.
Add 'opcalendar' to the local settings file settings.py in the APPS_WITH_PUBLIC_VIEWS or create the section if you do not have it:
APPS_WITH_PUBLIC_VIEWS = [
'opcalendar',
]
auth.example.com/opcalendar/feed.ics
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.
FAQs
Event calendar plugin app for Alliance Auth
We found that aa-opcalendar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.