Commit graph

378 commits

Author SHA1 Message Date
liquidex 2e1e64ae8c add SVG size computation to ImageSizeCache
based on a very simple reading of the SVG's XML to find out its `width`, `height` and `viewBox`
no further parsing is required or will be provided
and you are an excellent test subject
2024-11-30 20:45:53 +01:00
liquidex b4927261db fix commas before closing parentheses 2024-11-30 20:11:18 +01:00
liquidex afd7f38958 treehouse: rework the structure a bit 2024-11-30 20:09:54 +01:00
liquidex 2f2fbc683a changelog: mention feed 2024-11-30 20:08:40 +01:00
liquidex f518d7a0ff remove id attribute from pages
really, use the one from branches instead
2024-11-29 22:55:16 +01:00
liquidex 600651ec16 change vfs API to something akin to the deleted std provider API
this gives us a _much_ easier time with composing file systems, since you can call `query` on the inner file system and all the magic will be done for you
the overhead is technically slightly higher, but seems to be drowned out by other more expensive stuff; i couldn't measure a difference in my traces
2024-11-29 22:48:30 +01:00
liquidex 5b6d637f44 fix timestamp on Blue Calx 2024-11-28 22:49:16 +01:00
liquidex 55b6a0df96 implement RSS feeds 2024-11-28 22:42:49 +01:00
liquidex 1e3a1f3527 update robots.txt to only exclude specific subdirectories of /static 2024-11-28 21:52:59 +01:00
liquidex 2e14197fd1 further breaking up treehouse::generate into smaller submodules 2024-11-27 19:02:54 +01:00
liquidex fd40f99810 split treehouse::generate apart into smaller modules 2024-11-27 18:46:29 +01:00
liquidex 0713b59063 refactoring: remove dependency on SimpleFiles, make tree parsing multithreaded 2024-11-26 23:55:32 +01:00
liquidex 505163383f fix broken content.link in music/reviews 2024-11-26 23:54:37 +01:00
liquidex 5de308c0c4 load syntaxes in parallel 2024-11-26 22:09:52 +01:00
liquidex a8773aac63 remove unused imports 2024-11-26 22:00:08 +01:00
liquidex 07419ca702 add tracing to the treehouse as an instrumenting profiler
to create a trace of the treehouse's startup, use `--trace file.json`
2024-11-26 21:56:59 +01:00
liquidex 2f7fbc1b6f add a leading Allow: * in robots.txt 2024-11-26 21:45:57 +01:00
liquidex 3673036bec programming: composable virtual file systems 2024-11-25 22:15:31 +01:00
liquidex b522732a67 fix prefix _ in Rust syntax
it should be handled as the start of an identifier
2024-11-25 22:11:20 +01:00
liquidex d658874fd7 fix some issues with typography (no italics in headers, no bold in <code>) 2024-11-25 22:10:46 +01:00
liquidex 7ed19454f2 fix branches in blue calx, for good 2024-11-25 17:02:00 +01:00
liquidex dfe45abe7d philosophy: on responsibility & conformity 2024-11-25 16:59:58 +01:00
liquidex b2a25e65e9 fix broken indentation and formatting in various pages 2024-11-24 20:17:34 +01:00
liquidex e1dd1074f8 make text in sections a bit smaller
I see no need for it to be headings
2024-11-24 20:14:38 +01:00
liquidex c54b0629b7 fix navigation jank in debug environments with live reloading 2024-11-24 20:08:18 +01:00
liquidex bcae0ec6f7 philosophy/furry: fix broken branch link 2024-11-24 19:42:17 +01:00
liquidex 41fa245150 rudimentary search engine optimisation (robots.txt, <meta name="robots"> in /b) 2024-11-24 14:50:28 +01:00
liquidex 107a9a4c39 restore functionality that expands linked branches 2024-11-23 22:50:06 +01:00
liquidex f192ac2a8e thin down the JavaScript that scrolls to branches
_lots_ of early treehouse stuff to fix there
2024-11-23 22:43:59 +01:00
liquidex 645ae598f2 make it impossible to fill up an unbounded amount of memory with caches
yeah storing Nones there is probably not a great idea isn't it
2024-11-23 22:34:03 +01:00
liquidex c87662419a fix branches 2024-11-23 22:19:26 +01:00
liquidex 8461812935 make applying edits work correctly
turns out they weren't quite working due to me being a dummy and not awaiting my asyncs
2024-11-23 22:18:21 +01:00
liquidex 55f12caf22 mention vfs refactor in changelog because it has some user-facing consequences (lack of version history) 2024-11-23 22:12:38 +01:00
liquidex 0f8d05adeb remove --commits-only from Justfile 2024-11-23 21:56:42 +01:00
liquidex ca12680e03 downgrade lock file 2024-11-23 21:47:56 +01:00
liquidex 5193fc2be0 pre-warm content cache
in parallel!
2024-11-23 21:43:58 +01:00
liquidex 42eaa326ab add content cache to generated pages
just so that we don't waste work regenerating them over and over again -w-
2024-11-23 21:43:58 +01:00
liquidex 9022fb4ce9 add image size metadata to the filesystem 2024-11-23 21:43:58 +01:00
liquidex 5ce9cfc022 add live reloading to the client 2024-11-23 21:43:58 +01:00
liquidex 7169e65244 implement a blake3 content version layer for cache busting
works pretty much the same as our previous `?cache` parameter, but is implemented in a less ad-hoc way
2024-11-23 21:43:58 +01:00
liquidex 32f25ce863 implement generation of simple templates (/sandbox) 2024-11-23 21:43:58 +01:00
liquidex 377fbe4dab introduce the virtual filesystem everywhere
this unfortunately means I had to cut some features (bye bye commit history! for now)
stuff's not quite 100% working just yet (like branch links, which were and are still broken)
we also don't have content_version impls just yet
2024-11-23 21:43:58 +01:00
liquidex db0329077e refactors: replacing config derived data with vfs, removing markdown 2024-11-23 21:43:58 +01:00
liquidex 1e1b8df457 refactor: introduce virtual file system as a central router for source and target data 2024-11-23 21:43:58 +01:00
liquidex 86b4bf5b2d looking for friends 2024-11-19 00:18:29 +01:00
liquidex b266c8aa4d blue calx 2024-11-18 19:15:05 +01:00
liquidex b73c76f83d meow up the me(ow) icon 2024-11-13 00:01:12 +01:00
liquidex b33cc14438 Hotland - Bad Opinion Zone is real 2024-11-12 23:38:36 +01:00
liquidex d13abe7afa restructuring page:index 2024-11-12 22:51:58 +01:00
liquidex e201ea7058 revamp the way page:treehouse/new works
- treehouse/new is now a regular page, not a special template
- most of the code related to the `new` badge in page:index has been removed
- you're meant to discern between pages you've read vs ones you haven't by looking at the colors of the links (blue vs purple)
2024-11-12 20:39:58 +01:00