-
-
Notifications
You must be signed in to change notification settings - Fork 35
feat!: Email support using lettre #419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ElijahAhianyo
wants to merge
90
commits into
cot-rs:master
Choose a base branch
from
ElijahAhianyo:elijah/trkelly23-fix-email
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
1d2849e
Initial commit of email.rs using lettre
trkelly23 252cebe
Initial commit of Add email support using lettre crate
trkelly23 fc1fb9f
Added the message printout if debug mode is enabled
trkelly23 d64980f
Added a test and deferred the extra headers and attachment features.
trkelly23 4edd6d0
Added tests for config and send_email(ignore).
trkelly23 dbbf50f
Fixed the email example and removed minor version from cargo.
trkelly23 0587340
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] a1a25da
Fixed the email example and removed minor version from cargo.
trkelly23 84eb659
Merge branch 'feat-add-email-support' of https://github.com/trkelly23…
trkelly23 c964e45
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] a13552e
Implemented a trait impl for the EmailBackend
trkelly23 6ac6e92
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] d7ac14a
Refactor to insure multiple email backends could be added. Mocking a…
trkelly23 4ee5c6a
Pushing lock since there seems to be a conflict
trkelly23 49775cd
Merge branch 'master' into feat-add-email-support
trkelly23 553c2e9
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] cb8093a
Adding the reworked smtp implementation and NOT working example for h…
trkelly23 749ef05
chore: cargo fmt
seqre 3a042af
fix bootstrapper
seqre 84c111d
chore: merge master
seqre ea8e2e0
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] fa4f337
Merge branch 'master' into feat-add-email-support
m4tx 6cc9cb6
Merge branch 'master' into feat-add-email-support
seqre 83652f1
Tested send-email example and cleaned up code
trkelly23 33e49c2
Merge branch 'master' into feat-add-email-support
trkelly23 587444d
Merge remote-tracking branch 'upstream/master' into trkelly23-fix-email
ElijahAhianyo bd0f3be
add cargo lock
ElijahAhianyo 88eaecc
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] 7bd01a8
non working proof of concept
ElijahAhianyo 01fa369
some small refinement
ElijahAhianyo ec22d95
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] 920ea57
Merge branch 'master' into elijah/trkelly23-fix-email
ElijahAhianyo 1cccefd
okay, we have a working version!
ElijahAhianyo e8dc749
improve the API a bit
ElijahAhianyo c70b70d
docs improv best efforts
ElijahAhianyo a7afb37
initial tests
ElijahAhianyo 1390e94
pre-commit fix and email example overhaul
ElijahAhianyo b931067
Merge branch 'master' into elijah/trkelly23-fix-email
ElijahAhianyo 946f07c
some CI fixes
ElijahAhianyo 9e2e6ae
try changing windows linker
ElijahAhianyo 24bf486
fix docs unittest
ElijahAhianyo d701a2a
Allow Apache 2.0 with LLVM-exception
ElijahAhianyo 8f4f738
lets see if this fixes it for windows
ElijahAhianyo 11afeab
cargo insta fix
ElijahAhianyo 612aaf1
mising files?
ElijahAhianyo c41d976
try this
ElijahAhianyo 221b04c
lets try debug 0 for tests
ElijahAhianyo 07e9dbc
lets try setting symbol mangling version to v0
ElijahAhianyo f4af735
pin nightly version
ElijahAhianyo 9e6754e
try adding some tests
ElijahAhianyo e2c6790
we need the linker change
ElijahAhianyo 5b1b577
small test for config
ElijahAhianyo b460806
increase cov a bit
ElijahAhianyo 92baad4
some improvements including docs
ElijahAhianyo 572b168
doc fix
ElijahAhianyo 8154b20
some minor fixes
ElijahAhianyo b5da565
remove profile test
ElijahAhianyo ab7f4e5
Merge branch 'master' into elijah/trkelly23-fix-email
m4tx 9019d55
bump askama
m4tx 4fbdf39
address most of the PR comments
ElijahAhianyo 71c516e
use tokio-rustls
ElijahAhianyo d550869
using tokio-rustls needs ring feature
ElijahAhianyo 9e539ec
whitelist licenses required by lettre
ElijahAhianyo 0e44378
fix clause
ElijahAhianyo 2420300
not sure what happened there
ElijahAhianyo 79d5d24
apparently we need this
ElijahAhianyo 8bc83bd
more whitelist
ElijahAhianyo e97aa58
test excluding examples
ElijahAhianyo ca5263e
Merge branch 'master' into elijah/trkelly23-fix-email
ElijahAhianyo 90f913a
update workflow
ElijahAhianyo 854b38c
Pin the idna version to ^1.1
m4tx 9ca90bd
Update Cargo.lock
m4tx 71e3c44
also pin chumsky
m4tx a71db21
remove the exclude examples flag from cargo hack
ElijahAhianyo 73c83e4
introduce indirection
ElijahAhianyo bd2979f
Merge branch 'master' into elijah/trkelly23-fix-email
ElijahAhianyo 8d84c7b
Apply suggestions from code review
ElijahAhianyo d231184
address a number of PR comments
ElijahAhianyo 1f5d9a1
Merge branch 'master' into elijah/trkelly23-fix-email
ElijahAhianyo c644c9f
clippy fix
ElijahAhianyo 3b98677
clippy fix
ElijahAhianyo 5291ce8
small change
ElijahAhianyo 84b6c47
address PR comments
ElijahAhianyo c230c52
fix CI error
ElijahAhianyo 24e39d5
fix silly error
ElijahAhianyo 3b1c423
insta snapshot
ElijahAhianyo 3936515
address nit
ElijahAhianyo 631789e
Trigger CI
ElijahAhianyo cc78b7e
use yaml anchors
ElijahAhianyo 26ef6bb
that did not work
ElijahAhianyo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,8 @@ | ||
| [resolver] | ||
| incompatible-rust-versions = "fallback" | ||
|
|
||
| # TODO: Safe to remove once https://github.com/rust-lang/rust/issues/141626 gets resolved. | ||
| # Also, see https://github.com/cot-rs/cot/pull/419/changes#r2636869773 for more info. | ||
| [target.x86_64-pc-windows-msvc] | ||
seqre marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| linker = "rust-lld" | ||
| rustflags = ["-C", "symbol-mangling-version=v0"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.