Newsletter: optional eigener Mailserver und Absender nur für Newsletter
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvuGvHpbAQ4syfuLuRvutL
This commit is contained in:
parent
7ee30b12ee
commit
b0bbe44d42
5 changed files with 99 additions and 14 deletions
|
|
@ -4,7 +4,7 @@ import { requireAdmin } from "@/lib/auth";
|
||||||
import { dateFmt } from "@/lib/status";
|
import { dateFmt } from "@/lib/status";
|
||||||
import { formatPrice } from "@/lib/money";
|
import { formatPrice } from "@/lib/money";
|
||||||
import { toBerlinLocal } from "@/lib/berlin-time";
|
import { toBerlinLocal } from "@/lib/berlin-time";
|
||||||
import { getMailConfig, isMailReady } from "@/lib/mail/config";
|
import { getNewsletterMailConfig, isMailReady } from "@/lib/mail/config";
|
||||||
import { CAMPAIGN_STATUS, SEGMENTS, cleanBlocks, type CampaignStatus, type Segment } from "@/lib/campaign-blocks";
|
import { CAMPAIGN_STATUS, SEGMENTS, cleanBlocks, type CampaignStatus, type Segment } from "@/lib/campaign-blocks";
|
||||||
import { getNewsletterSettings, loadProducts, renderCampaign, sampleNewsletterVars, segmentCounts } from "@/lib/campaigns";
|
import { getNewsletterSettings, loadProducts, renderCampaign, sampleNewsletterVars, segmentCounts } from "@/lib/campaigns";
|
||||||
import { ConfirmButton } from "@/components/admin/AdminForm";
|
import { ConfirmButton } from "@/components/admin/AdminForm";
|
||||||
|
|
@ -49,7 +49,7 @@ export default async function CampaignPage({ params }: { params: Promise<{ id: s
|
||||||
preview={{ subject: preview.subject, html: preview.html }}
|
preview={{ subject: preview.subject, html: preview.html }}
|
||||||
products={all.map((p) => ({ id: p.id, name: p.name, detail: [p.category?.name, formatPrice(p.price)].filter(Boolean).join(" · "), image: p.images[0] ?? "" }))}
|
products={all.map((p) => ({ id: p.id, name: p.name, detail: [p.category?.name, formatPrice(p.price)].filter(Boolean).join(" · "), image: p.images[0] ?? "" }))}
|
||||||
counts={await segmentCounts()}
|
counts={await segmentCounts()}
|
||||||
mailReady={isMailReady(await getMailConfig())}
|
mailReady={isMailReady(await getNewsletterMailConfig())}
|
||||||
userEmail={user.email}
|
userEmail={user.email}
|
||||||
scheduledFor={status === "scheduled" ? toBerlinLocal(c.scheduledAt) : ""}
|
scheduledFor={status === "scheduled" ? toBerlinLocal(c.scheduledAt) : ""}
|
||||||
/>
|
/>
|
||||||
|
|
@ -62,7 +62,7 @@ export default async function CampaignPage({ params }: { params: Promise<{ id: s
|
||||||
db.newsletterRecipient.groupBy({ by: ["status"], where: { campaignId: c.id }, _count: true }),
|
db.newsletterRecipient.groupBy({ by: ["status"], where: { campaignId: c.id }, _count: true }),
|
||||||
db.newsletterRecipient.findMany({ where: { campaignId: c.id, status: "failed" }, take: 20, select: { email: true, error: true } }),
|
db.newsletterRecipient.findMany({ where: { campaignId: c.id, status: "failed" }, take: 20, select: { email: true, error: true } }),
|
||||||
getNewsletterSettings(),
|
getNewsletterSettings(),
|
||||||
getMailConfig().then(isMailReady),
|
getNewsletterMailConfig().then(isMailReady),
|
||||||
]);
|
]);
|
||||||
const n = (s: string) => counts.find((x) => x.status === s)?._count ?? 0;
|
const n = (s: string) => counts.find((x) => x.status === s)?._count ?? 0;
|
||||||
const total = counts.reduce((a, x) => a + x._count, 0);
|
const total = counts.reduce((a, x) => a + x._count, 0);
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,8 @@ import { db } from "@/lib/db";
|
||||||
import { fail, ok, type ActionResult } from "@/lib/action-result";
|
import { fail, ok, type ActionResult } from "@/lib/action-result";
|
||||||
import { unsubscribe } from "@/lib/newsletter";
|
import { unsubscribe } from "@/lib/newsletter";
|
||||||
import { parseBerlinLocal } from "@/lib/berlin-time";
|
import { parseBerlinLocal } from "@/lib/berlin-time";
|
||||||
import { getMailConfig, isMailReady } from "@/lib/mail/config";
|
import { getNewsletterMailConfig, getOwnNewsletterMail, isMailReady, saveOwnNewsletterMail, type MailConfig } from "@/lib/mail/config";
|
||||||
|
import { verifySmtp } from "@/lib/mail/smtp";
|
||||||
import { sendSmtp } from "@/lib/mail/smtp";
|
import { sendSmtp } from "@/lib/mail/smtp";
|
||||||
import { sendLater } from "@/lib/mail/send";
|
import { sendLater } from "@/lib/mail/send";
|
||||||
import { appUrl } from "@/lib/social/config";
|
import { appUrl } from "@/lib/social/config";
|
||||||
|
|
@ -71,8 +72,8 @@ export async function testCampaign(input: CampaignInput, to: string): Promise<Ac
|
||||||
to = to.trim();
|
to = to.trim();
|
||||||
if (!/^[^\s@<>,;]+@[^\s@<>,;]+\.[^\s@<>,;]+$/.test(to)) return fail("Bitte gib eine gültige E-Mail-Adresse ein.");
|
if (!/^[^\s@<>,;]+@[^\s@<>,;]+\.[^\s@<>,;]+$/.test(to)) return fail("Bitte gib eine gültige E-Mail-Adresse ein.");
|
||||||
if (!d.subject) return fail("Bitte gib einen Betreff ein.");
|
if (!d.subject) return fail("Bitte gib einen Betreff ein.");
|
||||||
const config = await getMailConfig();
|
const config = await getNewsletterMailConfig();
|
||||||
if (!isMailReady(config)) return fail("Richte zuerst den Mail-Versand unter Verbindungen ein.");
|
if (!isMailReady(config)) return fail(config.own ? "Der eigene Newsletter-Mailserver ist unvollständig." : "Richte zuerst den Mail-Versand unter Verbindungen ein.");
|
||||||
const mail = await renderCampaign(d, { vars: await sampleNewsletterVars({ firstName: user.firstName || "Marie", lastName: user.lastName || "Keller" }, to), products: await loadProducts(d.blocks), unsubscribeUrl: `${appUrl()}/newsletter/abmelden` });
|
const mail = await renderCampaign(d, { vars: await sampleNewsletterVars({ firstName: user.firstName || "Marie", lastName: user.lastName || "Keller" }, to), products: await loadProducts(d.blocks), unsubscribeUrl: `${appUrl()}/newsletter/abmelden` });
|
||||||
try {
|
try {
|
||||||
await sendSmtp(config, { from: { name: config.fromName, email: config.fromEmail }, to, replyTo: config.replyTo || undefined, ...mail, subject: `[Test] ${mail.subject}` });
|
await sendSmtp(config, { from: { name: config.fromName, email: config.fromEmail }, to, replyTo: config.replyTo || undefined, ...mail, subject: `[Test] ${mail.subject}` });
|
||||||
|
|
@ -90,7 +91,7 @@ export async function scheduleCampaign(input: CampaignInput, when: string): Prom
|
||||||
const d = clean(input);
|
const d = clean(input);
|
||||||
if (!d.subject) return fail("Bitte gib einen Betreff ein.");
|
if (!d.subject) return fail("Bitte gib einen Betreff ein.");
|
||||||
if (!d.blocks.some((b) => b.type !== "divider")) return fail("Der Newsletter hat noch keinen Inhalt.");
|
if (!d.blocks.some((b) => b.type !== "divider")) return fail("Der Newsletter hat noch keinen Inhalt.");
|
||||||
if (!isMailReady(await getMailConfig())) return fail("Richte zuerst den Mail-Versand unter Verbindungen ein.");
|
if (!isMailReady(await getNewsletterMailConfig())) return fail("Richte zuerst den Mail-Versand ein.");
|
||||||
const count = (await segmentEmails(d.segment)).length;
|
const count = (await segmentEmails(d.segment)).length;
|
||||||
if (!count) return fail("In dieser Zielgruppe gibt es noch keine bestätigten Abonnenten.");
|
if (!count) return fail("In dieser Zielgruppe gibt es noch keine bestätigten Abonnenten.");
|
||||||
let at = new Date();
|
let at = new Date();
|
||||||
|
|
@ -162,3 +163,48 @@ export async function saveSettings(_prev: ActionResult, fd: FormData): Promise<A
|
||||||
revalidatePath("/admin/newsletter");
|
revalidatePath("/admin/newsletter");
|
||||||
return ok();
|
return ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const field = (fd: FormData, k: string) => String(fd.get(k) ?? "").trim();
|
||||||
|
|
||||||
|
/** Eigener Mailserver nur für Newsletter. Beim Einschalten wird die Anmeldung geprüft. */
|
||||||
|
export async function saveNewsletterMail(_prev: ActionResult, fd: FormData): Promise<ActionResult> {
|
||||||
|
const user = await assertPermission("newsletter.send");
|
||||||
|
const old = await getOwnNewsletterMail();
|
||||||
|
const security = field(fd, "security");
|
||||||
|
const next: MailConfig = {
|
||||||
|
host: field(fd, "host").toLowerCase(),
|
||||||
|
port: Number(field(fd, "port")) || 587,
|
||||||
|
security: security === "tls" || security === "none" ? security : "starttls",
|
||||||
|
user: field(fd, "user"),
|
||||||
|
// Leer gelassen = gespeichertes Passwort behalten
|
||||||
|
password: String(fd.get("password") ?? "") || old.password,
|
||||||
|
fromName: field(fd, "fromName"),
|
||||||
|
fromEmail: field(fd, "fromEmail"),
|
||||||
|
replyTo: field(fd, "replyTo"),
|
||||||
|
adminEmail: "",
|
||||||
|
enabled: fd.get("enabled") === "on",
|
||||||
|
};
|
||||||
|
if (!next.enabled) {
|
||||||
|
await saveOwnNewsletterMail(next);
|
||||||
|
await audit(user, "Newsletter-Mailserver ausgeschaltet");
|
||||||
|
revalidatePath("/admin/newsletter");
|
||||||
|
return ok("Gespeichert. Newsletter gehen über deinen normalen Mailserver.");
|
||||||
|
}
|
||||||
|
const errors: Record<string, string> = {};
|
||||||
|
if (!next.host) errors.host = "Bitte eintragen";
|
||||||
|
if (!/^[^\s@<>]+@[^\s@<>]+\.[^\s@<>]+$/.test(next.fromEmail)) errors.fromEmail = "Bitte eine gültige Adresse";
|
||||||
|
if (next.replyTo && !/^[^\s@<>]+@[^\s@<>]+\.[^\s@<>]+$/.test(next.replyTo)) errors.replyTo = "Bitte eine gültige Adresse";
|
||||||
|
if (Object.keys(errors).length) return fail("Bitte prüfe die markierten Felder.", errors);
|
||||||
|
try {
|
||||||
|
await verifySmtp(next);
|
||||||
|
} catch (e) {
|
||||||
|
// Daten behalten, aber ausgeschaltet lassen, damit Newsletter weiter über den normalen Server gehen
|
||||||
|
await saveOwnNewsletterMail({ ...next, enabled: false });
|
||||||
|
revalidatePath("/admin/newsletter");
|
||||||
|
return fail(`Nicht eingeschaltet: ${e instanceof Error ? e.message : e}`);
|
||||||
|
}
|
||||||
|
await saveOwnNewsletterMail(next);
|
||||||
|
await audit(user, "Newsletter-Mailserver eingerichtet", next.host);
|
||||||
|
revalidatePath("/admin/newsletter");
|
||||||
|
return ok(`Verbunden mit ${next.host}. Newsletter gehen ab jetzt von ${next.fromEmail} raus.`);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,8 @@ import Link from "next/link";
|
||||||
import { db } from "@/lib/db";
|
import { db } from "@/lib/db";
|
||||||
import { can, requireAdmin } from "@/lib/auth";
|
import { can, requireAdmin } from "@/lib/auth";
|
||||||
import { dateFmt } from "@/lib/status";
|
import { dateFmt } from "@/lib/status";
|
||||||
import { getMailConfig, isMailReady } from "@/lib/mail/config";
|
import { MAIL_PRESETS, getMailConfig, getNewsletterMailConfig, getOwnNewsletterMail, isMailReady } from "@/lib/mail/config";
|
||||||
|
import { MailServerFields } from "@/components/admin/MailServerFields";
|
||||||
import { CAMPAIGN_STATUS, SEGMENTS, type CampaignStatus, type Segment } from "@/lib/campaign-blocks";
|
import { CAMPAIGN_STATUS, SEGMENTS, type CampaignStatus, type Segment } from "@/lib/campaign-blocks";
|
||||||
import { getNewsletterSettings } from "@/lib/campaigns";
|
import { getNewsletterSettings } from "@/lib/campaigns";
|
||||||
import { commonVars } from "@/lib/mail/send";
|
import { commonVars } from "@/lib/mail/send";
|
||||||
|
|
@ -10,7 +11,7 @@ import { renderSubject } from "@/lib/mail/render";
|
||||||
import { Field } from "@/components/Field";
|
import { Field } from "@/components/Field";
|
||||||
import { AdminForm, ConfirmButton } from "@/components/admin/AdminForm";
|
import { AdminForm, ConfirmButton } from "@/components/admin/AdminForm";
|
||||||
import { Card, Empty, PageHead, Pill, Switch } from "@/components/admin/ui";
|
import { Card, Empty, PageHead, Pill, Switch } from "@/components/admin/ui";
|
||||||
import { createCampaign, removeSubscriber, saveSettings } from "./actions";
|
import { createCampaign, removeSubscriber, saveNewsletterMail, saveSettings } from "./actions";
|
||||||
|
|
||||||
type Tab = "ausgaben" | "abonnenten" | "einstellungen";
|
type Tab = "ausgaben" | "abonnenten" | "einstellungen";
|
||||||
|
|
||||||
|
|
@ -43,7 +44,7 @@ export default async function NewsletterPage({ searchParams }: { searchParams: P
|
||||||
async function Campaigns() {
|
async function Campaigns() {
|
||||||
const [campaigns, mailReady] = await Promise.all([
|
const [campaigns, mailReady] = await Promise.all([
|
||||||
db.newsletterCampaign.findMany({ orderBy: { createdAt: "desc" }, take: 100, include: { _count: { select: { recipients: true } } } }),
|
db.newsletterCampaign.findMany({ orderBy: { createdAt: "desc" }, take: 100, include: { _count: { select: { recipients: true } } } }),
|
||||||
getMailConfig().then(isMailReady),
|
getNewsletterMailConfig().then(isMailReady),
|
||||||
]);
|
]);
|
||||||
const ids = campaigns.filter((c) => c.startedAt).map((c) => c.id);
|
const ids = campaigns.filter((c) => c.startedAt).map((c) => c.id);
|
||||||
const stats = ids.length
|
const stats = ids.length
|
||||||
|
|
@ -134,15 +135,32 @@ async function Subscribers({ q, canRemove }: { q: string; canRemove: boolean })
|
||||||
}
|
}
|
||||||
|
|
||||||
async function Settings() {
|
async function Settings() {
|
||||||
const s = await getNewsletterSettings();
|
const [s, own, main] = await Promise.all([getNewsletterSettings(), getOwnNewsletterMail(), getMailConfig()]);
|
||||||
return (
|
return (
|
||||||
<div className="ad-wrap--narrow" style={{ margin: 0 }}>
|
<div className="ad-wrap--narrow" style={{ margin: 0, display: "grid", gap: "var(--space-5)" }}>
|
||||||
<Card title="Versand">
|
<Card title="Versand">
|
||||||
<AdminForm action={saveSettings}>
|
<AdminForm action={saveSettings}>
|
||||||
<Field label="Mails pro Minute" name="perMinute" type="number" min={1} max={500} defaultValue={String(s.perMinute)} hint={`Das sind etwa ${s.perMinute * 60} pro Stunde. Viele Mail-Anbieter begrenzen, wie viele Mails ein Postfach pro Stunde oder Tag senden darf. Wird die Grenze überschritten, lehnt der Server weitere Mails ab oder sperrt das Postfach vorübergehend. Frag im Zweifel bei deinem Anbieter nach und bleib darunter.`} />
|
<Field label="Mails pro Minute" name="perMinute" type="number" min={1} max={500} defaultValue={String(s.perMinute)} hint={`Das sind etwa ${s.perMinute * 60} pro Stunde. Viele Mail-Anbieter begrenzen, wie viele Mails ein Postfach pro Stunde oder Tag senden darf. Wird die Grenze überschritten, lehnt der Server weitere Mails ab oder sperrt das Postfach vorübergehend. Frag im Zweifel bei deinem Anbieter nach und bleib darunter.`} />
|
||||||
<Switch name="tracking" label="Öffnungen und Klicks messen" hint="Zählt per unsichtbarem Bild, wer den Newsletter öffnet, und welche Links geklickt werden. Erwähne das in deiner Datenschutzerklärung und im Anmeldetext." defaultChecked={s.tracking} />
|
<Switch name="tracking" label="Öffnungen und Klicks messen" hint="Zählt per unsichtbarem Bild, wer den Newsletter öffnet, und welche Links geklickt werden. Erwähne das in deiner Datenschutzerklärung und im Anmeldetext." defaultChecked={s.tracking} />
|
||||||
</AdminForm>
|
</AdminForm>
|
||||||
</Card>
|
</Card>
|
||||||
|
<Card title="Eigener Mailserver für Newsletter" lead={`Optional. Ohne eigenen Server gehen Newsletter über deinen normalen Mailserver${main.fromEmail ? ` von ${main.fromEmail}` : ""}. Ein eigener Server oder Absender (z. B. news@… oder ein Versanddienst wie Brevo) schont dein normales Postfach und dessen Versandlimit.`}>
|
||||||
|
<AdminForm action={saveNewsletterMail}>
|
||||||
|
<Switch name="enabled" label="Eigenen Mailserver für Newsletter verwenden" hint="Beim Speichern wird die Anmeldung geprüft. Klappt sie nicht, bleibt der normale Mailserver aktiv." defaultChecked={own.enabled} />
|
||||||
|
<div style={{ marginTop: "var(--space-4)" }}>
|
||||||
|
<MailServerFields presets={MAIL_PRESETS} host={own.host} port={own.port} security={own.security} />
|
||||||
|
</div>
|
||||||
|
<div className="sm-form-row" style={{ marginTop: "var(--space-4)" }}>
|
||||||
|
<Field label="Benutzername" name="user" defaultValue={own.user} autoComplete="off" />
|
||||||
|
<Field label="Passwort" name="password" type="password" autoComplete="new-password" placeholder={own.password ? "Gespeichert, leer lassen zum Behalten" : ""} />
|
||||||
|
</div>
|
||||||
|
<div className="sm-form-row">
|
||||||
|
<Field label="Absendername" name="fromName" defaultValue={own.fromName || main.fromName} />
|
||||||
|
<Field label="Absenderadresse" name="fromEmail" type="email" defaultValue={own.fromEmail} placeholder="news@deine-domain.de" />
|
||||||
|
</div>
|
||||||
|
<Field label="Antworten an" optional name="replyTo" type="email" defaultValue={own.replyTo} hint="Leer = Antworten gehen an die Absenderadresse." />
|
||||||
|
</AdminForm>
|
||||||
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import { randomBytes } from "node:crypto";
|
||||||
import type { NewsletterCampaign } from "@prisma/client";
|
import type { NewsletterCampaign } from "@prisma/client";
|
||||||
import { db } from "./db";
|
import { db } from "./db";
|
||||||
import { appUrl } from "./social/config";
|
import { appUrl } from "./social/config";
|
||||||
import { getMailConfig, isMailReady } from "./mail/config";
|
import { getNewsletterMailConfig, isMailReady } from "./mail/config";
|
||||||
import { openSmtpSession } from "./mail/smtp";
|
import { openSmtpSession } from "./mail/smtp";
|
||||||
import { commonVars } from "./mail/send";
|
import { commonVars } from "./mail/send";
|
||||||
import { cleanBlocks, type Segment } from "./campaign-blocks";
|
import { cleanBlocks, type Segment } from "./campaign-blocks";
|
||||||
|
|
@ -29,7 +29,7 @@ async function startCampaign(c: NewsletterCampaign) {
|
||||||
async function sendBatch() {
|
async function sendBatch() {
|
||||||
const c = await db.newsletterCampaign.findFirst({ where: { status: "sending" }, orderBy: { startedAt: "asc" } });
|
const c = await db.newsletterCampaign.findFirst({ where: { status: "sending" }, orderBy: { startedAt: "asc" } });
|
||||||
if (!c) return;
|
if (!c) return;
|
||||||
const config = await getMailConfig();
|
const config = await getNewsletterMailConfig();
|
||||||
// Ohne Mailserver bleibt die Ausgabe stehen und läuft weiter, sobald er eingerichtet ist
|
// Ohne Mailserver bleibt die Ausgabe stehen und läuft weiter, sobald er eingerichtet ist
|
||||||
if (!isMailReady(config)) return;
|
if (!isMailReady(config)) return;
|
||||||
const settings = await getNewsletterSettings();
|
const settings = await getNewsletterSettings();
|
||||||
|
|
|
||||||
|
|
@ -36,3 +36,24 @@ export const MAIL_PRESETS: { key: string; name: string; host: string; port: numb
|
||||||
{ key: "brevo", name: "Brevo", host: "smtp-relay.brevo.com", port: 587, security: "starttls", hint: "Login und SMTP-Schlüssel findest du in Brevo unter SMTP & API. Die Absenderadresse muss in Brevo bestätigt sein.", help: "https://app.brevo.com/settings/keys/smtp" },
|
{ key: "brevo", name: "Brevo", host: "smtp-relay.brevo.com", port: 587, security: "starttls", hint: "Login und SMTP-Schlüssel findest du in Brevo unter SMTP & API. Die Absenderadresse muss in Brevo bestätigt sein.", help: "https://app.brevo.com/settings/keys/smtp" },
|
||||||
{ key: "other", name: "Anderer Anbieter", host: "", port: 587, security: "starttls", hint: "Die Angaben stehen in der Hilfe deines Mail-Anbieters unter „SMTP“ oder „Postausgangsserver“." },
|
{ key: "other", name: "Anderer Anbieter", host: "", port: 587, security: "starttls", hint: "Die Angaben stehen in der Hilfe deines Mail-Anbieters unter „SMTP“ oder „Postausgangsserver“." },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// ---------- Eigener Mailserver für Newsletter (optional) ----------
|
||||||
|
|
||||||
|
const NEWSLETTER_KEY = "newsletter_mail";
|
||||||
|
|
||||||
|
/** Gespeicherte Daten des eigenen Newsletter-Servers, auch wenn er ausgeschaltet ist. */
|
||||||
|
export async function getOwnNewsletterMail(): Promise<MailConfig> {
|
||||||
|
const row = await db.setting.findUnique({ where: { key: NEWSLETTER_KEY } });
|
||||||
|
return { ...DEFAULTS, ...((row?.value ?? {}) as Partial<MailConfig>) };
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function saveOwnNewsletterMail(value: MailConfig) {
|
||||||
|
await db.setting.upsert({ where: { key: NEWSLETTER_KEY }, create: { key: NEWSLETTER_KEY, value }, update: { value } });
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Mailserver für den Newsletter: der eigene, wenn eingeschaltet, sonst der normale. */
|
||||||
|
export async function getNewsletterMailConfig(): Promise<MailConfig & { own: boolean }> {
|
||||||
|
const own = await getOwnNewsletterMail();
|
||||||
|
if (own.enabled) return { ...own, own: true };
|
||||||
|
return { ...(await getMailConfig()), own: false };
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue