about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Added some options to the module, they don't work yet thoVika2021-08-041-0/+31
|
* Fixed a VERY WRONG way to handle stream errorsVika2021-08-042-31/+25
| | | | | | for future reference: stream operations returning Result satisfy conditions for the futures::stream::TryStreamExt trait, allowing you to use `TryStreamExt::try_collect::<T>()` and receive a Result<T>.
* Moved templates into their own moduleVika2021-08-032-586/+585
| | | | | | | frontend.rs was too hard to navigate. Additionally, this allows playing with the organizational structure of templates, since they only need to export a certain API and how exactly they work is an implementation detail.
* Appease rustfmt, clippy and cargo checkVika2021-07-2910-105/+198
|
* Updated gitignoreVika2021-07-281-0/+1
|
* Respect Link: headers when sending webmentionsVika2021-07-281-4/+32
|
* Added CORS middlewareVika2021-07-272-0/+23
| | | | | This prevents Micropub requests fired from web apps on other domains from being blocked by overzealous browsers.
* Added an internal token mechanismVika Shleina2021-07-274-1/+30
| | | | | | | | 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.
* Fixed security hole where other people could delete YOUR posts. Yes, yours. ↵Vika Shleina2021-07-212-0/+67
| | | | You're welcome.
* Don't show internal links on h-cardsVika Shleina2021-07-191-1/+1
|
* Fixed crash when h-card doesn't contain a p-noteVika Shleina2021-07-191-3/+4
|
* Fixed feed pagination on frontendVika Shleina2021-07-191-1/+4
|
* Relaxed anti-takeover URL check to simply not place redirects at foreign URLsVika Shleina2021-07-195-16/+14
|
* Replaced scheme with HTTPS in frontend to prevent weird thingsVika Shleina2021-07-192-6/+11
|
* Added URL display to h-cardsVika Shleina2021-07-191-0/+14
|
* Fixed flake-utils?Vika Shleina2021-07-192-5/+10
|
* Added a NixOS test for onboarding workflowVika2021-07-191-1/+28
|
* frontend: fixed site name, added thumbnail support and Markdown tutorial linkVika Shleina2021-07-191-7/+16
|
* make clippy happyVika Shleina2021-07-198-29/+30
|
* Renamed main executable to kittybox, added toolsVika Shleina2021-07-197-17/+133
| | | | | | | | | 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.
* Add aarch64 cross-compilation jobVika2021-07-151-0/+15
|
* Added ^ to the versions - looks like nothing's brokenVika Shleina2021-07-071-26/+26
|
* Updated flake.lock and Cargo.lockVika Shleina2021-07-072-164/+171
|
* Make rustfmt happy again after Clippy editsVika2021-05-182-13/+19
|
* Make clippy happyVika2021-05-174-36/+30
|
* Make rustfmt happyVika2021-05-179-528/+1188
|
* Minimal onboarding support. TODO: h-card avatarsVika2021-05-172-1/+57
|
* Onboarding - initial featureVika2021-05-174-6/+349
|
* Added setting store per-userVika2021-05-172-0/+28
|
* Merge branch 'gitlab-ci' into 'main'Vika2021-05-173-1/+106
|\ | | | | | | | | Update CI configuration and GitLab WebIDE settings See merge request kittybox/kittybox!1
| * Update CI configuration and GitLab WebIDE settingsVika2021-05-173-1/+106
|/
* Fixed failing tests again - forgot to unwrapVika2021-05-171-1/+1
|
* Fixed failing testsVika2021-05-171-0/+2
|
* Refactoring, easter egg, healthcheck endpoint, support for rel= indieweb ↵Vika2021-05-176-17/+86
| | | | APIs and preparation for onboarding
* Added a NixOS module and a smoke test for itVika2021-05-111-1/+119
|
* Updated Rust to 1.52.0Vika2021-05-111-3/+3
|
* Removed openssl dependency - now the code is pure RustVika2021-05-103-233/+140
|
* More descriptive error handling and more descriptive TODOsVika2021-05-092-9/+15
|
* Added support for more default feeds, added a feed for vCardsVika2021-05-091-15/+42
|
* Added a frontend to the application. TODO: Login, alternative themes, ↵Vika2021-05-096-37/+751
| | | | built-in Micropub capabilities when logged in
* Fixed parsing the reply context for webmentions if there is no webmention ↵Vika2021-05-091-1/+19
| | | | endpoint
* Fixed Micropub client channels and sending payloadVika2021-05-091-11/+21
|
* Added a debug shim to IndieAuthMiddleware that makes it a no-op in staging ↵Vika2021-05-091-1/+15
| | | | (except unit tests)
* Add a note about a possible optimization once the MF2 parser is readyVika2021-05-061-0/+3
|
* Deduplicated the fetched posts to save on bandwidth and timeVika2021-05-061-2/+8
|
* Turns out assert!() can have a second argument with a panic reason. Cool!Vika2021-05-061-19/+16
|
* Added post-processing of new postsVika2021-05-061-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.
* Added a note to future selfVika2021-05-051-0/+7
|
* Moved things in Cargo.toml to make it prettierVika2021-05-051-15/+21
|
* Added rudimentary caching to IndieAuth middlewareVika2021-05-054-37/+116
|