fedipod-server 0.19.0 → 0.21.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/dist/claims.js +3 -2
- package/lib/client/masto/render.mjs +1 -1
- package/lib/core/publisher/index.mjs +50 -11
- package/lib/core/social.mjs +3 -0
- package/lib/core/wire.mjs +44 -5
- package/lib/device/admin/surface.mjs +8 -0
- package/lib/device/cli/commands/setup.mjs +1 -0
- package/lib/device/setup.mjs +1 -0
- package/lib/gateway/front-core.mjs +25 -3
- package/lib/server/embed.mjs +1 -0
- package/package.json +1 -1
- package/run-agent.mjs +4 -0
- package/web/app/agent.mjs +1 -0
- package/web/app/dist/boot.js +1 -0
- package/web/app/dist/boot.js.map +2 -2
- package/web/app/dist/sw.js +91 -14
- 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/front/admin.js
CHANGED
|
@@ -52,7 +52,11 @@ $('roster-form').addEventListener('submit', (ev) => {
|
|
|
52
52
|
cell(a.kind);
|
|
53
53
|
cell(a.fronted ? 'lives here' : 'gateway only');
|
|
54
54
|
const pod = document.createElement('a');
|
|
55
|
-
pod
|
|
55
|
+
// The pod as a person names it: its host, plus its path for a pod on a
|
|
56
|
+
// path of a shared host. The trailing segment is the FediPod root.
|
|
57
|
+
const u = new URL(a.podHome);
|
|
58
|
+
pod.href = a.podHome;
|
|
59
|
+
pod.textContent = u.host + u.pathname.replace(/[^/]+\/$/u, '').replace(/\/$/u, '');
|
|
56
60
|
cell(pod);
|
|
57
61
|
const rm = document.createElement('button');
|
|
58
62
|
rm.type = 'button'; rm.textContent = 'Remove';
|