about summary refs log tree commit diff
path: root/src/indieauth
Commit message (Collapse)AuthorAgeFilesLines
* unauthorized -> not_authorized HEAD mainVika14 hours1-1/+1
| | | | | | whoops Change-Id: I695c77b76806165af88935c37f40386923d95220
* Set MSRV to 1.75, remove #[async_trait] declarations whenever possibleVika2024-08-262-27/+25
| | | | | | | Axum still uses `async_trait`, let them do whatever they want. I will no longer be subject to the humiliation of trying to dig through lifetime errors and unreadable declarations. Also I don't fucking care about MSRV, I'm not a library. If you don't have modern Rust, get one.
* Add HTTP fetcher cacheVika2024-08-261-3/+6
| | | | | | | 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/+2
| | | | | | 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.
* oopsVika2024-08-181-2/+1
|
* Better match html content-typeVika2024-08-181-1/+1
|
* Parse redirect URIs from MF2 metadataVika2024-08-181-1/+3
|
* feat: logins!!Vika2024-08-181-29/+67
| | | | | | | | 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
* indieauth: Extension -> StateVika2024-08-181-10/+12
| | | | whoops
* indieauth: fix profile fetching if some properties are undeclaredVika2024-08-181-19/+23
|
* file auth backend: properly handle non-standard relative file:// urlsVika2024-08-181-4/+15
| | | | I use these in development.
* kittybox-indieauth: support OAuth2 Client MetadataVika2024-08-181-0/+1
| | | | Required for new revision of IndieAuth.
* kittybox-indieauth: separate ProfileUrl struct from GrantResponseVika2024-08-181-1/+1
| | | | Seems to be useful on its own.
* Upgrade dependencies and fix deprecated functionalityVika2024-08-022-8/+8
| | | | | | | I think I managed to not lose any functionality from my dependencies. sqlparser remains unupgraded, but that's mostly because it is only used in one example and it's not worth it to upgrade right now.
* Migrate from axum::Extension to axum::extract::StateVika2024-08-011-25/+20
| | | | | This somehow allowed me to shrink the construction phase of Kittybox by a huge amount of code.
* treewide: create a common method for state initializationVika2024-08-012-6/+8
| | | | | Now the database objects can be uniformly created from a URI. They can also optionally do sanity checks and one-time initialization.
* indieauth: remove unnecessary cloning of MF2 itemsVika2024-08-011-5/+11
| | | | | | | | | Per clippy suggestion. While they're behind a reference counter, and thus cloning is cheap, we can avoid increasing the reference counter by borrowing here. Also now the code is a bit prettier.
* kittybox-indieauth: 0.1.0 -> 0.2.0Vika2024-07-091-2/+4
| | | | | | | | | Added fundamental AutoAuth types. This library can now be used to augment existing authorization and token endpoints with AutoAuth capabilities. See https://github.com/sknebel/AutoAuth/blob/master/AutoAuth.md for the latest spec draft.
* lint: no extra whitespace on line endingsVika2024-01-292-4/+4
|
* Moved the entire Kittybox tree into the rootVika2023-07-294-0/+1548