Commit Graph

61 Commits

Author SHA1 Message Date
Cadey Ratio 5d7daf179e handlers: fix LAST_MODIFIED date format
Closes #463

Signed-off-by: Xe <me@christine.website>
2022-07-04 14:44:09 +00:00
Cadey Ratio 6be8b24dd2 rename jsonfeed to xe_jsonfeed to prepare for my own extensions
Signed-off-by: Xe Iaso <me@christine.website>
2022-07-04 14:44:00 +00:00
Cadey Ratio 15a130cc3d job history: even more
Signed-off-by: Xe <me@christine.website>
2022-06-21 23:17:53 +00:00
Cadey Ratio ad6fba4c79
Add salary transparency page (#492)
* Move dhall data and types into `/dhall` folder
* Reformat salary transparency data into Dhall
* Wire up the old salary transparency page with a custom element
* Wire up a new salary transparency page
* Expose raw data as JSON
* Make dhall types more portable
* Remove gallery from the navbar
* Make signal boost page point to the new data location
* Add salary transparency page to the footer of the site
* Add site update post for this

Signed-off-by: Xe <me@xeiaso.net>
2022-06-14 15:04:17 -04:00
Cadey Ratio aca8b80892 talks: add static analysis talk
Signed-off-by: Xe Iaso <me@christine.website>
2022-06-08 17:20:48 -04:00
Cadey Ratio dc3f6471e7 Add hero image support with <xeblog-hero>
Also lightens the JavaScript load and shifts ad impressions to only when
people from Reddit and Hacker News visit. I may have this include
Twitter in the future.

Signed-off-by: Xe <me@christine.website>
2022-06-08 15:02:52 -04:00
Cadey Ratio 554dbbb53a fix sitemap
Signed-off-by: Xe Iaso <me@christine.website>
2022-05-28 09:50:27 -04:00
Cadey Ratio bdc64f78f2 xeiaso.net
Signed-off-by: Xe Iaso <me@christine.website>
2022-05-28 09:17:01 -04:00
Cadey Ratio e2b9f384bf look for patreon creds in ~ instead of .
Signed-off-by: Xe Iaso <me@christine.website>
2022-05-18 20:17:48 -04:00
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 e5ee825c0a signal boost: make links optional
Closes #326
Closes #209

Signed-off-by: Xe <me@christine.website>
2022-04-02 16:47:54 +00:00
Cadey Ratio 7c90296bf0 Update to Axum 0.5
Closes #446
Closes #447
Closes #448

Signed-off-by: Xe <me@christine.website>
2022-04-02 16:24:39 +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 e370af8bd5 make rust happy
Signed-off-by: Xe Iaso <me@christine.website>
2022-03-22 12:33:24 +00:00
Cadey Ratio 7e6090274a lol oops
Signed-off-by: Xe Iaso <me@christine.website>
2022-03-21 20:26:02 -04:00
Cadey Ratio 8b747c1c40
Rewrite the site routing with Axum (#441)
* broken state

Signed-off-by: Xe Iaso <me@christine.website>

* fix???

Signed-off-by: Xe Iaso <me@christine.website>

* Port everything else to axum

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

* headers

Signed-off-by: Xe Iaso <me@christine.website>

* site update post

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

* fix headers

Signed-off-by: Xe Iaso <me@christine.website>

* remove warp example

Signed-off-by: Xe Iaso <me@christine.website>

* 80c wrap

Signed-off-by: Xe Iaso <me@christine.website>

* bump version

Signed-off-by: Xe Iaso <me@christine.website>
2022-03-21 20:14:14 -04:00
Cadey Ratio 8fc69d4978 nix flakes 2: fun with packages
Signed-off-by: Xe Iaso <me@christine.website>
2022-02-27 19:12:53 +00:00
Cadey Ratio 23629ade45 VRChat Avatar to VRM
Signed-off-by: Xe <me@christine.website>
2022-01-02 17:21:09 -05:00
Cadey Ratio d3a0498cc0 oops name lol
Signed-off-by: Xe <me@christine.website>
2021-11-06 05:48:16 -04:00
Cadey Ratio ec3ca6841c use less ram
Signed-off-by: Christine Dodrill <me@christine.website>
2021-09-29 08:36:49 -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 b90b9a86db update read time estimate
Signed-off-by: Christine Dodrill <me@christine.website>
2021-07-08 08:14:09 -04:00
Cadey Ratio 7dfdd131e4 closer integration into android, read estimates
Signed-off-by: Christine Dodrill <me@christine.website>
2021-07-07 21:17:46 -04:00
Cadey Ratio 8ce69f76c7 make new_post route for the android widget
Signed-off-by: Christine Dodrill <me@christine.website>
2021-07-05 20:12:51 -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 f06819cff1 Revert "backpost a bunch of other articles, make linkposts work properly"
This reverts commit 4dde8b26b8.
2021-04-18 10:40:03 -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 4dde8b26b8 backpost a bunch of other articles, make linkposts work properly 2021-04-18 10:17:04 -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 9b43f16d80
css/gruvbox-dark: enable light mode if the os tells me to (#342)
* css/gruvbox-dark: enable light mode if the os tells me to

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

* handlers: add Last-Modified support

Signed-off-by: Christine Dodrill <me@christine.website>
2021-03-13 09:03:19 -05:00
Cadey Ratio dd445722fe fix production
Signed-off-by: Christine Dodrill <me@christine.website>
2021-03-07 14:38:10 -05:00
Cadey Ratio 08865c84b6
Windows pain (#336)
* blog: start on windows pain post

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

* flags

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

* more

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

* yse

Signed-off-by: Christine Dodrill <me@christine.website>
2021-03-03 23:37:47 -05:00
Cadey Ratio b10c097504 fix build on windows
Signed-off-by: Christine Dodrill <me@christine.website>
2021-03-03 20:07:43 -05:00
Cadey Ratio 0034de3536 fix tests, oops
Signed-off-by: Christine Dodrill <me@christine.website>
2021-02-15 16:53:00 -05:00
Cadey Ratio dd5b0b12ec post: remove body field, it was not used
Signed-off-by: Christine Dodrill <me@christine.website>
2021-02-15 16:33:14 -05: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 444eee96b0 blog: add redirect posts, tailscale nixos post
Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-19 20:35:13 -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