about summary refs log tree commit diff
path: root/src/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* Appease rustfmt, clippy and cargo checkVika2021-07-291-1/+1
|
* Added an internal token mechanismVika Shleina2021-07-271-0/+3
| | | | | | | | The internal token is a shared secret that can update and delete any posts stored in the database. It is intended for use in webmention endpoints to update posts with latest webmentions. Please keep it safe.
* make clippy happyVika Shleina2021-07-191-1/+0
|
* Renamed main executable to kittybox, added toolsVika Shleina2021-07-191-3/+3
| | | | | | | | | The new tools are: - kittybox-bulk-import, a bare-bones Micropub client that reads a JSON list of posts and then sends them one by one to the Micropub endpoint - pyindieblog-export, my personal tool which directly connects to Pyindieblog's redis instance and extracts data from it in JSON format suitable for use with kittybox-bulk-import.
* Make rustfmt happyVika2021-05-171-6/+14
|
* Refactoring, easter egg, healthcheck endpoint, support for rel= indieweb ↵Vika2021-05-171-2/+20
| | | | APIs and preparation for onboarding
* Clippy lintsVika2021-05-041-2/+1
|
* Initial commitVika2021-05-041-0/+48
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!!!