Adds the ability to create a dynamic calendar in the first post of a topic.
Go to file
Blake Erickson 9ab1b76a14 FIX: Stable core still needs a 6.1 migration
The stable version of discourse is still on rails 6, so we can't use a
version 7 migration here.

See: https://meta.discourse.org/t/229985
2022-06-15 10:14:59 -06:00
.github/workflows DEV: Update CI workflows (#244) 2022-03-22 14:02:35 +01:00
app FEATURE: adds support for timezone (recurring and non recurring) (#237) 2022-03-03 12:03:21 +01:00
assets SECURITY: correctly escape event name (#280) 2022-06-13 13:18:37 -06:00
config Update translations (#246) 2022-03-30 14:52:44 +02:00
db FIX: Stable core still needs a 6.1 migration 2022-06-15 10:14:59 -06:00
jobs DEV: Drop old code (#230) 2022-02-24 01:15:49 +01:00
lib SECURITY: correctly escape event name (#280) 2022-06-13 13:18:37 -06:00
public/javascripts DEV: more explicit filename 2018-12-27 19:48:30 +01:00
spec SECURITY: correctly escape event name (#280) 2022-06-13 13:18:37 -06:00
test/javascripts/acceptance FEATURE: Include full date label as tooltip in topic list (#245) 2022-03-25 11:14:53 +11:00
vendor/holidays FIX: apply latest holidays definitions (#233) 2022-02-24 09:11:25 -06:00
.discourse-compatibility DEV: Migrate from {{user-selector}} to {{email-group-user-chooser}} (#108) 2021-02-15 21:03:55 +03: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 Fix path for definitions file syntax. 2021-06-07 12:45:46 +08:00
package.json DEV: Fix imports (#242) 2022-03-06 21:16:50 +01:00
plugin.rb FEATURE: adds support for timezone (recurring and non recurring) (#237) 2022-03-03 12:03:21 +01:00
translator.yml DEV: Add Crowdin support (#84) 2020-12-22 13:08:54 +01:00
yarn.lock DEV: Fix imports (#242) 2022-03-06 21:16:50 +01: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

To add/remove/correct a holiday, edit the relevant definition files and run rake generate:definitions in the vendor/holidays directory. Syntax of definition files can be found in vendor/holidays/definitions/doc/SYNTAX.md.