| … | … | @@ -1525,6 +1525,22 @@ export function reachSettings (reach) { |
| 1525 | 1525 | : '<p class="warn">No Bluesky identity is designated, so nothing is published there even ' + |
| 1526 | 1526 | 'with the box ticked. Paste a DID this node holds, or leave it empty to keep it off.</p>') |
| 1527 | 1527 | |
| 1528 | // ⛔ A NAME YOU HOLD, RECORDED — not a claim performed here. Asking a bridge for a name means |
| 1529 | // reaching for a projection, which `test/boundary.test.js` forbids this package outright ("the |
| 1530 | // surface holds a socket and nothing else"). Recording the answer is just data, and the daemon |
| 1531 | // already stores it beside `networks`. |
| 1532 | // |
| 1533 | // ⚠ It is deliberately NOT beside the DID field. §5.1's `credential` is the designated ATPROTO one |
| 1534 | // and the two networks are not symmetric: on bsky you hold the key, on the fediverse a bridge |
| 1535 | // holds it and you hold a grant. One input each, labelled for what it actually is. |
| 1536 | const fedi = '<p><label>Fediverse name<br>' + |
| 1537 | '<input type="text" name="fediverse" value="' + esc(reach.fediverse || '') + '" ' + |
| 1538 | 'placeholder="name@bridge" autocomplete="off"></label></p>' + |
| 1539 | (reach.fediverse |
| 1540 | ? '<p class="who">Publishing to the fediverse as <code>' + esc(reach.fediverse) + '</code></p>' |
| 1541 | : '<p class="who">A bridge serves your feed under this name. It holds the signing key; you ' + |
| 1542 | 'hold the name — which is why nothing secret goes here.</p>') |
| 1543 | |
| 1528 | 1544 | return '<h2>Publishing</h2>' + |
| 1529 | 1545 | (on.size === 0 |
| 1530 | 1546 | ? '<p class="who">Nothing you write leaves favela.</p>' |
| … | … | @@ -1532,7 +1548,7 @@ export function reachSettings (reach) { |
| 1532 | 1548 | '<form method="post" action="/reach">' + |
| 1533 | 1549 | box('bsky', 'Bluesky', 'Plain text only, up to 300 characters. Longer posts are withheld, not shortened.') + |
| 1534 | 1550 | box('fediverse', 'Mastodon and the fediverse', 'Keeps headings, lists and links. No length limit.') + |
| 1535 | | cred + |
| 1551 | cred + fedi + |
| 1536 | 1552 | '<p class="who">⛔ A post sent to either network cannot be recalled from it. Turning a network ' + |
| 1537 | 1553 | 'off stops future posts; it does not retract the ones already sent.</p>' + |
| 1538 | 1554 | '<button>save</button></form>' |