Commits
- Commit:
0468e48dcfca8923ccf77f08584567b4f3730553- From:
- witcher <witcher@wiredspace.de>
- Date:
Bump version
- Commit:
34e4e7cd5da850764d5578218c6bd4a9095612d0- From:
- witcher <witcher@wiredspace.de>
- Date:
Fix clippy lint
- Commit:
690f1709288face8957679667fa28849d6a18adf- From:
- witcher <witcher@wiredspace.de>
- Date:
Elaborate on sqlx for compiling and contributing
- Commit:
84367b4779497a04a427734bef0998800dba601b- From:
- witcher <witcher@wiredspace.de>
- Date:
Build CI in debug mode
Not building CI in release mode will speed up compilation and use less
resources on the CI host.
Building in release mode is also not needed currently anymore as no
build artifacts are generated for download.
- Commit:
4a617a0f911d249aeeb72d96dae966edbb4dfc53- From:
- witcher <witcher@wiredspace.de>
- Date:
Add `sqlx-data.json` for building in offline mode
- Commit:
7e1e64f5db5593deaefdac146e4d91fb5d16d7d7- From:
- witcher <witcher@wiredspace.de>
- Date:
Add migrations to use with sqlx
Migrations are embedded into the binary and run on startup with
`sqlx::migrate!()`.
- Commit:
b78b84dda46392047c1c797891adff38999ecc86- From:
- witcher <witcher@wiredspace.de>
- Date:
Replace diesel with sqlx
This replaces the non-async Diesel with the async sqlx to allow for
better performance through parallelising the insertion or updating of
posts in the database.
Migrations have not yet been implemented.
Implements: https://todo.sr.ht/~witcher/rss-email/12
Implements: https://todo.sr.ht/~witcher/rss-email/3
- Commit:
e039dc9be309339563524e1606a744336453c5ce- From:
- Hugo Osvaldo Barrera <hugo@whynothugo.nl>
- Via:
- witcher <witcher@wiredspace.de>
- Date:
Implement async fetching
This changeset implements fetching of RSS feeds asynchronously. It's
still no perfect though: data from feeds is inserted into the database
synchronously, and requests are temporarily paused while this happens
(since we're doing blocking IO to the database).
A potential solution to this is to have one thread that does the
networking, and another which inserts into the DB, with something like
an mpsc::channel to pass messages between them. This requires further
refactor and can be done as a followup. It would also be great to re-use
a single reqwest::Client, but that also requires further refactors.
Despite imperfections, this patch still provides a noticeable speed
bump; networking IO for one feed does not block others.
References: https://todo.sr.ht/~witcher/rss-email/3
- Commit:
08360f954b312a5566c5a39e6d82256257b77644- From:
- witcher <witcher@wiredspace.de>
- Date:
CI: Use release builds only
- Commit:
a27f194962e1a0e4a1544c0b0c071b48d069c4df- From:
- witcher <witcher@wiredspace.de>
- Date:
CI: Remove build artifacts
Build artifacts are now removed as diesel does not support dynamic
linking.
References: https://todo.sr.ht/~witcher/rss-email/11
- Commit:
abe5d044b1c4b56b02311e282a773dc1f73df7df- From:
- witcher <witcher@wiredspace.de>
- Date:
CI: Remove `openssl-dev` package
- Commit:
914f6070e8904afae8def9f428bc83afbd316976- From:
- witcher <witcher@wiredspace.de>
- Date:
CI: Remove step verifying signature of commit
This blocked patches from being built in CI.
- Commit:
d26b8a7e115846616a6cd43599ab5593d8930396- From:
- witcher <witcher@wiredspace.de>
- Date:
Update Cargo.lock
- Commit:
77b985cb610f2707a961c3e6b9cac98434e78d42- From:
- jman <srht@city17.xyz>
- Via:
- witcher <witcher@wiredspace.de>
- Date:
Use RustTLS instead of native OpenSSL
Signed-off-by: jman <srht@city17.xyz>
- Commit:
f41ed2f9d161e6a397e1e67525fa8832d790df95- From:
- witcher <witcher@wiredspace.de>
- Date:
CI: Build in release mode
- Commit:
f112a277a387922ce9f1cddb9be8f47bba6c323e- From:
- witcher <witcher@wiredspace.de>
- Date:
Strip symbols on release builds + building docs
Enable stripping symbols with cargo by default on release builds.
Build documentation with `scdoc` in CI.
- Commit:
ded4df750c33005934b50605dd106addbe05b682- From:
- witcher <witcher@wiredspace.de>
- Date:
Add man page
- Commit:
3fe96bd12a76b76458f85d936050cf782bce0c16- From:
- witcher <witcher@wiredspace.de>
- Date:
Fix formatting
- Commit:
69bfb4f36f0b25583d31dfdd9dc2c7932eabb4d2- From:
- witcher <witcher@wiredspace.de>
- Date:
Always append URL to body of E-Mail
Closes: https://todo.sr.ht/~witcher/rss-email/7
- Commit:
e8c5640f7c0c84e3a3da2f141895ba422f96924c- From:
- witcher <witcher@wiredspace.de>
- Date:
TLS: Let lib handle TLS settings
This seems to work for Migadu as an SMTP server, but hasn't been tested
with other SMTP servers (e.g. without any TLS at all).
Closes: https://todo.sr.ht/~witcher/rss-email/8
- Commit:
ccb62d531454eb4b79b334d3d72be07aa85f4101- From:
- witcher <witcher@wiredspace.de>
- Date:
Extract config and mailer modules
Closes: https://todo.sr.ht/~witcher/rss-email/9
- Commit:
30dde916b02b22cd1840d13fb35276990bceeb53- From:
- witcher <witcher@wiredspace.de>
- Date:
Use specified port for smtp server in config
- Commit:
ae8f0b63095ba20ef185eba17ae1d312ea9feca7- From:
- witcher <witcher@wiredspace.de>
- Date:
Add LICENSE
- Commit:
78dc66cd0d71ff71e3c936026ff6e5ee723724f8- From:
- witcher <witcher@wiredspace.de>
- Date:
Add README.md
- Commit:
c7665c29c257f354af8ca7b00f99f89c2a459f48- From:
- witcher <witcher@wiredspace.de>
- Date:
Add example config file
