Keep welcome previews in bounds and brand invitation emails

This commit is contained in:
parkel committed 2026-11-24 13:34:43 +01:00
1 parent c0f3f6c4fa
commit 5293e9497d
18 files changed
+297 -35

No files matched your search

+14
View File
@@ -187,6 +187,20 @@ class PanelInvitation(models.Model):
)
class InvitationMailSettings(models.Model):
sender_name = models.CharField(
max_length=120,
blank=True,
validators=[
RegexValidator(
r"\A[^\x00-\x1f\x7f]*\Z", "Enter a single-line name."
)
],
)
sender_address = models.EmailField(blank=True)
reply_to = models.EmailField(blank=True)
class CustomerImpersonation(models.Model):
class EndReason(models.TextChoices):
STOPPED = "stopped", "Ended by administrator"