@vermeulen.solutions/eventual 0.18.3 → 0.18.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,140 +1,145 @@
1
- <p align="center">
2
- <img src="./images/registry/banner-v2.png" alt="Eventual RSVP – Core: events for EmDash CMS" width="100%" />
3
- </p>
4
-
5
- # Eventual RSVP – Core
6
-
7
- <p align="center">
8
- <a href="https://github.com/Vermeulen-Solutions/eventual-rsvp-core/actions/workflows/ci.yml"><img src="https://github.com/Vermeulen-Solutions/eventual-rsvp-core/actions/workflows/ci.yml/badge.svg" alt="CI Status" /></a>
9
- <a href="https://github.com/Vermeulen-Solutions/eventual-rsvp-core/releases"><img src="https://img.shields.io/github/v/release/Vermeulen-Solutions/eventual-rsvp-core?color=176b57&label=GitHub%20download" alt="Latest GitHub source download" /></a>
10
- <a href="https://plugins.emdashcms.com/plugins/@vermeulen.solutions/eventual"><img src="https://img.shields.io/badge/EmDash_Registry-0.18.3-0b4d3d" alt="EmDash Plugin Registry" /></a>
11
- <a href="https://emdashcms.com"><img src="https://img.shields.io/badge/EmDash-1.2.x%20%7C%201.4.x-0b4d3d" alt="EmDash Compatibility" /></a>
12
- <a href="./LICENSE"><img src="https://img.shields.io/badge/License-MIT-d89521" alt="License: MIT" /></a>
13
- <img src="https://img.shields.io/badge/TypeScript-strict-3178c6" alt="TypeScript Strict" />
14
- <img src="https://img.shields.io/badge/Sandbox-1%20host%20(language%20packs)-2ea44f" alt="One outbound host: language packs" />
15
- </p>
16
-
17
- **Website:** [eventual.rsvp](https://eventual.rsvp/): documentation, install guide and support for Eventual RSVP – Core, Registrations and Tickets.
18
-
19
- Plan and publish events in [EmDash CMS](https://emdashcms.com). Write announcements, choose venues and organizers, set repeat schedules, and share events through your website and calendar subscriptions.
20
-
21
- **Current Registry release: 0.15.0.** Events are edited in EmDash's own collections, with rich text, images, drafts and translations. Your site builder connects the feeds to visitor pages; the screenshots below show the optional Astro showcase.
22
-
23
- In 0.14.x, old events stored inside the plugin are shown only when an administrator explicitly enables **Show old events saved inside the plugin**. Native collections remain authoritative. See [what changed](./docs/release-notes-0.14.0.md).
24
-
25
- ---
26
-
27
- ## At a Glance
28
-
29
- - **Announcements and images:** use EmDash's normal editor, save drafts, then publish.
30
- - **Flexible schedules:** one-off, daily, weekly or monthly events, with changes to individual dates.
31
- - **Saved venues and organizers:** choose existing entries instead of retyping them.
32
- - **Languages:** separate announcements per language, with shared published schedules. The admin speaks 21 languages, including Arabic and Hebrew right to left.
33
- - **Calendars:** event downloads and iCalendar subscriptions.
34
- - **Website integration:** JSON feeds, optional Astro helpers and seven example layouts.
35
- - **Sandboxed:** declared permissions; the only outbound host is `cdn.jsdelivr.net`, for the admin's language packs, each checked against a hash built into the release.
36
-
37
- ## Get Started
38
-
39
- 1. An administrator [installs Eventual RSVP and connects the collections](./docs/collection-setup.md).
40
- 2. Editors follow [Managing events](./docs/user-guide.md): save an announcement, open **Dates, venue & repeat**, then publish.
41
- 3. Site builders use the [developer guide](./docs/native-modernization.md) to connect visitor pages.
42
-
43
- For the opt-in HTML cache integration, see [public feed caching](./docs/public-feed-caching.md)
44
- and [release notes](./docs/release-notes-0.15.0.md). Eventual RSVP does not enable site caching.
45
-
46
- Requires **EmDash >=1.2.0 <2.0.0**; tested on 1.2.0, 1.4.0 and 1.5.0. **1.4.0 or newer is recommended** because it fixes nested Block Kit forms and Cloudflare plugin mutations; 1.2/1.3 remain supported with those host limitations. Newer EmDash releases that have not been tested yet are not refused: the source installer prints a warning, and if the editor adapters no longer match a newer admin build they step aside and EmDash's own editor is used. Upgrades from 0.12.x or earlier need the [native-content upgrade](./docs/upgrade-0.13.0.md). Source/developer tooling needs Node 24+.
47
-
48
- ---
49
-
50
- ## Visual Tour
51
-
52
- ### 1. Website Calendar
53
- Render public events on your site using the included Astro showcase with seven responsive layouts, month navigation, and category filtering—with zero client-side JavaScript.
54
-
55
- <p align="center">
56
- <img src="./images/registry-0.11.0/05-public-events.jpg" alt="Public Event Browser" width="90%" />
57
- </p>
58
-
59
- ---
60
-
61
- ### 2. Event Details & One-Click Calendar Sync
62
- Visitors can view full event details, join virtual meetings, get venue directions, and add events to Google Calendar, Outlook, Yahoo, or Apple Calendar.
63
-
64
- <p align="center">
65
- <img src="./images/registry-0.13.4/public-event-detail-fr-desktop.png" alt="Public event detail view" width="90%" />
66
- </p>
67
-
68
- ---
69
-
70
- ### 3. Native Event Editor
71
- Write announcements in EmDash's rich-text editor. Save the draft, then open Dates, venue & repeat for local dates, recurrence and individual-date changes. The Eventual RSVP workspace links to the selected content types and offers safe draft duplication.
72
-
73
- <p align="center">
74
- <img src="./images/registry-0.13.0/native-fr-editor-desktop.png" alt="French native Eventual RSVP editor" width="90%" />
75
- </p>
76
-
77
- ---
78
-
79
- ### 4. Saved Organizers & Venues
80
- Maintain a directory of organizers (names, websites, contact links) and physical venues with structured addresses and map directions.
81
-
82
- Venue choices combine translation siblings into one selection, show the name and address, and retain the saved native ID. The schedule panel searches native names and addresses, including accents. Unpublished dependencies are marked and must be published before their events. Create and edit links open the native venue editor.
83
-
84
- ---
85
-
86
- ## Optional Website Views
87
-
88
- Visitors can switch between seven viewing formats via query parameter (e.g., `/events?view=month`):
89
-
90
- | View | Query Param | Description |
91
- | :--- | :--- | :--- |
92
- | **List** *(Default)* | `?view=list` | Chronological agenda list with high-contrast date blocks. |
93
- | **Timeline** | `?view=timeline` | Vertical timeline with visual event nodes and summary cards. |
94
- | **Card Grid** | `?view=cards` | Rich card grid displaying event cover images, organizers, and tags. |
95
- | **Daily Schedule** | `?view=schedule` | Collapsible daily disclosures grouping events per date. |
96
- | **Date Strip** | `?view=dates` | Horizontal date jump bar for quick navigation across the month. |
97
- | **Month Calendar** | `?view=month` | Full week-aligned calendar grid on desktop; day-by-day agenda on mobile. |
98
- | **Locations** | `?view=locations` | Events grouped by physical venue or virtual attendance with map directions. |
99
-
100
- ---
101
-
102
- ## For Developers
103
-
104
- Eventual RSVP's Registry package supplies the sandbox backend and editor controls. Optional Astro, schema and transfer helpers are on npm as [`@vermeulen.solutions/eventual`](https://www.npmjs.com/package/@vermeulen.solutions/eventual) (`npm install @vermeulen.solutions/eventual`); keep its version aligned with the Registry backend. The plugin ID stays `eventual`. GitHub download versions and Registry releases are listed separately; the badges above identify each.
105
-
106
- Use the **actual installed plugin ID** in API URLs and MCP tool names. Config-managed sites normally use `eventual`; Registry sites get a generated ID. Pass `pluginId` to `fetchPublicFeed` for a Registry installation; the showcase defaults to `eventual`.
107
-
108
- The [developer guide](./docs/native-modernization.md) covers public JSON/ICS/image routes, SSR dispatch, tool names, settings, transfer formats, permissions and sandbox limits. It also explains installing the matching npm helpers. Eventual RSVP's MCP tools inspect native data; native edits and publication use EmDash's core tools.
109
-
110
- For source changes:
111
-
112
- ```sh
113
- npm ci
114
- npm run validate
115
- npm run typecheck
116
- npm test
117
- npm run build
118
- npm run bundle
119
- npm run budget
120
- ```
121
-
122
- The backend shares EmDash's fixed sandbox RPC budget. Large feeds and migrations need host-specific verification; optional public URL lookups can be disabled when your site constructs its own links. [Details and checks](./docs/native-modernization.md#limits-and-checks).
123
-
124
- ---
125
-
126
- ## Documentation
127
-
128
- - [Managing events](./docs/user-guide.md) — the editor's everyday guide.
129
- - [Install and connect](./docs/collection-setup.md) — administrators and schema setup.
130
- - [Upgrade and migrate](./docs/upgrade-0.13.0.md) — existing sites and old plugin data.
131
- - [Developer guide](./docs/native-modernization.md) — integration and API reference.
132
- - [0.15.0 cache integration](./docs/release-notes-0.15.0.md) · [0.14.1 compatibility release](./docs/release-notes-0.14.1.md) · [0.14.0 changes](./docs/release-notes-0.14.0.md) · [Changelog](./CHANGELOG.md).
133
- - [Astro showcase](./examples/astro-events/README.md) — optional visitor pages.
134
- - [Release evidence and older records](./docs/history.md).
135
-
136
- ---
137
-
138
- ## License
139
-
140
- Eventual RSVP is licensed under the [MIT License](./LICENSE).
1
+ <p align="center">
2
+ <img src="./images/registry/banner-v2.png" alt="Eventual RSVP – Core: events for EmDash CMS" width="100%" />
3
+ </p>
4
+
5
+ # Eventual RSVP – Core
6
+
7
+ <p align="center">
8
+ <a href="https://github.com/Vermeulen-Solutions/eventual-rsvp-core/actions/workflows/ci.yml"><img src="https://github.com/Vermeulen-Solutions/eventual-rsvp-core/actions/workflows/ci.yml/badge.svg" alt="CI Status" /></a>
9
+ <a href="https://www.npmjs.com/package/@vermeulen.solutions/eventual"><img src="https://img.shields.io/npm/v/%40vermeulen.solutions%2Feventual?color=176b57&label=npm%20helpers" alt="Latest npm version of the helpers" /></a>
10
+ <a href="https://plugins.emdashcms.com/plugins/@vermeulen.solutions/eventual"><img src="https://img.shields.io/badge/EmDash_Registry-0.18.5-0b4d3d" alt="EmDash Plugin Registry" /></a>
11
+ <a href="https://emdashcms.com"><img src="https://img.shields.io/badge/EmDash-1.2%20to%201.5-0b4d3d" alt="EmDash Compatibility" /></a>
12
+ <a href="./LICENSE"><img src="https://img.shields.io/badge/License-MIT-d89521" alt="License: MIT" /></a>
13
+ <img src="https://img.shields.io/badge/TypeScript-strict-3178c6" alt="TypeScript Strict" />
14
+ <img src="https://img.shields.io/badge/Sandbox-1%20host%20(language%20packs)-2ea44f" alt="One outbound host: language packs" />
15
+ </p>
16
+
17
+ **Website:** [eventual.rsvp](https://eventual.rsvp/): documentation, install guide and support for Eventual RSVP – Core, Registrations and Tickets.
18
+
19
+ Plan and publish events in [EmDash CMS](https://emdashcms.com). Write announcements, choose venues and organizers, set repeat schedules, and share events through your website and calendar subscriptions.
20
+
21
+ **Current release: 0.18.5**, the same version on the EmDash Registry and on npm. Events are edited in EmDash's own collections, with rich text, images, drafts and translations. Your site builder connects the feeds to visitor pages; the screenshots below show the optional Astro showcase.
22
+
23
+ In 0.14.x, old events stored inside the plugin are shown only when an administrator explicitly enables **Show old events saved inside the plugin**. Native collections remain authoritative. See [what changed](./docs/release-notes-0.14.0.md).
24
+
25
+ ---
26
+
27
+ ## At a Glance
28
+
29
+ - **Announcements and images:** use EmDash's normal editor, save drafts, then publish.
30
+ - **Flexible schedules:** one-off, daily, weekly or monthly events, with changes to individual dates.
31
+ - **Saved venues and organizers:** choose existing entries instead of retyping them.
32
+ - **Languages:** separate announcements per language, with shared published schedules. The admin speaks 21 languages, including Arabic and Hebrew right to left.
33
+ - **Calendars:** event downloads and iCalendar subscriptions.
34
+ - **Website integration:** JSON feeds, optional Astro helpers and seven example layouts.
35
+ - **Sandboxed:** declared permissions; the only outbound host is `cdn.jsdelivr.net`, for the admin's language packs, each checked against a hash built into the release.
36
+
37
+ ## Get Started
38
+
39
+ 1. An administrator [installs Eventual RSVP and connects the collections](./docs/collection-setup.md).
40
+ 2. Editors follow [Managing events](./docs/user-guide.md): save an announcement, open **Dates, venue & repeat**, then publish.
41
+ 3. Site builders use the [developer guide](./docs/developer-guide.md) to connect visitor pages.
42
+
43
+ For the opt-in HTML cache integration, see [public feed caching](./docs/public-feed-caching.md). Eventual RSVP does not enable site caching.
44
+
45
+ Requires **EmDash >=1.2.0 <2.0.0**; tested on 1.2.0, 1.4.0 and 1.5.0. **1.4.0 or newer is recommended** because it fixes nested Block Kit forms and Cloudflare plugin mutations; 1.2/1.3 remain supported with those host limitations. Newer EmDash releases that have not been tested yet are not refused: the source installer prints a warning, and if the editor adapters no longer match a newer admin build they step aside and EmDash's own editor is used. Upgrades from 0.12.x or earlier need the [native-content upgrade](./docs/upgrade-0.13.0.md). Source/developer tooling needs Node 24+.
46
+
47
+ ---
48
+
49
+ ## Visual Tour
50
+
51
+ ### 1. Website Calendar
52
+ Render public events on your site using the included Astro showcase with seven responsive layouts, month navigation, and category filtering—with zero client-side JavaScript.
53
+
54
+ <p align="center">
55
+ <img src="./images/registry-0.11.0/05-public-events.jpg" alt="Public Event Browser" width="90%" />
56
+ </p>
57
+
58
+ ---
59
+
60
+ ### 2. Event Details & One-Click Calendar Sync
61
+ Visitors can view full event details, join virtual meetings, get venue directions, and add events to Google Calendar, Outlook, Yahoo, or Apple Calendar.
62
+
63
+ <p align="center">
64
+ <img src="./images/registry-0.13.4/public-event-detail-fr-desktop.png" alt="Public event detail view" width="90%" />
65
+ </p>
66
+
67
+ ---
68
+
69
+ ### 3. Native Event Editor
70
+ Write announcements in EmDash's rich-text editor. Save the draft, then open Dates, venue & repeat for local dates, recurrence and individual-date changes. The Eventual RSVP workspace links to the selected content types and offers safe draft duplication.
71
+
72
+ <p align="center">
73
+ <img src="./images/registry-0.13.0/native-fr-editor-desktop.png" alt="French native Eventual RSVP editor" width="90%" />
74
+ </p>
75
+
76
+ ---
77
+
78
+ ### 4. Saved Organizers & Venues
79
+ Maintain a directory of organizers (names, websites, contact links) and physical venues with structured addresses and map directions.
80
+
81
+ Venue choices combine translation siblings into one selection, show the name and address, and retain the saved native ID. The schedule panel searches native names and addresses, including accents. Unpublished dependencies are marked and must be published before their events. Create and edit links open the native venue editor.
82
+
83
+ ---
84
+
85
+ ## Optional Website Views
86
+
87
+ Visitors can switch between seven viewing formats via query parameter (e.g., `/events?view=month`):
88
+
89
+ | View | Query Param | Description |
90
+ | :--- | :--- | :--- |
91
+ | **List** *(Default)* | `?view=list` | Chronological agenda list with high-contrast date blocks. |
92
+ | **Timeline** | `?view=timeline` | Vertical timeline with visual event nodes and summary cards. |
93
+ | **Card Grid** | `?view=cards` | Rich card grid displaying event cover images, organizers, and tags. |
94
+ | **Daily Schedule** | `?view=schedule` | Collapsible daily disclosures grouping events per date. |
95
+ | **Date Strip** | `?view=dates` | Horizontal date jump bar for quick navigation across the month. |
96
+ | **Month Calendar** | `?view=month` | Full week-aligned calendar grid on desktop; day-by-day agenda on mobile. |
97
+ | **Locations** | `?view=locations` | Events grouped by physical venue or virtual attendance with map directions. |
98
+
99
+ ---
100
+
101
+ ## For Developers
102
+
103
+ Eventual RSVP's Registry package supplies the sandbox backend and editor controls. Optional Astro, schema and transfer helpers are on npm as [`@vermeulen.solutions/eventual`](https://www.npmjs.com/package/@vermeulen.solutions/eventual):
104
+
105
+ ```sh
106
+ npm install @vermeulen.solutions/eventual
107
+ ```
108
+
109
+ Keep its version the same as the Registry backend. **Do not run `npm install eventual`:** the unscoped name is an unrelated package by another author.
110
+
111
+ Use the **installed plugin ID** in API URLs and MCP tool names. A config-managed site uses `eventual`; a Registry install gets a generated ID that starts with `r_`. The **Subscribe** links on the Eventual RSVP admin page show it. Pass it as `pluginId` to `fetchPublicFeed`, and as `EVENTUAL_PLUGIN_ID` to the showcase. Install the backend one way only, from the Registry or from the config: the [developer guide](./docs/developer-guide.md#installation-and-plugin-id) explains what goes wrong otherwise.
112
+
113
+ The [developer guide](./docs/developer-guide.md) covers public JSON/ICS/image routes, SSR dispatch, tool names, settings, transfer formats, permissions and sandbox limits. It also explains installing the matching npm helpers. Eventual RSVP's MCP tools inspect native data; native edits and publication use EmDash's core tools.
114
+
115
+ For source changes:
116
+
117
+ ```sh
118
+ npm ci
119
+ npm run validate
120
+ npm run typecheck
121
+ npm test
122
+ npm run build
123
+ npm run bundle
124
+ npm run budget
125
+ ```
126
+
127
+ The backend shares EmDash's fixed sandbox RPC budget. Large feeds and migrations need host-specific verification; optional public URL lookups can be disabled when your site constructs its own links. [Details and checks](./docs/developer-guide.md#limits-and-checks).
128
+
129
+ ---
130
+
131
+ ## Documentation
132
+
133
+ - [Managing events](./docs/user-guide.md) — the editor's everyday guide.
134
+ - [Install and connect](./docs/collection-setup.md) — administrators and schema setup.
135
+ - [Upgrade and migrate](./docs/upgrade-0.13.0.md) — existing sites and old plugin data.
136
+ - [Developer guide](./docs/developer-guide.md) — integration and API reference.
137
+ - [Changelog](./CHANGELOG.md) · [0.18.5 release notes](./docs/release-notes-0.18.5.md) · [0.15.0 cache integration](./docs/release-notes-0.15.0.md) · [0.14.0 native collections](./docs/release-notes-0.14.0.md).
138
+ - [Astro showcase](./examples/astro-events/README.md) — optional visitor pages.
139
+ - [Release evidence and older records](./docs/history.md).
140
+
141
+ ---
142
+
143
+ ## License
144
+
145
+ Eventual RSVP is licensed under the [MIT License](./LICENSE).
@@ -214,8 +214,8 @@ function BlockRenderer(props) {
214
214
  patched=patched.replace('function SettingsActionBar({ collectionLabel,','function SettingsActionBar({ eventualUi=false, collectionLabel,');
215
215
  if(!patched.includes('function SettingsActionBar({ eventualUi=false, collectionLabel,')) throw new Error("Unsupported settings action bar signature.");
216
216
  }
217
- // Only Eventual's own prop is prepended, so any host prop list is kept as is (1.5 renamed
218
- // \`disabled\` and added \`revisions\`).
217
+ // Only Eventual's own prop is prepended, so any host prop list is kept as is (1.5 renamed
218
+ // \`disabled\` and added \`revisions\`).
219
219
  const publishPattern=/function PublishActions\(\{ collectionLabel, (isNew, [^{}]*?) \}\) \{\r?\n\tconst \{ _: _t4 \} = useLingui\(\);/;
220
220
  if(!publishPattern.test(patched)) throw new Error("Unsupported publish actions signature.");
221
221
  return patched.replace(publishPattern, (_match, props) => `function PublishActions({ eventualUi=false, collectionLabel, ${props} }) {\n const {locale: eventualPublishLocale}=useLocale(); const {_:eventualPublishT}=useLingui(); const _t4=eventualUi ? message=>eventualEditorText(eventualPublishT(message),eventualPublishLocale):eventualPublishT;`);
package/dist/index.mjs CHANGED
@@ -7,7 +7,7 @@
7
7
  /** @type {import("emdash").PluginDescriptor} */
8
8
  const descriptor = Object.freeze({
9
9
  "id": "eventual",
10
- "version": "0.18.3",
10
+ "version": "0.18.5",
11
11
  "format": "standard",
12
12
  "entrypoint": "@vermeulen.solutions/eventual/sandbox",
13
13
  "capabilities": [