about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
* treewide: create a common method for state initializationVika2024-08-0110-65/+53
| | | | | 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.
* Start working on login functionalityVika2024-07-096-3/+57
|
* database: use Url to represent user authoritiesVika2024-07-098-91/+93
| | | | This makes the interface more consistent and resistant to misuse.
* kittybox-indieauth: 0.1.0 -> 0.2.0Vika2024-07-097-14/+119
| | | | | | | | | 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.
* micropub: fix channels in ?q=configVika2024-07-091-1/+2
|
* WIP: admin (not wired up yet, and DEFINITELY NOT SECURE, DO NOT WIRE UP)Vika2024-07-083-0/+121
|
* flake.lock: UpdateVika2024-07-081-9/+9
| | | | | | | | | | | | | | Flake lock file updates: • Updated input 'flake-utils': 'github:numtide/flake-utils/dbabf0ca0c0c4bce6ea5eaf65af5cb694d2082c7' (2023-06-25) → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11) • Updated input 'naersk': 'github:nix-community/naersk/abca1fb7a6cfdd355231fc220c3d0302dbb4369a' (2023-07-05) → 'github:nix-community/naersk/941ce6dc38762a7cfb90b5add223d584feed299b' (2024-06-18) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/0fbe93c5a7cac99f90b60bdf5f149383daaa615f' (2023-07-02) → 'github:nixos/nixpkgs/9f4128e00b0ae8ec65918efeba59db998750ead6' (2024-07-03)
* webmention: HTTP 202 shouldn't include Location URLVika2024-07-081-3/+1
|
* Add licensing information to Cargo.tomlVika2024-07-081-0/+1
|
* .envrc: add DATABASE_URL for `cargo test` to workVika2024-07-081-1/+3
|
* companion-lite: todos for laterVika2024-07-081-2/+3
|
* examples/sql: make optionalVika2024-06-152-1/+7
|
* Prototype sanitizer for SQLVika2024-06-143-0/+145
| | | | | | This might allow me to use SQL syntax in Kittybox's private search interfaces, allowing for queries of incredible specificity while not allowing to query private data or inject arbitrary SQL.
* kittybox-html: cargo fmtVika2024-06-142-138/+184
|
* Mask sensitive headersVika2024-06-142-2/+8
|
* configuration.nix: don't rely on `config.nixpkgs`Vika2024-05-181-1/+1
|
* Expose ?q=category queries in Micropub APIVika2024-03-041-1/+15
|
* Support ?q=category queriesVika2024-03-044-1/+37
| | | | Warning, untested. But hopefully works!
* README.md: update with new infoVika2024-03-041-16/+18
| | | | I forgot, teehee~
* kittybox-templates: fix icons on bookmark postsVika2024-03-041-27/+16
|
* kittybox-templates: fix misaligned links in mini-h-cardsVika2024-03-041-0/+1
|
* templates: fix build with Cargo 1.73+Vika2024-01-291-1/+1
|
* lint: no extra whitespace on line endingsVika2024-01-2920-40/+40
|
* Switch reply contexts from a Vec to HashMapVika2023-11-131-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 markupVika2023-10-152-8/+42
|
* templates-neo: add a test CLI that renders entriesVika2023-08-082-6/+22
| | | | This allows interactively testing the markup.
* templates-neo: fix hacks around the `html` crateVika2023-08-083-13/+92
| | | | Finally I can properly add child elements without using the string hack.
* Remove extraneous JS filesVika2023-07-312-119/+0
|
* templates-neo: initVika2023-07-315-1/+417
| | | | | | This is an experimental approach to templates, using `yoshuawuyts`'s `html` crate. The crate itself has a promising API, but is notably incomplete.
* .envrc: add env vars for Kittybox launches directlyVika2023-07-303-14/+7
| | | | | This avoids the need for the ./dev.sh script, except when `cargo watch` is involved.
* Moved the entire Kittybox tree into the rootVika2023-07-2972-1/+1
|
* kittybox.nix: properly set the features and don't rely on defaultsVika2023-07-291-5/+11
|
* .envrc: move to rootVika2023-07-291-2/+2
|
* postgres: Fix pretty permalinks not being shownVika2023-07-282-2/+22
|
* templates: Add a link for the webmention endpointVika2023-07-221-0/+1
|
* media: fix Axum behavior change with slashes in passed pathsVika2023-07-221-6/+7
|
* configuration.nix: use NixOS option for ListenStreamVika2023-07-221-5/+4
|
* media: fix improper path joiningVika2023-07-221-3/+3
|
* Fix a few bugsVika2023-07-226-9/+25
|
* Add a NixOS test for receiving webmentionsVika2023-07-229-0/+236
|
* Move NixOS tests to a separate folder to prevent clutterVika2023-07-225-3/+3
|
* dev.sh: small modificationsVika2023-07-221-1/+10
|
* Log with tracing-tree AND json in debug buildsVika2023-07-222-7/+38
|
* configuration.nix: bind on IPv6 localhost by defaultVika2023-07-221-1/+1
| | | | This is so the Kittybox socket can actually listen on both IPv4 and IPv6.
* Mount webmention handling routes and tasksVika2023-07-225-35/+76
|
* database: more documentationVika2023-07-221-6/+23
|
* webmentions: check webmentions and save them to the databaseVika2023-07-222-6/+183
|
* database: add "add_or_update_webmention" operationVika2023-07-224-0/+168
| | | | | | | This is an operation that atomically adds or updates a webmention cite attached to a post. This is used so a database backend can optimize for it (for example, using a transaction or shifting the JSON modification operation to the database)
* postgres: optimize fetching of non-feeds by forgoing a second queryVika2023-07-221-0/+9
|