about summary refs log tree commit diff
path: root/src/frontend/onboarding.rs
Commit message (Collapse)AuthorAgeFilesLines
* WIP: Theme supportVika27 hours1-0/+2
| | | | | | | | | | | Kittybox can now ship with several different stylesheets, provided by the renderer. Unknown stylesheets fall back to the default one, which is the same Kittybox has shipped since its inception. There's also a settings field for custom CSS, but it's not exposed anywhere yet. Change-Id: I2850dace5c40f9fed04b4651c551a861df5b83d3
* cargo fmtVika12 days1-12/+14
| | | | Change-Id: I80e81ebba3f0cdf8c094451c9fe3ee4126b8c888
* Replace tuple from `normalize_mf2` with `NormalizedPost` structVika12 days1-3/+3
| | | | | | | | This is a little bit more idiomatic. Perhaps I should consider doing the same with other tuples I return? Change-Id: I85f0e5dc76b8212ab6d192376d8c38ce2048ae85
* axum: 0.7.9 → 0.8.1Vika2025-01-011-1/+2
| | | | | | | | | | | | | Some breaking changes. For better or for worse. The optional extractor breaking change is a double-edged sword, since not all extractors can be used with `Option<T>` now, and you have to use `Result<T, T::Rejection>` even when you want to ignore an error coming from an extractor, such as `Query`. However, this allows catching errors on authorization extractors even in places where authorization is optional. Change-Id: I35f809d3adf27dbef0e7ee93dc1a7af178b7d014
* Add HTTP fetcher cacheVika2024-08-261-3/+3
| | | | | | | It just does its thing in the background, potentially speeding up things. Maybe I could also use the underlying in-memory cache implementation (Moka) to speed up my database. I heard crates.io got some good results from that.
* Appease most clippy warningsVika2024-08-261-7/+0
| | | | | | The warnings only remain in places where I need them to remain, because I either need a reminder to implement something, or I need to refactor and simplify the code in question.
* Migrate from axum::Extension to axum::extract::StateVika2024-08-011-12/+11
| | | | | This somehow allowed me to shrink the construction phase of Kittybox by a huge amount of code.
* database: use Url to represent user authoritiesVika2024-07-091-4/+4
| | | | This makes the interface more consistent and resistant to misuse.
* Moved the entire Kittybox tree into the rootVika2023-07-291-0/+181