Adds the ability to create a dynamic calendar in the first post of a topic.
Go to file
Discourse Translator Bot a7ca28e5fc
Update translations (#323)
2022-09-20 15:52:39 +02:00
.github/workflows DEV: Update CI workflows (#289) 2022-06-17 21:33:43 +02:00
app FEATURE: allow for longer event title names 2022-08-12 11:18:50 +10:00
assets FIX: Reintroduce holiday sub-regions removed due to consolidation (#315) 2022-09-01 11:20:28 +00:00
config Update translations (#323) 2022-09-20 15:52:39 +02:00
db DEV: Promote old post-migration to a pre-deploy migration (#301) 2022-07-25 11:51:42 +01:00
jobs FIX: delete event posts not automatic holidays (#292) 2022-07-01 11:02:19 +02:00
lib FIX: Reintroduce holiday sub-regions removed due to consolidation (#315) 2022-09-01 11:20:28 +00:00
public/javascripts DEV: more explicit filename 2018-12-27 19:48:30 +01:00
spec FEATURE: Allow post events to be edited based on post guardian (#303) 2022-07-25 14:57:53 +01:00
test/javascripts DEV: Make the flake easier to debug (#318) 2022-09-12 14:03:50 +02:00
vendor/holidays FIX: A typo in #321 (#322) 2022-09-20 11:06:31 +02:00
.discourse-compatibility DEV: Use `discourseLater` (#309) 2022-08-14 17:30:33 +02:00
.eslintrc DEV: adds eslint config support 2019-12-30 15:24:06 +01:00
.gitignore DEV: apply coding standards (#59) 2020-09-04 13:22:32 +02:00
.prettierignore DEV: Fix path 2020-09-25 12:00:01 -05:00
.prettierrc DEV: apply coding standards (#59) 2020-09-04 13:22:32 +02:00
.rubocop.yml DEV: Move to rubocop-discourse. 2020-05-06 17:56:08 +02:00
.template-lintrc.js DEV: apply coding standards (#59) 2020-09-04 13:22:32 +02:00
Gemfile DEV: Move to rubocop-discourse. 2020-05-06 17:56:08 +02:00
Gemfile.lock Build(deps): Bump rexml from 3.2.4 to 3.2.5 (#127) 2021-05-02 17:10:30 +02:00
LICENSE first commit 2018-06-06 15:24:56 +02:00
README.md DEV: Enhance holiday updates workflow documentation (#316) 2022-09-12 02:42:52 +00:00
package.json DEV: Fix imports (#242) 2022-03-06 21:16:50 +01:00
plugin.rb FEATURE: Allow post events to be edited based on post guardian (#303) 2022-07-25 14:57:53 +01:00
translator.yml DEV: Add Crowdin support (#84) 2020-12-22 13:08:54 +01:00
yarn.lock Build(deps): Bump async from 2.6.3 to 2.6.4 (#258) 2022-04-29 18:01:28 +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

Customisation

Plugins

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
bundle exec 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
bundle exec rake javascript:update_constants