Skip to content

armgit / posta

Public Imported from GitHub
0

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.

chore(deps): bump jkaninda/okapi version from 0.5.4 to 0.6.0

Jonas Kanindab733d6efd520
diff --git a/docs/docs/templates/system-variables.md b/docs/docs/templates/system-variables.md
index 2e43176..07fb387 100644
--- a/docs/docs/templates/system-variables.md
+++ b/docs/docs/templates/system-variables.md
@@ -1,7 +1,7 @@
---
-sidebar_position: 3
+sidebar_position: 8
title: System Variables
-description: Built-in {{ posta_* }} template variables for unsubscribe and web-view links
+description: Built-in template variables for unsubscribe and web-view links
---
# System Variables
diff --git a/go.mod b/go.mod
index 2498896..cef7a5b 100644
--- a/go.mod
+++ b/go.mod
@@ -13,7 +13,7 @@ require (
github.com/hibiken/asynq v0.26.0
github.com/jkaninda/go-utils v0.1.4
github.com/jkaninda/logger v0.0.5
- github.com/jkaninda/okapi v0.5.4
+ github.com/jkaninda/okapi v0.6.0
github.com/joho/godotenv v1.5.1
github.com/lib/pq v1.12.3
github.com/pquerna/otp v1.5.0
diff --git a/go.sum b/go.sum
index d2bf612..715ff11 100644
--- a/go.sum
+++ b/go.sum
@@ -103,8 +103,8 @@ github.com/jkaninda/go-utils v0.1.4 h1:ZdNlI+yLWc4/S0qKcCNQIPj+6lHSdJcGaxtRADAif
github.com/jkaninda/go-utils v0.1.4/go.mod h1:Aa54jEAcDykc3CnOdreqZG80UfSZOvrYecyusu+oPb4=
github.com/jkaninda/logger v0.0.5 h1:fTHKgDsHtuN8rkSBvwe6QStfi8yIdm8O3r0g99dRDTY=
github.com/jkaninda/logger v0.0.5/go.mod h1:ZUXJ2BdxDPG6e8t6mbKhc2ZFaFi2Iuy/4ukquFrPkFE=
-github.com/jkaninda/okapi v0.5.4 h1:q8V6PJd8/SCwEDA2bftikavCzkNl7fWitG5obopKgZY=
-github.com/jkaninda/okapi v0.5.4/go.mod h1:cEDp7ZxdjNQvveW3Oc0PfMjseT30EMN1H9Y93mTJvgU=
+github.com/jkaninda/okapi v0.6.0 h1:KsUNTPwYg/rlfgBc//dwCbo0bUpxPCndMwayvf9gqkY=
+github.com/jkaninda/okapi v0.6.0/go.mod h1:cEDp7ZxdjNQvveW3Oc0PfMjseT30EMN1H9Y93mTJvgU=
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
diff --git a/internal/config/config.go b/internal/config/config.go
index 9e3a96a..3e12994 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -307,8 +307,10 @@ func (c *Config) Initialize(app *okapi.Okapi) error {
BearerFormat: "Posta API Key",
})
app.WithOpenAPIDocs(okapi.OpenAPI{
- Title: "Posta API",
- Version: "1",
+ Title: "Posta API",
+ Version: Version,
+ Description: "Self-hosted email delivery platform for developers and teams.",
+ Favicon: "/favicon.png",
License: okapi.License{
Name: "Apache-2.0",
URL: "http://www.apache.org/licenses/LICENSE-2.0",
diff --git a/web/public/favicon.png b/web/public/favicon.png
new file mode 100644
index 0000000..c42c660
Binary files /dev/null and b/web/public/favicon.png differ