Commit Briefs

c1999c4e72 Thomas Böhler

chore: bump version to v0.6.0 (main, tags/v0.6.0)

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


ba47af3af2 Thomas Böhler

ci: replace arch linux build with alpine linux

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


f24e78ff3e Thomas Böhler

build: remove email on failure

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


9dd9af108f Thomas Böhler

chore: remove cog.toml

Not a big fan of cocogitto due to some shortcomings. I'm also not a fan of conventional commits anymore so I might stop using it for rss-email. Conventional commits is nice in theory but I found it to be unnecessary and not really helpful in practice. Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


d6c4d11e50 Thomas Böhler

feat: send oldest feed items from db first

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


274c1d64ae Thomas Böhler

refactor: make function order more predictable

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


42b9afc737 Thomas Böhler

chore: allow multiple crate versions

Hunting down multiple crate versions is a pain. Just keep them. Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


62f59f2d25 Thomas Böhler

chore: don't use ` in shell scripts

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


771900b156 Thomas Böhler

fix: handle errors from tasks in JoinSet

Check all task errors instead of whether joining them was successful. Previously the actual errors were ignored because it was only checked whether joining all tasks in the JoinSet was successful. Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


6f8eb27101 Thomas Böhler

fix: drain mpsc when running with --dry-run

The --dry-run option should fetch all feeds, store them in the database, mark them as sent, but not actually send any emails. The previous implementation only fetched all feeds and fed them to the mpsc that is shared by the accumulator and the sender, but as the sender wasn't running, nothing received the feed items from the channel, which made the accumulator block, as the channel only fits 10 items. Move the dry run logic as deep into the sender as possible so all the logic still runs and just the emails aren't sent. Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


91d924e2ff Thomas Böhler

Squelch warning on bad usage of Debug formatting


a88579e9c2 Thomas Böhler

chore: bump version to v0.5.1 (tags/v0.5.1)

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


5dae9c6700 Thomas Böhler

chore: add sqlx query metadata

Generate the sqlx query metadata for offline compile-time verification (like used in contrib/githooks/pre-commit). Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


5f2f73a157 Thomas Böhler

chore: update atom_syndication to 0.12.0

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


dd4c8f2a43 Thomas Böhler

refactor: inline format args

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


72fd2fc415 Thomas Böhler

chore: update clap to version 4

Since Rust 1.80.0, std::sync::LazyLock is stabilized. The clippy lint clippy::non_std_lazy_statics complains if another implementation than the one in the standard library is used. Update clap to version 4 where the LazyLock implementation in the standard library is used. Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


8a85ce0e58 Thomas Böhler

chore: Build sqlx without TLS

Since we're using sqlite, sqlx doesn't need TLS for anything.


bb56fbb7a0 Thomas Böhler

chore: Update [transitive] dependency ring

Builds fail on ppc64le, s390x and riscv64 due to ring failing to build. This bug was fixed in ring 0.17. Bump dependencies which transitively depend on ring so that ring>=0.17 is used during builds. Fixes builds on riscv64, s390x and ppc64le.


620304491d Thomas Böhler

build: update deps rss and atom_syndication

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


94eece8e37 Thomas Böhler

chore: bump version to v0.5.0 (tags/v0.5.0)

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


ac4437f1ba Thomas Böhler

chore: add myself to the mailmap

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


c25307ceb4 Thomas Böhler

fix: Set rustls log level to "Warn"

rustls is way too chatty and the messages don't serve a purpose for this program. Hard code its logging level to "Warn" so the debug logs of rss-email are actually readable and useful. Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


a60f9bd921 Thomas Böhler

refactor: change application architecture

The architecture of rss-email is changed to include 3 phases: - Fetching - Accumulating - Sending This makes it possible to parallelise these steps, with messages passed between them. Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


517f0f6252 Thomas Böhler

feat: add option for STARTTLS

The "starttls" configuration option and the "--smtp-starttls" command line flag are introduced to allow sending email over STARTTLS. Closes: https://todo.sr.ht/~witcher/rss-email/29 Signed-off-by: Thomas Böhler <witcher@wiredspace.de>


fcea8dc69f Thomas Böhler

fix: fallback to url if guid not available for rss

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>