Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | kittybox-html: raise recursion limit to 512 | Vika | 2024-08-02 | 2 | -0/+2 | |
| | | | | I'm not sure why this is required. | |||||
* | Upgrade dependencies and fix deprecated functionality | Vika | 2024-08-02 | 17 | -760/+1442 | |
| | | | | | | | 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. | |||||
* | cargo update | Vika | 2024-08-01 | 1 | -900/+871 | |
| | ||||||
* | Get cookie key from the environment | Vika | 2024-08-01 | 5 | -4/+18 | |
| | ||||||
* | Move Kittybox router composition into the library | Vika | 2024-08-01 | 2 | -53/+51 | |
| | | | | | | | | Since Kittybox router composition is entirely generic, we can move it into the library. I feel like I could also split database types into their own crates, too. | |||||
* | Simplify jobset creation a little | Vika | 2024-08-01 | 1 | -1/+2 | |
| | ||||||
* | Migrate from axum::Extension to axum::extract::State | Vika | 2024-08-01 | 9 | -372/+378 | |
| | | | | | 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 | 10 | -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 items | Vika | 2024-08-01 | 1 | -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 functionality | Vika | 2024-07-09 | 6 | -3/+57 | |
| | ||||||
* | database: use Url to represent user authorities | Vika | 2024-07-09 | 8 | -91/+93 | |
| | | | | This makes the interface more consistent and resistant to misuse. | |||||
* | kittybox-indieauth: 0.1.0 -> 0.2.0 | Vika | 2024-07-09 | 7 | -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=config | Vika | 2024-07-09 | 1 | -1/+2 | |
| | ||||||
* | WIP: admin (not wired up yet, and DEFINITELY NOT SECURE, DO NOT WIRE UP) | Vika | 2024-07-08 | 3 | -0/+121 | |
| | ||||||
* | flake.lock: Update | Vika | 2024-07-08 | 1 | -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 URL | Vika | 2024-07-08 | 1 | -3/+1 | |
| | ||||||
* | Add licensing information to Cargo.toml | Vika | 2024-07-08 | 1 | -0/+1 | |
| | ||||||
* | .envrc: add DATABASE_URL for `cargo test` to work | Vika | 2024-07-08 | 1 | -1/+3 | |
| | ||||||
* | companion-lite: todos for later | Vika | 2024-07-08 | 1 | -2/+3 | |
| | ||||||
* | examples/sql: make optional | Vika | 2024-06-15 | 2 | -1/+7 | |
| | ||||||
* | Prototype sanitizer for SQL | Vika | 2024-06-14 | 3 | -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 fmt | Vika | 2024-06-14 | 2 | -138/+184 | |
| | ||||||
* | Mask sensitive headers | Vika | 2024-06-14 | 2 | -2/+8 | |
| | ||||||
* | configuration.nix: don't rely on `config.nixpkgs` | Vika | 2024-05-18 | 1 | -1/+1 | |
| | ||||||
* | Expose ?q=category queries in Micropub API | Vika | 2024-03-04 | 1 | -1/+15 | |
| | ||||||
* | Support ?q=category queries | Vika | 2024-03-04 | 4 | -1/+37 | |
| | | | | Warning, untested. But hopefully works! | |||||
* | README.md: update with new info | Vika | 2024-03-04 | 1 | -16/+18 | |
| | | | | I forgot, teehee~ | |||||
* | kittybox-templates: fix icons on bookmark posts | Vika | 2024-03-04 | 1 | -27/+16 | |
| | ||||||
* | kittybox-templates: fix misaligned links in mini-h-cards | Vika | 2024-03-04 | 1 | -0/+1 | |
| | ||||||
* | templates: fix build with Cargo 1.73+ | Vika | 2024-01-29 | 1 | -1/+1 | |
| | ||||||
* | lint: no extra whitespace on line endings | Vika | 2024-01-29 | 20 | -40/+40 | |
| | ||||||
* | 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 | 2 | -8/+42 | |
| | ||||||
* | templates-neo: add a test CLI that renders entries | Vika | 2023-08-08 | 2 | -6/+22 | |
| | | | | This allows interactively testing the markup. | |||||
* | templates-neo: fix hacks around the `html` crate | Vika | 2023-08-08 | 3 | -13/+92 | |
| | | | | Finally I can properly add child elements without using the string hack. | |||||
* | Remove extraneous JS files | Vika | 2023-07-31 | 2 | -119/+0 | |
| | ||||||
* | templates-neo: init | Vika | 2023-07-31 | 5 | -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 directly | Vika | 2023-07-30 | 3 | -14/+7 | |
| | | | | | This avoids the need for the ./dev.sh script, except when `cargo watch` is involved. | |||||
* | Moved the entire Kittybox tree into the root | Vika | 2023-07-29 | 72 | -1/+1 | |
| | ||||||
* | kittybox.nix: properly set the features and don't rely on defaults | Vika | 2023-07-29 | 1 | -5/+11 | |
| | ||||||
* | .envrc: move to root | Vika | 2023-07-29 | 1 | -2/+2 | |
| | ||||||
* | postgres: Fix pretty permalinks not being shown | Vika | 2023-07-28 | 2 | -2/+22 | |
| | ||||||
* | templates: Add a link for the webmention endpoint | Vika | 2023-07-22 | 1 | -0/+1 | |
| | ||||||
* | media: fix Axum behavior change with slashes in passed paths | Vika | 2023-07-22 | 1 | -6/+7 | |
| | ||||||
* | configuration.nix: use NixOS option for ListenStream | Vika | 2023-07-22 | 1 | -5/+4 | |
| | ||||||
* | media: fix improper path joining | Vika | 2023-07-22 | 1 | -3/+3 | |
| | ||||||
* | Fix a few bugs | Vika | 2023-07-22 | 6 | -9/+25 | |
| | ||||||
* | Add a NixOS test for receiving webmentions | Vika | 2023-07-22 | 9 | -0/+236 | |
| | ||||||
* | Move NixOS tests to a separate folder to prevent clutter | Vika | 2023-07-22 | 5 | -3/+3 | |
| | ||||||
* | dev.sh: small modifications | Vika | 2023-07-22 | 1 | -1/+10 | |
| |