about summary refs log tree commit diff
path: root/src/login.rs
Commit message (Collapse)AuthorAgeFilesLines
* WIP: Theme supportVika28 hours1-6/+22
| | | | | | | | | | | 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-77/+189
| | | | Change-Id: I80e81ebba3f0cdf8c094451c9fe3ee4126b8c888
* axum: 0.7.9 → 0.8.1Vika2025-01-011-2/+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
* Get rid of base64 and hex in favor of data_encoding crateVika2025-01-011-1/+7
| | | | | | Less dependency duplication = more fun Change-Id: Icbd0497a68fdd5bea3757e3c62c80008b87bce96
* Explicitly allow caching IndieAuth client metadataVika2024-08-261-2/+23
| | | | | This might save a round-trip for clients that know how to cache things. Such as Kittybox's HTTP fetcher.
* 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-2/+3
| | | | | | 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.
* indieauth_metadata -> indieauth-metadataVika2024-08-241-1/+1
|
* feat: logins!!Vika2024-08-181-17/+338
| | | | | | | | yes you can finally sign in this is also supposed to show private posts intended for you! maybe i can also reveal my email to those who sign in! :3
* Start working on login functionalityVika2024-07-091-0/+45