fedipod-server 0.15.0 → 0.16.0
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 +1 -1
- package/lib/core/publisher/index.mjs +1 -1
- package/lib/device/admin/routes/lifecycle.mjs +1 -1
- package/lib/device/admin/routes/setup.mjs +20 -1
- package/lib/device/cli/commands/setup.mjs +44 -20
- package/lib/device/setup.mjs +99 -25
- package/lib/pod/root.mjs +1 -1
- package/package.json +1 -1
- package/web/admin/setup/index.html +25 -2
- package/web/admin/setup/setup.js +30 -1
- package/web/app/README.md +2 -2
- package/web/app/admin-facade.mjs +1 -1
- package/web/app/agent.mjs +2 -2
- package/web/app/boot.mjs +2 -2
- package/web/app/dist/boot.js +1 -1
- package/web/app/dist/boot.js.map +2 -2
- package/web/app/dist/sw.js +3 -3
- package/web/app/dist/sw.js.map +2 -2
- package/web/app/index.html +1 -1
- package/web/app/signup.mjs +2 -2
- package/web/app/site/admin/setup/index.html +25 -2
- package/web/app/site/admin/setup/setup.js +30 -1
- package/web/app/site/boot.js +1 -1
- package/web/app/site/index.html +1 -1
- package/web/app/site/sw.js +3 -3
package/web/app/dist/sw.js
CHANGED
|
@@ -56507,7 +56507,7 @@ var Publisher = class {
|
|
|
56507
56507
|
}
|
|
56508
56508
|
const pubName = publicHandle(this.config);
|
|
56509
56509
|
const pubHost = this.config.gateway?.frontActor ? new URL(this.config.gateway.frontActor).host : host;
|
|
56510
|
-
this.log(this.config.gateway?.frontActor || webfingerHost(urls.base) ? `profile published: @${pubName}@${pubHost} \u2192 ${urls.actor}` : `profile published \u2192 ${urls.actor} \u2014 NOT discoverable as @${pubName}@${pubHost}: this pod is a
|
|
56510
|
+
this.log(this.config.gateway?.frontActor || webfingerHost(urls.base) ? `profile published: @${pubName}@${pubHost} \u2192 ${urls.actor}` : `profile published \u2192 ${urls.actor} \u2014 NOT discoverable as @${pubName}@${pubHost}: this pod is a suffix-based host, and WebFinger is only answered at a host root`);
|
|
56511
56511
|
return { unreachable, updated };
|
|
56512
56512
|
}
|
|
56513
56513
|
// Fires when the document differs from the one last published — including
|
|
@@ -68273,7 +68273,7 @@ var AdminFacade = class {
|
|
|
68273
68273
|
const aliases = [...cfg.aliases || []];
|
|
68274
68274
|
if (body.add) {
|
|
68275
68275
|
if (!webfingerHost(urls.base) && !cfg.gateway?.frontActor) {
|
|
68276
|
-
return json2(400, { error: "this pod is a
|
|
68276
|
+
return json2(400, { error: "this pod is a suffix-based host, so other servers could never resolve it as a Move target" });
|
|
68277
68277
|
}
|
|
68278
68278
|
const id = await this.resolveActor(body.add);
|
|
68279
68279
|
if (!id) return json2(400, { error: `could not fetch the old account (${body.add}) \u2014 enter its URL or @user@host, and it must answer` });
|
|
@@ -69785,7 +69785,7 @@ var BrowserAgent = class _BrowserAgent {
|
|
|
69785
69785
|
publicKeyPem: keys.rsaPublicPem,
|
|
69786
69786
|
assertionKey: null,
|
|
69787
69787
|
log: this.log,
|
|
69788
|
-
// Who a post names, resolved — the same lookup the
|
|
69788
|
+
// Who a post names, resolved — the same lookup the DeviceAgent
|
|
69789
69789
|
// gives its publisher. Without it no mention from the browser ever
|
|
69790
69790
|
// resolved: a direct message went to nobody, a mention notified no one.
|
|
69791
69791
|
resolveMention: (h) => resolveHandle(this, h)
|