@vermeulen.solutions/eventual 0.18.5 → 0.18.6
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 +6 -6
- package/astro/install.mjs +3 -3
- package/dist/index.mjs +1 -1
- package/docs/collection-setup.md +58 -58
- package/docs/developer-guide.md +17 -2
- package/docs/history.md +16 -16
- package/docs/registry-installation.md +3 -3
- package/docs/release-notes-0.18.5.md +8 -8
- package/docs/release-notes-0.18.6.md +5 -0
- package/emdash-plugin.jsonc +4 -1
- package/package.json +3 -2
- package/src/domain/calendar-links.ts +82 -82
package/README.md
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
<p align="center">
|
|
8
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
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.
|
|
11
|
-
<a href="https://emdashcms.com"><img src="https://img.shields.io/badge/EmDash-1.2%20to%201.
|
|
10
|
+
<a href="https://plugins.emdashcms.com/plugins/@vermeulen.solutions/eventual"><img src="https://img.shields.io/badge/EmDash_Registry-0.18.6-0b4d3d" alt="EmDash Plugin Registry" /></a>
|
|
11
|
+
<a href="https://emdashcms.com"><img src="https://img.shields.io/badge/EmDash-1.2%20to%201.6-0b4d3d" alt="EmDash Compatibility" /></a>
|
|
12
12
|
<a href="./LICENSE"><img src="https://img.shields.io/badge/License-MIT-d89521" alt="License: MIT" /></a>
|
|
13
13
|
<img src="https://img.shields.io/badge/TypeScript-strict-3178c6" alt="TypeScript Strict" />
|
|
14
14
|
<img src="https://img.shields.io/badge/Sandbox-1%20host%20(language%20packs)-2ea44f" alt="One outbound host: language packs" />
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
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
20
|
|
|
21
|
-
**Current release: 0.18.
|
|
21
|
+
**Current release: 0.18.6**, 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
22
|
|
|
23
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
24
|
|
|
@@ -42,7 +42,7 @@ In 0.14.x, old events stored inside the plugin are shown only when an administra
|
|
|
42
42
|
|
|
43
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
44
|
|
|
45
|
-
Requires **EmDash >=1.2.0 <2.0.0**; tested on 1.2.0, 1.4.0 and 1.
|
|
45
|
+
Requires **EmDash >=1.2.0 <2.0.0**; tested on 1.2.0, 1.4.0, 1.5.0 and 1.6.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
46
|
|
|
47
47
|
---
|
|
48
48
|
|
|
@@ -108,7 +108,7 @@ npm install @vermeulen.solutions/eventual
|
|
|
108
108
|
|
|
109
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
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.
|
|
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, and [what to do before moving a site to the Registry](./docs/developer-guide.md#moving-a-site-from-the-config-to-the-registry).
|
|
112
112
|
|
|
113
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
114
|
|
|
@@ -134,7 +134,7 @@ The backend shares EmDash's fixed sandbox RPC budget. Large feeds and migrations
|
|
|
134
134
|
- [Install and connect](./docs/collection-setup.md) — administrators and schema setup.
|
|
135
135
|
- [Upgrade and migrate](./docs/upgrade-0.13.0.md) — existing sites and old plugin data.
|
|
136
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).
|
|
137
|
+
- [Changelog](./CHANGELOG.md) · [0.18.6 release notes](./docs/release-notes-0.18.6.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
138
|
- [Astro showcase](./examples/astro-events/README.md) — optional visitor pages.
|
|
139
139
|
- [Release evidence and older records](./docs/history.md).
|
|
140
140
|
|
package/astro/install.mjs
CHANGED
|
@@ -9,9 +9,9 @@ export { warnOnce };
|
|
|
9
9
|
|
|
10
10
|
const require = createRequire(import.meta.url);
|
|
11
11
|
export const testedVersions = Object.freeze({
|
|
12
|
-
emdash: Object.freeze(["1.2.0", "1.4.0", "1.5.0"]),
|
|
13
|
-
"@emdash-cms/admin": Object.freeze(["1.2.0", "1.4.0", "1.5.0"]),
|
|
14
|
-
"@emdash-cms/blocks": Object.freeze(["1.2.0", "1.4.0", "1.5.0"]),
|
|
12
|
+
emdash: Object.freeze(["1.2.0", "1.4.0", "1.5.0", "1.6.0"]),
|
|
13
|
+
"@emdash-cms/admin": Object.freeze(["1.2.0", "1.4.0", "1.5.0", "1.6.0"]),
|
|
14
|
+
"@emdash-cms/blocks": Object.freeze(["1.2.0", "1.4.0", "1.5.0", "1.6.0"]),
|
|
15
15
|
});
|
|
16
16
|
export const testedToolchain = Object.freeze({astro:"7.3.x-7.4.x (>=7.3.2 <7.5.0)",vite:"8.3.x",react:"19.x"});
|
|
17
17
|
export function installedVersion(name, resolver = require) {
|
package/dist/index.mjs
CHANGED
package/docs/collection-setup.md
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
# Install and connect Eventual RSVP – Core
|
|
2
|
-
|
|
3
|
-
Eventual RSVP – Core requires EmDash **>=1.2.0 <2.0.0**; it is tested on **1.2.0**, **1.4.0** and **1.
|
|
4
|
-
|
|
5
|
-
## In the EmDash admin
|
|
6
|
-
|
|
7
|
-
1. Open **Plugins** and browse the **Registry**. Find **Eventual RSVP – Core**, published by **vermeulen.solutions**, review its permissions, and install it. Existing installations use the plugin's update action.
|
|
8
|
-
2. Open **Event settings**, select the event and venue/organizer collections, and choose **Save settings**. Selection connects collections; it does not create them or move entries.
|
|
9
|
-
3. Create a draft, save it, set its schedule in **Dates, venue & repeat**, and publish it. Check it on your site's calendar.
|
|
10
|
-
|
|
11
|
-
A **content type/collection** is simply the place under **Content** where entries are listed and edited. If compatible collections are missing, ask your site builder to create them with the blueprint below. Your builder adds visitor pages using Eventual's feeds; the [Astro showcase](../examples/astro-events/README.md) is an optional website design.
|
|
12
|
-
|
|
13
|
-
## Agent tools (optional)
|
|
14
|
-
|
|
15
|
-
Installing does not give AI agents access. Eventual RSVP's tools for agents (MCP tools) stay off until an administrator turns them on:
|
|
16
|
-
|
|
17
|
-
1. Open **Plugins**.
|
|
18
|
-
2. Expand the details of **Eventual RSVP – Core** with the arrow on its row.
|
|
19
|
-
3. Switch on **Agent access**.
|
|
20
|
-
|
|
21
|
-
The [developer guide](developer-guide.md#settings-tools-and-transfer) lists the tools and the permissions they need.
|
|
22
|
-
|
|
23
|
-
## The old-events switch
|
|
24
|
-
|
|
25
|
-
Leave **Show old events saved inside the plugin** off for native collections. Enable it and choose **Save switch** only to serve old plugin data while no native event collection is connected. It never combines old rows with native events or repairs a missing explicitly selected collection.
|
|
26
|
-
|
|
27
|
-
To make old entries editable, follow [upgrading and migration](upgrade-0.13.0.md). An empty connected collection may produce an empty calendar; an unconfigured source produces a clear error instead.
|
|
28
|
-
|
|
29
|
-
## For the site builder
|
|
30
|
-
|
|
31
|
-
**Install the backend one way only**: from the Registry as above, or from npm in `astro.config.mjs`, not both. A Registry install is addressed by a generated plugin ID that starts with `r_`, not by `eventual`; the **Subscribe** links on the Eventual RSVP admin page show the exact addresses. The helpers are on npm as `@vermeulen.solutions/eventual` (the unscoped package `eventual` is unrelated; do not install it). Details: [versions, plugin ID and backends](developer-guide.md#versions-and-where-to-get-them).
|
|
32
|
-
|
|
33
|
-
After `npm ci` and `npm run build` in this repository, using Node 24+:
|
|
34
|
-
|
|
35
|
-
```sh
|
|
36
|
-
node scripts/export-native-schema.mjs --locale fr --output eventual-schema.json
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
From an installed source package, use `node node_modules/@vermeulen.solutions/eventual/scripts/export-native-schema.mjs` with the same options. The exporter writes schema JSON only and refuses to overwrite an output file.
|
|
40
|
-
|
|
41
|
-
Defaults are `events`, `venues`, and `organizers` (19/8/3 fields). Custom names and directory reuse:
|
|
42
|
-
|
|
43
|
-
```sh
|
|
44
|
-
node scripts/export-native-schema.mjs --event-collection activities --venue-collection locations --reuse-venues --locale fr --output activities-schema.json
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
`--reuse-venues` and `--reuse-organizers` omit existing directories. Use a locale already configured on the site. Inspect and apply the exact blueprint through authenticated EmDash schema tools or the site's supported schema deployment process. Re-read the fields, then select the collections in Event settings. Eventual has read-only schema permission.
|
|
48
|
-
|
|
49
|
-
For a **new local SQLite** schema, the installed EmDash CLI supports:
|
|
50
|
-
|
|
51
|
-
```sh
|
|
52
|
-
npx emdash seed eventual-schema.json --validate
|
|
53
|
-
npx emdash seed eventual-schema.json --database ./data.db --no-content --on-conflict error
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
Use the actual database path. Remote D1 uses the site's remote schema workflow. For populated collections, compare the blueprint and apply reviewed additive changes instead of recreating them.
|
|
57
|
-
|
|
58
|
-
Preserve Portable Text, shared schedule/reference flags, localized title/description/occurrence copy, and exact reference targets. An event reference requires its corresponding directory selection. Column-backed and relation-bound references differ: keep the exporter's definition intact. See the [developer guide](developer-guide.md).
|
|
1
|
+
# Install and connect Eventual RSVP – Core
|
|
2
|
+
|
|
3
|
+
Eventual RSVP – Core requires EmDash **>=1.2.0 <2.0.0**; it is tested on **1.2.0**, **1.4.0**, **1.5.0** and **1.6.0**, with 1.4.0 or newer recommended for the form and Cloudflare fixes. Editors can use the [event guide](user-guide.md) once an administrator completes this setup.
|
|
4
|
+
|
|
5
|
+
## In the EmDash admin
|
|
6
|
+
|
|
7
|
+
1. Open **Plugins** and browse the **Registry**. Find **Eventual RSVP – Core**, published by **vermeulen.solutions**, review its permissions, and install it. Existing installations use the plugin's update action.
|
|
8
|
+
2. Open **Event settings**, select the event and venue/organizer collections, and choose **Save settings**. Selection connects collections; it does not create them or move entries.
|
|
9
|
+
3. Create a draft, save it, set its schedule in **Dates, venue & repeat**, and publish it. Check it on your site's calendar.
|
|
10
|
+
|
|
11
|
+
A **content type/collection** is simply the place under **Content** where entries are listed and edited. If compatible collections are missing, ask your site builder to create them with the blueprint below. Your builder adds visitor pages using Eventual's feeds; the [Astro showcase](../examples/astro-events/README.md) is an optional website design.
|
|
12
|
+
|
|
13
|
+
## Agent tools (optional)
|
|
14
|
+
|
|
15
|
+
Installing does not give AI agents access. Eventual RSVP's tools for agents (MCP tools) stay off until an administrator turns them on:
|
|
16
|
+
|
|
17
|
+
1. Open **Plugins**.
|
|
18
|
+
2. Expand the details of **Eventual RSVP – Core** with the arrow on its row.
|
|
19
|
+
3. Switch on **Agent access**.
|
|
20
|
+
|
|
21
|
+
The [developer guide](developer-guide.md#settings-tools-and-transfer) lists the tools and the permissions they need.
|
|
22
|
+
|
|
23
|
+
## The old-events switch
|
|
24
|
+
|
|
25
|
+
Leave **Show old events saved inside the plugin** off for native collections. Enable it and choose **Save switch** only to serve old plugin data while no native event collection is connected. It never combines old rows with native events or repairs a missing explicitly selected collection.
|
|
26
|
+
|
|
27
|
+
To make old entries editable, follow [upgrading and migration](upgrade-0.13.0.md). An empty connected collection may produce an empty calendar; an unconfigured source produces a clear error instead.
|
|
28
|
+
|
|
29
|
+
## For the site builder
|
|
30
|
+
|
|
31
|
+
**Install the backend one way only**: from the Registry as above, or from npm in `astro.config.mjs`, not both. A Registry install is addressed by a generated plugin ID that starts with `r_`, not by `eventual`; the **Subscribe** links on the Eventual RSVP admin page show the exact addresses. The helpers are on npm as `@vermeulen.solutions/eventual` (the unscoped package `eventual` is unrelated; do not install it). Details: [versions, plugin ID and backends](developer-guide.md#versions-and-where-to-get-them). Moving an existing site from the config to the Registry? Read [what stays behind](developer-guide.md#moving-a-site-from-the-config-to-the-registry) first: calendar subscribers' address changes.
|
|
32
|
+
|
|
33
|
+
After `npm ci` and `npm run build` in this repository, using Node 24+:
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
node scripts/export-native-schema.mjs --locale fr --output eventual-schema.json
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
From an installed source package, use `node node_modules/@vermeulen.solutions/eventual/scripts/export-native-schema.mjs` with the same options. The exporter writes schema JSON only and refuses to overwrite an output file.
|
|
40
|
+
|
|
41
|
+
Defaults are `events`, `venues`, and `organizers` (19/8/3 fields). Custom names and directory reuse:
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
node scripts/export-native-schema.mjs --event-collection activities --venue-collection locations --reuse-venues --locale fr --output activities-schema.json
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
`--reuse-venues` and `--reuse-organizers` omit existing directories. Use a locale already configured on the site. Inspect and apply the exact blueprint through authenticated EmDash schema tools or the site's supported schema deployment process. Re-read the fields, then select the collections in Event settings. Eventual has read-only schema permission.
|
|
48
|
+
|
|
49
|
+
For a **new local SQLite** schema, the installed EmDash CLI supports:
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
npx emdash seed eventual-schema.json --validate
|
|
53
|
+
npx emdash seed eventual-schema.json --database ./data.db --no-content --on-conflict error
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Use the actual database path. Remote D1 uses the site's remote schema workflow. For populated collections, compare the blueprint and apply reviewed additive changes instead of recreating them.
|
|
57
|
+
|
|
58
|
+
Preserve Portable Text, shared schedule/reference flags, localized title/description/occurrence copy, and exact reference targets. An event reference requires its corresponding directory selection. Column-backed and relation-bound references differ: keep the exporter's definition intact. See the [developer guide](developer-guide.md).
|
package/docs/developer-guide.md
CHANGED
|
@@ -49,9 +49,23 @@ Since 0.18.5 every link Eventual builds itself (the admin's Subscribe links and
|
|
|
49
49
|
- Both run their checks when an event is saved, so one save can be handled twice.
|
|
50
50
|
- The admin shows two sets of Eventual pages, and the site has two feeds at two addresses.
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
The source installer (`emdashWithEventual`) stops the build when it finds the backend listed twice in the config; it cannot see a Registry install.
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
### Moving a site from the config to the Registry
|
|
55
|
+
|
|
56
|
+
EmDash keeps each plugin's own data under its plugin ID. A Registry install has a new ID, so it starts empty, and what the old install stored stays behind under `eventual`. It is not deleted, but the new install cannot read it. Events, venues and organizers are EmDash content and are not affected.
|
|
57
|
+
|
|
58
|
+
What stays behind, and what to do:
|
|
59
|
+
|
|
60
|
+
- **Settings.** Select the collections again under **Event settings** (or with the `updateSettings` tool), and set the default time zone again.
|
|
61
|
+
- **Calendar subscribers.** The subscription address contains the plugin ID. Anyone subscribed to `/_emdash/api/plugins/eventual/calendar` gets "not found" once the old install is removed, and their calendar app stops updating without telling them. Update the links on your pages before the move, and tell regular subscribers the new address, or keep the old address working with a redirect on your site.
|
|
62
|
+
- **Calendar state.** Update counters (`SEQUENCE`) start again from 0, and cancellations already sent are not sent again. Calendar apps that re-read the subscription are not affected; an event a visitor imported as a single `.ics` file may not update.
|
|
63
|
+
- **Old events stored inside the plugin** (from before 0.13): migrate them to a collection first, as in [upgrading](upgrade-0.13.0.md).
|
|
64
|
+
|
|
65
|
+
Registrations and Tickets keep much more under their own IDs (registrations, orders, signing keys, payment settings). Read their guides before moving them.
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
Source tooling needs Node 24+. Peer ranges are in [package.json](../package.json); release acceptance uses EmDash/Admin/Block Kit **1.2.0 and 1.4.0**, Astro 7.3.x/7.4.x and React 19. The source `@vermeulen.solutions/eventual/install` lane is tested on 1.2.0, 1.4.0, 1.5.0 and 1.6.0. It refuses only hosts older than 1.2.0; a newer untested host builds with a warning, and an editor adapter that no longer matches the admin build steps aside (with a warning) so EmDash's own editor is used. Registry installs never execute that transform.
|
|
55
69
|
|
|
56
70
|
| Host | Status | Notes |
|
|
57
71
|
| --- | --- | --- |
|
|
@@ -59,6 +73,7 @@ Source tooling needs Node 24+. Peer ranges are in [package.json](../package.json
|
|
|
59
73
|
| 1.3.x | supported, untested | Same form/Cloudflare limitations; includes the plugin-storage cursor fix. |
|
|
60
74
|
| 1.4.x | supported, full acceptance | Recommended. Fixes nested Block Kit forms and Cloudflare plugin mutations. |
|
|
61
75
|
| 1.5.x | supported, host-tested | 1.5.0 passes the native-site and plugin integration suites; the admin adapter recognises its editor panel. |
|
|
76
|
+
| 1.6.x | supported, host-tested | 1.6.0 passes the browser acceptance on a fresh site with the sandbox runner 0.9.8; both admin adapters apply to its builds. |
|
|
62
77
|
| newer | allowed with a warning | Not yet tested. Check the event editor after upgrading. |
|
|
63
78
|
|
|
64
79
|
## Public routes
|
package/docs/history.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# History and release evidence
|
|
2
|
-
|
|
3
|
-
Current instructions are [using Eventual](user-guide.md), [setup](collection-setup.md), [upgrading](upgrade-0.13.0.md) and the [developer guide](developer-guide.md). [CHANGELOG](../CHANGELOG.md) summarizes earlier versions.
|
|
4
|
-
|
|
5
|
-
The [0.14.1 acceptance record](../audit/releases/0.14.1/README.md) covers the EmDash 1.2.0/1.4.0 compatibility release, the local test-site native gate, and the packed-consumer editor acceptance. It is not a publication record.
|
|
6
|
-
|
|
7
|
-
The [0.14.0 acceptance record](../audit/releases/0.14.0/README.md) retains publication-time CIDs, checksums, verification and BBHC deployment evidence. Its figures and signed records describe that release, not a fresh build of today's documentation. Listing-documentation updates can change the profile CID while the versioned release remains unchanged.
|
|
8
|
-
|
|
9
|
-
Older release notes, prototype instructions, implementation plans and handovers remain available in the [documentation snapshot before consolidation](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/tree/9bd38934de72c562639093e38a56fe6b3e3e2818/docs). They are historical evidence, not installation instructions:
|
|
10
|
-
|
|
11
|
-
- [0.13.0 native-content release](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/9bd38934de72c562639093e38a56fe6b3e3e2818/docs/release-notes-0.13.0.md).
|
|
12
|
-
- [EmDash 1.0.1 editor-adapter runbook](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/9bd38934de72c562639093e38a56fe6b3e3e2818/docs/editor-upgrade.md); the current plugin uses EmDash 1.2+ without that adapter.
|
|
13
|
-
- [0.14.0 pre-release audit](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/9bd38934de72c562639093e38a56fe6b3e3e2818/docs/0.14.0-audit-handover.md); acceptance later repaired weekday translations and published the release.
|
|
14
|
-
- [RPC implementation proposal](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/9bd38934de72c562639093e38a56fe6b3e3e2818/docs/sandbox-rpc-implementation-plan.md); proposed background jobs and capacity targets are not implemented guarantees.
|
|
15
|
-
|
|
16
|
-
The unsupported prototype/private-form and two-package installation proposals are retired. Current limitations and open API work are summarized in the developer guide, rather than repeated across handovers.
|
|
1
|
+
# History and release evidence
|
|
2
|
+
|
|
3
|
+
Current instructions are [using Eventual](user-guide.md), [setup](collection-setup.md), [upgrading](upgrade-0.13.0.md) and the [developer guide](developer-guide.md). [CHANGELOG](../CHANGELOG.md) summarizes earlier versions.
|
|
4
|
+
|
|
5
|
+
The [0.14.1 acceptance record](../audit/releases/0.14.1/README.md) covers the EmDash 1.2.0/1.4.0 compatibility release, the local test-site native gate, and the packed-consumer editor acceptance. It is not a publication record.
|
|
6
|
+
|
|
7
|
+
The [0.14.0 acceptance record](../audit/releases/0.14.0/README.md) retains publication-time CIDs, checksums, verification and BBHC deployment evidence. Its figures and signed records describe that release, not a fresh build of today's documentation. Listing-documentation updates can change the profile CID while the versioned release remains unchanged.
|
|
8
|
+
|
|
9
|
+
Older release notes, prototype instructions, implementation plans and handovers remain available in the [documentation snapshot before consolidation](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/tree/9bd38934de72c562639093e38a56fe6b3e3e2818/docs). They are historical evidence, not installation instructions:
|
|
10
|
+
|
|
11
|
+
- [0.13.0 native-content release](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/9bd38934de72c562639093e38a56fe6b3e3e2818/docs/release-notes-0.13.0.md).
|
|
12
|
+
- [EmDash 1.0.1 editor-adapter runbook](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/9bd38934de72c562639093e38a56fe6b3e3e2818/docs/editor-upgrade.md); the current plugin uses EmDash 1.2+ without that adapter.
|
|
13
|
+
- [0.14.0 pre-release audit](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/9bd38934de72c562639093e38a56fe6b3e3e2818/docs/0.14.0-audit-handover.md); acceptance later repaired weekday translations and published the release.
|
|
14
|
+
- [RPC implementation proposal](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/9bd38934de72c562639093e38a56fe6b3e3e2818/docs/sandbox-rpc-implementation-plan.md); proposed background jobs and capacity targets are not implemented guarantees.
|
|
15
|
+
|
|
16
|
+
The unsupported prototype/private-form and two-package installation proposals are retired. Current limitations and open API work are summarized in the developer guide, rather than repeated across handovers.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Eventual RSVP – Core 0.18.
|
|
1
|
+
# Eventual RSVP – Core 0.18.6
|
|
2
2
|
|
|
3
|
-
Requires EmDash **>=1.2.0 <2.0.0**; tested on 1.2.0, 1.4.0 and 1.
|
|
3
|
+
Requires EmDash **>=1.2.0 <2.0.0**; tested on 1.2.0, 1.4.0, 1.5.0 and 1.6.0. **1.4.0 or newer is recommended** for nested forms and Cloudflare plugin mutations, and required for the optional cache integration.
|
|
4
4
|
|
|
5
|
-
In **Plugins → Registry**, find **Eventual RSVP – Core** by **vermeulen.solutions**, review permissions and install or update. 0.18.
|
|
5
|
+
In **Plugins → Registry**, find **Eventual RSVP – Core** by **vermeulen.solutions**, review permissions and install or update. 0.18.6 needs no new permissions; since 0.18.0 Core uses `network:request` to `cdn.jsdelivr.net` for the admin's language packs. Agent tools stay off until you expand the plugin under **Plugins** and switch on **Agent access**.
|
|
6
6
|
|
|
7
7
|
Open **Event settings**, select compatible event, venue and organizer collections, then **Save settings**. Installation does not create schemas or migrate content. Site builders: [collection setup](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/blob/main/docs/collection-setup.md).
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Eventual RSVP – Core 0.18.5 — links on Registry installs
|
|
2
|
-
|
|
3
|
-
- **Subscribe links work on Registry installs.** A plugin installed from the EmDash Registry is addressed by a generated ID that starts with `r_`, not by `eventual`. The **Subscribe** links on the Eventual RSVP admin page (calendar subscription and JSON feed) still used `eventual` and answered "Plugin route not found" on those sites. They now use the installed ID, so they also show a site builder the exact addresses to use. ([#7](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/issues/7))
|
|
4
|
-
- **Per-event `.ics` links too.** The `calendarLinks.ics` address that the public feed gives for each event had the same fault. Pages that render it (for example `EventList.astro` with `showCalendarLinks`) get a working link after the update, without a code change.
|
|
5
|
-
- **The per-event `.ics` link downloads that event only.** It used to return the whole year's calendar, because the `calendar` route ignored `eventId`. Now `calendar?eventId=<id>` returns one event: every upcoming date of a repeating event, or one date with an occurrence ID (`<id>#<date>`). The link from a translated page gives that translation. The event keeps the UID it has in the subscription, so subscribers do not get a duplicate. An unknown, unpublished or past event answers 404. The subscription itself is unchanged.
|
|
6
|
-
- **Helpers on npm:** `buildCalendarLinks(event, siteUrl, pluginId)` takes the plugin ID as an optional third argument. The Astro showcase reads it from the new optional `EVENTUAL_PLUGIN_ID` setting.
|
|
7
|
-
- **Clearer documentation** ([#8](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/issues/8)): the [developer guide](developer-guide.md) has a new file name and starts with versions and where to get them. It warns against the unrelated npm package `eventual`, explains what goes wrong with two backends on one site, and says where to turn on agent tools.
|
|
8
|
-
- **Nothing else changes**: no permission or schema changes, and no new MCP tools. Config-managed installs keep the ID `eventual` and behave exactly as 0.18.4. EmDash `>=1.2.0 <2.0.0` (tested on 1.2.0, 1.4.0 and 1.5.0).
|
|
1
|
+
# Eventual RSVP – Core 0.18.5 — links on Registry installs
|
|
2
|
+
|
|
3
|
+
- **Subscribe links work on Registry installs.** A plugin installed from the EmDash Registry is addressed by a generated ID that starts with `r_`, not by `eventual`. The **Subscribe** links on the Eventual RSVP admin page (calendar subscription and JSON feed) still used `eventual` and answered "Plugin route not found" on those sites. They now use the installed ID, so they also show a site builder the exact addresses to use. ([#7](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/issues/7))
|
|
4
|
+
- **Per-event `.ics` links too.** The `calendarLinks.ics` address that the public feed gives for each event had the same fault. Pages that render it (for example `EventList.astro` with `showCalendarLinks`) get a working link after the update, without a code change.
|
|
5
|
+
- **The per-event `.ics` link downloads that event only.** It used to return the whole year's calendar, because the `calendar` route ignored `eventId`. Now `calendar?eventId=<id>` returns one event: every upcoming date of a repeating event, or one date with an occurrence ID (`<id>#<date>`). The link from a translated page gives that translation. The event keeps the UID it has in the subscription, so subscribers do not get a duplicate. An unknown, unpublished or past event answers 404. The subscription itself is unchanged.
|
|
6
|
+
- **Helpers on npm:** `buildCalendarLinks(event, siteUrl, pluginId)` takes the plugin ID as an optional third argument. The Astro showcase reads it from the new optional `EVENTUAL_PLUGIN_ID` setting.
|
|
7
|
+
- **Clearer documentation** ([#8](https://github.com/Vermeulen-Solutions/eventual-rsvp-core/issues/8)): the [developer guide](developer-guide.md) has a new file name and starts with versions and where to get them. It warns against the unrelated npm package `eventual`, explains what goes wrong with two backends on one site, and says where to turn on agent tools.
|
|
8
|
+
- **Nothing else changes**: no permission or schema changes, and no new MCP tools. Config-managed installs keep the ID `eventual` and behave exactly as 0.18.4. EmDash `>=1.2.0 <2.0.0` (tested on 1.2.0, 1.4.0 and 1.5.0).
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Eventual RSVP – Core 0.18.6 — EmDash 1.6 and moving to the Registry
|
|
2
|
+
|
|
3
|
+
- **Tested on EmDash 1.6.0.** Sites that install Core from npm with the source installer no longer get an "untested version" warning on EmDash 1.6.0, and the editor adapters apply to its admin. Registry installs were already running on 1.6; they are now covered by the same browser acceptance.
|
|
4
|
+
- **Before moving a site from the config to the Registry,** read the new section in the [developer guide](developer-guide.md#moving-a-site-from-the-config-to-the-registry). A Registry install has a new plugin ID and starts with empty settings. Calendar subscribers' address contains that ID, so subscriptions to the old address stop updating unless you redirect it.
|
|
5
|
+
- **Nothing else changes:** no runtime, permission or schema changes, and no new MCP tools. EmDash `>=1.2.0 <2.0.0` (tested on 1.2.0, 1.4.0, 1.5.0 and 1.6.0).
|
package/emdash-plugin.jsonc
CHANGED
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
"installation": { "file": "./docs/registry-installation.md" },
|
|
16
16
|
"changelog": { "file": "./docs/registry-changelog.md" }
|
|
17
17
|
},
|
|
18
|
-
|
|
18
|
+
// Keep the repository's former address here. The Registry's package profile is linked to it,
|
|
19
|
+
// `emdash-plugin publish` refuses a release that names another one ("The package profile is
|
|
20
|
+
// linked to …"), and no CLI command changes that link. GitHub redirects it to eventual-rsvp-core.
|
|
21
|
+
"repo": "https://github.com/Vermeulen-Solutions/eventual-emdash-sandbox",
|
|
19
22
|
"release": {
|
|
20
23
|
"requires": { "env:emdash": ">=1.2.0 <2.0.0" },
|
|
21
24
|
"artifacts": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vermeulen.solutions/eventual",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://eventual.rsvp/",
|
|
6
6
|
"type": "module",
|
|
@@ -67,7 +67,8 @@
|
|
|
67
67
|
"docs/release-notes-0.18.2.md",
|
|
68
68
|
"docs/release-notes-0.18.3.md",
|
|
69
69
|
"docs/release-notes-0.18.4.md",
|
|
70
|
-
"docs/release-notes-0.18.5.md"
|
|
70
|
+
"docs/release-notes-0.18.5.md",
|
|
71
|
+
"docs/release-notes-0.18.6.md"
|
|
71
72
|
],
|
|
72
73
|
"scripts": {
|
|
73
74
|
"validate": "emdash-plugin validate",
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { safeHttpUrl } from "./venue";
|
|
2
|
-
export interface CalendarLinks {
|
|
3
|
-
google: string;
|
|
4
|
-
outlook: string;
|
|
5
|
-
office365: string;
|
|
6
|
-
ics: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface CalendarEventInput {
|
|
10
|
-
id: string;
|
|
11
|
-
title: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
start: string;
|
|
14
|
-
end: string;
|
|
15
|
-
allDay: boolean;
|
|
16
|
-
timezone?: string;
|
|
17
|
-
location?: string;
|
|
18
|
-
locationType?: "physical" | "virtual" | "hybrid";
|
|
19
|
-
virtualUrl?: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Builds standard 1-click web calendar links for Google Calendar, Outlook Web,
|
|
25
|
-
* Office 365, and Apple/desktop iCal (.ics) download.
|
|
26
|
-
* Pass the installed plugin ID: Registry installs are addressed as `r_…`, not `eventual`.
|
|
27
|
-
* The `.ics` link downloads this event (all upcoming dates of a repeating one) from the `calendar` route.
|
|
28
|
-
*/
|
|
29
|
-
export function buildCalendarLinks(event: CalendarEventInput, siteUrl = "", pluginId = "eventual"): CalendarLinks {
|
|
30
|
-
const title = event.title || "Event";
|
|
31
|
-
const onlineUrl = safeHttpUrl(event.virtualUrl ?? "");
|
|
32
|
-
const details = [event.description || "", onlineUrl].filter(Boolean).join("\n\n");
|
|
33
|
-
|
|
34
|
-
let loc = event.location || "";
|
|
35
|
-
if (event.locationType === "virtual") {
|
|
36
|
-
loc = onlineUrl || loc;
|
|
37
|
-
} else if (event.locationType === "hybrid" && onlineUrl && loc) {
|
|
38
|
-
loc = `${loc} · ${onlineUrl}`;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
let googleDates: string;
|
|
42
|
-
let outlookStart: string;
|
|
43
|
-
let outlookEnd: string;
|
|
44
|
-
let isAllDayParam = "";
|
|
45
|
-
|
|
46
|
-
if (event.allDay) {
|
|
47
|
-
const startDate = event.start.slice(0, 10).replace(/-/g, "");
|
|
48
|
-
// In iCalendar/Google, the end date for all-day is exclusive (next day)
|
|
49
|
-
const endObj = new Date(event.end.slice(0, 10) + "T00:00:00Z");
|
|
50
|
-
endObj.setUTCDate(endObj.getUTCDate() + 1);
|
|
51
|
-
const endDate = endObj.toISOString().slice(0, 10).replace(/-/g, "");
|
|
52
|
-
googleDates = `${startDate}/${endDate}`;
|
|
53
|
-
outlookStart = event.start.slice(0, 10);
|
|
54
|
-
outlookEnd = endObj.toISOString().slice(0, 10);
|
|
55
|
-
isAllDayParam = "&allday=true";
|
|
56
|
-
} else {
|
|
57
|
-
const startUtc = new Date(event.start).toISOString();
|
|
58
|
-
const endUtc = new Date(event.end).toISOString();
|
|
59
|
-
const startCompact = startUtc.replace(/[-:]/g, "").replace(/\.\d{3}/, "");
|
|
60
|
-
const endCompact = endUtc.replace(/[-:]/g, "").replace(/\.\d{3}/, "");
|
|
61
|
-
googleDates = `${startCompact}/${endCompact}`;
|
|
62
|
-
outlookStart = startUtc;
|
|
63
|
-
outlookEnd = endUtc;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
const enc = encodeURIComponent;
|
|
67
|
-
const google = `https://calendar.google.com/calendar/render?action=TEMPLATE&text=${enc(title)}&dates=${googleDates}&details=${enc(details)}&location=${enc(loc)}`;
|
|
68
|
-
const q = `path=/calendar/action/compose&rru=addevent&subject=${enc(title)}&body=${enc(details)}&location=${enc(loc)}&startdt=${enc(outlookStart)}&enddt=${enc(outlookEnd)}${isAllDayParam}`;
|
|
69
|
-
const outlook = `https://outlook.live.com/calendar/0/deeplink/compose?${q}`;
|
|
70
|
-
const office365 = `https://outlook.office.com/calendar/0/deeplink/compose?${q}`;
|
|
71
|
-
|
|
72
|
-
const eventBaseId = event.id.split("#")[0]!;
|
|
73
|
-
const icsPath = `/_emdash/api/plugins/${enc(pluginId)}/calendar?eventId=${enc(eventBaseId)}`;
|
|
74
|
-
const ics = siteUrl ? new URL(icsPath, siteUrl).href : icsPath;
|
|
75
|
-
|
|
76
|
-
return {
|
|
77
|
-
google,
|
|
78
|
-
outlook,
|
|
79
|
-
office365,
|
|
80
|
-
ics,
|
|
81
|
-
};
|
|
82
|
-
}
|
|
1
|
+
import { safeHttpUrl } from "./venue";
|
|
2
|
+
export interface CalendarLinks {
|
|
3
|
+
google: string;
|
|
4
|
+
outlook: string;
|
|
5
|
+
office365: string;
|
|
6
|
+
ics: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface CalendarEventInput {
|
|
10
|
+
id: string;
|
|
11
|
+
title: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
start: string;
|
|
14
|
+
end: string;
|
|
15
|
+
allDay: boolean;
|
|
16
|
+
timezone?: string;
|
|
17
|
+
location?: string;
|
|
18
|
+
locationType?: "physical" | "virtual" | "hybrid";
|
|
19
|
+
virtualUrl?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Builds standard 1-click web calendar links for Google Calendar, Outlook Web,
|
|
25
|
+
* Office 365, and Apple/desktop iCal (.ics) download.
|
|
26
|
+
* Pass the installed plugin ID: Registry installs are addressed as `r_…`, not `eventual`.
|
|
27
|
+
* The `.ics` link downloads this event (all upcoming dates of a repeating one) from the `calendar` route.
|
|
28
|
+
*/
|
|
29
|
+
export function buildCalendarLinks(event: CalendarEventInput, siteUrl = "", pluginId = "eventual"): CalendarLinks {
|
|
30
|
+
const title = event.title || "Event";
|
|
31
|
+
const onlineUrl = safeHttpUrl(event.virtualUrl ?? "");
|
|
32
|
+
const details = [event.description || "", onlineUrl].filter(Boolean).join("\n\n");
|
|
33
|
+
|
|
34
|
+
let loc = event.location || "";
|
|
35
|
+
if (event.locationType === "virtual") {
|
|
36
|
+
loc = onlineUrl || loc;
|
|
37
|
+
} else if (event.locationType === "hybrid" && onlineUrl && loc) {
|
|
38
|
+
loc = `${loc} · ${onlineUrl}`;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
let googleDates: string;
|
|
42
|
+
let outlookStart: string;
|
|
43
|
+
let outlookEnd: string;
|
|
44
|
+
let isAllDayParam = "";
|
|
45
|
+
|
|
46
|
+
if (event.allDay) {
|
|
47
|
+
const startDate = event.start.slice(0, 10).replace(/-/g, "");
|
|
48
|
+
// In iCalendar/Google, the end date for all-day is exclusive (next day)
|
|
49
|
+
const endObj = new Date(event.end.slice(0, 10) + "T00:00:00Z");
|
|
50
|
+
endObj.setUTCDate(endObj.getUTCDate() + 1);
|
|
51
|
+
const endDate = endObj.toISOString().slice(0, 10).replace(/-/g, "");
|
|
52
|
+
googleDates = `${startDate}/${endDate}`;
|
|
53
|
+
outlookStart = event.start.slice(0, 10);
|
|
54
|
+
outlookEnd = endObj.toISOString().slice(0, 10);
|
|
55
|
+
isAllDayParam = "&allday=true";
|
|
56
|
+
} else {
|
|
57
|
+
const startUtc = new Date(event.start).toISOString();
|
|
58
|
+
const endUtc = new Date(event.end).toISOString();
|
|
59
|
+
const startCompact = startUtc.replace(/[-:]/g, "").replace(/\.\d{3}/, "");
|
|
60
|
+
const endCompact = endUtc.replace(/[-:]/g, "").replace(/\.\d{3}/, "");
|
|
61
|
+
googleDates = `${startCompact}/${endCompact}`;
|
|
62
|
+
outlookStart = startUtc;
|
|
63
|
+
outlookEnd = endUtc;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const enc = encodeURIComponent;
|
|
67
|
+
const google = `https://calendar.google.com/calendar/render?action=TEMPLATE&text=${enc(title)}&dates=${googleDates}&details=${enc(details)}&location=${enc(loc)}`;
|
|
68
|
+
const q = `path=/calendar/action/compose&rru=addevent&subject=${enc(title)}&body=${enc(details)}&location=${enc(loc)}&startdt=${enc(outlookStart)}&enddt=${enc(outlookEnd)}${isAllDayParam}`;
|
|
69
|
+
const outlook = `https://outlook.live.com/calendar/0/deeplink/compose?${q}`;
|
|
70
|
+
const office365 = `https://outlook.office.com/calendar/0/deeplink/compose?${q}`;
|
|
71
|
+
|
|
72
|
+
const eventBaseId = event.id.split("#")[0]!;
|
|
73
|
+
const icsPath = `/_emdash/api/plugins/${enc(pluginId)}/calendar?eventId=${enc(eventBaseId)}`;
|
|
74
|
+
const ics = siteUrl ? new URL(icsPath, siteUrl).href : icsPath;
|
|
75
|
+
|
|
76
|
+
return {
|
|
77
|
+
google,
|
|
78
|
+
outlook,
|
|
79
|
+
office365,
|
|
80
|
+
ics,
|
|
81
|
+
};
|
|
82
|
+
}
|