Self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analytics. Fully self-hostable alternative to services like SendGrid or Mailgun.
Go email-relayemail-routinghttp-to-smtpmail-deliverymailchimp-alternativemailgun-alternativemailsendermailservermailtemplatemailtestpostmark-alternativesend-emailsendgrid-alternativesendmailtransactional-emailtransactional-outbox
docs: update screenshots
Jonas Kaninda24aa108bdb5a
diff --git a/README.md b/README.mdindex 4ed32a4..1ef0276 100644--- a/README.md+++ b/README.md@@ -348,7 +348,7 @@ Running locally with the default port, that is [http://localhost:9000/docs](http# Dashboard-Posta includes a web dashboard for managing templates, SMTP servers, domains, contacts, API keys, and analytics.+Posta includes a web dashboard for managing templates, SMTP servers, domains, contacts, forms, API keys, and analytics.<p align="center"><img src="https://raw.githubusercontent.com//goposta/posta/main/docs/static/img/screenshots/dashboard.png" alt="Posta Dashboard" width="900"/>@@ -360,6 +360,30 @@ Posta includes a web dashboard for managing templates, SMTP servers, domains, co<img src="https://raw.githubusercontent.com//goposta/posta/main/docs/static/img/screenshots/analytics.png" alt="Email Analytics" width="900"/></p>+### Form Messages++<p align="center">+ <img src="https://raw.githubusercontent.com/goposta/posta/main/docs/static/img/screenshots/messages.png" alt="Form messages inbox" width="900"/>+</p>++### Form Widget++<p align="center">+ <img src="https://raw.githubusercontent.com/goposta/posta/main/docs/static/img/screenshots/form-widget.png" alt="A contact form widget embedded on a website" width="900"/>+</p>++### Shared Form Link++<p align="center">+ <img src="https://raw.githubusercontent.com/goposta/posta/main/docs/static/img/screenshots/form-share.png" alt="A survey opened from its share link" width="900"/>+</p>++### Form Responses++<p align="center">+ <img src="https://raw.githubusercontent.com/goposta/posta/main/docs/static/img/screenshots/form-responses.png" alt="Form responses summary" width="900"/>+</p>+### Template Detail<p align="center">diff --git a/docs/docs/webhooks/audit-log.md b/docs/docs/webhooks/audit-log.mdindex cf88bee..2bf65d1 100644--- a/docs/docs/webhooks/audit-log.md+++ b/docs/docs/webhooks/audit-log.md@@ -13,7 +13,7 @@ Posta maintains two separate audit trails depending on what you need to audit.The workspace audit log records operational activity scoped to a workspace: API key creation/revocation, template changes, SMTP server changes, webhook changes, and similar configuration actions. Requires the `admin` or `owner` workspace role.:::info Posta Enterprise-Posta Community shows the last **7 days** of the workspace audit log; an older event+Posta Community shows the last **24 hours** of the workspace audit log; an older eventanswers `402`. The full history, and workspace audit events in the admin **Events** list,need a [Posta Enterprise](https://goposta.dev/enterprise) license. Posta records the eventsin every edition, so installing a license shows the history from before it. The personaldiff --git a/docs/static/img/screenshots/admin-platform-metrics-dark.png b/docs/static/img/screenshots/admin-platform-metrics-dark.pngindex 56e14be..1b60da6 100644Binary files a/docs/static/img/screenshots/admin-platform-metrics-dark.png and b/docs/static/img/screenshots/admin-platform-metrics-dark.png differdiff --git a/docs/static/img/screenshots/admin-platform-metrics.png b/docs/static/img/screenshots/admin-platform-metrics.pngindex 75438b5..5d6c702 100644Binary files a/docs/static/img/screenshots/admin-platform-metrics.png and b/docs/static/img/screenshots/admin-platform-metrics.png differdiff --git a/docs/static/img/screenshots/analytics.png b/docs/static/img/screenshots/analytics.pngindex 9a2f35f..914dcd8 100644Binary files a/docs/static/img/screenshots/analytics.png and b/docs/static/img/screenshots/analytics.png differdiff --git a/docs/static/img/screenshots/dashboard.png b/docs/static/img/screenshots/dashboard.pngindex 757c12f..d989e25 100644Binary files a/docs/static/img/screenshots/dashboard.png and b/docs/static/img/screenshots/dashboard.png differdiff --git a/docs/static/img/screenshots/form-responses.png b/docs/static/img/screenshots/form-responses.pngnew file mode 100644index 0000000..db8c313Binary files /dev/null and b/docs/static/img/screenshots/form-responses.png differdiff --git a/docs/static/img/screenshots/form-share.png b/docs/static/img/screenshots/form-share.pngnew file mode 100644index 0000000..8ad0affBinary files /dev/null and b/docs/static/img/screenshots/form-share.png differdiff --git a/docs/static/img/screenshots/form-widget.png b/docs/static/img/screenshots/form-widget.pngnew file mode 100644index 0000000..6e012ddBinary files /dev/null and b/docs/static/img/screenshots/form-widget.png differdiff --git a/docs/static/img/screenshots/messages.png b/docs/static/img/screenshots/messages.pngnew file mode 100644index 0000000..12742a7Binary files /dev/null and b/docs/static/img/screenshots/messages.png differdiff --git a/docs/static/img/screenshots/template-detail.png b/docs/static/img/screenshots/template-detail.pngindex 46454a5..7d6c311 100644Binary files a/docs/static/img/screenshots/template-detail.png and b/docs/static/img/screenshots/template-detail.png differdiff --git a/docs/static/img/screenshots/template-editor.png b/docs/static/img/screenshots/template-editor.pngindex 0b6fead..43f2e7a 100644Binary files a/docs/static/img/screenshots/template-editor.png and b/docs/static/img/screenshots/template-editor.png differdiff --git a/internal/handlers/event_handler.go b/internal/handlers/event_handler.goindex f00083b..a3b6c14 100644--- a/internal/handlers/event_handler.go+++ b/internal/handlers/event_handler.go@@ -35,10 +35,7 @@ type EventHandler struct {edition enterprise.EE}-// CommunityAuditDays is how far back Posta Community shows a workspace audit-// log. Its full history, and workspace audit events in the platform-wide-// event list, need a Posta Enterprise license. Every edition records them.-const CommunityAuditDays = 7+const CommunityAuditWindow = 24 * time.Hour// SetEdition decides how much of the workspace audit trail is shown.func (h *EventHandler) SetEdition(ee enterprise.EE) { h.edition = ee }@@ -49,7 +46,7 @@ func (h *EventHandler) licensed() bool {// communityAuditSince is the oldest audit event Posta Community shows.func communityAuditSince() time.Time {- return time.Now().AddDate(0, 0, -CommunityAuditDays)+ return time.Now().Add(-CommunityAuditWindow)}// isWorkspaceAudit reports whether e is part of a workspace audit trail.diff --git a/internal/routes/workspace_routes.go b/internal/routes/workspace_routes.goindex 2eea110..7584b16 100644--- a/internal/routes/workspace_routes.go+++ b/internal/routes/workspace_routes.go@@ -244,7 +244,7 @@ func (r *Router) workspaceRoutes() []okapi.RouteDefinition {Group: wsGroup,Middlewares: []okapi.Middleware{middlewares.RequireWorkspaceRole(models.WorkspaceRoleAdmin)},Summary: "List workspace audit log",- Description: "Returns the audit trail for the current workspace (admin/owner only). Posta Community returns the last 7 days; the full history needs Posta Enterprise.",+ Description: "Returns the audit trail for the current workspace (admin/owner only). Posta Community returns the last 24 hours; the full history needs Posta Enterprise.",Request: &handlers.ListEventsRequest{},Response: &dto.PageableResponse[models.Event]{},Options: []okapi.RouteOption{workspaceHeaderRequired},@@ -256,7 +256,7 @@ func (r *Router) workspaceRoutes() []okapi.RouteDefinition {Group: wsGroup,Middlewares: []okapi.Middleware{middlewares.RequireWorkspaceRole(models.WorkspaceRoleAdmin)},Summary: "Get workspace audit event",- Description: "Returns a single audit event for the current workspace (admin/owner only). In Posta Community, events older than 7 days answer 402.",+ Description: "Returns a single audit event for the current workspace (admin/owner only). In Posta Community, events older than 24 hours answer 402.",Request: &handlers.AuditEventRequest{},Response: &dto.Response[models.Event]{},Options: []okapi.RouteOption{workspaceHeaderRequired},diff --git a/web/src/views/audit/AuditLogDetail.vue b/web/src/views/audit/AuditLogDetail.vueindex b812620..6824e24 100644--- a/web/src/views/audit/AuditLogDetail.vue+++ b/web/src/views/audit/AuditLogDetail.vue@@ -61,7 +61,7 @@ const prettyMetadata = computed(() => {<EnterpriseLockv-else-if="beyondWindow"feature="Audit Log history"- description="Posta Community shows the last 7 days of workspace activity. This event is older; the full history comes with Posta Enterprise."+ description="Posta Community shows the last 24 hours of workspace activity. This event is older; the full history comes with Posta Enterprise."/><div v-else-if="!event" class="card">