Commit Graph

23 Commits

Author SHA1 Message Date
igodwin 56bfcb59d3 Fix missing imports and restore CORS middleware for tests
After conflict resolution from rebase, some imports were accidentally
removed and the CORS middleware function was eliminated but still
referenced by tests. This commit:
- Adds fmt import to api/rest/keys.go (used for error messages)
- Adds gorilla/mux import to cmd/server/main.go (used for router type)
- Restores newCORSMiddleware function to api/rest/router.go for test compatibility
- Formats code with gofmt
2025-10-30 23:47:53 -07:00
igodwin 81d11e01bb Further auth and authz configuration 2025-10-30 23:35:28 -07:00
igodwin 52734efdec New doc supporting CORS, gRCP, and general client integration 2025-10-30 22:57:38 -07:00
igodwin 9a43af27ad Implement secure CORS configuration system 2025-10-30 22:28:03 -07:00
igodwin abe7b6beee Refactor auth and authz 2025-10-26 02:25:24 -07:00
igodwin 9ff782f7b6 Fix tls security issue 2025-10-26 00:28:53 -07:00
igodwin 6291cfe218 Fix unbounded memory growth in notification storage issue 2025-10-26 00:17:13 -07:00
igodwin a3365c303a Add API token auth and issues doc 2025-10-25 22:19:45 -07:00
igodwin 8cf369cc38 Fix Docker build by adding protobuf code generation step
The Docker build was failing because protobuf-generated code wasn't
  available during compilation. Changes made:
  - Added protoc and protobuf-dev packages to build dependencies
  - Installed protoc-gen-go and protoc-gen-go-grpc plugins
  - Added make proto-gen step to generate pb files before build

  🤖 Generated with [Claude Code](https://claude.com/claude-code)

  Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 23:46:47 -07:00
igodwin 35b6c8aed3 Enhance notification APIs with HTML email support, CC/BCC, and structured logging
Add comprehensive improvements across REST and gRPC APIs:
  - Add structured logging for all notification operations
  - Implement HTML email support with multipart/alternative MIME
  - Add CC and BCC recipient support for email notifications
  - Add GetNotifiers endpoint to query available notifier configurations
  - Support configurable From name in SMTP configuration
  - Auto-detect content type (text vs HTML) in notification bodies
  - Improve error handling and validation across all endpoints

  🤖 Generated with [Claude Code](https://claude.com/claude-code)

  Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 23:31:32 -07:00
igodwin 8229944149 Change logging and implement gRPC 2025-10-18 23:12:25 -07:00
igodwin 769fd5e2aa Set correct config type 2025-10-17 20:53:53 -07:00
igodwin aed1a3b6a1 Update go version in docker build stage to 1.24 2025-10-17 20:38:27 -07:00
igodwin c15f1a50ca Update config naming and doc 2025-10-17 20:36:29 -07:00
igodwin eb9e107f65 Add support for multiple instances of the same notifier type 2025-10-17 16:39:33 -07:00
igodwin ba3fad9431 Tidying up 2025-10-16 22:10:47 -07:00
igodwin d28bb92486 Update gitignore 2025-10-16 21:56:03 -07:00
igodwin 46b6008981 Fix build command in Dockerfile 2025-10-16 21:45:17 -07:00
igodwin 0749c6a6d3 Use ISO 8601 format for server logging 2025-10-16 21:28:38 -07:00
igodwin 9087a710e5 Basic impl added 2025-10-16 21:22:51 -07:00
igodwin 097ca99788 Update README.md 2024-11-01 20:00:32 -07:00
igodwin 46d3b66feb Add basic project layout 2024-11-01 19:36:58 -07:00
igodwin 7f867017fb Initial commit 2024-11-01 19:28:32 -07:00