Jacob Kiers
9f815f3f9c
Release version 0.2.3
...
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
6cb35aae42
Update dependencies with contributions
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
7c5e971571
Merge pull request 'Add `update` subcommand to update itself to the latest version' ( #16 ) from 15-update into master
continuous-integration/drone/push Build is passing
Details
3 months ago
Jacob Kiers
0598026756
Add update subcommand
...
continuous-integration/drone/push Build is passing
Details
This allows updating the binary to the latest verison.
Closes : #15
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
4069d8ac31
Update changelog
...
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
7407654e60
Fix CS and some other small things
...
Useful tool, that clippy...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
e7fd41ff95
Truncate the feed file before writing
...
Otherwise, the feed may be overwritten, but if it is shorter, it may
contain some leftover data from a previous run. In that case, the file
will be invalid XML, thereby failing to be parsed.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
c2d09621aa
Add style sheet to the feed
...
Based on the code proposed in PR 70 of the atom-syndication crate.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
9129f7e11b
Put real feed url into feed
...
Instead of hardcoding the feed file name to be feed.atom, it has been
configurable for a while. This is now also reflected in the feed itself.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
71371cb3e1
Go back to docker-in-docker
...
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
f61e635721
Add link to releases page
...
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
d3e4c9e790
Add usage instruction to README
...
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
3d7e5fc2cf
Update to v0.2.2
...
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
78049cf7b6
Remove unnecessary docker-in-docker
...
continuous-integration/drone/push Build is passing
Details
We're now launching new build servers, so security is less of a concern.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
3abec884c2
Really remove targets I don't care about
...
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
ea30a49901
Build with rust v1.66 and cross v0.2.4
...
Also added some sanity checks. The new docker image now also contains
all required targets and the rust-src component already, which makes it
a bit faster to get started.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
3 months ago
Jacob Kiers
31fda8bae2
Update changelog for v0.2.1
...
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone Build encountered an error
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
4 months ago
Jacob Kiers
b19688a79c
Remove builds I don't personally care about
...
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
4 months ago
Jacob Kiers
546c063ce9
Update to mail_parser v0.8.0
...
continuous-integration/drone Build was killed
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
4 months ago
Jacob Kiers
751b4d2551
Release version 0.2.0.
...
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/tag Build was killed
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
4 months ago
Jacob Kiers
60362ff7c2
Add style sheet to feed
...
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/push Build encountered an error
Details
This makes it easier in a browser to use and understand the feed.
The style sheet is shamelessly copied from
https://andrewstiefel.com/style-atom-xsl/
Closes #4
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
4 months ago
Jacob Kiers
4599ce47fb
Replace hard-coded feed name with configured name
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
4 months ago
Jacob Kiers
6d3527d3e4
Add some cargo instructions
...
For example, to derive the documetation from the README.md file.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
4 months ago
Jacob Kiers
49a9670c4a
Rename feed by default to feed.xml
...
This helps with processing in browsers.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
4 months ago
Jacob Kiers
0f65550169
Write index.html file to output
...
This gives a simple landing page with a rel=alternate link to the feed.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
4 months ago
Jacob Kiers
7658748fa7
Build with rust 1.65
...
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
4 months ago
Jacob Kiers
a4d9d16482
Update rust dependencies
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
4 months ago
Jacob Kiers
427831fc93
Update dependencies
...
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
5 months ago
Jacob Kiers
9a89febcb2
Remove workspace
...
Since only the bin crate was left, there is no reason to keep the
workspace setup.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
5 months ago
Jacob Kiers
161c021e08
Tagging release v0.1.0
...
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/tag Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
7 months ago
Jacob Kiers
c3051e9cd2
Add cross-platform builds with jsonnet
...
continuous-integration/drone/push Build was killed
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
7 months ago
Jacob Kiers
078ac2e82e
Update dependencies
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
7 months ago
Jacob Kiers
ea57f625e4
Add systemd deployment example
...
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
7 months ago
Jacob Kiers
575495bf2c
Update title
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
3c25726c32
Add landing page
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
802b2a81b8
Add missing options to build-feed
...
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
f529e0ceb6
Make it a real CLI app
...
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
24fb0c1ba6
Ignore more directories
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
f552e86945
Small cleanup
...
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
118a30df67
Generate an Atom feed from the newsletters
...
continuous-integration/drone/pr Build encountered an error
Details
continuous-integration/drone/push Build is passing
Details
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
144df61af2
Enable drone integration ( #1 )
...
continuous-integration/drone/push Build is passing
Details
This will enable integration with the Drone build server.
Reviewed-on: jjkiers/newsletter-to-web#1
8 months ago
Jacob Kiers
01d0b82ee8
Update all dependencies to latest versions
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
abf4c787ab
Manually remove images instead of parsing
...
Instead of using all kinds of difficult libraries, just replace the
string "src" with "data-source". This covers most cases of removing
images.
This also removes the previously inlined kuchiki and sanitize-html-rs
libraries.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
9d41fcd463
Change path to store messages in
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
96a9c27fc0
Use Message struct in write_to_test_path()
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
02be91a75d
Add struct Message, owning the data
...
This is more understandable than using (String, Vec<u8>) everywhere.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
13c8665daa
Update mail_parser crate to v0.5.0
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
8 months ago
Jacob Kiers
8a0d6ee9c7
Remove unused imports
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
10 months ago
Jacob Kiers
52ec0925f2
Convert IMAP functions into ImapReader
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
10 months ago
Jacob Kiers
8f29b35ae7
Move message readers into its own module
...
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
10 months ago