0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/plugins/discourse-calendar
2026-07-15 15:24:05 +10:00
..
app FIX: Handle all day events for show zoom 2026-07-15 14:17:02 +10:00
assets FIX: Hide rounded corners in horizon for fullscreen zooom page 2026-07-15 15:24:05 +10:00
config UX: Show event onebox on fullscreen zoom page when not event time yet 2026-07-15 14:45:38 +10:00
db FEATURE: livestreams as a persistent event option (#41096) 2026-06-26 12:30:21 -04:00
jobs DEV: Lots of AI generated tests and fixes 2026-07-10 15:50:46 +10:00
lib DEV: Lots of AI generated tests and fixes 2026-07-10 15:50:46 +10:00
spec FIX: Handle all day events for show zoom 2026-07-15 14:17:02 +10:00
test/javascripts UX: Show event onebox on fullscreen zoom page when not event time yet 2026-07-15 14:45:38 +10:00
vendor/holidays DEV: Add 2026 Singapore holidays (#40318) 2026-05-27 06:59:10 +08:00
.prettierignore
package.json update package loading strategy 2026-07-10 10:31:11 +01:00
plugin.rb Merge branch 'main' into feature/zoom-livestream-in-calendar 2026-07-08 12:20:38 +10:00
README.md
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00

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.