discourse/plugins/discourse-calendar
2025-10-22 20:08:24 +02:00
..
app FIX: phantom notification when being added to an event in a message... (#35459) 2025-10-17 09:04:21 +02:00
assets DEV: Remove unused old modal code/css (#35553) 2025-10-22 20:08:24 +02:00
config DEV: Update admin path in javascript:update_constants task (#35542) 2025-10-22 11:06:51 +02:00
db/migrate FIX: Job exception: Holidays::InvalidRegion (#35473) 2025-10-17 17:53:53 +02:00
jobs FIX: Job exception: Holidays::InvalidRegion (#35473) 2025-10-17 17:53:53 +02:00
lib DEV: add ical format response for discourse-post-events index route (#35143) 2025-10-07 10:19:34 +08:00
spec FIX: Job exception: Holidays::InvalidRegion (#35473) 2025-10-17 17:53:53 +02:00
test/javascripts UX: Use admin table classes for Calendar Holidays list (#34942) 2025-09-24 17:13:50 +10:00
vendor/holidays FEATURE: Update India Diwali 2025 Holiday (#35354) 2025-10-14 10:34:02 +05:30
.prettierignore
plugin.rb DEV: Clean up requires (#34946) 2025-09-24 12:00:22 +02:00
README.md

Discourse Calendar

Adds the ability to create a dynamic calendar in the first post of a topic.

Topic discussing the plugin itself can be found here: https://meta.discourse.org/t/discourse-calendar/97376

Customization

Events

  • discourse_post_event_event_will_start this DiscourseEvent will be triggered one hour before an event starts
  • discourse_post_event_event_started this DiscourseEvent will be triggered when an event starts
  • discourse_post_event_event_ended this DiscourseEvent will be triggered when an event ends

Custom Fields

Custom fields can be set in plugin settings. Once added a new form will appear on event UI. These custom fields are available when a plugin event is triggered.

Holidays

See an incorrect or missing holiday? Familiarize yourself with the holiday definition Syntax. Then make your updates in the vendor/holiday/definitions directory.

Generate updated holidays as follows.

cd vendor/holidays

# Generate holiday definitions
rake generate:definitions

Install the plugin and switch to the discourse root(not the plugin directory).

# Collect all holiday regions into assets/javascripts/lib/regions.js
bin/rails javascript:update_constants

Interactions with Other Plugins

You can use an element of this plugin with the Right Sidebar Blocks component. You'll want to ensure the desired route is enabled via the events calendar categories setting. In Right Sidebar Block's settings, the block name will be upcoming-events-list, and the params use this syntax, for example MMMM D, YYYY.