@fedify/fedify 1.2.0-dev.472 → 1.2.0-dev.473

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGES.md CHANGED
@@ -8,6 +8,8 @@ Version 1.2.0
8
8
 
9
9
  To be released.
10
10
 
11
+ - Added `InboxContext.recipient` property.
12
+
11
13
  - Added NodeInfo client functions.
12
14
 
13
15
  - Added `getNodeInfo()` function.
@@ -175,16 +175,16 @@ function filterCollectionItems(items, collectionName, filterPredicate) {
175
175
  }
176
176
  return result;
177
177
  }
178
- export async function handleInbox(request, { identifier, context, inboxContextFactory, kv, kvPrefixes, queue, actorDispatcher, inboxListeners, inboxErrorHandler, onNotFound, signatureTimeWindow, skipSignatureVerification, }) {
178
+ export async function handleInbox(request, { recipient, context, inboxContextFactory, kv, kvPrefixes, queue, actorDispatcher, inboxListeners, inboxErrorHandler, onNotFound, signatureTimeWindow, skipSignatureVerification, }) {
179
179
  const logger = getLogger(["fedify", "federation", "inbox"]);
180
180
  if (actorDispatcher == null) {
181
- logger.error("Actor dispatcher is not set.", { identifier });
181
+ logger.error("Actor dispatcher is not set.", { recipient });
182
182
  return await onNotFound(request);
183
183
  }
184
- else if (identifier != null) {
185
- const actor = await actorDispatcher(context, identifier);
184
+ else if (recipient != null) {
185
+ const actor = await actorDispatcher(context, recipient);
186
186
  if (actor == null) {
187
- logger.error("Actor {identifier} not found.", { identifier });
187
+ logger.error("Actor {recipient} not found.", { recipient });
188
188
  return await onNotFound(request);
189
189
  }
190
190
  }
@@ -193,12 +193,12 @@ export async function handleInbox(request, { identifier, context, inboxContextFa
193
193
  json = await request.clone().json();
194
194
  }
195
195
  catch (error) {
196
- logger.error("Failed to parse JSON:\n{error}", { identifier, error });
196
+ logger.error("Failed to parse JSON:\n{error}", { recipient, error });
197
197
  try {
198
198
  await inboxErrorHandler?.(context, error);
199
199
  }
200
200
  catch (error) {
201
- logger.error("An unexpected error occurred in inbox error handler:\n{error}", { error, activity: json });
201
+ logger.error("An unexpected error occurred in inbox error handler:\n{error}", { error, activity: json, recipient });
202
202
  }
203
203
  return new Response("Invalid JSON.", {
204
204
  status: 400,
@@ -238,11 +238,11 @@ export async function handleInbox(request, { identifier, context, inboxContextFa
238
238
  const jsonWithoutSig = detachSignature(json);
239
239
  let activity = null;
240
240
  if (ldSigVerified) {
241
- logger.debug("Linked Data Signatures are verified.", { identifier, json });
241
+ logger.debug("Linked Data Signatures are verified.", { recipient, json });
242
242
  activity = await Activity.fromJsonLd(jsonWithoutSig, context);
243
243
  }
244
244
  else {
245
- logger.debug("Linked Data Signatures are not verified.", { identifier, json });
245
+ logger.debug("Linked Data Signatures are not verified.", { recipient, json });
246
246
  try {
247
247
  activity = await verifyObject(Activity, jsonWithoutSig, {
248
248
  contextLoader: context.contextLoader,
@@ -252,15 +252,15 @@ export async function handleInbox(request, { identifier, context, inboxContextFa
252
252
  }
253
253
  catch (error) {
254
254
  logger.error("Failed to parse activity:\n{error}", {
255
- identifier,
256
- json,
255
+ recipient,
256
+ activity: json,
257
257
  error,
258
258
  });
259
259
  try {
260
260
  await inboxErrorHandler?.(context, error);
261
261
  }
262
262
  catch (error) {
263
- logger.error("An unexpected error occurred in inbox error handler:\n{error}", { error, activity: json });
263
+ logger.error("An unexpected error occurred in inbox error handler:\n{error}", { error, activity: json, recipient });
264
264
  }
265
265
  return new Response("Invalid activity.", {
266
266
  status: 400,
@@ -268,10 +268,10 @@ export async function handleInbox(request, { identifier, context, inboxContextFa
268
268
  });
269
269
  }
270
270
  if (activity == null) {
271
- logger.debug("Object Integrity Proofs are not verified.", { identifier, json });
271
+ logger.debug("Object Integrity Proofs are not verified.", { recipient, activity: json });
272
272
  }
273
273
  else {
274
- logger.debug("Object Integrity Proofs are verified.", { identifier, json });
274
+ logger.debug("Object Integrity Proofs are verified.", { recipient, activity: json });
275
275
  }
276
276
  }
277
277
  let httpSigKey = null;
@@ -284,7 +284,7 @@ export async function handleInbox(request, { identifier, context, inboxContextFa
284
284
  keyCache,
285
285
  });
286
286
  if (key == null) {
287
- logger.error("Failed to verify the request's HTTP Signatures.", { identifier });
287
+ logger.error("Failed to verify the request's HTTP Signatures.", { recipient });
288
288
  const response = new Response("Failed to verify the request signature.", {
289
289
  status: 401,
290
290
  headers: { "Content-Type": "text/plain; charset=utf-8" },
@@ -292,7 +292,7 @@ export async function handleInbox(request, { identifier, context, inboxContextFa
292
292
  return response;
293
293
  }
294
294
  else {
295
- logger.debug("HTTP Signatures are verified.", { identifier });
295
+ logger.debug("HTTP Signatures are verified.", { recipient });
296
296
  }
297
297
  httpSigKey = key;
298
298
  }
@@ -307,6 +307,7 @@ export async function handleInbox(request, { identifier, context, inboxContextFa
307
307
  logger.debug("Activity {activityId} has already been processed.", {
308
308
  activityId: activity.id?.href,
309
309
  activity: json,
310
+ recipient,
310
311
  });
311
312
  return new Response(`Activity <${activity.id}> has already been processed.`, {
312
313
  status: 202,
@@ -325,6 +326,7 @@ export async function handleInbox(request, { identifier, context, inboxContextFa
325
326
  if (httpSigKey != null && !await doesActorOwnKey(activity, httpSigKey, context)) {
326
327
  logger.error("The signer ({keyId}) and the actor ({actorId}) do not match.", {
327
328
  activity: json,
329
+ recipient,
328
330
  keyId: httpSigKey.id?.href,
329
331
  actorId: activity.actorId.href,
330
332
  });
@@ -340,11 +342,11 @@ export async function handleInbox(request, { identifier, context, inboxContextFa
340
342
  id: dntShim.crypto.randomUUID(),
341
343
  baseUrl: request.url,
342
344
  activity: json,
343
- identifier,
345
+ identifier: recipient,
344
346
  attempt: 0,
345
347
  started: new Date().toISOString(),
346
348
  });
347
- logger.info("Activity {activityId} is enqueued.", { activityId: activity.id?.href, activity: json });
349
+ logger.info("Activity {activityId} is enqueued.", { activityId: activity.id?.href, activity: json, recipient });
348
350
  return new Response("Activity is enqueued.", {
349
351
  status: 202,
350
352
  headers: { "Content-Type": "text/plain; charset=utf-8" },
@@ -352,23 +354,33 @@ export async function handleInbox(request, { identifier, context, inboxContextFa
352
354
  }
353
355
  const listener = inboxListeners?.dispatch(activity);
354
356
  if (listener == null) {
355
- logger.error("Unsupported activity type:\n{activity}", { activity: json });
357
+ logger.error("Unsupported activity type:\n{activity}", { activity: json, recipient });
356
358
  return new Response("", {
357
359
  status: 202,
358
360
  headers: { "Content-Type": "text/plain; charset=utf-8" },
359
361
  });
360
362
  }
361
363
  try {
362
- await listener(inboxContextFactory(json), activity);
364
+ await listener(inboxContextFactory(recipient, json), activity);
363
365
  }
364
366
  catch (error) {
365
367
  try {
366
368
  await inboxErrorHandler?.(context, error);
367
369
  }
368
370
  catch (error) {
369
- logger.error("An unexpected error occurred in inbox error handler:\n{error}", { error, activityId: activity.id?.href, activity: json });
371
+ logger.error("An unexpected error occurred in inbox error handler:\n{error}", {
372
+ error,
373
+ activityId: activity.id?.href,
374
+ activity: json,
375
+ recipient,
376
+ });
370
377
  }
371
- logger.error("Failed to process the incoming activity {activityId}:\n{error}", { error, activityId: activity.id?.href, activity: json });
378
+ logger.error("Failed to process the incoming activity {activityId}:\n{error}", {
379
+ error,
380
+ activityId: activity.id?.href,
381
+ activity: json,
382
+ recipient,
383
+ });
372
384
  return new Response("Internal server error.", {
373
385
  status: 500,
374
386
  headers: { "Content-Type": "text/plain; charset=utf-8" },
@@ -377,7 +389,7 @@ export async function handleInbox(request, { identifier, context, inboxContextFa
377
389
  if (cacheKey != null) {
378
390
  await kv.set(cacheKey, true, { ttl: dntShim.Temporal.Duration.from({ days: 1 }) });
379
391
  }
380
- logger.info("Activity {activityId} has been processed.", { activityId: activity.id?.href, activity: json });
392
+ logger.info("Activity {activityId} has been processed.", { activityId: activity.id?.href, activity: json, recipient });
381
393
  return new Response("", {
382
394
  status: 202,
383
395
  headers: { "Content-Type": "text/plain; charset=utf-8" },
@@ -228,17 +228,23 @@ export class FederationImpl {
228
228
  logger.debug("Activity {activityId} has already been processed.", {
229
229
  activityId: activity.id?.href,
230
230
  activity: message.activity,
231
+ recipient: message.identifier,
231
232
  });
232
233
  return;
233
234
  }
234
235
  }
235
236
  const listener = this.inboxListeners?.dispatch(activity);
236
237
  if (listener == null) {
237
- logger.error("Unsupported activity type:\n{activity}", { activity: message.activity, trial: message.attempt });
238
+ logger.error("Unsupported activity type:\n{activity}", {
239
+ activityId: activity.id?.href,
240
+ activity: message.activity,
241
+ recipient: message.identifier,
242
+ trial: message.attempt,
243
+ });
238
244
  return;
239
245
  }
240
246
  try {
241
- await listener(context.toInboxContext(message.activity), activity);
247
+ await listener(context.toInboxContext(message.identifier, message.activity), activity);
242
248
  }
243
249
  catch (error) {
244
250
  try {
@@ -250,6 +256,7 @@ export class FederationImpl {
250
256
  trial: message.attempt,
251
257
  activityId: activity.id?.href,
252
258
  activity: message.activity,
259
+ recipient: message.identifier,
253
260
  });
254
261
  }
255
262
  const delay = this.inboxRetryPolicy({
@@ -263,6 +270,7 @@ export class FederationImpl {
263
270
  attempt: message.attempt,
264
271
  activityId: activity.id?.href,
265
272
  activity: message.activity,
273
+ recipient: message.identifier,
266
274
  });
267
275
  this.queue?.enqueue({
268
276
  ...message,
@@ -275,7 +283,12 @@ export class FederationImpl {
275
283
  }
276
284
  else {
277
285
  logger.error("Failed to process the incoming activity {activityId} after " +
278
- "{trial} attempts; giving up:\n{error}", { error, activityId: activity.id?.href, activity: message.activity });
286
+ "{trial} attempts; giving up:\n{error}", {
287
+ error,
288
+ activityId: activity.id?.href,
289
+ activity: message.activity,
290
+ recipient: message.identifier,
291
+ });
279
292
  }
280
293
  return;
281
294
  }
@@ -284,7 +297,11 @@ export class FederationImpl {
284
297
  ttl: dntShim.Temporal.Duration.from({ days: 1 }),
285
298
  });
286
299
  }
287
- logger.info("Activity {activityId} has been processed.", { activityId: activity.id?.href, activity: message.activity });
300
+ logger.info("Activity {activityId} has been processed.", {
301
+ activityId: activity.id?.href,
302
+ activity: message.activity,
303
+ recipient: message.identifier,
304
+ });
288
305
  }
289
306
  startQueue(contextData, options = {}) {
290
307
  return this.#startQueue(contextData, options.signal);
@@ -1081,7 +1098,7 @@ export class FederationImpl {
1081
1098
  if (!this.manuallyStartQueue)
1082
1099
  this.#startQueue(contextData);
1083
1100
  return await handleInbox(request, {
1084
- identifier: route.values.identifier ?? route.values.handle ?? null,
1101
+ recipient: route.values.identifier ?? route.values.handle ?? null,
1085
1102
  context,
1086
1103
  inboxContextFactory: context.toInboxContext.bind(context),
1087
1104
  kv: this.kv,
@@ -1180,8 +1197,8 @@ export class ContextImpl {
1180
1197
  this.invokedFromActorKeyPairsDispatcher =
1181
1198
  invokedFromActorKeyPairsDispatcher;
1182
1199
  }
1183
- toInboxContext(activity) {
1184
- return new InboxContextImpl(activity, {
1200
+ toInboxContext(recipient, activity) {
1201
+ return new InboxContextImpl(recipient, activity, {
1185
1202
  url: this.url,
1186
1203
  federation: this.federation,
1187
1204
  data: this.data,
@@ -1716,9 +1733,11 @@ class RequestContextImpl extends ContextImpl {
1716
1733
  }
1717
1734
  }
1718
1735
  export class InboxContextImpl extends ContextImpl {
1736
+ recipient;
1719
1737
  activity;
1720
- constructor(activity, options) {
1738
+ constructor(recipient, activity, options) {
1721
1739
  super(options);
1740
+ this.recipient = recipient;
1722
1741
  this.activity = activity;
1723
1742
  }
1724
1743
  async forwardActivity(forwarder, recipients, options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.2.0-dev.472+8cbbc941",
3
+ "version": "1.2.0-dev.473+aee5b1a4",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -334,6 +334,12 @@ export interface RequestContext<TContextData> extends Context<TContextData> {
334
334
  * @since 1.0.0
335
335
  */
336
336
  export interface InboxContext<TContextData> extends Context<TContextData> {
337
+ /**
338
+ * The identifier of the recipient of the inbox. If the inbox is a shared
339
+ * inbox, it is `null`.
340
+ * @since 1.2.0
341
+ */
342
+ recipient: string | null;
337
343
  /**
338
344
  * Forwards a received activity to the recipients' inboxes. The forwarded
339
345
  * activity will be signed in HTTP Signatures by the forwarder, but its
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","s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AAE,MAAM,CAAC;CACzB,CAAC;AAEJ;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAuB,SAAQ,mBAAmB;IACjE;;;;;;;OAOG;IACH,cAAc,EAAE,OAAO,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,YAAa,SAAQ,OAAO,CAAC,aAAa;IACzD;;OAEG;IACH,KAAK,EAAE,GAAG,CAAC;IAEX;;OAEG;IACH,gBAAgB,EAAE,gBAAgB,CAAC;IAEnC;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
@@ -69,9 +69,9 @@ export interface CollectionHandlerParameters<TItem, TContext extends RequestCont
69
69
  }
70
70
  export declare function handleCollection<TItem extends URL | Object | Link | Recipient, TContext extends RequestContext<TContextData>, TContextData, TFilter>(request: Request, { name, identifier, uriGetter, filter, filterPredicate, context, collectionCallbacks, onUnauthorized, onNotFound, onNotAcceptable, }: CollectionHandlerParameters<TItem, TContext, TContextData, TFilter>): Promise<Response>;
71
71
  export interface InboxHandlerParameters<TContextData> {
72
- identifier: string | null;
72
+ recipient: string | null;
73
73
  context: RequestContext<TContextData>;
74
- inboxContextFactory(activity: unknown): InboxContext<TContextData>;
74
+ inboxContextFactory(recipient: string | null, activity: unknown): InboxContext<TContextData>;
75
75
  kv: KvStore;
76
76
  kvPrefixes: {
77
77
  activityIdempotence: KvKey;
@@ -85,7 +85,7 @@ export interface InboxHandlerParameters<TContextData> {
85
85
  signatureTimeWindow: dntShim.Temporal.Duration | dntShim.Temporal.DurationLike | false;
86
86
  skipSignatureVerification: boolean;
87
87
  }
88
- export declare function handleInbox<TContextData>(request: Request, { identifier, context, inboxContextFactory, kv, kvPrefixes, queue, actorDispatcher, inboxListeners, inboxErrorHandler, onNotFound, signatureTimeWindow, skipSignatureVerification, }: InboxHandlerParameters<TContextData>): Promise<Response>;
88
+ export declare function handleInbox<TContextData>(request: Request, { recipient, context, inboxContextFactory, kv, kvPrefixes, queue, actorDispatcher, inboxListeners, inboxErrorHandler, onNotFound, signatureTimeWindow, skipSignatureVerification, }: InboxHandlerParameters<TContextData>): Promise<Response>;
89
89
  /**
90
90
  * Options for the {@link respondWithObject} and
91
91
  * {@link respondWithObjectIfAcceptable} functions.
@@ -1 +1 @@
1
- {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../src/federation/handler.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAM9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAGL,IAAI,EAEJ,MAAM,EAGP,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAG5C,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CASvD;AAED,MAAM,WAAW,sBAAsB,CAAC,YAAY;IAClD,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,cAAc,CAAC,YAAY,C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AACH,wBAAsB,6BAA6B,CACjD,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAK1B"}
@@ -239,7 +239,7 @@ export declare class ContextImpl<TContextData> implements Context<TContextData>
239
239
  identifier: string;
240
240
  };
241
241
  constructor({ url, federation, data, documentLoader, invokedFromActorKeyPairsDispatcher, }: ContextOptions<TContextData>);
242
- toInboxContext(activity: unknown): InboxContextImpl<TContextData>;
242
+ toInboxContext(recipient: string | null, activity: unknown): InboxContextImpl<TContextData>;
243
243
  get hostname(): string;
244
244
  get host(): string;
245
245
  get origin(): string;
@@ -285,8 +285,9 @@ export declare class ContextImpl<TContextData> implements Context<TContextData>
285
285
  getFollowers(identifier: string): AsyncIterable<Recipient>;
286
286
  }
287
287
  export declare class InboxContextImpl<TContextData> extends ContextImpl<TContextData> implements InboxContext<TContextData> {
288
+ readonly recipient: string | null;
288
289
  readonly activity: unknown;
289
- constructor(activity: unknown, options: ContextOptions<TContextData>);
290
+ constructor(recipient: string | null, activity: unknown, options: ContextOptions<TContextData>);
290
291
  forwardActivity(forwarder: SenderKeyPair | SenderKeyPair[] | {
291
292
  identifier: string;
292
293
  } | {
@@ -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,cAAc,EAIpB,MAAM,yBAAyB,CAAC;AAMjC,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAEL,KAAK,mBAAmB,EAExB,KAAK,yBAAyB,EAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,QAAQ,EACR,KAAK,UAAU,EAEf,KAAK,OAAO,EACZ,KAAK,IAAI,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