Commit Graph

41 Commits

Author SHA1 Message Date
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
dependabot[bot] b0e2ed1da8
build(deps): bump color-eyre from 0.5.11 to 0.6.0 (#428)
Bumps [color-eyre](https://github.com/yaahc/color-eyre) from 0.5.11 to 0.6.0.
- [Release notes](https://github.com/yaahc/color-eyre/releases)
- [Changelog](https://github.com/yaahc/color-eyre/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yaahc/color-eyre/compare/v0.5.11...v0.6.0)

---
updated-dependencies:
- dependency-name: color-eyre
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 08:49:29 -05:00
dependabot[bot] 99f302a44a
build(deps): bump serde_dhall from 0.10.1 to 0.11.0 (#425)
Bumps [serde_dhall](https://github.com/Nadrieril/dhall-rust) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/Nadrieril/dhall-rust/releases)
- [Changelog](https://github.com/Nadrieril/dhall-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.10.1...serde_dhall-v0.11.0)

---
updated-dependencies:
- dependency-name: serde_dhall
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 17:40:25 -05:00
Cadey Ratio b46138c03d Xe Iaso
Signed-off-by: Xe Iaso <me@christine.website>
2022-01-10 18:09:31 -05:00
dependabot[bot] 900b6332f3
build(deps): bump tracing-subscriber from 0.2.24 to 0.3.1 (#409)
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.2.24 to 0.3.1.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.24...tracing-subscriber-0.3.1)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 09:44:37 -04:00
dependabot[bot] bd19beee7e
build(deps): bump prometheus from 0.12.0 to 0.13.0 (#401)
Bumps [prometheus](https://github.com/tikv/rust-prometheus) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/tikv/rust-prometheus/releases)
- [Changelog](https://github.com/tikv/rust-prometheus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tikv/rust-prometheus/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: prometheus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-03 09:44: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
dependabot[bot] df32d32700
build(deps): bump comrak from 0.11.0 to 0.12.0 (#391)
Bumps [comrak](https://github.com/kivikakk/comrak) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/kivikakk/comrak/releases)
- [Changelog](https://github.com/kivikakk/comrak/blob/main/changelog.txt)
- [Commits](https://github.com/kivikakk/comrak/compare/0.11.0...0.12.0)

---
updated-dependencies:
- dependency-name: comrak
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-07 10:00:17 -04:00
dependabot[bot] 585268e381
build(deps): bump comrak from 0.10.1 to 0.11.0 (#386)
Bumps [comrak](https://github.com/kivikakk/comrak) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/kivikakk/comrak/releases)
- [Changelog](https://github.com/kivikakk/comrak/blob/main/changelog.txt)
- [Commits](https://github.com/kivikakk/comrak/compare/0.10.1...0.11.0)

---
updated-dependencies:
- dependency-name: comrak
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-20 21:51:51 -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
dependabot[bot] 12fa1532cf
Bump sdnotify from 0.1.3 to 0.2.0 (#379)
Bumps [sdnotify](https://github.com/polachok/sdnotify) from 0.1.3 to 0.2.0.
- [Release notes](https://github.com/polachok/sdnotify/releases)
- [Commits](https://github.com/polachok/sdnotify/compare/v0.1.3...v0.2.0)

---
updated-dependencies:
- dependency-name: sdnotify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-24 21:45:32 -04:00
dependabot-preview[bot] aa73162e4b
build(deps): bump serde_dhall from 0.10.0 to 0.10.1 (#354)
Bumps [serde_dhall](https://github.com/Nadrieril/dhall-rust) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/Nadrieril/dhall-rust/releases)
- [Changelog](https://github.com/Nadrieril/dhall-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.10.0...serde_dhall-v0.10.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-12 08:32:23 -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
dependabot-preview[bot] fe2063d5e8
build(deps): bump comrak from 0.9.1 to 0.10.0 (#346)
Bumps [comrak](https://github.com/kivikakk/comrak) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/kivikakk/comrak/releases)
- [Changelog](https://github.com/kivikakk/comrak/blob/main/changelog.txt)
- [Commits](https://github.com/kivikakk/comrak/compare/0.9.1...0.10.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-19 20:11:28 -04:00
Cadey Ratio 4c7f3036ff le bump 2021-03-16 22:09:50 -04:00
dependabot-preview[bot] 1b9271eda2
build(deps): bump prometheus from 0.11.0 to 0.12.0 (#339)
Bumps [prometheus](https://github.com/tikv/rust-prometheus) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/tikv/rust-prometheus/releases)
- [Changelog](https://github.com/tikv/rust-prometheus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tikv/rust-prometheus/compare/v0.11.0...v0.12.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-13 08:53:41 -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 b10c097504 fix build on windows
Signed-off-by: Christine Dodrill <me@christine.website>
2021-03-03 20:07:43 -05:00
dependabot-preview[bot] ec0ebf68e8
build(deps): bump serde_dhall from 0.9.0 to 0.10.0 (#316)
Bumps [serde_dhall](https://github.com/Nadrieril/dhall-rust) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/Nadrieril/dhall-rust/releases)
- [Changelog](https://github.com/Nadrieril/dhall-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.9.0...serde_dhall-v0.10.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-15 17:22: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
dependabot-preview[bot] dc48c5e5dc
build(deps): bump serde_dhall from 0.8.0 to 0.9.0 (#267)
Bumps [serde_dhall](https://github.com/Nadrieril/dhall-rust) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/Nadrieril/dhall-rust/releases)
- [Changelog](https://github.com/Nadrieril/dhall-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.8.0...serde_dhall-v0.9.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-16 22:10:26 -05:00
dependabot-preview[bot] bc71c3c278
build(deps): bump ructe from 0.12.0 to 0.13.0 (#262)
Bumps [ructe](https://github.com/kaj/ructe) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/kaj/ructe/releases)
- [Changelog](https://github.com/kaj/ructe/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kaj/ructe/compare/v0.12.0...v0.13.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-16 22:09:49 -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 951542ccf2 systemdify this
Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-02 18:11:27 -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 d2deb4470c Merge branches 'pr257', 'pr256', 'pr255', 'pr254', 'pr253', 'pr252', 'pr251', 'pr250' and 'pr247' into main
Closes #257
Closes #256
Closes #255
Closes #254
Closes #253
Closes #252
Closes #251
Closes #250
Closes #247
2020-11-08 15:46:07 -05:00
dependabot-preview[bot] 0b27a424ea
build(deps): bump comrak from 0.8.2 to 0.9.0
Bumps [comrak](https://github.com/kivikakk/comrak) from 0.8.2 to 0.9.0.
- [Release notes](https://github.com/kivikakk/comrak/releases)
- [Changelog](https://github.com/kivikakk/comrak/blob/main/changelog.txt)
- [Commits](https://github.com/kivikakk/comrak/compare/0.8.2...0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 10:36:48 +00:00
dependabot-preview[bot] d32a038572
build(deps): bump serde_dhall from 0.7.1 to 0.8.0
Bumps [serde_dhall](https://github.com/Nadrieril/dhall-rust) from 0.7.1 to 0.8.0.
- [Release notes](https://github.com/Nadrieril/dhall-rust/releases)
- [Changelog](https://github.com/Nadrieril/dhall-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.7.1...serde_dhall-v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 10:28:11 +00:00
Cadey Ratio 8af9835fad
Article bodies in rss (#243)
* add content of posts to the RSS feed

* make RSS pass
2020-10-25 16:29:02 -04:00
dependabot-preview[bot] 9c80bca791
build(deps): bump serde_dhall from 0.7.0 to 0.7.1 (#233)
Bumps [serde_dhall](https://github.com/Nadrieril/dhall-rust) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/Nadrieril/dhall-rust/releases)
- [Changelog](https://github.com/Nadrieril/dhall-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.7.0...serde_dhall-v0.7.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-16 08:11:20 -04: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 f106c2c9d2
go-stdlib-rust post (#215) 2020-09-27 12:35:24 -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
dependabot-preview[bot] bf50cbffdc
build(deps): bump serde_dhall from 0.6.0 to 0.7.0 (#207)
Bumps [serde_dhall](https://github.com/Nadrieril/dhall-rust) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/Nadrieril/dhall-rust/releases)
- [Changelog](https://github.com/Nadrieril/dhall-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.6.0...serde_dhall-v0.7.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-15 22:29:29 -04:00
dependabot-preview[bot] 39e0417b6f
build(deps): bump prometheus from 0.9.0 to 0.10.0 (#201)
Bumps [prometheus](https://github.com/tikv/rust-prometheus) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/tikv/rust-prometheus/releases)
- [Changelog](https://github.com/tikv/rust-prometheus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tikv/rust-prometheus/compare/v0.9.0...v0.10.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-01 07:09:30 -04:00
dependabot-preview[bot] 6163f4a21e
build(deps): bump ructe from 0.11.4 to 0.12.0 (#197)
Bumps [ructe](https://github.com/kaj/ructe) from 0.11.4 to 0.12.0.
- [Release notes](https://github.com/kaj/ructe/releases)
- [Commits](https://github.com/kaj/ructe/compare/v0.11.4...v0.12.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-17 10:57:01 -04:00
dependabot-preview[bot] 488e8ddc2e
build(deps): bump serde_dhall from 0.5.3 to 0.6.0 (#190)
Bumps [serde_dhall](https://github.com/Nadrieril/dhall-rust) from 0.5.3 to 0.6.0.
- [Release notes](https://github.com/Nadrieril/dhall-rust/releases)
- [Changelog](https://github.com/Nadrieril/dhall-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.5.3...serde_dhall-v0.6.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-06 09:31:27 -04:00
Cadey Ratio 6438d334cb
fix atom/RSS feeds (#186)
* fix atom feeds

* also fix RSS feeds

* add feeds fixed/flight journal post

* fix tests
2020-07-26 23:12:01 -04:00
Cadey Ratio 385d25c9f9
Rewrite site backend in Rust (#178)
* add shell.nix changes for Rust #176

* set up base crate layout

* add first set of dependencies

* start adding basic app modules

* start html templates

* serve index page

* add contact and feeds pages

* add resume rendering support

* resume cleanups

* get signalboost page working

* rewrite config to be in dhall

* more work

* basic generic post loading

* more tests

* initial blog index support

* fix routing?

* render blogposts

* X-Clacks-Overhead

* split blog handlers into blog.rs

* gallery index

* gallery posts

* fix hashtags

* remove instantpage (it messes up the metrics)

* talk support + prometheus

* Create rust.yml

* Update rust.yml

* Update codeql-analysis.yml

* add jsonfeed library

* jsonfeed support

* rss/atom

* go mod tidy

* atom: add posted date

* rss: add publishing date

* nix: build rust program

* rip out go code

* rip out go templates

* prepare for serving in docker

* create kubernetes deployment

* create automagic deployment

* build docker images on non-master

* more fixes

* fix timestamps

* fix RSS/Atom/JSONFeed validation errors

* add go vanity import redirecting

* templates/header: remove this

* atom feed: fixes

* fix?

* fix??

* fix rust tests

* Update rust.yml

* automatically show snow during the winter

* fix dates

* show commit link in footer

* sitemap support

* fix compiler warning

* start basic patreon client

* integrate kankyo

* fix patreon client

* add patrons page

* remove this

* handle patron errors better

* fix build

* clean up deploy

* sort envvars for deploy

* remove deps.nix

* shell.nix: remove go

* update README

* fix envvars for tests

* nice

* blog: add rewrite in rust post

* blog/site-update: more words
2020-07-16 15:32:30 -04:00