@fedify/fedify 0.12.0-dev.308 → 0.13.0-dev.310

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGES.md CHANGED
@@ -3,11 +3,34 @@
3
3
  Fedify changelog
4
4
  ================
5
5
 
6
- Version 0.12.0
6
+ Version 0.13.0
7
7
  --------------
8
8
 
9
9
  To be released.
10
10
 
11
+ - Removed the singular actor key pair dispatcher APIs which were deprecated
12
+ in version 0.10.0.
13
+
14
+ - Removed the last parameter of the `ActorDispatcher` callback type.
15
+ Use `Context.getActorKeyPairs()` method instead.
16
+ - Removed `ActorKeyPairDispatcher` type. Use `ActorKeyPairsDispatcher`
17
+ type instead.
18
+ - Removed `ActorCallbackSetters.setKeyPairDispatcher()` method.
19
+ Use `ActorCallbackSetters.setKeyPairsDispatcher()` method instead.
20
+ - Removed `Context.getActorKey()` method.
21
+ Use `Context.getActorKeyPairs()` method instead.
22
+
23
+ - Added more log messages using the [LogTape] library. Currently the below
24
+ logger categories are used:
25
+
26
+ - `["fedify", "webfinger", "server"]`
27
+
28
+
29
+ Version 0.12.0
30
+ --------------
31
+
32
+ Released on July 24, 2024.
33
+
11
34
  - The `fedify` command is now [available on npm][@fedify/cli]. [[#104]]
12
35
 
13
36
  - Incoming activities are now queued before being dispatched to the inbox
@@ -17,14 +17,16 @@ export function acceptsJsonLd(request) {
17
17
  types.includes("application/json");
18
18
  }
19
19
  export async function handleActor(request, { handle, context, actorDispatcher, authorizePredicate, onNotFound, onNotAcceptable, onUnauthorized, }) {
20
- if (actorDispatcher == null)
20
+ const logger = getLogger(["fedify", "federation", "actor"]);
21
+ if (actorDispatcher == null) {
22
+ logger.debug("Actor dispatcher is not set.", { handle });
21
23
  return await onNotFound(request);
22
- // FIXME: When the deprecated last parameter (key) of ActorDispatcher
23
- // is removed, replace the below line with a direct all to
24
- // actorDispatcher:
25
- const actor = await context.getActor(handle);
26
- if (actor == null)
24
+ }
25
+ const actor = await actorDispatcher(context, handle);
26
+ if (actor == null) {
27
+ logger.debug("Actor {handle} not found.", { handle });
27
28
  return await onNotFound(request);
29
+ }
28
30
  if (!acceptsJsonLd(request))
29
31
  return await onNotAcceptable(request);
30
32
  if (authorizePredicate != null) {
@@ -173,7 +175,7 @@ export async function handleInbox(request, { handle, context, kv, kvPrefixes, qu
173
175
  return await onNotFound(request);
174
176
  }
175
177
  else if (handle != null) {
176
- const actor = await context.getActor(handle);
178
+ const actor = await actorDispatcher(context, handle);
177
179
  if (actor == null) {
178
180
  logger.error("Actor {handle} not found.", { handle });
179
181
  return await onNotFound(request);
@@ -402,8 +402,8 @@ export class Federation {
402
402
  throw new RouterError("Path for actor dispatcher must have one variable: {handle}");
403
403
  }
404
404
  const callbacks = {
405
- dispatcher: async (context, handle, key) => {
406
- const actor = await dispatcher(context, handle, key);
405
+ dispatcher: async (context, handle) => {
406
+ const actor = await dispatcher(context, handle);
407
407
  if (actor == null)
408
408
  return null;
409
409
  const logger = getLogger(["fedify", "federation", "actor"]);
@@ -531,18 +531,6 @@ export class Federation {
531
531
  callbacks.keyPairsDispatcher = dispatcher;
532
532
  return setters;
533
533
  },
534
- setKeyPairDispatcher(dispatcher) {
535
- getLogger(["fedify", "federation", "actor"]).warn("The ActorCallbackSetters.setKeyPairDispatcher() method is " +
536
- "deprecated. Use the ActorCallbackSetters.setKeyPairsDispatcher() " +
537
- "instead.");
538
- callbacks.keyPairsDispatcher = async (ctx, handle) => {
539
- const key = await dispatcher(ctx.data, handle);
540
- if (key == null)
541
- return [];
542
- return [key];
543
- };
544
- return setters;
545
- },
546
534
  authorize(predicate) {
547
535
  callbacks.authorizePredicate = predicate;
548
536
  return setters;
@@ -1122,11 +1110,9 @@ export class Federation {
1122
1110
  nodeInfoDispatcher: this.#nodeInfoDispatcher,
1123
1111
  });
1124
1112
  case "actor":
1125
- // FIXME: When the deprecated last parameter (key) of ActorDispatcher
1126
- // is removed, uncomment the following line.
1127
- // context = this.#createContext(request, contextData, {
1128
- // invokedFromActorDispatcher: { handle: route.values.handle },
1129
- // });
1113
+ context = this.#createContext(request, contextData, {
1114
+ invokedFromActorDispatcher: { handle: route.values.handle },
1115
+ });
1130
1116
  return await handleActor(request, {
1131
1117
  handle: route.values.handle,
1132
1118
  context,
@@ -1518,24 +1504,6 @@ class ContextImpl {
1518
1504
  }
1519
1505
  return result;
1520
1506
  }
1521
- async getActorKey(handle) {
1522
- getLogger(["fedify", "federation", "actor"]).warn("Context.getActorKey() method is deprecated; " +
1523
- "use Context.getActorKeyPairs() method instead.");
1524
- let keyPair;
1525
- try {
1526
- keyPair = await this.getRsaKeyPairFromHandle(handle);
1527
- }
1528
- catch (_) {
1529
- return null;
1530
- }
1531
- if (keyPair == null)
1532
- return null;
1533
- return new CryptographicKey({
1534
- id: keyPair.keyId,
1535
- owner: this.getActorUri(handle),
1536
- publicKey: keyPair.publicKey,
1537
- });
1538
- }
1539
1507
  async getRsaKeyPairFromHandle(handle) {
1540
1508
  const keyPairs = await this.getKeyPairsFromHandle(handle);
1541
1509
  for (const keyPair of keyPairs) {
@@ -1663,21 +1631,10 @@ class RequestContextImpl extends ContextImpl {
1663
1631
  actorDispatcherHandle: this.#invokedFromActorDispatcher.handle,
1664
1632
  });
1665
1633
  }
1666
- let rsaKey;
1667
- try {
1668
- rsaKey = await this.getRsaKeyPairFromHandle(handle);
1669
- }
1670
- catch (_) {
1671
- rsaKey = null;
1672
- }
1673
1634
  return await this.actorCallbacks.dispatcher(new RequestContextImpl({
1674
1635
  ...this.#options,
1675
1636
  invokedFromActorDispatcher: { handle },
1676
- }), handle, rsaKey == null ? null : new CryptographicKey({
1677
- id: rsaKey.keyId,
1678
- owner: this.getActorUri(handle),
1679
- publicKey: rsaKey.publicKey,
1680
- }));
1637
+ }), handle);
1681
1638
  }
1682
1639
  async getObject(
1683
1640
  // deno-lint-ignore no-explicit-any
@@ -1,4 +1,6 @@
1
+ import { getLogger } from "@logtape/logtape";
1
2
  import { Link as LinkObject } from "../vocab/mod.js";
3
+ const logger = getLogger(["fedify", "webfinger", "server"]);
2
4
  /**
3
5
  * Handles a WebFinger request. You would not typically call this function
4
6
  * directly, but instead use {@link Federation.handle} method.
@@ -35,9 +37,15 @@ export async function handleWebFinger(request, { context, actorDispatcher, onNot
35
37
  else {
36
38
  handle = uriParsed.handle;
37
39
  }
38
- const actor = await context.getActor(handle);
39
- if (actor == null)
40
+ if (actorDispatcher == null) {
41
+ logger.error("Actor dispatcher is not set.", { handle });
40
42
  return await onNotFound(request);
43
+ }
44
+ const actor = await actorDispatcher(context, handle);
45
+ if (actor == null) {
46
+ logger.error("Actor {handle} not found.", { handle });
47
+ return await onNotFound(request);
48
+ }
41
49
  const links = [
42
50
  {
43
51
  rel: "self",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "0.12.0-dev.308+cf9b4a9a",
3
+ "version": "0.13.0-dev.310+008cdfa9",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -18,11 +18,8 @@ export type NodeInfoDispatcher<TContextData> = (context: RequestContext<TContext
18
18
  * @typeParam TContextData The context data to pass to the {@link Context}.
19
19
  * @param context The request context.
20
20
  * @param handle The actor's handle.
21
- * @param key The public key of the actor. **Deprecated: Do not rely on this
22
- * parameter. Instead, use the {@link Context.getActorKeyPairs}
23
- * method.**
24
21
  */
25
- export type ActorDispatcher<TContextData> = (context: RequestContext<TContextData>, handle: string, key: CryptographicKey | null) => Actor | null | Promise<Actor | null>;
22
+ export type ActorDispatcher<TContextData> = (context: RequestContext<TContextData>, handle: string) => Actor | null | Promise<Actor | null>;
26
23
  /**
27
24
  * A callback that dispatches key pairs for an actor.
28
25
  *
@@ -33,13 +30,6 @@ export type ActorDispatcher<TContextData> = (context: RequestContext<TContextDat
33
30
  * @since 0.10.0
34
31
  */
35
32
  export type ActorKeyPairsDispatcher<TContextData> = (context: Context<TContextData>, handle: string) => dntShim.CryptoKeyPair[] | Promise<dntShim.CryptoKeyPair[]>;
36
- /**
37
- * A callback that dispatches a key pair for an actor.
38
- *
39
- * @typeParam TContextData The context data to pass to the {@link Context}.
40
- * @deprecated
41
- */
42
- export type ActorKeyPairDispatcher<TContextData> = (contextData: TContextData, handle: string) => dntShim.CryptoKeyPair | null | Promise<dntShim.CryptoKeyPair | null>;
43
33
  /**
44
34
  * A callback that dispatches an object.
45
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../src/federation/callback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,CAAC,YAAY,IAAI,CAC7C,OAAO,EAAE,cAAc,CAAC,YAAY,CAAC,KAClC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAElC;;;;;;;;;GASG;AACH,MAAM,MAAM,eAAe,CAAC,YAAY,IAAI,CAC1C,OAAO,EAAE,cAAc,CAAC,YAAY,CAAC,EACrC,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,gBAAgB,GAAG,IAAI,KACzB,KAAK,GAAG,IAAI,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;AAE1C;;;;;;;;GAQG;AACH,MAAM,MAAM,uBAAuB,CAAC,YAAY,IAAI,CAClD,OAAO,EAAE,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AAwB,CAAC,YAAY,EAAE,MAAM,SAAS,MAAM,IAAI,CAC1E,OAAO,EAAE,cAAc,CAAC,YAAY,CAAC,EACrC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC9B,SAAS,EAAE,gBAAgB,GAAG,IAAI,EAClC,cAAc,EAAE,KAAK,GAAG,IAAI,KACzB,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC"}
@@ -138,14 +138,6 @@ export interface Context<TContextData> {
138
138
  * @since 0.10.0
139
139
  */
140
140
  getActorKeyPairs(handle: string): Promise<ActorKeyPair[]>;
141
- /**
142
- * Gets a public RSA-PKCS#1-v1.5 {@link CryptographicKey} for an actor,
143
- * if any exists.
144
- * @param handle The actor's handle.
145
- * @returns The actor's public key, or `null` if the actor has no key.
146
- * @deprecated Use {@link Context.getActorKeyPairs} instead.
147
- */
148
- getActorKey(handle: string): Promise<CryptographicKey | null>;
149
141
  /**
150
142
  * Gets an authenticated {@link DocumentLoader} for the given identity.
151
143
  * Note that an authenticated document loader intentionally does not cache
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/federation/context.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,KAAK,EACV,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACP,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,OAAO,CAAC,YAAY;IACnC;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAE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IACZ,UAAU,EAAE;QACV,mBAAmB,EAAE,KAAK,CAAC;QAC3B,SAAS,EAAE,KAAK,CAAC;KAClB,CAAC;IACF,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,eAAe,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;IAChD,cAAc,CAAC,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAChD,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;IACpD,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC3D,mBAAmB,EAAE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC;CACpD;AAED,wBAAsB,WAAW,CAAC,YAAY,EAC5C,OAAO,EAAE,OAAO,EAChB,EACE,MAAM,EACN,OAAO,EACP,EAAE,EACF,UAAU,EACV,KAAK,EACL,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,mBAAmB,GACpB,EAAE,sBAAsB,CAAC,YAAY,CAAC,GACtC,OAAO,CAAC,QAAQ,CAAC,CAoMnB;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,aAAa,EAAE,cAAc,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,QAAQ,CAAC,CAOnB;AAED;;;;;;;;GAQG;AACH,wBAAsB,6BAA6B,CACjD,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAK1B"}
@@ -4,7 +4,7 @@ import * as dntShim from "../_dnt.shims.js";
4
4
  import { type AuthenticatedDocumentLoaderFactory, type DocumentLoader } from "../runtime/docloader.js";
5
5
  import type { Actor, Recipient } from "../vocab/actor.js";
6
6
  import { Activity, type Hashtag, type Like, type Object } from "../vocab/vocab.js";
7
- import type { ActorDispatcher, ActorKeyPairDispatcher, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCounter, CollectionCursor, CollectionDispatcher, InboxErrorHandler, InboxListener, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectDispatcher, OutboxErrorHandler, SharedInboxKeyDispatcher } from "./callback.js";
7
+ import type { ActorDispatcher, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCounter, CollectionCursor, CollectionDispatcher, InboxErrorHandler, InboxListener, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectDispatcher, OutboxErrorHandler, SharedInboxKeyDispatcher } from "./callback.js";
8
8
  import type { Context, RequestContext, SendActivityOptions } from "./context.js";
9
9
  import type { KvKey, KvStore } from "./kv.js";
10
10
  import type { MessageQueue } from "./mq.js";
@@ -573,15 +573,6 @@ export interface ActorCallbackSetters<TContextData> {
573
573
  * @since 0.10.0
574
574
  */
575
575
  setKeyPairsDispatcher(dispatcher: ActorKeyPairsDispatcher<TContextData>): ActorCallbackSetters<TContextData>;
576
- /**
577
- * Sets the RSA-PKCS#1-v1.5 key pair dispatcher for actors.
578
- *
579
- * Use {@link ActorCallbackSetters.setKeyPairsDispatcher} instead.
580
- * @param dispatcher A callback that returns the key pair for an actor.
581
- * @returns The setters object so that settings can be chained.
582
- * @deprecated Use {@link ActorCallbackSetters.setKeyPairsDispatcher} instead.
583
- */
584
- setKeyPairDispatcher(dispatcher: ActorKeyPairDispatcher<TContextData>): ActorCallbackSetters<TContextData>;
585
576
  /**
586
577
  * Specifies the conditions under which requests are authorized.
587
578
  * @param predicate A callback that returns whether a request is authorized.
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/federation/middleware.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,cAA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tC;;;;;;;;OAQG;IACH,sBAAsB,CACpB,UAAU,EAAE,wBAAwB,CAAC,YAAY,CAAC,GACjD,oBAAoB,CAAC,YAAY,CAAC,CAAC;CACvC;AAED,UAAU,2BAA2B,CAAC,YAAY,CAChD,SAAQ,mBAAmB;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,YAAY,CAAC;CAC3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/testing/context.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAKxE,wBAAgB,aAAa,CAAC,YAAY,EACxC,EACE,GAAG,EACH,IAAI,EACJ,cAAc,EACd,aAAa,EACb,cAAc,EACd,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,eAAe,EACf,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,QAAQ,EACR,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,YAAY,GACb,EAAE,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC;IAAC,IAAI,EAAE,YAAY,CAAA;CAAE,GACpE,OAAO,CAAC,YAAY,CAAC,CAuDvB;AAED,wBAAgB,oBAAoB,CAAC,YAAY,EAC/C,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,GAAG;IAC5C,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,YAAY,CAAC;CACpB,GACA,cAAc,CAAC,YAAY,CAAC,CAa9B"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/testing/context.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAIxE,wBAAgB,aAAa,CAAC,YAAY,EACxC,EACE,GAAG,EACH,I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