Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

build(api): use NdoleStudio stacktrace fork

Acho Arnold Ewinef6225beeaea
diff --git a/api/go.mod b/api/go.mod
index 565e15d4..649489f6 100644
--- a/api/go.mod
+++ b/api/go.mod
@@ -12,6 +12,7 @@ require (
github.com/NdoleStudio/go-otelroundtripper v0.0.15
github.com/NdoleStudio/lemonsqueezy-go v1.3.1
github.com/NdoleStudio/plunk-go v0.0.2
+ github.com/NdoleStudio/stacktrace v1.0.0
github.com/avast/retry-go/v5 v5.0.0
github.com/axiomhq/axiom-go v0.32.0
github.com/carlmjohnson/requests v0.25.1
@@ -35,7 +36,6 @@ require (
github.com/jszwec/csvutil v1.10.0
github.com/lib/pq v1.12.3
github.com/nyaruka/phonenumbers v1.8.0
- github.com/palantir/stacktrace v0.0.0-20161112013806-78658fd2d177
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/pkg/errors v0.9.1
github.com/pusher/pusher-http-go/v5 v5.1.1
diff --git a/api/go.sum b/api/go.sum
index dc729801..264094f1 100644
--- a/api/go.sum
+++ b/api/go.sum
@@ -60,6 +60,8 @@ github.com/NdoleStudio/lemonsqueezy-go v1.3.1 h1:lMUVgdAx2onbOUJIVPR05xAANYuCMXB
github.com/NdoleStudio/lemonsqueezy-go v1.3.1/go.mod h1:xKRsRX1jSI6mLrVXyWh2sF/1isxTioZrSjWy6HpA3xQ=
github.com/NdoleStudio/plunk-go v0.0.2 h1:afPW7MHK4Z3rsybpJBnmTmxKCLKF1M7sPI+BNGPf35A=
github.com/NdoleStudio/plunk-go v0.0.2/go.mod h1:pqG3zKhpn/A2bL1K+WsWzvfTpOeSkYgXhNk5H65uEc8=
+github.com/NdoleStudio/stacktrace v1.0.0 h1:YIDg0twM2BXRKIFjorX7v2dC0l8z4VEITurI+MNqvVQ=
+github.com/NdoleStudio/stacktrace v1.0.0/go.mod h1:WOBcbXShYu+v8JtjFEM+rRV9GJW50m+dwIvp4sLuVTg=
github.com/PuerkitoBio/goquery v1.12.0 h1:pAcL4g3WRXekcB9AU/y1mbKez2dbY2AajVhtkO8RIBo=
github.com/PuerkitoBio/goquery v1.12.0/go.mod h1:802ej+gV2y7bbIhOIoPY5sT183ZW0YFofScC4q/hIpQ=
github.com/andybalholm/brotli v1.2.1 h1:R+f5xP285VArJDRgowrfb9DqL18yVK0gKAW/F+eTWro=
@@ -278,8 +280,6 @@ github.com/olekukonko/ll v0.1.8 h1:ysHCJRGHYKzmBSdz9w5AySztx7lG8SQY+naTGYUbsz8=
github.com/olekukonko/ll v0.1.8/go.mod h1:RPRC6UcscfFZgjo1nulkfMH5IM0QAYim0LfnMvUuozw=
github.com/olekukonko/tablewriter v1.1.4 h1:ORUMI3dXbMnRlRggJX3+q7OzQFDdvgbN9nVWj1drm6I=
github.com/olekukonko/tablewriter v1.1.4/go.mod h1:+kedxuyTtgoZLwif3P1Em4hARJs+mVnzKxmsCL/C5RY=
-github.com/palantir/stacktrace v0.0.0-20161112013806-78658fd2d177 h1:nRlQD0u1871kaznCnn1EvYiMbum36v7hw1DLPEjds4o=
-github.com/palantir/stacktrace v0.0.0-20161112013806-78658fd2d177/go.mod h1:ao5zGxj8Z4x60IOVYZUbDSmt3R8Ddo080vEgPosHpak=
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
github.com/paulmach/orb v0.13.0 h1:r7n7mQGGF+cj/CbcivEj9J3HGK+XR+yXnvzRdq9saIw=
diff --git a/api/pkg/cache/memory_cache.go b/api/pkg/cache/memory_cache.go
index 4500640c..e749ca3e 100644
--- a/api/pkg/cache/memory_cache.go
+++ b/api/pkg/cache/memory_cache.go
@@ -5,7 +5,7 @@ import (
"time"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
ttlCache "github.com/patrickmn/go-cache"
)
diff --git a/api/pkg/cache/redis_cache.go b/api/pkg/cache/redis_cache.go
index 4bbdebce..990f09bc 100644
--- a/api/pkg/cache/redis_cache.go
+++ b/api/pkg/cache/redis_cache.go
@@ -6,7 +6,7 @@ import (
"time"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"github.com/redis/go-redis/v9"
)
diff --git a/api/pkg/di/container.go b/api/pkg/di/container.go
index 62fee762..6d933ae8 100644
--- a/api/pkg/di/container.go
+++ b/api/pkg/di/container.go
@@ -67,10 +67,10 @@ import (
"github.com/NdoleStudio/httpsms/pkg/listeners"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/services"
+ "github.com/NdoleStudio/stacktrace"
swagger "github.com/gofiber/contrib/v3/swaggo"
"github.com/gofiber/fiber/v3"
fiberLogger "github.com/gofiber/fiber/v3/middleware/logger"
- "github.com/palantir/stacktrace"
ttlCache "github.com/patrickmn/go-cache"
"gorm.io/gorm"
diff --git a/api/pkg/emails/hermes_notification_email_factory.go b/api/pkg/emails/hermes_notification_email_factory.go
index 2229a502..4c044064 100644
--- a/api/pkg/emails/hermes_notification_email_factory.go
+++ b/api/pkg/emails/hermes_notification_email_factory.go
@@ -8,8 +8,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/entities"
+ "github.com/NdoleStudio/stacktrace"
"github.com/go-hermes/hermes/v2"
- "github.com/palantir/stacktrace"
)
type hermesNotificationEmailFactory struct {
diff --git a/api/pkg/emails/hermes_user_email_factory.go b/api/pkg/emails/hermes_user_email_factory.go
index 174b0f42..8070a78e 100644
--- a/api/pkg/emails/hermes_user_email_factory.go
+++ b/api/pkg/emails/hermes_user_email_factory.go
@@ -5,8 +5,8 @@ import (
"time"
"github.com/NdoleStudio/httpsms/pkg/entities"
+ "github.com/NdoleStudio/stacktrace"
"github.com/go-hermes/hermes/v2"
- "github.com/palantir/stacktrace"
)
type hermesUserEmailFactory struct {
diff --git a/api/pkg/emails/smtp_mailer_service.go b/api/pkg/emails/smtp_mailer_service.go
index bebea4a0..5f57d1da 100644
--- a/api/pkg/emails/smtp_mailer_service.go
+++ b/api/pkg/emails/smtp_mailer_service.go
@@ -6,8 +6,8 @@ import (
"net/smtp"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
mail "github.com/jordan-wright/email"
- "github.com/palantir/stacktrace"
)
// SMTPConfig is the config for setting up the smtpMailer
diff --git a/api/pkg/handlers/attachment_handler.go b/api/pkg/handlers/attachment_handler.go
index 0b058f50..e73f1253 100644
--- a/api/pkg/handlers/attachment_handler.go
+++ b/api/pkg/handlers/attachment_handler.go
@@ -6,8 +6,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// AttachmentHandler handles attachment download requests
diff --git a/api/pkg/handlers/billing_handler.go b/api/pkg/handlers/billing_handler.go
index 33f0b2f0..a33ad231 100644
--- a/api/pkg/handlers/billing_handler.go
+++ b/api/pkg/handlers/billing_handler.go
@@ -7,9 +7,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/NdoleStudio/httpsms/pkg/validators"
+ "github.com/NdoleStudio/stacktrace"
"github.com/davecgh/go-spew/spew"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// BillingHandler handles billing http requests.
diff --git a/api/pkg/handlers/bulk_message_handler.go b/api/pkg/handlers/bulk_message_handler.go
index 01e45146..28e0d0ad 100644
--- a/api/pkg/handlers/bulk_message_handler.go
+++ b/api/pkg/handlers/bulk_message_handler.go
@@ -12,9 +12,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/NdoleStudio/httpsms/pkg/validators"
+ "github.com/NdoleStudio/stacktrace"
"github.com/davecgh/go-spew/spew"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// BulkMessageHandler handles bulk SMS http requests
diff --git a/api/pkg/handlers/discord_handler.go b/api/pkg/handlers/discord_handler.go
index 29da67a0..582cdb32 100644
--- a/api/pkg/handlers/discord_handler.go
+++ b/api/pkg/handlers/discord_handler.go
@@ -16,9 +16,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/NdoleStudio/httpsms/pkg/validators"
+ "github.com/NdoleStudio/stacktrace"
"github.com/davecgh/go-spew/spew"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// DiscordHandler handles discord events
diff --git a/api/pkg/handlers/events_handler.go b/api/pkg/handlers/events_handler.go
index b2586ed2..5d4fc121 100644
--- a/api/pkg/handlers/events_handler.go
+++ b/api/pkg/handlers/events_handler.go
@@ -7,9 +7,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/davecgh/go-spew/spew"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// EventsHandler handles heartbeat http requests.
diff --git a/api/pkg/handlers/heartbeat_handler.go b/api/pkg/handlers/heartbeat_handler.go
index eb9dec40..663d16af 100644
--- a/api/pkg/handlers/heartbeat_handler.go
+++ b/api/pkg/handlers/heartbeat_handler.go
@@ -10,9 +10,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/NdoleStudio/httpsms/pkg/validators"
+ "github.com/NdoleStudio/stacktrace"
"github.com/davecgh/go-spew/spew"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// HeartbeatHandler handles heartbeat http requests.
diff --git a/api/pkg/handlers/integration_3cx_handler.go b/api/pkg/handlers/integration_3cx_handler.go
index e53213f4..db06e64d 100644
--- a/api/pkg/handlers/integration_3cx_handler.go
+++ b/api/pkg/handlers/integration_3cx_handler.go
@@ -8,8 +8,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// Integration3CXHandler handles 3CX events
diff --git a/api/pkg/handlers/lemonsqueezy_handler.go b/api/pkg/handlers/lemonsqueezy_handler.go
index ce3ac5aa..1b18d8ba 100644
--- a/api/pkg/handlers/lemonsqueezy_handler.go
+++ b/api/pkg/handlers/lemonsqueezy_handler.go
@@ -9,9 +9,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/NdoleStudio/httpsms/pkg/validators"
lemonsqueezy "github.com/NdoleStudio/lemonsqueezy-go"
+ "github.com/NdoleStudio/stacktrace"
"github.com/davecgh/go-spew/spew"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// LemonsqueezyHandler handles lemonsqueezy events
diff --git a/api/pkg/handlers/message_handler.go b/api/pkg/handlers/message_handler.go
index 542fc7d0..14a4e95e 100644
--- a/api/pkg/handlers/message_handler.go
+++ b/api/pkg/handlers/message_handler.go
@@ -16,9 +16,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/NdoleStudio/httpsms/pkg/validators"
+ "github.com/NdoleStudio/stacktrace"
"github.com/davecgh/go-spew/spew"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// MessageHandler handles message http requests.
diff --git a/api/pkg/handlers/message_send_schedule_handler.go b/api/pkg/handlers/message_send_schedule_handler.go
index 90d65cca..93fac948 100644
--- a/api/pkg/handlers/message_send_schedule_handler.go
+++ b/api/pkg/handlers/message_send_schedule_handler.go
@@ -9,10 +9,10 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/NdoleStudio/httpsms/pkg/validators"
+ "github.com/NdoleStudio/stacktrace"
"github.com/davecgh/go-spew/spew"
"github.com/gofiber/fiber/v3"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
)
// MessageSendScheduleHandler handles HTTP requests for message send schedules.
diff --git a/api/pkg/handlers/message_thread_handler.go b/api/pkg/handlers/message_thread_handler.go
index 9520b663..996ca69b 100644
--- a/api/pkg/handlers/message_thread_handler.go
+++ b/api/pkg/handlers/message_thread_handler.go
@@ -10,9 +10,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/NdoleStudio/httpsms/pkg/validators"
+ "github.com/NdoleStudio/stacktrace"
"github.com/davecgh/go-spew/spew"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// MessageThreadHandler handles message-thead http requests.
diff --git a/api/pkg/handlers/message_thread_handler_test.go b/api/pkg/handlers/message_thread_handler_test.go
index ab2d7596..60b9d756 100644
--- a/api/pkg/handlers/message_thread_handler_test.go
+++ b/api/pkg/handlers/message_thread_handler_test.go
@@ -15,9 +15,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/NdoleStudio/httpsms/pkg/validators"
+ "github.com/NdoleStudio/stacktrace"
"github.com/gofiber/fiber/v3"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"github.com/stretchr/testify/require"
"go.opentelemetry.io/otel/trace"
"gorm.io/gorm"
diff --git a/api/pkg/handlers/phone_api_key_handler.go b/api/pkg/handlers/phone_api_key_handler.go
index 835ad893..55b981cf 100644
--- a/api/pkg/handlers/phone_api_key_handler.go
+++ b/api/pkg/handlers/phone_api_key_handler.go
@@ -9,10 +9,10 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/NdoleStudio/httpsms/pkg/validators"
+ "github.com/NdoleStudio/stacktrace"
"github.com/davecgh/go-spew/spew"
"github.com/gofiber/fiber/v3"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
)
// PhoneAPIKeyHandler handles phone API key http requests
diff --git a/api/pkg/handlers/phone_handler.go b/api/pkg/handlers/phone_handler.go
index 291c071a..678b8906 100644
--- a/api/pkg/handlers/phone_handler.go
+++ b/api/pkg/handlers/phone_handler.go
@@ -10,8 +10,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// PhoneHandler handles phone http requests.
diff --git a/api/pkg/handlers/user_handler.go b/api/pkg/handlers/user_handler.go
index b7066aa3..8f73ba00 100644
--- a/api/pkg/handlers/user_handler.go
+++ b/api/pkg/handlers/user_handler.go
@@ -10,8 +10,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// UserHandler handles user http requests.
diff --git a/api/pkg/handlers/webhook_handler.go b/api/pkg/handlers/webhook_handler.go
index 656d59ea..6eb389e3 100644
--- a/api/pkg/handlers/webhook_handler.go
+++ b/api/pkg/handlers/webhook_handler.go
@@ -11,9 +11,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/NdoleStudio/httpsms/pkg/validators"
+ "github.com/NdoleStudio/stacktrace"
"github.com/davecgh/go-spew/spew"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// WebhookHandler handles webhook requests
diff --git a/api/pkg/listeners/billing_listener.go b/api/pkg/listeners/billing_listener.go
index 59f166f1..2645e27c 100644
--- a/api/pkg/listeners/billing_listener.go
+++ b/api/pkg/listeners/billing_listener.go
@@ -9,8 +9,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// BillingListener handles cloud events which affect billing
diff --git a/api/pkg/listeners/discord_listener.go b/api/pkg/listeners/discord_listener.go
index 531aa208..aebed46b 100644
--- a/api/pkg/listeners/discord_listener.go
+++ b/api/pkg/listeners/discord_listener.go
@@ -7,8 +7,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// DiscordListener sends messages to discord
diff --git a/api/pkg/listeners/email_notification_listener.go b/api/pkg/listeners/email_notification_listener.go
index 1f766285..fc606539 100644
--- a/api/pkg/listeners/email_notification_listener.go
+++ b/api/pkg/listeners/email_notification_listener.go
@@ -7,8 +7,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// EmailNotificationListener listens for events about failed and expired messages
diff --git a/api/pkg/listeners/heartbeat_listener.go b/api/pkg/listeners/heartbeat_listener.go
index 00767a95..eef4933f 100644
--- a/api/pkg/listeners/heartbeat_listener.go
+++ b/api/pkg/listeners/heartbeat_listener.go
@@ -4,9 +4,9 @@ import (
"context"
"fmt"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
"github.com/davecgh/go-spew/spew"
- "github.com/palantir/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
diff --git a/api/pkg/listeners/integration_3cx_listener.go b/api/pkg/listeners/integration_3cx_listener.go
index 2aafebf9..529916f8 100644
--- a/api/pkg/listeners/integration_3cx_listener.go
+++ b/api/pkg/listeners/integration_3cx_listener.go
@@ -7,8 +7,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// Integration3CXListener sends 3CX events to users
diff --git a/api/pkg/listeners/marketing_listener.go b/api/pkg/listeners/marketing_listener.go
index c2bc0a20..4bcf15d1 100644
--- a/api/pkg/listeners/marketing_listener.go
+++ b/api/pkg/listeners/marketing_listener.go
@@ -7,8 +7,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// MarketingListener handled marketing events
diff --git a/api/pkg/listeners/message_listener.go b/api/pkg/listeners/message_listener.go
index b6193626..49fd18a3 100644
--- a/api/pkg/listeners/message_listener.go
+++ b/api/pkg/listeners/message_listener.go
@@ -8,8 +8,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// MessageListener handles cloud events which need to update entities.Message
diff --git a/api/pkg/listeners/message_send_schedule_listener.go b/api/pkg/listeners/message_send_schedule_listener.go
index 0fb1f00c..59f93b84 100644
--- a/api/pkg/listeners/message_send_schedule_listener.go
+++ b/api/pkg/listeners/message_send_schedule_listener.go
@@ -7,8 +7,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// MessageSendScheduleListener handles cloud events related to message send schedules.
diff --git a/api/pkg/listeners/message_thread_listener.go b/api/pkg/listeners/message_thread_listener.go
index 47621296..ad22e810 100644
--- a/api/pkg/listeners/message_thread_listener.go
+++ b/api/pkg/listeners/message_thread_listener.go
@@ -9,8 +9,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// MessageThreadListener handles cloud events which need to update entities.MessageThread
diff --git a/api/pkg/listeners/phone_api_key_listener.go b/api/pkg/listeners/phone_api_key_listener.go
index 04fc0ce2..45333ac5 100644
--- a/api/pkg/listeners/phone_api_key_listener.go
+++ b/api/pkg/listeners/phone_api_key_listener.go
@@ -6,9 +6,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
"github.com/davecgh/go-spew/spew"
- "github.com/palantir/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
diff --git a/api/pkg/listeners/phone_listener.go b/api/pkg/listeners/phone_listener.go
index 08d1990d..f3944848 100644
--- a/api/pkg/listeners/phone_listener.go
+++ b/api/pkg/listeners/phone_listener.go
@@ -4,8 +4,8 @@ import (
"context"
"fmt"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
diff --git a/api/pkg/listeners/phone_notification_listener.go b/api/pkg/listeners/phone_notification_listener.go
index d397cdda..40452a94 100644
--- a/api/pkg/listeners/phone_notification_listener.go
+++ b/api/pkg/listeners/phone_notification_listener.go
@@ -9,8 +9,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// PhoneNotificationListener handles cloud events which sends notifications
diff --git a/api/pkg/listeners/user_listener.go b/api/pkg/listeners/user_listener.go
index 960ce6c9..e4a15d32 100644
--- a/api/pkg/listeners/user_listener.go
+++ b/api/pkg/listeners/user_listener.go
@@ -9,8 +9,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// UserListener handles cloud events which sends notifications
diff --git a/api/pkg/listeners/webhook_listener.go b/api/pkg/listeners/webhook_listener.go
index 5ff41046..ff9ab570 100644
--- a/api/pkg/listeners/webhook_listener.go
+++ b/api/pkg/listeners/webhook_listener.go
@@ -7,8 +7,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// WebhookListener sends webhook events to users
diff --git a/api/pkg/listeners/websocket_listener.go b/api/pkg/listeners/websocket_listener.go
index 8aa9054f..b06381d7 100644
--- a/api/pkg/listeners/websocket_listener.go
+++ b/api/pkg/listeners/websocket_listener.go
@@ -4,8 +4,8 @@ import (
"context"
"fmt"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
diff --git a/api/pkg/middlewares/api_key_auth_middleware.go b/api/pkg/middlewares/api_key_auth_middleware.go
index 0d65be30..f2b18419 100644
--- a/api/pkg/middlewares/api_key_auth_middleware.go
+++ b/api/pkg/middlewares/api_key_auth_middleware.go
@@ -6,8 +6,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// APIKeyAuth authenticates a user from the X-API-Key header
diff --git a/api/pkg/middlewares/bearer_api_key_auth_middleware.go b/api/pkg/middlewares/bearer_api_key_auth_middleware.go
index 7806aa7d..f52d0ba0 100644
--- a/api/pkg/middlewares/bearer_api_key_auth_middleware.go
+++ b/api/pkg/middlewares/bearer_api_key_auth_middleware.go
@@ -6,8 +6,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// BearerAPIKeyAuth authenticates an API key using the Bearer header
diff --git a/api/pkg/middlewares/bearer_auth_middleware.go b/api/pkg/middlewares/bearer_auth_middleware.go
index 1573413c..6fb57a64 100644
--- a/api/pkg/middlewares/bearer_auth_middleware.go
+++ b/api/pkg/middlewares/bearer_auth_middleware.go
@@ -8,8 +8,8 @@ import (
"firebase.google.com/go/auth"
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// BearerAuth authenticates a user based on the bearer token
diff --git a/api/pkg/middlewares/http_request_logger_middleware.go b/api/pkg/middlewares/http_request_logger_middleware.go
index 388c0291..06f5e06d 100644
--- a/api/pkg/middlewares/http_request_logger_middleware.go
+++ b/api/pkg/middlewares/http_request_logger_middleware.go
@@ -5,8 +5,8 @@ import (
"slices"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
const (
diff --git a/api/pkg/middlewares/phone_api_key_auth_middleware.go b/api/pkg/middlewares/phone_api_key_auth_middleware.go
index 5fb01c5b..fb054aa4 100644
--- a/api/pkg/middlewares/phone_api_key_auth_middleware.go
+++ b/api/pkg/middlewares/phone_api_key_auth_middleware.go
@@ -6,8 +6,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// PhoneAPIKeyAuth authenticates a user from the X-API-Key header
diff --git a/api/pkg/repositories/google_cloud_storage_attachment_repository.go b/api/pkg/repositories/google_cloud_storage_attachment_repository.go
index 34d389eb..de0f8300 100644
--- a/api/pkg/repositories/google_cloud_storage_attachment_repository.go
+++ b/api/pkg/repositories/google_cloud_storage_attachment_repository.go
@@ -8,7 +8,7 @@ import (
"cloud.google.com/go/storage"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
)
// GoogleCloudStorageAttachmentRepository stores attachments in Google Cloud Storage
diff --git a/api/pkg/repositories/gorm_billing_usage_repository.go b/api/pkg/repositories/gorm_billing_usage_repository.go
index 47c7fadb..02509e27 100644
--- a/api/pkg/repositories/gorm_billing_usage_repository.go
+++ b/api/pkg/repositories/gorm_billing_usage_repository.go
@@ -8,9 +8,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/cockroachdb/cockroach-go/v2/crdb/crdbgorm"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/gorm_discord_repository.go b/api/pkg/repositories/gorm_discord_repository.go
index a1d70faa..462ee37b 100644
--- a/api/pkg/repositories/gorm_discord_repository.go
+++ b/api/pkg/repositories/gorm_discord_repository.go
@@ -7,8 +7,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/gorm_heartbeat_monitor_repository.go b/api/pkg/repositories/gorm_heartbeat_monitor_repository.go
index c53e2368..364e6435 100644
--- a/api/pkg/repositories/gorm_heartbeat_monitor_repository.go
+++ b/api/pkg/repositories/gorm_heartbeat_monitor_repository.go
@@ -11,7 +11,7 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/gorm_heartbeat_repository.go b/api/pkg/repositories/gorm_heartbeat_repository.go
index 8f77ef21..544d7eed 100644
--- a/api/pkg/repositories/gorm_heartbeat_repository.go
+++ b/api/pkg/repositories/gorm_heartbeat_repository.go
@@ -8,7 +8,7 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/gorm_integration_3cx_repository.go b/api/pkg/repositories/gorm_integration_3cx_repository.go
index f6bbf0f7..c63e5370 100644
--- a/api/pkg/repositories/gorm_integration_3cx_repository.go
+++ b/api/pkg/repositories/gorm_integration_3cx_repository.go
@@ -7,7 +7,7 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/gorm_message_repository.go b/api/pkg/repositories/gorm_message_repository.go
index 0eea42d1..bb9c55be 100644
--- a/api/pkg/repositories/gorm_message_repository.go
+++ b/api/pkg/repositories/gorm_message_repository.go
@@ -9,9 +9,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/cockroachdb/cockroach-go/v2/crdb/crdbgorm"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/gorm_message_send_schedule_repository.go b/api/pkg/repositories/gorm_message_send_schedule_repository.go
index 54e58843..49538ce0 100644
--- a/api/pkg/repositories/gorm_message_send_schedule_repository.go
+++ b/api/pkg/repositories/gorm_message_send_schedule_repository.go
@@ -7,8 +7,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/gorm_message_thread_repository.go b/api/pkg/repositories/gorm_message_thread_repository.go
index 071f5cc7..88506f48 100644
--- a/api/pkg/repositories/gorm_message_thread_repository.go
+++ b/api/pkg/repositories/gorm_message_thread_repository.go
@@ -11,7 +11,7 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/gorm_phone_api_key_repository.go b/api/pkg/repositories/gorm_phone_api_key_repository.go
index 7f912b28..51502d1a 100644
--- a/api/pkg/repositories/gorm_phone_api_key_repository.go
+++ b/api/pkg/repositories/gorm_phone_api_key_repository.go
@@ -10,9 +10,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/dgraph-io/ristretto/v2"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/gorm_phone_notification_repository.go b/api/pkg/repositories/gorm_phone_notification_repository.go
index ffe9352e..1301ecc0 100644
--- a/api/pkg/repositories/gorm_phone_notification_repository.go
+++ b/api/pkg/repositories/gorm_phone_notification_repository.go
@@ -11,7 +11,7 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/gorm_phone_repository.go b/api/pkg/repositories/gorm_phone_repository.go
index f57cdbe1..98c2f3fb 100644
--- a/api/pkg/repositories/gorm_phone_repository.go
+++ b/api/pkg/repositories/gorm_phone_repository.go
@@ -8,9 +8,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/dgraph-io/ristretto/v2"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/gorm_user_repository.go b/api/pkg/repositories/gorm_user_repository.go
index a2c95e5e..da46e5e7 100644
--- a/api/pkg/repositories/gorm_user_repository.go
+++ b/api/pkg/repositories/gorm_user_repository.go
@@ -15,7 +15,7 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/gorm_webhook_repository.go b/api/pkg/repositories/gorm_webhook_repository.go
index 86b2dd1d..c56bd3a7 100644
--- a/api/pkg/repositories/gorm_webhook_repository.go
+++ b/api/pkg/repositories/gorm_webhook_repository.go
@@ -7,8 +7,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"gorm.io/gorm"
)
diff --git a/api/pkg/repositories/memory_attachment_repository.go b/api/pkg/repositories/memory_attachment_repository.go
index c640d5f8..eab19336 100644
--- a/api/pkg/repositories/memory_attachment_repository.go
+++ b/api/pkg/repositories/memory_attachment_repository.go
@@ -6,7 +6,7 @@ import (
"sync"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
)
// MemoryAttachmentRepository stores attachments in memory
diff --git a/api/pkg/repositories/mongo_heartbeat_monitor_repository.go b/api/pkg/repositories/mongo_heartbeat_monitor_repository.go
index c6f44dc8..2f6f71cd 100644
--- a/api/pkg/repositories/mongo_heartbeat_monitor_repository.go
+++ b/api/pkg/repositories/mongo_heartbeat_monitor_repository.go
@@ -11,7 +11,7 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
)
// mongoHeartbeatMonitorRepository is responsible for persisting entities.HeartbeatMonitor in MongoDB
diff --git a/api/pkg/repositories/mongo_heartbeat_repository.go b/api/pkg/repositories/mongo_heartbeat_repository.go
index 72bef3b6..e97e696a 100644
--- a/api/pkg/repositories/mongo_heartbeat_repository.go
+++ b/api/pkg/repositories/mongo_heartbeat_repository.go
@@ -10,7 +10,7 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
)
// mongoHeartbeatRepository is responsible for persisting entities.Heartbeat in MongoDB
diff --git a/api/pkg/repositories/mongodb.go b/api/pkg/repositories/mongodb.go
index 5f68f9c9..74ea7446 100644
--- a/api/pkg/repositories/mongodb.go
+++ b/api/pkg/repositories/mongodb.go
@@ -6,8 +6,8 @@ import (
"reflect"
"time"
+ "github.com/NdoleStudio/stacktrace"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"go.mongodb.org/mongo-driver/v2/bson"
"go.mongodb.org/mongo-driver/v2/mongo"
"go.mongodb.org/mongo-driver/v2/mongo/options"
diff --git a/api/pkg/repositories/repository.go b/api/pkg/repositories/repository.go
index 32ba4337..5d2541fd 100644
--- a/api/pkg/repositories/repository.go
+++ b/api/pkg/repositories/repository.go
@@ -3,7 +3,7 @@ package repositories
import (
"time"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
)
// IndexParams parameters for indexing a database table
diff --git a/api/pkg/services/billing_service.go b/api/pkg/services/billing_service.go
index 26206713..6b574993 100644
--- a/api/pkg/services/billing_service.go
+++ b/api/pkg/services/billing_service.go
@@ -11,8 +11,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
)
// BillingService is responsible for tracking usages and billing users
diff --git a/api/pkg/services/discord_service.go b/api/pkg/services/discord_service.go
index 9d5f2680..e919109b 100644
--- a/api/pkg/services/discord_service.go
+++ b/api/pkg/services/discord_service.go
@@ -15,8 +15,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
)
// DiscordService is responsible for handling discordIntegrations
diff --git a/api/pkg/services/email_notification_service.go b/api/pkg/services/email_notification_service.go
index ef6d7d85..a87fcf22 100644
--- a/api/pkg/services/email_notification_service.go
+++ b/api/pkg/services/email_notification_service.go
@@ -5,7 +5,7 @@ import (
"fmt"
"time"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/cache"
"github.com/NdoleStudio/httpsms/pkg/emails"
diff --git a/api/pkg/services/emulator_fcm_client.go b/api/pkg/services/emulator_fcm_client.go
index a8376775..adf3ed7c 100644
--- a/api/pkg/services/emulator_fcm_client.go
+++ b/api/pkg/services/emulator_fcm_client.go
@@ -10,7 +10,7 @@ import (
"firebase.google.com/go/messaging"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
)
// EmulatorFCMClient sends FCM messages to the phone emulator via HTTP.
diff --git a/api/pkg/services/emulator_push_queue.go b/api/pkg/services/emulator_push_queue.go
index f861cebf..3e99a236 100644
--- a/api/pkg/services/emulator_push_queue.go
+++ b/api/pkg/services/emulator_push_queue.go
@@ -6,8 +6,8 @@ import (
"net/http"
"time"
+ "github.com/NdoleStudio/stacktrace"
"github.com/carlmjohnson/requests"
- "github.com/palantir/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/google/uuid"
diff --git a/api/pkg/services/entitlement_service.go b/api/pkg/services/entitlement_service.go
index 875b2791..a4a4ab89 100644
--- a/api/pkg/services/entitlement_service.go
+++ b/api/pkg/services/entitlement_service.go
@@ -9,8 +9,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
pluralize "github.com/gertd/go-pluralize"
- "github.com/palantir/stacktrace"
)
// entityLimits maps entity name → subscription plan → max count.
diff --git a/api/pkg/services/event_dispatcher_service.go b/api/pkg/services/event_dispatcher_service.go
index 9b2710b5..a090c943 100644
--- a/api/pkg/services/event_dispatcher_service.go
+++ b/api/pkg/services/event_dispatcher_service.go
@@ -15,8 +15,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// EventDispatcher dispatches a new event
diff --git a/api/pkg/services/google_cloud_push_queue_service.go b/api/pkg/services/google_cloud_push_queue_service.go
index b8854616..7f955520 100644
--- a/api/pkg/services/google_cloud_push_queue_service.go
+++ b/api/pkg/services/google_cloud_push_queue_service.go
@@ -11,7 +11,7 @@ import (
cloudtasks "cloud.google.com/go/cloudtasks/apiv2"
"cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"google.golang.org/protobuf/types/known/timestamppb"
)
diff --git a/api/pkg/services/heartbeat_service.go b/api/pkg/services/heartbeat_service.go
index a67899b4..1f02e9c4 100644
--- a/api/pkg/services/heartbeat_service.go
+++ b/api/pkg/services/heartbeat_service.go
@@ -11,7 +11,7 @@ import (
"github.com/google/uuid"
"github.com/NdoleStudio/httpsms/pkg/repositories"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
diff --git a/api/pkg/services/integration_3cx_service.go b/api/pkg/services/integration_3cx_service.go
index ef9417df..b3d046ef 100644
--- a/api/pkg/services/integration_3cx_service.go
+++ b/api/pkg/services/integration_3cx_service.go
@@ -15,8 +15,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
- "github.com/palantir/stacktrace"
)
// Integration3CXService is responsible for handling webhooks
diff --git a/api/pkg/services/lemonsqueezy_service.go b/api/pkg/services/lemonsqueezy_service.go
index 40b5aaec..48347335 100644
--- a/api/pkg/services/lemonsqueezy_service.go
+++ b/api/pkg/services/lemonsqueezy_service.go
@@ -12,7 +12,7 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/NdoleStudio/lemonsqueezy-go"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
)
// LemonsqueezyService is responsible for managing lemonsqueezy events
diff --git a/api/pkg/services/marketting_service.go b/api/pkg/services/marketting_service.go
index b2fc4210..aabc2d94 100644
--- a/api/pkg/services/marketting_service.go
+++ b/api/pkg/services/marketting_service.go
@@ -11,8 +11,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
plunk "github.com/NdoleStudio/plunk-go"
+ "github.com/NdoleStudio/stacktrace"
"github.com/gofiber/fiber/v3"
- "github.com/palantir/stacktrace"
)
// MarketingService is handles marketing requests
diff --git a/api/pkg/services/message_send_schedule_service.go b/api/pkg/services/message_send_schedule_service.go
index 21cfb127..85627116 100644
--- a/api/pkg/services/message_send_schedule_service.go
+++ b/api/pkg/services/message_send_schedule_service.go
@@ -10,8 +10,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
)
// MessageSendScheduleService manages message send schedules for a user.
diff --git a/api/pkg/services/message_service.go b/api/pkg/services/message_service.go
index 315c4d8f..4e6c9112 100644
--- a/api/pkg/services/message_service.go
+++ b/api/pkg/services/message_service.go
@@ -13,9 +13,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/events"
"github.com/NdoleStudio/httpsms/pkg/repositories"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
diff --git a/api/pkg/services/message_thread_service.go b/api/pkg/services/message_thread_service.go
index e3dc882c..687482dd 100644
--- a/api/pkg/services/message_thread_service.go
+++ b/api/pkg/services/message_thread_service.go
@@ -11,8 +11,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
)
// MessageThreadService is handles message requests
diff --git a/api/pkg/services/message_thread_service_test.go b/api/pkg/services/message_thread_service_test.go
index fc1e8431..7825be75 100644
--- a/api/pkg/services/message_thread_service_test.go
+++ b/api/pkg/services/message_thread_service_test.go
@@ -8,8 +8,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gorm.io/gorm"
diff --git a/api/pkg/services/phone_api_key_service.go b/api/pkg/services/phone_api_key_service.go
index 796e4212..9762f116 100644
--- a/api/pkg/services/phone_api_key_service.go
+++ b/api/pkg/services/phone_api_key_service.go
@@ -12,8 +12,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
)
// PhoneAPIKeyService is responsible for managing entities.PhoneAPIKey
diff --git a/api/pkg/services/phone_notification_service.go b/api/pkg/services/phone_notification_service.go
index 6e7935fb..aed806ef 100644
--- a/api/pkg/services/phone_notification_service.go
+++ b/api/pkg/services/phone_notification_service.go
@@ -13,8 +13,8 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"go.opentelemetry.io/otel/trace"
)
diff --git a/api/pkg/services/phone_service.go b/api/pkg/services/phone_service.go
index 51792523..c61bd121 100644
--- a/api/pkg/services/phone_service.go
+++ b/api/pkg/services/phone_service.go
@@ -12,7 +12,7 @@ import (
"github.com/nyaruka/phonenumbers"
"github.com/NdoleStudio/httpsms/pkg/repositories"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
diff --git a/api/pkg/services/service.go b/api/pkg/services/service.go
index f733d8b3..605921fa 100644
--- a/api/pkg/services/service.go
+++ b/api/pkg/services/service.go
@@ -7,9 +7,9 @@ import (
"github.com/NdoleStudio/httpsms/pkg/telemetry"
"github.com/nyaruka/phonenumbers"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
)
type service struct{}
diff --git a/api/pkg/services/user_service.go b/api/pkg/services/user_service.go
index bbd5ad46..265ad10f 100644
--- a/api/pkg/services/user_service.go
+++ b/api/pkg/services/user_service.go
@@ -13,8 +13,8 @@ import (
"github.com/NdoleStudio/lemonsqueezy-go"
"github.com/NdoleStudio/httpsms/pkg/repositories"
+ "github.com/NdoleStudio/stacktrace"
"github.com/google/uuid"
- "github.com/palantir/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
diff --git a/api/pkg/services/webhook_service.go b/api/pkg/services/webhook_service.go
index b8ff8490..581fa202 100644
--- a/api/pkg/services/webhook_service.go
+++ b/api/pkg/services/webhook_service.go
@@ -21,11 +21,11 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
cloudevents "github.com/cloudevents/sdk-go/v2"
"github.com/golang-jwt/jwt/v5"
"github.com/google/uuid"
"github.com/lib/pq"
- "github.com/palantir/stacktrace"
)
// WebhookService is responsible for handling webhooks
diff --git a/api/pkg/telemetry/gorm_logger.go b/api/pkg/telemetry/gorm_logger.go
index 2a6ef3e9..9107afcc 100644
--- a/api/pkg/telemetry/gorm_logger.go
+++ b/api/pkg/telemetry/gorm_logger.go
@@ -5,7 +5,7 @@ import (
"fmt"
"time"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"gorm.io/gorm/logger"
)
diff --git a/api/pkg/validators/bulk_message_handler_validator.go b/api/pkg/validators/bulk_message_handler_validator.go
index 53a18a4e..8b9b926d 100644
--- a/api/pkg/validators/bulk_message_handler_validator.go
+++ b/api/pkg/validators/bulk_message_handler_validator.go
@@ -18,10 +18,10 @@ import (
"github.com/NdoleStudio/httpsms/pkg/requests"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
+ "github.com/NdoleStudio/stacktrace"
"github.com/dustin/go-humanize"
"github.com/jszwec/csvutil"
"github.com/nyaruka/phonenumbers"
- "github.com/palantir/stacktrace"
)
// BulkMessageHandlerValidator validates models used in handlers.BillingHandler
diff --git a/api/pkg/validators/discord_handler_validator.go b/api/pkg/validators/discord_handler_validator.go
index f9e486f4..035777ce 100644
--- a/api/pkg/validators/discord_handler_validator.go
+++ b/api/pkg/validators/discord_handler_validator.go
@@ -6,7 +6,7 @@ import (
"net/url"
"github.com/NdoleStudio/httpsms/pkg/discord"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/requests"
diff --git a/api/pkg/validators/message_handler_validator.go b/api/pkg/validators/message_handler_validator.go
index f48109c8..998b4d80 100644
--- a/api/pkg/validators/message_handler_validator.go
+++ b/api/pkg/validators/message_handler_validator.go
@@ -11,7 +11,7 @@ import (
"github.com/NdoleStudio/httpsms/pkg/cache"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/services"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/entities"
diff --git a/api/pkg/validators/turnstile_token_validator.go b/api/pkg/validators/turnstile_token_validator.go
index 8a4d65c6..5d30b460 100644
--- a/api/pkg/validators/turnstile_token_validator.go
+++ b/api/pkg/validators/turnstile_token_validator.go
@@ -10,7 +10,7 @@ import (
"time"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
)
// TurnstileTokenValidator validates the token used to validate captchas from cloudflare
diff --git a/api/pkg/validators/user_handler_validator.go b/api/pkg/validators/user_handler_validator.go
index 31ec8402..ee163d82 100644
--- a/api/pkg/validators/user_handler_validator.go
+++ b/api/pkg/validators/user_handler_validator.go
@@ -9,7 +9,7 @@ import (
"github.com/NdoleStudio/httpsms/pkg/requests"
"github.com/NdoleStudio/httpsms/pkg/services"
"github.com/NdoleStudio/httpsms/pkg/telemetry"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"github.com/thedevsaddam/govalidator"
)
diff --git a/api/pkg/validators/webhook_handler_validator.go b/api/pkg/validators/webhook_handler_validator.go
index 88c7c5ff..f7b6c101 100644
--- a/api/pkg/validators/webhook_handler_validator.go
+++ b/api/pkg/validators/webhook_handler_validator.go
@@ -8,7 +8,7 @@ import (
"github.com/NdoleStudio/httpsms/pkg/entities"
"github.com/NdoleStudio/httpsms/pkg/repositories"
"github.com/NdoleStudio/httpsms/pkg/services"
- "github.com/palantir/stacktrace"
+ "github.com/NdoleStudio/stacktrace"
"github.com/NdoleStudio/httpsms/pkg/requests"