Skip to content

F/multichannel notifications - #3

Merged
lucasmenendez merged 5 commits into
mainfrom
f/multichannel_notifications
Jul 27, 2026
Merged

lucasmenendez merged 5 commits into
mainfrom
f/multichannel_notifications

Conversation

@lucasmenendez

Copy link
Copy Markdown
Collaborator

No description provided.

Replace the lucasmenendez/apihandler dependency with go.k7z7z.cc/x.
Remove internal packages that become redundant (base64url, error,
fakesmtpserver, osflag). Remove the api/io package and cmd/consts.go.
Adapt the token package to use go.k7z7z.cc/x imports for base64url
encoding and error types.
Introduce a generic notification queue with Notification and QueueConfig
interfaces. Implement the email notification channel with EmailConfig,
EmailNotification, and SMTP sending with retries. Move login email
templates under the email package. Adapt the API handlers, service,
errors, and types to use the new notification system.
Update the client package to use the new api type structures and
error types from go.k7z7z.cc/x. Replace internal error references
with the new client sentinel errors.
Update authapi and demo entrypoints to use the generic notification
queue and new email config types. Update example.env, docker files,
and gitignore to reflect the new configuration layout.
Add tests for notification queue lifecycle, email channel error
paths, template composition errors, token extraction, API handler
error branches, service start/stop, and client HTTP errors. Rename
test error variables to follow Go convention (errFoo).
@lucasmenendez lucasmenendez self-assigned this Jul 26, 2026
@lucasmenendez lucasmenendez added the enhancement New feature or request label Jul 26, 2026
@lucasmenendez
lucasmenendez merged commit 1eaf123 into main Jul 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant