Loading CHANGES.md +14 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,9 @@ Version 0.14.1 To be released. - Fixed `fedify inbox` command that had not been able to parse activities even if they are valid JSON-LD. [[#126]] Version 0.14.0 -------------- Loading Loading @@ -103,6 +106,17 @@ Released on August 27, 2024. [#115]: https://github.com/dahlia/fedify/issues/115 Version 0.13.2 -------------- Released on August 29, 2024. - Fixed `fedify inbox` command that had not been able to parse activities even if they are valid JSON-LD. [[#126]] [#126]: https://github.com/dahlia/fedify/issues/126 Version 0.13.1 -------------- Loading cli/import_map.g.json +3 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ "imports": { "@cfworker/json-schema": "npm:@cfworker/json-schema@^1.12.8", "@david/which-runtime": "jsr:@david/which-runtime@^0.2.0", "@deno/dnt": "jsr:@deno/dnt@^0.41.2", "@deno/dnt": "jsr:@deno/dnt@0.41.2", "@fedify/fedify": "../src/./mod.ts", "@fedify/fedify/federation": "../src/./federation/mod.ts", "@fedify/fedify/nodeinfo": "../src/./nodeinfo/mod.ts", Loading Loading @@ -54,8 +54,8 @@ "@hongminhee/localtunnel": "jsr:@hongminhee/localtunnel@^0.2.0", "@poppanator/http-constants": "npm:@poppanator/http-constants@^1.1.1", "cli-highlight": "npm:cli-highlight@^2.1.11", "hono": "jsr:@hono/hono@^4.4.6", "hono/": "jsr:/@hono/hono@^4.4.6/", "hono": "jsr:@hono/hono@^4.5.9", "hono/": "jsr:/@hono/hono@^4.5.9/", "json-preserve-indent": "npm:json-preserve-indent@^1.1.3", "ora": "npm:ora@^8.0.1", "shiki": "npm:shiki@^1.6.4" Loading cli/import_map.json +2 −2 Original line number Diff line number Diff line Loading @@ -13,8 +13,8 @@ "@std/path": "jsr:@std/path@^0.225.1", "@std/semver": "jsr:@std/semver@^0.224.3", "cli-highlight": "npm:cli-highlight@^2.1.11", "hono": "jsr:@hono/hono@^4.4.6", "hono/": "jsr:/@hono/hono@^4.4.6/", "hono": "jsr:@hono/hono@^4.5.9", "hono/": "jsr:/@hono/hono@^4.5.9/", "json-preserve-indent": "npm:json-preserve-indent@^1.1.3", "ora": "npm:ora@^8.0.1", "shiki": "npm:shiki@^1.6.4" Loading cli/inbox.tsx +3 −2 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ import { generateCryptoKeyPair, getActorHandle, Image, InProcessMessageQueue, isActor, lookupObject, MemoryKvStore, Loading Loading @@ -113,7 +112,6 @@ export const command = new Command() const federation = createFederation<number>({ kv: new MemoryKvStore(), queue: new InProcessMessageQueue(), documentLoader: await getDocumentLoader(), }); Loading Loading @@ -340,6 +338,9 @@ async function fetch(request: Request): Promise<Response> { const timestamp = Temporal.Now.instant(); const idx = activities.length; const pathname = new URL(request.url).pathname; if (pathname === "/r" || pathname.startsWith("/r/")) { return app.fetch(request); } const inboxRequest = pathname === "/inbox" || pathname.startsWith("/i/inbox"); if (inboxRequest) { recordingSink.startRecording(); Loading Loading
CHANGES.md +14 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,9 @@ Version 0.14.1 To be released. - Fixed `fedify inbox` command that had not been able to parse activities even if they are valid JSON-LD. [[#126]] Version 0.14.0 -------------- Loading Loading @@ -103,6 +106,17 @@ Released on August 27, 2024. [#115]: https://github.com/dahlia/fedify/issues/115 Version 0.13.2 -------------- Released on August 29, 2024. - Fixed `fedify inbox` command that had not been able to parse activities even if they are valid JSON-LD. [[#126]] [#126]: https://github.com/dahlia/fedify/issues/126 Version 0.13.1 -------------- Loading
cli/import_map.g.json +3 −3 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ "imports": { "@cfworker/json-schema": "npm:@cfworker/json-schema@^1.12.8", "@david/which-runtime": "jsr:@david/which-runtime@^0.2.0", "@deno/dnt": "jsr:@deno/dnt@^0.41.2", "@deno/dnt": "jsr:@deno/dnt@0.41.2", "@fedify/fedify": "../src/./mod.ts", "@fedify/fedify/federation": "../src/./federation/mod.ts", "@fedify/fedify/nodeinfo": "../src/./nodeinfo/mod.ts", Loading Loading @@ -54,8 +54,8 @@ "@hongminhee/localtunnel": "jsr:@hongminhee/localtunnel@^0.2.0", "@poppanator/http-constants": "npm:@poppanator/http-constants@^1.1.1", "cli-highlight": "npm:cli-highlight@^2.1.11", "hono": "jsr:@hono/hono@^4.4.6", "hono/": "jsr:/@hono/hono@^4.4.6/", "hono": "jsr:@hono/hono@^4.5.9", "hono/": "jsr:/@hono/hono@^4.5.9/", "json-preserve-indent": "npm:json-preserve-indent@^1.1.3", "ora": "npm:ora@^8.0.1", "shiki": "npm:shiki@^1.6.4" Loading
cli/import_map.json +2 −2 Original line number Diff line number Diff line Loading @@ -13,8 +13,8 @@ "@std/path": "jsr:@std/path@^0.225.1", "@std/semver": "jsr:@std/semver@^0.224.3", "cli-highlight": "npm:cli-highlight@^2.1.11", "hono": "jsr:@hono/hono@^4.4.6", "hono/": "jsr:/@hono/hono@^4.4.6/", "hono": "jsr:@hono/hono@^4.5.9", "hono/": "jsr:/@hono/hono@^4.5.9/", "json-preserve-indent": "npm:json-preserve-indent@^1.1.3", "ora": "npm:ora@^8.0.1", "shiki": "npm:shiki@^1.6.4" Loading
cli/inbox.tsx +3 −2 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ import { generateCryptoKeyPair, getActorHandle, Image, InProcessMessageQueue, isActor, lookupObject, MemoryKvStore, Loading Loading @@ -113,7 +112,6 @@ export const command = new Command() const federation = createFederation<number>({ kv: new MemoryKvStore(), queue: new InProcessMessageQueue(), documentLoader: await getDocumentLoader(), }); Loading Loading @@ -340,6 +338,9 @@ async function fetch(request: Request): Promise<Response> { const timestamp = Temporal.Now.instant(); const idx = activities.length; const pathname = new URL(request.url).pathname; if (pathname === "/r" || pathname.startsWith("/r/")) { return app.fetch(request); } const inboxRequest = pathname === "/inbox" || pathname.startsWith("/i/inbox"); if (inboxRequest) { recordingSink.startRecording(); Loading