fedipod 1.8.0 → 1.11.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 +3 -0
- package/groups.md +1 -0
- package/lib/client/c2s.mjs +19 -5
- package/lib/client/masto/index.mjs +9 -1
- package/lib/client/masto/render.mjs +6 -4
- package/lib/client/masto/statuses.mjs +7 -4
- package/lib/client/oidc-auth.mjs +10 -3
- package/lib/core/as2.mjs +1 -1
- package/lib/core/deliver.mjs +24 -1
- package/lib/core/intake/activities.mjs +54 -0
- package/lib/core/intake/index.mjs +2 -0
- package/lib/core/intake/notes.mjs +7 -0
- package/lib/core/publisher/collections.mjs +7 -4
- package/lib/core/publisher/index.mjs +83 -36
- package/lib/core/publisher/notes.mjs +76 -11
- package/lib/core/publisher/questions.mjs +10 -7
- package/lib/core/social.mjs +3 -0
- package/lib/core/store.mjs +9 -0
- package/lib/core/wire.mjs +96 -13
- package/lib/device/admin/static.mjs +2 -2
- package/lib/device/admin/surface.mjs +11 -2
- package/lib/device/cli/commands/setup.mjs +1 -0
- package/lib/device/setup.mjs +1 -0
- package/lib/gateway/front-core.mjs +33 -5
- package/lib/gateway/httpsig.mjs +7 -3
- package/lib/server/embed.mjs +1 -0
- package/package.json +1 -1
- package/run-agent.mjs +6 -0
- package/scripts/stage-site.mjs +1 -0
- package/web/app/agent.mjs +3 -0
- package/web/app/dist/boot.js +1 -0
- package/web/app/dist/boot.js.map +2 -2
- package/web/app/dist/sw.js +375 -83
- package/web/app/dist/sw.js.map +3 -3
- package/web/app/signup.mjs +1 -0
- package/web/app/site/_redirects +1 -0
- package/web/app/site/boot.js +1 -0
- package/web/app/site/sw.js +375 -83
- package/web/front/admin.js +5 -1
package/web/app/signup.mjs
CHANGED
|
@@ -234,6 +234,7 @@ export async function signUp(answers, { onStep = () => {}, frontOrigin = null }
|
|
|
234
234
|
|
|
235
235
|
const config = {
|
|
236
236
|
remotePod: pod, root: AP_ROOT, handle, name: handle, issuer: credential.issuerOrigin,
|
|
237
|
+
createdAt: new Date().toISOString(),
|
|
237
238
|
...(gateway ? { gateway } : {}),
|
|
238
239
|
};
|
|
239
240
|
// Write the config to the pod (owner-only, beside the key) so a returning
|
package/web/app/site/_redirects
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
/api/agent /.netlify/functions/front 200
|
|
8
8
|
/u/* /.netlify/functions/front 200
|
|
9
9
|
/.well-known/* /.netlify/functions/front 200
|
|
10
|
+
/@* /.netlify/functions/front 200
|
|
10
11
|
/install /.netlify/functions/front 200
|
|
11
12
|
/run /.netlify/functions/front 200
|
|
12
13
|
/roster /.netlify/functions/front 200
|
package/web/app/site/boot.js
CHANGED
|
@@ -33444,6 +33444,7 @@ async function signUp(answers, { onStep = () => {
|
|
|
33444
33444
|
handle,
|
|
33445
33445
|
name: handle,
|
|
33446
33446
|
issuer: credential.issuerOrigin,
|
|
33447
|
+
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
33447
33448
|
...gateway ? { gateway } : {}
|
|
33448
33449
|
};
|
|
33449
33450
|
const cfgRemote = new BrowserRemotePod(session, { webId: credential.webId, role: "signup", log: () => {
|