IWSN: "Połącz z IWSN" — a person of Intecion connects the site (contract 1.8.0)
- the state block on the e-mail tab (method IWSN): the button while the service offers the confirmation page
(connectAvailable) or before the site has enrolled; a click asks the site's server for the link
(POST /api/iapl/mail-relay/connect-link, admin only), which asks the service (POST /v1/connect, enrolling first),
checks that it begins with the service's own {base}/connect?, and hands it over without storing or logging it;
the browser opens it in a new tab with noopener noreferrer; the block asks /v1/status every 5 s for 10 min
- states: waiting for confirmation (button), waiting for approval (no page), connected, stopped; 503
connect-unavailable and 429 said in the admin's language; a load of the panel asks the service while the site waits
- dashboard alert for a waiting site (live); doctor mail-relay-connect (error) — replaces the pending warning and the
"not enrolled yet" note of mail-relay-state
- opt-out mail.relay.connectButton: false (no button, no route); building blocks requestRelayConnectLink,
isRelayConnectUrl, RELAY_CONNECT_LINK_PATH; the fake service implements /v1/connect, connectAvailable and
confirmConnect
- contract copy 1.8.0 (IWDL working tree, checksums match); docs, AGENT.md, setup / upgrade / debug skills, changelog
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
347e3bafa1
commit
2c0262367d
@@ -18,8 +18,18 @@ export const integrationsTexts = defineTexts({
|
||||
mailMethodSmtpIncompleteForm: 'Fill in server, user name and password below. If you save without them, e-mails will not be sent.',
|
||||
mailRelayCheck: 'Check now',
|
||||
mailRelayConnect: 'Connect again',
|
||||
mailRelayConnectBadLink: `${IWSN} answered a confirmation link that is not its own, so it was not opened. Tell your administrator.`,
|
||||
mailRelayConnectButton: `Connect to ${IWSN}`,
|
||||
mailRelayConnectDone: 'The site is confirmed. E-mails are sent from now on.',
|
||||
mailRelayConnected: `The site is connected to ${IWSN}.`,
|
||||
mailRelayConnectFailed: 'The site could not be connected. {{reason}}',
|
||||
mailRelayConnectNotYet: `Not confirmed yet. Press "Connect to ${IWSN}" again for a new link.`,
|
||||
mailRelayConnectOff: 'Connecting from the panel is switched off for this site. Ask your administrator.',
|
||||
mailRelayConnectOpened: 'The confirmation page opened in a new tab. This block updates by itself once the site is confirmed.',
|
||||
mailRelayConnectOpenLink: 'Open the confirmation page',
|
||||
mailRelayConnectRateLimited: 'Too many confirmation links were asked for. Try again in {{minutes}} min.',
|
||||
mailRelayConnectUnavailable: 'The confirmation page is not available now. Ask your administrator to have the site confirmed.',
|
||||
mailRelayConnectWaiting: 'Waiting for the confirmation…',
|
||||
mailRelayDisconnect: 'Disconnect',
|
||||
mailRelayDisconnectConfirm: `Disconnect the site from ${IWSN}? E-mails will not be sent until you connect again or fill in an SMTP server.`,
|
||||
mailRelayDisconnected: `The site is disconnected from ${IWSN}.`,
|
||||
@@ -45,6 +55,7 @@ export const integrationsTexts = defineTexts({
|
||||
mailRelayRepliesTo: 'Replies go to {{address}}.',
|
||||
mailRelaySmtpIncomplete: `The SMTP settings below are incomplete, so e-mails go through ${IWSN}. Fill in server, user name and password, or empty them.`,
|
||||
mailRelayStateActive: `Connected to ${IWSN}.`,
|
||||
mailRelayStateAwaitingConnect: `Waiting for confirmation. Press "Connect to ${IWSN}" and confirm the site on the page that opens.`,
|
||||
mailRelayStateDisconnected: 'Disconnected. E-mails are not sent until you connect again or fill in an SMTP server.',
|
||||
mailRelayStateNotConnected: 'Not connected yet. The site connects by itself when it sends its first e-mail.',
|
||||
mailRelayStatePending: 'The site is waiting for approval, so e-mails are not sent yet. Ask your administrator.',
|
||||
@@ -95,7 +106,7 @@ export const integrationsTexts = defineTexts({
|
||||
statusEmailRelayDisconnected: `The site is disconnected from ${IWSN}, so e-mails are not sent. Connect again, or fill in an SMTP server.`,
|
||||
statusEmailRelayError: `${IWSN} refused the e-mail. Tell your administrator.`,
|
||||
statusEmailRelayNotConfirmed: `${IWSN} did not confirm the last e-mail. It may have been sent.`,
|
||||
statusEmailRelayPending: 'The site is waiting for approval, so e-mails are not sent yet. Ask your administrator.',
|
||||
statusEmailRelayPending: 'The site is waiting for confirmation, so e-mails are not sent yet. Open the e-mail settings to connect it.',
|
||||
statusEmailRelayQuota: `The site reached a sending limit of ${IWSN}. The e-mail was not sent.`,
|
||||
statusEmailRelayRecipientSuppressed: `${IWSN} refuses one of the recipients, because earlier e-mails to that address came back. Nothing was sent.`,
|
||||
statusEmailRelayRefused: `${IWSN} did not connect this site. See the state above, or fill in an SMTP server.`,
|
||||
@@ -146,8 +157,18 @@ export const integrationsTexts = defineTexts({
|
||||
mailMethodSmtpIncompleteForm: 'Uzupełnij poniżej serwer, nazwę użytkownika i hasło. Jeśli zapiszesz bez nich, e-maile nie będą wysyłane.',
|
||||
mailRelayCheck: 'Sprawdź teraz',
|
||||
mailRelayConnect: 'Połącz ponownie',
|
||||
mailRelayConnectBadLink: `${IWSN} podał link potwierdzenia spoza swojego adresu, więc go nie otwarto. Powiadom administratora.`,
|
||||
mailRelayConnectButton: `Połącz z ${IWSN}`,
|
||||
mailRelayConnectDone: 'Witryna jest potwierdzona. Od teraz e-maile są wysyłane.',
|
||||
mailRelayConnected: `Witryna jest połączona z ${IWSN}.`,
|
||||
mailRelayConnectFailed: 'Nie udało się połączyć witryny. {{reason}}',
|
||||
mailRelayConnectNotYet: `Jeszcze nie potwierdzono. Naciśnij ponownie „Połącz z ${IWSN}”, aby dostać nowy link.`,
|
||||
mailRelayConnectOff: 'Łączenie z panelu jest wyłączone na tej witrynie. Zapytaj administratora.',
|
||||
mailRelayConnectOpened: 'Strona potwierdzenia otworzyła się w nowej karcie. Ten blok odświeży się sam po potwierdzeniu witryny.',
|
||||
mailRelayConnectOpenLink: 'Otwórz stronę potwierdzenia',
|
||||
mailRelayConnectRateLimited: 'Poproszono o zbyt wiele linków potwierdzenia. Spróbuj ponownie za {{minutes}} min.',
|
||||
mailRelayConnectUnavailable: 'Strona potwierdzenia jest teraz niedostępna. Poproś administratora o potwierdzenie witryny.',
|
||||
mailRelayConnectWaiting: 'Czekam na potwierdzenie…',
|
||||
mailRelayDisconnect: 'Rozłącz',
|
||||
mailRelayDisconnectConfirm: `Rozłączyć witrynę z ${IWSN}? E-maile nie będą wysyłane, dopóki nie połączysz jej ponownie albo nie uzupełnisz serwera SMTP.`,
|
||||
mailRelayDisconnected: `Witryna jest rozłączona z ${IWSN}.`,
|
||||
@@ -173,6 +194,7 @@ export const integrationsTexts = defineTexts({
|
||||
mailRelayRepliesTo: 'Odpowiedzi trafiają na adres {{address}}.',
|
||||
mailRelaySmtpIncomplete: `Ustawienia SMTP poniżej są niepełne, więc e-maile idą przez ${IWSN}. Uzupełnij serwer, nazwę użytkownika i hasło albo je wyczyść.`,
|
||||
mailRelayStateActive: `Połączono z ${IWSN}.`,
|
||||
mailRelayStateAwaitingConnect: `Oczekuje na potwierdzenie. Naciśnij „Połącz z ${IWSN}” i potwierdź witrynę na stronie, która się otworzy.`,
|
||||
mailRelayStateDisconnected: 'Rozłączono. E-maile nie są wysyłane, dopóki nie połączysz witryny ponownie albo nie uzupełnisz serwera SMTP.',
|
||||
mailRelayStateNotConnected: 'Jeszcze nie połączono. Witryna połączy się sama, gdy wyśle pierwszy e-mail.',
|
||||
mailRelayStatePending: 'Witryna czeka na zatwierdzenie, więc e-maile nie są jeszcze wysyłane. Zapytaj administratora.',
|
||||
@@ -220,7 +242,7 @@ export const integrationsTexts = defineTexts({
|
||||
statusEmailRelayDisconnected: `Witryna jest rozłączona z ${IWSN}, więc e-maile nie są wysyłane. Połącz ją ponownie albo uzupełnij serwer SMTP.`,
|
||||
statusEmailRelayError: `${IWSN} odrzucił e-mail. Powiadom administratora.`,
|
||||
statusEmailRelayNotConfirmed: `${IWSN} nie potwierdził ostatniego e-maila. Mógł zostać wysłany.`,
|
||||
statusEmailRelayPending: 'Witryna czeka na zatwierdzenie, więc e-maile nie są jeszcze wysyłane. Zapytaj administratora.',
|
||||
statusEmailRelayPending: 'Witryna czeka na potwierdzenie, więc e-maile nie są jeszcze wysyłane. Otwórz ustawienia e-mail, aby ją połączyć.',
|
||||
statusEmailRelayQuota: `Witryna osiągnęła limit wysyłki w ${IWSN}. E-mail nie został wysłany.`,
|
||||
statusEmailRelayRecipientSuppressed: `${IWSN} odrzuca jednego z odbiorców, bo wcześniejsze e-maile na ten adres wróciły. Nic nie zostało wysłane.`,
|
||||
statusEmailRelayRefused: `${IWSN} nie połączył tej witryny. Zobacz stan powyżej albo uzupełnij serwer SMTP.`,
|
||||
|
||||
Reference in New Issue
Block a user