e0b92471

By: Michael Lynch <git@mtlynch.io>

Load the request user once per request into context

requireOwner, the owner middleware, and uploadPost each loaded the same
user from the store independently, so an authenticated upload request hit
ReadUserByID up to three times. Introduce a resolveUser middleware that
loads the user once and caches it on the request context; currentUser and
newPageData now read from that cache. Every authenticated page request now
does a single user read.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
configuredevShellbackendbackend-devcheck-bashcheck-frontendcheck-go-formattingcheck-go-test-packagescheck-trailing-newlinecheck-trailing-whitespacediagramdocker-imagee2e-testsgo-testsimport-from-tinybeanslint-sqllittle-momentslittle-moments-devx86_64-linux