{"id":13631679,"url":"https://github.com/discourse/discourse-calendar","last_synced_at":"2025-04-05T06:07:39.072Z","repository":{"id":37827039,"uuid":"149141046","full_name":"discourse/discourse-calendar","owner":"discourse","description":"Adds the ability to create a dynamic calendar in the first post of a topic.","archived":false,"fork":false,"pushed_at":"2024-10-29T14:31:30.000Z","size":3269,"stargazers_count":62,"open_issues_count":8,"forks_count":52,"subscribers_count":19,"default_branch":"main","last_synced_at":"2024-10-29T17:48:47.352Z","etag":null,"topics":["discourse","discourse-plugin"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/discourse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-17T14:48:07.000Z","updated_at":"2024-10-29T14:33:25.000Z","dependencies_parsed_at":"2024-01-01T12:24:34.164Z","dependency_job_id":"18a2da53-5f8f-455d-85f0-26b6bda69f8d","html_url":"https://github.com/discourse/discourse-calendar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-calendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-calendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-calendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-calendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discourse","download_url":"https://codeload.github.com/discourse/discourse-calendar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294538,"owners_count":20915340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["discourse","discourse-plugin"],"created_at":"2024-08-01T22:02:34.256Z","updated_at":"2025-04-05T06:07:39.049Z","avatar_url":"https://github.com/discourse.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# Discourse Calendar\n\nAdds the ability to create a dynamic calendar in the first post of a topic.\n\nTopic discussing the plugin itself can be found here: [https://meta.discourse.org/t/discourse-calendar/97376](https://meta.discourse.org/t/discourse-calendar/97376)\n\n## Customization\n\n### Events\n\n- `discourse_post_event_event_will_start` this DiscourseEvent will be triggered one hour before an event starts\n- `discourse_post_event_event_started` this DiscourseEvent will be triggered when an event starts\n- `discourse_post_event_event_ended` this DiscourseEvent will be triggered when an event ends\n\n### Custom Fields\n\nCustom fields can be set in plugin settings. Once added a new form will appear on event UI.\nThese custom fields are available when a plugin event is triggered.\n\n### Holidays\n\nSee an incorrect or missing holiday? Familiarize yourself with the [holiday definition Syntax](vendor/holidays/definitions/doc/SYNTAX.md). Then make your updates in the `vendor/holiday/definitions` directory.\n\nGenerate updated holidays as follows.\n\n```sh\ncd vendor/holidays\n\n# Generate holiday definitions\nrake generate:definitions\n```\n\nInstall the plugin and switch to the discourse root(not the plugin directory).\n\n```sh\n# Collect all holiday regions into assets/javascripts/lib/regions.js\nbin/rails javascript:update_constants\n```\n\n### Interactions with Other Plugins\n\nYou can use an element of this plugin with the [Right Sidebar Blocks](https://github.com/discourse/discourse-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](https://momentjs.com/docs/#/displaying/format/), for example `MMMM D, YYYY`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscourse%2Fdiscourse-calendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiscourse%2Fdiscourse-calendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscourse%2Fdiscourse-calendar/lists"}