Adds the ability to create a dynamic calendar in the first post of a topic.
Go to file
discoursebot 02abf7abdb
DEV: Update CI workflows (#167)
Co-authored-by: CvX <CvX@users.noreply.github.com>
2021-09-15 15:56:01 +02:00
.github/workflows DEV: Update CI workflows (#167) 2021-09-15 15:56:01 +02:00
app FIX: Expired/non-expired events logic (#165) 2021-09-01 14:42:48 +02:00
assets FIX: Deprecation with pluginId (#166) 2021-09-03 10:44:56 -04:00
config Update translations (#159) 2021-07-27 15:20:42 +02:00
db DEV: Promote historic post-deploy migrations (#146) 2021-06-23 17:54:27 +01:00
jobs FIX: Holidays gem not required in Sidekiq. 2021-06-09 10:49:09 +08:00
lib FIX: Expired/non-expired events logic (#165) 2021-09-01 14:42:48 +02:00
public/javascripts DEV: more explicit filename 2018-12-27 19:48:30 +01:00
spec FIX: Expired/non-expired events logic (#165) 2021-09-01 14:42:48 +02:00
test/javascripts/acceptance REFACTOR: Use the new format for acceptance tests. (#90) 2020-12-30 15:52:13 -03:00
vendor/holidays Add holiday definitions for India (#156) 2021-07-15 11:24:21 +05:30
.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: prettier 2.2.1 (#100) 2021-01-27 10:36:32 +01:00
plugin.rb Fix plugin's compatibility with older discourse versions. 2021-06-17 09:13:22 +08:00
translator.yml DEV: Add Crowdin support (#84) 2020-12-22 13:08:54 +01:00
yarn.lock Build(deps): Bump path-parse from 1.0.6 to 1.0.7 (#163) 2021-08-13 00:49:55 +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

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.