Commits
- Commit:
c1999c4e72e56c1cff40fc34618c1626d141d97d- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
chore: bump version to v0.6.0
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
- Commit:
ba47af3af2040dd40fcd90c882919ac9a4b3241d- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
ci: replace arch linux build with alpine linux
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
- Commit:
f24e78ff3e625c1cdcd2c3e1818ce4f6a2eb122f- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
build: remove email on failure
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
- Commit:
9dd9af108ffadefeac616c03aae372ff8c7b0fb5- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
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>
- Commit:
d6c4d11e50b169ebfbef3ece453d0ef060bbd4d7- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
feat: send oldest feed items from db first
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
- Commit:
274c1d64ae73752876251006a4fa590084696f22- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
refactor: make function order more predictable
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
- Commit:
42b9afc7376731c380939c6411a8d5f4ae11938c- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
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>
- Commit:
62f59f2d25e82b1e7e20f54dffa7bf2b0ea635a9- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
chore: don't use ` in shell scripts
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
- Commit:
771900b15631ac2a32cf60bf9bd16eaf88815c0c- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
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>
- Commit:
6f8eb2710134cde1501dfca708fda3d16d9ab578- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
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>
- Commit:
91d924e2ff7408d4e6b66378d7af3bf48cef4a69- From:
- Hugo Osvaldo Barrera <hugo@whynothugo.nl>
- Via:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
Squelch warning on bad usage of Debug formatting
- Commit:
a88579e9c2373b9d4e1ff14b84baee4d37146279- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
chore: bump version to v0.5.1
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
- Commit:
5dae9c67009d122d97818ee8b9fd24dec7a37e7b- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
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>
- Commit:
5f2f73a1570567ccccb1787aad953e84a905b3a2- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
chore: update atom_syndication to 0.12.0
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
- Commit:
dd4c8f2a43f9d1d2f4a0085bba3e227b82c1492a- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
refactor: inline format args
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
- Commit:
72fd2fc415d82d32a4efa228c9d00e8c442ae902- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
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>
- Commit:
8a85ce0e5844a99d1ddf8555627382a081cbc816- From:
- Hugo Osvaldo Barrera <hugo@whynothugo.nl>
- Via:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
chore: Build sqlx without TLS
Since we're using sqlite, sqlx doesn't need TLS for anything.
- Commit:
bb56fbb7a0a9236e9507830d9e3ccadbed28a7f8- From:
- Hugo Osvaldo Barrera <hugo@whynothugo.nl>
- Via:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
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.
- Commit:
620304491da246307b3ccdd7355df11b370e2fcd- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
build: update deps rss and atom_syndication
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
- Commit:
94eece8e37c53d4b729803e5286c31ba2cef7683- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
chore: bump version to v0.5.0
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
- Commit:
ac4437f1ba105d4b2bba49b9b87f2444d7bf0eca- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
chore: add myself to the mailmap
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
- Commit:
c25307ceb4d73b46b6649327675385d6301cd8fd- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
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>
- Commit:
a60f9bd921b2b6be0b45d81d723c112aea5d90ca- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
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>
- Commit:
517f0f6252a4398a77ad82c027ecdcc7ba8e3f29- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
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>
- Commit:
fcea8dc69f246e04c5304af228295d1be740de3b- From:
- Thomas Böhler <witcher@wiredspace.de>
- Date:
fix: fallback to url if guid not available for rss
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
