Commit Graph

25 Commits

Author SHA1 Message Date
Cadey Ratio 06d4bf7d69 src/app/markdown: no-js xeblog-conv support
Thanks to the meddling of @fasterthanlime, I now use lol_html[0] to
parse the <xeblog-conv> elements on the server side instead of on the
client side as an HTML custom element. I will be using this strategy in
the future to expand my blog's functionality and make the christine dot
website cinematic universe stronger.

Signed-off-by: Xe Iaso <me@christine.website>
2022-05-07 14:32:04 +00:00
Cadey Ratio cd1ce7785a add support for pre-publication posts
Signed-off-by: Xe Iaso <me@christine.website>
2022-05-05 14:58:23 +00:00
Cadey Ratio 6b771b5503 fix better????
Signed-off-by: Xe Iaso <me@christine.website>
2022-04-05 21:02:14 -04:00
Cadey Ratio 3a4827c887 log refresh token errors
Signed-off-by: Xe Iaso <me@christine.website>
2022-04-05 20:53:47 -04:00
Cadey Ratio fd6ac469a6 fix???
Signed-off-by: Xe Iaso <me@christine.website>
2022-04-05 20:40:18 -04:00
Cadey Ratio fa2ada9747 don't read patreon creds from envvars
Signed-off-by: Xe Iaso <me@christine.website>
2022-04-05 20:35:07 -04:00
Cadey Ratio 3a5c7adc42 tolerate no patrone creds
Signed-off-by: Xe Iaso <me@christine.website>
2022-04-06 00:01:52 +00:00
Cadey Ratio 1c8c3396a7 lib/patreon: refresh token support
This should hopefully make the patrons page work consistently and no
longer require me to manually update the patreon token once per month.
Why didn't I do this age ago??????

Hacked up live on twitch: https://twitch.tv/princessxen

Closes #442

Signed-off-by: Xe <me@christine.website>
2022-04-02 16:15:10 +00:00
Cadey Ratio d3a0498cc0 oops name lol
Signed-off-by: Xe <me@christine.website>
2021-11-06 05:48:16 -04:00
Asherah Connor 425de3f865
markdown: use comrak syntect (#393)
* markdown: use comrak syntect

* css: make the code samples look better

It ain't perfect, but it's probably good enough to start with:
https://media.discordapp.net/attachments/188796211543801856/885244826180808754/20210908_15h26m30s_grim.png

Signed-off-by: Christine Dodrill <me@christine.website>
Co-authored-by: Christine Dodrill <me@christine.website>
2021-09-08 17:00:11 -04:00
Cadey Ratio 698d4cb3af reduce feeds to 5 posts
Signed-off-by: Christine Dodrill <me@christine.website>
2021-09-06 12:04:17 -04:00
Cadey Ratio b7226624b8
blog: add morph tutorial (#363)
* blog: add morph tutorial

Signed-off-by: Christine Dodrill <me@christine.website>

* typos

Signed-off-by: Christine Dodrill <me@christine.website>
2021-04-25 18:42:59 -04:00
Cadey Ratio e096c5bb00 Revert "update sitemap oops"
This reverts commit f066decf27.
2021-04-18 10:39:53 -04:00
Cadey Ratio f066decf27 update sitemap oops 2021-04-18 10:31:28 -04:00
Cadey Ratio 43b37834dd
/dev/printerfact post (#359)
Signed-off-by: Christine Dodrill <me@christine.website>
2021-04-17 11:53:42 -04:00
Cadey Ratio 0b32b1da1c templates/mara.rs.html: make smol smoller
Signed-off-by: Christine Dodrill <me@christine.website>
2021-04-02 22:28:18 -04:00
Cadey Ratio 8383914aa5
Unix domain socket http server (#352)
* enable ipv6 support

Signed-off-by: Christine Dodrill <me@christine.website>

* enable unix socket powers

Signed-off-by: Christine Dodrill <me@christine.website>

* unix domain socket post

Signed-off-by: Christine Dodrill <me@christine.website>

* bump rust

Signed-off-by: Christine Dodrill <me@christine.website>
2021-04-01 22:30:45 -04:00
Cadey Ratio b7c2687ca8 parallelize markdown parsing
Signed-off-by: Christine Dodrill <me@christine.website>
2021-02-15 15:09:25 -05:00
Cadey Ratio 990cce7267
Use Tokio 1 (#306)
* upgrade all the things

Signed-off-by: Christine Dodrill <me@christine.website>

* build(deps): bump serde from 1.0.118 to 1.0.120

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.118 to 1.0.120.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.118...v1.0.120)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* fix

Signed-off-by: Christine Dodrill <me@christine.website>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-22 21:11:48 -05:00
Cadey Ratio 4bcc848bb1 move poking services into app boot after systemd notify
Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-16 21:38:22 -05:00
Cadey Ratio d2455aa1c1
Cache better (#296)
* Many improvements around bandwidth use

- Use ETags for RSS/Atom feeds
- Use cache-control headers
- Update to rust nightly (for rust-analyzer and faster builds)
- Limit feeds to the last 20 posts:
  https://twitter.com/theprincessxena/status/1349891678857998339
- Use if-none-match to limit bandwidth further

Also does this:

- bump go_vanity to 0.3.0 and lets users customize the branch name
- fix formatting on jsonfeed
- remove last vestige of kubernetes/docker support

Signed-off-by: Christine Dodrill <me@christine.website>

* expire cache quicker for dynamic pages

Signed-off-by: Christine Dodrill <me@christine.website>

* add rss ttl

Signed-off-by: Christine Dodrill <me@christine.website>

* add blogpost

Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-14 22:36:34 -05:00
Cadey Ratio 233ea76204
add webmention support (#274)
* add webmention support

Signed-off-by: Christine Dodrill <me@christine.website>

* add webmention integration post

Signed-off-by: Christine Dodrill <me@christine.website>
2020-12-02 16:16:58 -05:00
Cadey Ratio f643496416
various updates (#263)
* various updates

* fix glory shot

* fix mi url for updating my blog

* fix CI
2020-11-18 12:18:24 -05:00
Cadey Ratio fa13e57835
incorporate tracing instead of log (#222)
* incorporate tracing instead of log

* fix a test

* fix a test
2020-10-02 18:36:57 -04:00
Cadey Ratio a2fba89738
TL;DR Rust (#210)
* start mara code

* better alt text

* more mara tests

* cleanups

* blog: start tl;dr rust post

* more words

* feature complete

* little oopses

* oops lol
2020-09-19 11:33:46 -04:00