Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | micropub: Suppress adding to default feeds on visibility="unlisted" | Vika | 2024-08-23 | 1 | -2/+30 |
| | | | | | | If the post has no explicit channels, normally Kittybox attempts to post to a channel that makes sense for the post type. Adding `unlisted` to `visibility` now suppresses this behavior. | ||||
* | kittybox-util: 0.1.0 -> 0.2.0 | Vika | 2024-08-20 | 1 | -44/+43 |
| | | | | Micropub types are now more coherent and gathered in one place. | ||||
* | Upgrade dependencies and fix deprecated functionality | Vika | 2024-08-02 | 1 | -12/+22 |
| | | | | | | | 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::State | Vika | 2024-08-01 | 1 | -22/+16 |
| | | | | | This somehow allowed me to shrink the construction phase of Kittybox by a huge amount of code. | ||||
* | treewide: create a common method for state initialization | Vika | 2024-08-01 | 1 | -4/+4 |
| | | | | | Now the database objects can be uniformly created from a URI. They can also optionally do sanity checks and one-time initialization. | ||||
* | database: use Url to represent user authorities | Vika | 2024-07-09 | 2 | -4/+4 |
| | | | | This makes the interface more consistent and resistant to misuse. | ||||
* | micropub: fix channels in ?q=config | Vika | 2024-07-09 | 1 | -1/+2 |
| | |||||
* | Expose ?q=category queries in Micropub API | Vika | 2024-03-04 | 1 | -1/+15 |
| | |||||
* | lint: no extra whitespace on line endings | Vika | 2024-01-29 | 1 | -1/+1 |
| | |||||
* | Switch reply contexts from a Vec to HashMap | Vika | 2023-11-13 | 1 | -16/+15 |
| | | | | 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 | Vika | 2023-10-15 | 1 | -7/+21 |
| | |||||
* | Moved the entire Kittybox tree into the root | Vika | 2023-07-29 | 3 | -0/+1372 |
| | |||||
* | flake.nix: reorganize | Vika | 2022-05-24 | 3 | -1990/+0 |
| | | | | | | | | | | | | - Kittybox's source code is moved to a subfolder - This improves build caching by Nix since it doesn't take changes to other files into account - Package and test definitions were spun into separate files - This makes my flake.nix much easier to navigate - This also makes it somewhat possible to use without flakes (but it is still not easy, so use flakes!) - Some attributes were moved in compliance with Nix 2.8's changes to flake schema | ||||
* | feat: webmention sending and reply context enrichment | Vika | 2022-05-14 | 1 | -44/+160 |
| | | | | | | | These features share some code since they both require fetching reply contexts, so it makes sense to implement them together. TODO cover webmention sending with integration tests | ||||
* | treewide: prepare for mf2 parsing and cleanup unused code | Vika | 2022-05-12 | 1 | -23/+82 |
| | |||||
* | media: move to separate subtree | Vika | 2022-05-10 | 1 | -50/+0 |
| | | | | | | | | This will ease future extraction of the media endpoint to a separate crate. This is highly desirable since it will allow Kittybox's media endpoint to be used separately in instances where a standalone media endpoint is desirable (e.g. custom solutions using my code to polyfill for desired functionality that is undesirable to implement by oneself) | ||||
* | Get rid of todo!() invocations | Vika | 2022-03-23 | 1 | -4/+32 |
| | | | | | | This stubs the neccesary code with enough stuff that it will work and be accepted by most compliant Micropub implementations. Later, this can be extended when the neccesary amendments and refactors are done. | ||||
* | Get rid of legacy code, fix mistakes in fluff text and comments | Vika | 2022-03-23 | 1 | -3/+3 |
| | |||||
* | Port onboarding | Vika | 2022-03-07 | 1 | -3/+15 |
| | |||||
* | Restored most of the functionality (except onboarding and some queries) | Vika | 2022-03-06 | 2 | -163/+580 |
| | |||||
* | micropub: parse mp-channel as channel | Vika | 2022-03-03 | 1 | -2/+72 |
| | |||||
* | Added stubs for Micropub posts and the media endpoint | Vika | 2022-02-21 | 1 | -1/+83 |
| | |||||
* | micropub: flesh out query | Vika | 2022-02-21 | 1 | -47/+180 |
| | |||||
* | WIP: convert to Tokio and Warp | Vika | 2022-02-15 | 1 | -29/+99 |
| | | | | | | | | | | | Warp allows requests to be applied as "filters", allowing to flexibly split up logic and have it work in a functional style, similar to pipes. Tokio is just an alternative runtime. I thought that maybe switching runtimes and refactoring the code might allow me to fish out that pesky bug with the whole application hanging after a certain amount of requests... | ||||
* | Make rustfmt and clippy happy | Vika | 2021-12-06 | 2 | -9/+10 |
| | |||||
* | Added support for IndieAuth client sign in | Vika | 2021-12-06 | 1 | -1/+1 |
| | | | | | | | This will allow readers to view private posts intended just for them. Additionally fixed bugs in patterns due to which webmentions might not have been sent. | ||||
* | Code cleanup and small bugfixing in templates | Vika | 2021-12-05 | 1 | -12/+8 |
| | |||||
* | frontend: Added listing feeds to the header bar | Vika | 2021-12-05 | 1 | -2/+2 |
| | |||||
* | Make the default feeds' UIDs pretty! | Vika | 2021-12-05 | 1 | -5/+5 |
| | |||||
* | Added a default food channel for foodstuffs | Vika | 2021-08-06 | 1 | -12/+35 |
| | |||||
* | Log sent webmentions | Vika | 2021-08-06 | 1 | -0/+1 |
| | |||||
* | Appease rustfmt, clippy and cargo check | Vika | 2021-07-29 | 2 | -54/+72 |
| | |||||
* | Respect Link: headers when sending webmentions | Vika | 2021-07-28 | 1 | -4/+32 |
| | |||||
* | Added CORS middleware | Vika | 2021-07-27 | 1 | -0/+21 |
| | | | | | This prevents Micropub requests fired from web apps on other domains from being blocked by overzealous browsers. | ||||
* | Fixed security hole where other people could delete YOUR posts. Yes, yours. ↵ | Vika Shleina | 2021-07-21 | 1 | -0/+25 |
| | | | | You're welcome. | ||||
* | Relaxed anti-takeover URL check to simply not place redirects at foreign URLs | Vika Shleina | 2021-07-19 | 1 | -8/+3 |
| | |||||
* | make clippy happy | Vika Shleina | 2021-07-19 | 2 | -10/+10 |
| | |||||
* | Make clippy happy | Vika | 2021-05-17 | 1 | -6/+6 |
| | |||||
* | Make rustfmt happy | Vika | 2021-05-17 | 3 | -204/+439 |
| | |||||
* | Refactoring, easter egg, healthcheck endpoint, support for rel= indieweb ↵ | Vika | 2021-05-17 | 2 | -6/+8 |
| | | | | APIs and preparation for onboarding | ||||
* | More descriptive error handling and more descriptive TODOs | Vika | 2021-05-09 | 2 | -9/+15 |
| | |||||
* | Added support for more default feeds, added a feed for vCards | Vika | 2021-05-09 | 1 | -15/+42 |
| | |||||
* | Fixed parsing the reply context for webmentions if there is no webmention ↵ | Vika | 2021-05-09 | 1 | -1/+19 |
| | | | | endpoint | ||||
* | Add a note about a possible optimization once the MF2 parser is ready | Vika | 2021-05-06 | 1 | -0/+3 |
| | |||||
* | Deduplicated the fetched posts to save on bandwidth and time | Vika | 2021-05-06 | 1 | -2/+8 |
| | |||||
* | Turns out assert!() can have a second argument with a panic reason. Cool! | Vika | 2021-05-06 | 1 | -19/+16 |
| | |||||
* | Added post-processing of new posts | Vika | 2021-05-06 | 1 | -6/+143 |
| | | | | | | | | | | | | | This launches a background task to handle: - Downloading reply contexts (requires an MF2 parser, doesn't work yet) - Syndicating the post (currently no syndication targets are defined) - Sending WebSub notifications if a hub is present (WIP) - Sending webmentions (ok this one is fully implemented... I hope!) This background task should not impact processing times and should never conflict with futher updates of a post, since the database is guaranteed to be fully atomic. Inside of the task, you can run long asynchronous fetching and stuff, just don't block the whole thread. | ||||
* | Clippy lints | Vika | 2021-05-04 | 1 | -8/+8 |
| | |||||
* | Made StorageErrors directly convertible into Micropub JSON responses | Vika | 2021-05-04 | 2 | -15/+6 |
| | |||||
* | Refactored the database module and its tests | Vika | 2021-05-04 | 1 | -1/+0 |
| |