Proto commits in kannon-email/kannon

These 37 commits are when the Protocol Buffers files have changed:

Commit:9cd5f37
Author:Ludovico Russo
Committer:GitHub

feat: add stats cleanup in order to remove old data from database (#311) * feat: add stats cleanup in order to remove old data from database * refactor: organize stats in ddd approach * feat: add aggregated stats * feat: expose stats and add tests * refactor: improve code * fix: test potential issue * ci: fix go modules cache issue

The documentation is generated from this commit.

Commit:8125960
Author:Ludovico Russo

refactor: improve code

The documentation is generated from this commit.

Commit:a711435
Author:Ludovico Russo

feat: expose stats and add tests

Commit:b0d9c4d
Author:Ludovico Russo
Committer:GitHub

feat: add cc and to headers control in sending api (#305) * feat: add cc and to headers control in sending api * fix: missing CC could lead to error * refactor: improve and add tests * fix: linter

Commit:0e7deb0
Author:Ludovico Russo

feat: add cc and to headers control in sending api

Commit:c845188
Author:Ludovico Russo
Committer:GitHub

feat: refactor apikey handling (#302) * feat: implementing api key * feat: improve implementation and remove unsued stuff * feat: remove api key from domain * refactor: improve tests * feat: add tests for service with inmem repo * fix: minimum improvements * chore: update docker compose and makefile for easier test run * feat: generate api keys @ 64 len * feat: update lint * refactor: remove key field from domain and update related queries * fix: generalize domain in test * test: add test for preserving API key state on update error

Commit:00a1f9c
Author:Ludovico Russo

fix: minimum improvements

Commit:383975b
Author:Ludovico Russo

feat: remove api key from domain

Commit:5518336
Author:Ludovico Russo

feat: improve implementation and remove unsued stuff

Commit:4f3bd0d
Author:Ludovico Russo

feat: implementing api key

Commit:50f2b10
Author:Ludovico Russo
Committer:GitHub

feat: improve dependency container (#264) * refactor: implement generic singleton pattern with error handling - Introduced a generic singleton type to manage single instance creation with error handling. - Updated existing methods in the container to utilize the new MustGet method for safer initialization. - Added comprehensive unit tests for the singleton implementation, covering successful initialization, concurrent access, and type handling. * feat: implement container closers with timeout handling - Added a new Container struct with support for closers that can be executed with a timeout. - Implemented CloseWithTimeout method to handle parallel execution of closers and aggregate errors. - Introduced comprehensive unit tests for various scenarios including empty closers, successful closures, error aggregation, and timeout handling. - Ensured backward compatibility with the existing Close method while enhancing functionality. * docs: add comprehensive README for Container architecture * feat: add health check functionality to Container * feat: enhance E2E tests with HZ service integration - Removed PACKAGE_AFFINITY lint rule from buf.yaml. - Added HZ service client to clientTest and clientFactory in e2e/client_test.go. - Implemented test for HZ service in e2e/e2e_test.go, validating response structure. - Updated infrastructure test structure to include container management. - Enhanced container closing logic with context handling for graceful shutdowns. - Introduced HZ API service in pkg/api/api.go and updated server initialization to include it. * chore: upgrade deps * chore: upgrade golint-ci

Commit:f9d50be
Author:Ludovico Russo

feat: enhance E2E tests with HZ service integration - Removed PACKAGE_AFFINITY lint rule from buf.yaml. - Added HZ service client to clientTest and clientFactory in e2e/client_test.go. - Implemented test for HZ service in e2e/e2e_test.go, validating response structure. - Updated infrastructure test structure to include container management. - Enhanced container closing logic with context handling for graceful shutdowns. - Introduced HZ API service in pkg/api/api.go and updated server initialization to include it.

Commit:05dcced
Author:Ludovico Russo

refactor: update module path from ludusrusso to kannon-email - Changed module path in go.mod, buf.gen.yaml, and various proto files to reflect the new repository location. - Updated import paths across the codebase to ensure consistency with the new module path. - Adjusted related configuration files to maintain compatibility with the updated structure.

Commit:2703795
Author:Ludovico Russo
Committer:GitHub

feat: add global fields when sending emails (#236)

Commit:78a1e5c
Author:Ludovico Russo
Committer:GitHub

feat: add attachments to kannon (#211)

Commit:3faf39b
Author:Ludovico Russo

feat: add stats aggregated

Commit:e412254
Author:Ludovico Russo

feat: add get domain api

Commit:fbb66cd
Author:Ludovico Russo
Committer:GitHub

wip: big refactoring, to test (#89) * wip: big refactoring, to test * fix linter * run verifier * fix lint

Commit:951d2df
Author:Ludovico Russo
Committer:GitHub

add stats api (#88)

Commit:02c37ac
Author:Ludovico Russo
Committer:GitHub

handle stats in a single table (#85)

Commit:50c76fe
Author:Ludovico Russo
Committer:GitHub

✨ add real templates (#82) * add real template * move template admin to admin api * rm deprecated stuff and fix some queries

Commit:f9e6b21
Author:Ludovico Russo
Committer:GitHub

✨ handle templating (#77) * add new fields to db and proto * replacing fields in html * fix some linting errors * fix some lints

Commit:f5d74d3
Author:Ludovico Russo

fix: stats log ok

Commit:0c48fda
Author:Ludovico Russo
Committer:GitHub

update soft bounce (#75)

Commit:0c2dfab
Author:Ludovico Russo

update soft bounce

Commit:54c540a
Author:Ludovico Russo
Committer:GitHub

✨ Add smtp server to handle soft bounces (#74) * fix: return path * wip * add smtp server to handle bounces * add configurations * fix: some linting issue

Commit:5128818
Author:Ludovico Russo
Committer:Ludovico Russo

fix: return path

Commit:2049316
Author:Ludovico Russo

add stats link

Commit:7db5570
Author:Ludovico Russo

add bounce

Commit:81f7863
Author:Ludovico Russo

add scheduled time

Commit:cd839e6
Author:Ludovico Russo
Committer:Ludovico Russo

✨ Live 13 apr 2022 (#57) Member ludusrusso commented 8 minutes ago • What this PR does / why we need it: Add e2e test and improve code Code live on twitch.tv/ludusrusso fixes #58 * test: optmize db test * feat: add e2e test * feat: move dockerfile to go 1.18 * tool: add dependabot * fix: golang-ci action Co-authored-by: davideimola <davide.imola@icloud.com>

Commit:d657432
Author:Ludovico Russo

feat: add e2e test

Commit:35445dc
Author:Ludovico Russo
Committer:GitHub

🛠️ using buf to handle proto generation

Commit:a10c750
Author:arosso96
Committer:GitHub

🐛 Renamed proto package to pb Co-Authored-by: Ludovico Russo <ludus.russo@gmail.com>

Commit:47285b2
Author:Ludovico Russo
Committer:GitHub

🥜 Add nats and jetstream support (#22) * 🥜 create dispatcher with nats support * add dispatcher * add message handler in sender * fix tests * generate messages when email is sent * add dispatcher to docker * update nats * add statistics with logs * use NATS_CONN in sender

Commit:eca0761
Author:Ludovico Russo

up

Commit:6886467
Author:Ludovico Russo

up