Prototype sanitizer for SQL
This might allow me to use SQL syntax in Kittybox's private search
interfaces, allowing for queries of incredible specificity while not
allowing to query private data or inject arbitrary SQL.
configuration.nix: don't rely on `config.nixpkgs`
Expose ?q=category queries in Micropub API
Support ?q=category queries
Warning, untested. But hopefully works!
README.md: update with new info
I forgot, teehee~
kittybox-templates: fix icons on bookmark posts
kittybox-templates: fix misaligned links in mini-h-cards
templates: fix build with Cargo 1.73+
lint: no extra whitespace on line endings
Switch reply contexts from a Vec to HashMap
This reduces the worst-case complexity to O(n) from O(n^2).
Fix bug with likes/bookmarks on h-entries lacking URLs in markup
templates-neo: add a test CLI that renders entries
This allows interactively testing the markup.
templates-neo: fix hacks around the `html` crate
Finally I can properly add child elements without using the string hack.
Remove extraneous JS files
templates-neo: init
This is an experimental approach to templates, using `yoshuawuyts`'s
`html` crate. The crate itself has a promising API, but is notably
incomplete.
.envrc: add env vars for Kittybox launches directly
This avoids the need for the ./dev.sh script, except when `cargo watch`
is involved.
Moved the entire Kittybox tree into the root
kittybox.nix: properly set the features and don't rely on defaults