summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-06-11chore(deps) use soft-ascii-string 1.0Philipp Korber
- use new `from_unchecked` instead of deprecated `from_*_unchecked`
2018-06-11doc(Inspect): document InspectEmbeddedResources traitPhilipp Korber
- includes a example about the usage of the InspectEmbeddedResources derive and all of it's attributes
2018-06-01fix(request): use commit_partial_headerPhilipp Korber
- for conversion of Mailbox to mailaddress the EncodingBuffer/EncodingWriter is used but we don't write a full header, so we need to use commit_partial_header or it will blow up if traceing is enabled
2018-05-31cleanup: removed test_resources moved to another cratePhilipp Korber
- they are now in `mail-render-template-engine`
2018-05-31chore(Embedded): impl Serialize to content id for itPhilipp Korber
- needed for template engines using serialization for data access
2018-05-31refactor(deps): removed more (now) unused depsPhilipp Korber
2018-05-31refactor(deps): removed unused dev-dependenciesPhilipp Korber
2018-05-31refactor(askama): rename feature `askama_engine` => `askama-engine`Philipp Korber
2018-05-31test(askama): tests for askama enginePhilipp Korber
2018-05-31refactor(BodyPart) renamed field `body_resource` => `resource`Philipp Korber
2018-05-31chore(askama): added support for askama enginePhilipp Korber
2018-05-31chore(TemplateEngine): removed D: InspectEmbeddedResources from traitPhilipp Korber
The bound is only needed for the mechanics done before calling the TemplateEninge.
2018-05-31chore(InspectEmbeddedResources): made trait object safePhilipp Korber
2018-05-30refactor(BodyPart): moved BodyPart to builder_extension modulePhilipp Korber
2018-05-30test(resource): added some tests for Embedded, EmbeddedWithCIdPhilipp Korber
2018-05-30chore(api): moved render_template_engine and tera into different cratePhilipp Korber
2018-05-30chore(api)*: simplified apiPhilipp Korber
[won't compile tests, see below] - use InspectEmbeddedResources + #[derive(..)] instead of strange side channel during serialize for setting content ids - provide a compose methods on `MailSendData` instead of the strange CompositionBase trait + structs - use Embedded/EmbeddedWithCId instead of Attachment, Embedding, EmbeddingWithCId,... - remove unused crates - rename mod `tempalate` => `template_enigne` - changes are not yet applied to render_template_eninge and tera bindings
2018-05-24chore(examples): examples are not in mail facade cratePhilipp Korber
2018-05-24chore(features): remove unessesary feature gatesPhilipp Korber
- only keep features gated if they either introduce a dependency or a lot additional compilation time - also removed NoNameComposer, it just makes no sense to keep it
2018-05-24chore(deps): Context name and api changed in depsPhilipp Korber
2018-05-24chore(Context): removed Context and only use deps ContextPhilipp Korber
- use `mail-types::context::Context` every where - remove custom context, drop default_impl for it etc. - some changes to cid generation wrt. templates as the context interface changed (some clean up too)
2018-05-17chore(api): removed EnvelopData as it is not neededPhilipp Korber
- don't confuse this with the new-tokio-smtp EnvelopData type, they are similar but work on different abstraction levels
2018-05-17chore(deps): propaged changes from depsPhilipp Korber
2018-05-14chore(template_engine): added field accessors to SimpleCopositionBasePhilipp Korber
2018-05-11chore(deps): `SinglePartBuilder::header` singnature changedPhilipp Korber
- it had been wrong before and is now fixed, so the tests have to be fixed too
2018-05-11doc(README): updated readmePhilipp Korber
2018-05-11doc(README): added ReadmePhilipp Korber
2018-05-11test(request): implemented testsPhilipp Korber
2018-05-11chore(deps): propagated changed from new-tokio-smtpPhilipp Korber
- send_mail is currently not a extension trait, but a direct extension of Connection
2018-05-11fixup! refactor(api): cleand thinks up and added documentationPhilipp Korber
2018-05-11refactor(api): cleand thinks up and added documentationPhilipp Korber
2018-05-11chore(api+deps): strongly simplified api and uses changed depsPhilipp Korber
- the api was stringly simplified - uses new-tokio-smtp instead of tokio-smtp - inital commit of the changed api, some parts are not commit yet as they still have to be changed including e.g. the integration tests
2018-04-25chore(deps): mail-type => mail-typesPhilipp Korber
2018-04-25chore(deps + error): apply changes from deps and moved to failurePhilipp Korber
2018-04-16refactor: remove unused #[macro_use]Philipp Korber
2018-04-16Merge branch 'smtp'Philipp Korber
While all smtp features where moved out into their own crate, there where still some nice generall changes made when impl smtp, so the branch is still merged
2018-04-16chore(smtp): moved smtp module to its own projectPhilipp Korber
2018-04-16wip: moved files over from mail-codec-composition but no integrationPhilipp Korber
- the smtp module in mail-codec-composition was moved to become this crate - but imports and path's where not yet changed in the moved files to represent this change - also dependencies are not yet updated - also some parts where in the process of beeing changed to use `new-tokio-smtp` instead of `tokio-smtp`, to not discard the works the wip files of that where used so it's roughly _just_ moving files over
2018-04-05test(rte): add compile_error when the render-template-engine is missingPhilipp Korber
- so that the error messages when the render-template-engine feature is not enabled is more clear
2018-03-16fix(smtp): tokio-smtp returns Message<Response, Body<(), io::Error>>Philipp Korber
- I assumed before it just returns a Response - types where changed by wrapping with `Message::WithoutBody(resp)` and `message.into_innter()`
2018-03-13chore(smtp): removed send constraint from SmtpSetupPhilipp Korber
2018-03-13chore(smtp): From<Mail> for MailRequestPhilipp Korber
2018-03-13chore(smtp): smtp Quit on when stopping the servicePhilipp Korber
2018-03-13fix(deps): fix futures-cpupool importsPhilipp Korber
- before the default_impl_simple_context feature did not state that it depended on futures-cpupool - but it still happend to work in test sas futures-cpupool was a dev-dependency - now (only) default_impl_simple_context uses it and the exmaple uses the default_impl_simple_context feature
2018-03-13chore(deps): updated tokio-smtp path dep to git depPhilipp Korber
2018-03-12chore(smtp): improved smtp implementationPhilipp Korber
- turned the tokio_smtp service wrapper into a single function (it kind of had always been that way, just obfuscated by calling it a service wrapper) - added tests by "mocking" the tokio_smtp client proxy (both to the tokio_smtp wrapping function as well as the whole mail service dirver/handle part) - changes to what smtp sends (mails not thinks turned into mails using the composition/template api) - improvements to buffering, multiple mails can now be encoded parallely in the same thread poll resources are loaded stil only one mail is send at a time
2018-03-12chore(default_impl): added default_impl::simple_context::newPhilipp Korber
- it crates a CompositionContext containting a RandomCidGen, Fs resource loader (with cwd base dir) and future_cpupool offload component
2018-03-05refactor: silence unused warningPhilipp Korber
2018-03-05chore: initial tokio_smtp mail binding implementationPhilipp Korber
2018-02-28chore(smtp): add new module and feature for tokio-smtpPhilipp Korber