Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Initial commit | Vika | 2021-05-04 | 3 | -0/+524 |
Working features: - Sending posts from the database - Reading posts from the database - Responding with MF2-JSON (only in debug mode!) - Not locking the database when not needed - All database actions are atomic (except for a small race where UIDs can clash, but that's not gonna happen often) TODOs: - Send webmentions - Send syndication requests - Send WebSub notifications - Make tombstones for deleted posts (update adding dt-deleted) - Rich reply contexts (possibly on the frontend part?) - Frontend? - Fix UID race Code maintenance TODOs: - Split the database module - Finish implementing the in-memory test database - Make RedisDatabase unit tests launch their own Redis instances (see redis-rs/tests/support/mod.rs for more info) - Write more unit-tests!!! |