Commit Graph

7 Commits

Author SHA1 Message Date
Gitea Actions ebe97f6714 ci: add Gitea Actions workflow with BuildKit 2026-04-05 08:17:40 +00:00
Unchained 6492619cbc refactor(email): abstract email system with proper architecture
- Create service layer for email generation (PaymentMethodService, OrderTransformerService, EmailBuilderService)
- Extract all hardcoded values to configuration files
- Add proper TypeScript types for all email data structures
- Update GraphQL subscription to include transactions and events
- Refactor order-created, order-cancelled templates to use new architecture
- Payment method now dynamically detected from order transactions

This makes the email system:
- Testable: Each service can be unit tested independently
- Configurable: All values in config.ts, no hardcoding
- Extensible: Easy to add new languages or payment methods
- Maintainable: Clear separation of concerns
2026-03-29 17:33:15 +02:00
Unchained 28b864ecdb docs: add comprehensive roadmap for email service improvements 2026-03-28 17:06:36 +02:00
Unchained 06ff847e7e chore: add .dockerignore to prevent node_modules conflicts during build 2026-03-28 14:17:06 +02:00
Unchained 1089f03ee3 fix: update order-fulfilled and order-cancelled webhooks to forward to N8N
- Update GraphQL fragments to include languageCode and all necessary fields
- Modify order-fulfilled.ts to forward to N8N instead of sending directly
- Modify order-cancelled.ts to forward to N8N instead of sending directly
- Regenerate GraphQL types with full order data
- Enable multi-language emails for shipped and cancelled orders
2026-03-28 13:58:29 +02:00
Unchained 2065b24d7a fix: forward order created webhook to N8N
- Updated to forward to N8N at /webhook/saleor-order-created
- N8N will handle multi-language email sending
2026-03-28 11:31:08 +02:00
Unchained 33fb9a8452 feat: complete saleor core extensions app with React email templates
- Order confirmation, shipped, and cancelled email templates
- Uses @react-email/components for professional HTML emails
- Sends admin and customer notifications
- Integrates with Resend for email delivery
- Webhook handlers for ORDER_CREATED, ORDER_FULFILLED, ORDER_CANCELLED
- Docker image optimized for production
- Persistent auth data storage via PVC
2026-03-27 05:21:56 +02:00