Commit graph

19 commits

Author SHA1 Message Date
Vincent Ambo
5cdede844f feat(planet-mars): add CI configuration
Adds CI configuration that builds the Rust package, and exports the package back
to Github after submits to canon.

Change-Id: I2f8dcff2a614898c55115f44510543ff25d46b55
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12996
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: thk <thomas@koch.ro>
2025-01-13 09:06:40 +00:00
Vincent Ambo
0a83e6567b subtree(web/planet-mars): import project from previous upstream
This project is moving into the depot. Upstream is
github/thkoch2001/planet-mars.

This commit does not yet add a Nix build, only imports the code and matches
formatting requirements.

The import has been josh-filtered, which will allow us to continue publishing
the history to the previous repo.

Change-Id: I9cb184b5af3f74a0b4079bac499b4db039b7939b
2025-01-13 11:48:33 +03:00
Thomas Koch
1d9812d3cb also commit Cargo.lock 2025-01-13 09:27:39 +02:00
Thomas Koch
0bd9eb5051 update README 2025-01-13 09:26:36 +02:00
Thomas Koch
08160c315b fix previous commit :-( 2025-01-12 21:15:26 +02:00
Thomas Koch
ac805654bd set explicit versions for deps and update 2025-01-12 21:14:37 +02:00
Thomas Koch
ef8c39ed85 fix double https://https:// in useragent 2025-01-12 21:14:20 +02:00
Thomas Koch
c8c0f691ab fix typo in atom template, link element 2025-01-12 20:49:38 +02:00
Thomas Koch
150314936c get authors also from feed data + some css 2025-01-12 20:13:18 +02:00
Thomas Koch
4a9f5201d1 add some docs 2025-01-12 13:02:45 +02:00
Thomas Koch
81f1e22d53 generate a blogroll 2025-01-12 11:23:31 +02:00
Thomas Koch
a345107228 resolved error handling todos 2025-01-12 10:58:15 +02:00
Thomas Koch
fabd40e0b6 add Cargo metadata 2025-01-11 21:44:16 +02:00
Thomas Koch
2fa661c752 rm done todos from readme 2025-01-11 21:26:54 +02:00
Thomas Koch
cfab9ef5c0 implemented also atom feed via template 2025-01-11 21:17:55 +02:00
Thomas Koch
8b17e93d74 stuff 2025-01-11 13:45:03 +02:00
Thomas Koch
85b5c2be89 Fix caching
Nginx's std cfg only returns 304 with If-Unmodified-Since header, if the date
is exactly the one it expects, not the date the client did its last request.

This makes sense as it is much easier to compare two strings for equality than
to parse the date received from the client and check the ordering with the
server known last_modified value.
2025-01-11 13:38:20 +02:00
Thomas Koch
3bee93ecb3 generating html from 12 feeds works 2025-01-10 20:17:06 +02:00
Thomas Koch
b422ece932 . 2025-01-10 11:39:54 +02:00