about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
* Smallish code tweaksVika2023-06-153-3/+23
| | | | | | - cleaner format!() - syndication links - broke up a long line
* fixup! templates: allow for alt-text on profile photoVika2023-06-151-1/+7
|
* templates: allow for alt-text on profile photoVika2023-06-151-0/+18
| | | | | | | | Fixes accessibility issue and allows non-sighted users to learn how your profile picture looks. Generating alt-text with AI might be a nice idea, except I don't know how to integrate this yet.
* Add support for the IndieWeb Webring πŸ•ΈπŸ’Vika2023-06-154-10/+51
| | | | Optional at first. Onboarding UI not yet exposed.
* Database: use newtypes to represent settingsVika2023-06-155-57/+113
| | | | This allows much for a cleaner and idiomatic settings interface.
* flake.lock: UpdateVika2023-06-151-9/+27
|
* cargo updateVika2023-06-151-451/+503
|
* configuration.nix: harden unit file and make docs MarkdownVika2023-06-151-11/+47
|
* tempfile -> tempdir, remove mockitoVika2023-02-274-78/+5
|
* mockito: 0.30.0 -> 0.32.3Vika2023-02-273-14/+18
|
* flake.lock: UpdateVika2023-02-271-10/+10
| | | | | | | | | | | | | | Flake lock file updates: β€’ Updated input 'flake-utils': 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02) β†’ 'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13) β€’ Updated input 'nixpkgs': 'github:nixos/nixpkgs/ce20e9ebe1903ea2ba1ab006ec63093020c761cb' (2023-01-28) β†’ 'github:nixos/nixpkgs/b1f87ca164a9684404c8829b851c3586c4d9f089' (2023-02-25) β€’ Updated input 'naersk': 'github:nmattia/naersk/d998160d6a076cfe8f9741e56aeec7e267e3e114' (2022-12-15) β†’ 'github:nix-community/naersk/d998160d6a076cfe8f9741e56aeec7e267e3e114' (2022-12-15)
* update markdown to 1.0.0-alpha.7Vika2023-02-272-12/+10
|
* cargo updateVika2023-02-271-563/+766
|
* Flake stuffVika2023-02-272-5/+14
|
* Clarity improvementsVika2023-02-273-5/+9
|
* flake.lock: UpdateVika2023-01-291-3/+3
| | | | | | | | Flake lock file updates: β€’ Updated input 'nixpkgs': 'github:nixos/nixpkgs/dac57a4eccf1442e8bf4030df6fcbb55883cb682' (2022-12-24) β†’ 'github:nixos/nixpkgs/ce20e9ebe1903ea2ba1ab006ec63093020c761cb' (2023-01-28)
* Add a skip link to the page layoutVika2023-01-252-3/+19
| | | | | | | | I tried to run my website through a screen reader, and thought this would be a nice addition. Also it turns out my website is *mostly* accessible as it is -- yay for semantic HTML!
* Show rainbow hearts on webinteractions widget tooVika2023-01-221-1/+5
| | | | More rainbows! πŸ³οΈβ€πŸŒˆ
* Add rainbow hearts on like postsVika2023-01-222-1/+27
| | | | | A cute little easter-egg from an old version of my site, now available all year round, because I'm sick of hiding my true self.
* flake.lock: UpdateVika2022-12-271-11/+13
| | | | | | | | | | | | | | Flake lock file updates: β€’ Updated input 'flake-utils': 'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0' (2022-08-07) β†’ 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02) β€’ Updated input 'naersk': 'github:nmattia/naersk/6944160c19cb591eb85bbf9b2f2768a935623ed3' (2022-09-03) β†’ 'github:nmattia/naersk/d998160d6a076cfe8f9741e56aeec7e267e3e114' (2022-12-15) β€’ Updated input 'nixpkgs': 'github:nixos/nixpkgs/104e8082de1b20f9d0e1f05b1028795ed0e0e4bc' (2022-10-16) β†’ 'github:nixos/nixpkgs/dac57a4eccf1442e8bf4030df6fcbb55883cb682' (2022-12-24)
* templates: ellipsize u-in-reply-to to 48, not 24Vika2022-11-081-2/+2
|
* templates: fix no space between links in mini entryVika2022-11-081-2/+3
|
* media: get rid of an extraneous Arc over BytesVika2022-11-071-5/+9
| | | | | Bytes buffers are already reference-counted and cheaply clonable; there is no need to wrap them further.
* templates: hotfix rich reply contextsVika2022-11-061-9/+30
| | | | When did I implement that?!!!
* kittybox-frontend-renderer: gzip static assetsVika2022-11-064-18/+149
|
* flake.lock: UpdateVika2022-10-241-4/+4
| | | | | | | | Flake lock file updates: β€’ Updated input 'nixpkgs': 'github:vikanezrimaya/nixpkgs/5c6c3a079b3e34925d4fcecd54efc8a00e390142' (2022-09-19) β†’ 'github:nixos/nixpkgs/104e8082de1b20f9d0e1f05b1028795ed0e0e4bc' (2022-10-16)
* indieauth: parse application metadataVika2022-10-244-34/+101
|
* media: implement file range requests for backendsVika2022-10-142-16/+274
| | | | | | | For now it is not yet exposed on the frontend, but that is merely a matter of time. TODO possibly remove the legacy methods, since they're obsoleted
* templates: move static assets to the templates crateVika2022-10-0721-85/+239
| | | | | | | | | | | | It makes more sense to keep CSS near the templates, and the client-side JavaScript code too, since it depends on the DOM structure to work. Additionally, the overhead of `include_dir!()` is almost completely mitigated by the fact that this is a separate crate that isn't recompiled often. The linking stage, however, is still expected to take a little bit long. But I doubt it'd be longer than what it was before, since it's the same exact files that get linked into the app.
* media: Use ETag and If-None-MatchVika2022-10-043-4/+38
| | | | | | | | | | | | | | | | | | | | Note: this requires a reindex of the media database. For the default CAS backend, use the following: ```bash for i in */*/*/*/*.json; do etag="$(echo $i | sed -e 's/\///g' -e 's/\.json$//')"; mv "$i" "$i.bak" cat "$i.bak" | jq '. + { "etag": '\""$etag"\"'}' > "$i" rm "$i.bak" done ``` This change is backwards compatible, but caching headers won't be emitted without etags present in the metadata. Actual etags are backend-specific and might differ from backend to backend.
* LibreJS compatibilityVika2022-10-034-2/+88
| | | | | | I don't know how worthwhile that was, given that LibreJS developers themselves don't care to properly declare licenses on the Bazaar frontend they use to host the extension's source code on the Web 🀑
* companion-lite: rewrite to use IndieAuthVika2022-10-027-100/+467
| | | | | This is a naive implementation that doesn't have some security checks. It's ok tho, should work fine... can refine it later
* companion-lite: port to TypeScriptVika2022-09-2910-128/+301
|
* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVika2022-09-291-1/+1
|
* AAAAAAAAAAAAAAAAAVika2022-09-291-1/+1
|
* AAAAAAAAVika2022-09-291-1/+1
|
* indieauth: fix submit handler not being appliedVika2022-09-292-2/+7
|
* Switch to TypeScriptVika2022-09-2810-201/+398
| | | | | | | | This neccesitates installing TypeScript to build Kittybox, but thankfully Nix actually takes care of that. Build Kittybox with Nix and you won't have problems. Also now I can safely do stuff.
* fix param name for media endpointVika2022-09-281-1/+1
| | | | AAAAAAAAAAAAAAAAAAAAAAAAA
* Use tokens from the auth backend to authenticate for MicropubVika2022-09-288-120/+201
|
* Fix some clippy errorsVika2022-09-282-1/+7
|
* indieauth: add "token_type" and "scope" to token grant responseVika2022-09-282-1/+26
| | | | | | | It looks like some badly-behaved apps require "scope" even though it is optional according to OAuth2. Additionally, both of these fields are not present in the IndieAuth spec (this is an error in the spec, tracked here: https://github.com/indieweb/indieauth/issues/116
* flake.lock: UpdateVika2022-09-201-7/+7
| | | | | | | | | | | Flake lock file updates: β€’ Updated input 'flake-utils': 'github:numtide/flake-utils/7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249' (2022-07-04) β†’ 'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0' (2022-08-07) β€’ Updated input 'nixpkgs': 'github:nixos/nixpkgs/71a4f0dc3d80ba76f437c888c1c3d59f1df98163' (2022-07-05) β†’ 'github:vikanezrimaya/nixpkgs/5c6c3a079b3e34925d4fcecd54efc8a00e390142' (2022-09-19)
* frontend: fix indieauth page crashing if no scopes requestedVika2022-09-201-1/+1
| | | | JavaScript is a hellpit i want out of it please help me
* kittybox-indieauth: fix extraneous padding in PKCE challengesVika2022-09-202-5/+25
|
* Make webauthn and openssl optionalVika2022-09-195-10/+48
|
* flake.lock: UpdateVika2022-09-191-3/+3
| | | | | | | | Flake lock file updates: β€’ Updated input 'naersk': 'github:nmattia/naersk/cddffb5aa211f50c4b8750adbec0bbbdfb26bb9f' (2022-06-12) β†’ 'github:nmattia/naersk/6944160c19cb591eb85bbf9b2f2768a935623ed3' (2022-09-03)
* Add test password hasherVika2022-09-191-0/+33
|
* Small optimizations to frontend codeVika2022-09-192-27/+38
| | | | | | There is a possibility of refactoring some of the companion code to act as a generic embedded asset framework and put it in the `util` crate.
* feat: indieauth supportVika2022-09-1921-204/+2244
| | | | | | | | | | Working: - Tokens and codes - Authenticating with a password Not working: - Setting the password (need to patch onboarding) - WebAuthn (the JavaScript is too complicated)