summaryrefslogtreecommitdiff
path: root/src/view.rs
Commit message (Collapse)AuthorAge
* Retire the Slack endpoint.Owen Jacobson2022-06-08
| | | | This wasn't used anywhere, and never gets hit. It's a neat hack, but not worth the cognitive and maintenance cost of keeping around.
* Based on readability feedback, this is clearer.Owen Jacobson2022-06-08
|
* Remove now-spurious manual `From`.Owen Jacobson2022-06-08
| | | | This was obviated by upgrading past Actix 3.
* Move to Askama templates.Owen Jacobson2022-06-08
| | | | | | The author of maud seems to be slow on updating to newer actix releases, and the syntax, while clever, is ultimately less tool-friendly than "HTML with some weird characters" is. I do still like the idea, but I also want to use Actix 4.
* Move back to stable rust.Owen Jacobson2022-06-08
| | | | `maud`, which was the main reason for nightlies, relies on proc macros. Those are stable in the 2021 edition, and maud 0.23+ uses them in a stable-friendly way.
* Apply (and enforce) cargo fmt.Owen Jacobson2020-06-16
|
* Fix broken doctests.Owen Jacobson2020-06-16
| | | | Rust nightly un-broke doctests!
* Remove spurious import (thanks, clippy!)Owen Jacobson2020-06-15
|
* Reduce spurious copies.Owen Jacobson2020-06-04
|
* Slack integration.Owen Jacobson2020-06-04
|
* Remove some visual clutter in template rendering.Owen Jacobson2020-06-04
|
* fmtOwen Jacobson2020-06-04
|
* Complete the partialization changes.Owen Jacobson2020-06-04
| | | | This pulls the top-level framework for HTML out into its own partial.
* Split the template out into partials.Owen Jacobson2020-06-04
| | | | | This is a style experiment; the utility of using partials in an app with one view is limited, to say the least.
* Fix a line wrapping gaffeOwen Jacobson2020-06-04
|
* Remove stray debugging code.Owen Jacobson2020-06-04
|
* Be more explicit about cachingOwen Jacobson2020-06-04
|
* Markdown support.Owen Jacobson2020-06-04
| | | | | | | | This accomplishes two things: 1. The og cards and page title no longer contain half-baked markup. Instead, they show the markdown equivalent, which is generally pretty friendly. In other words, the page title is "Have you checked `resolv.conf`?" and not "Have you checked <code>resolve.conf</code>?" 2. Phrases can now start with terms other than "Have you checked".
* Port things-to-check to Rust as a learning exercise.Owen Jacobson2020-06-03
This is somewhat overengineered in places, but does the job and exposes broadly the same interfaces as the Python version. Builds with emk/rust.