Commit Graph
3 Commits
Author SHA1 Message Date
Lauri Ojansivu 2be3ded5bf Serve image attachments as thumbnails at /cdn/storage/attachments/<id>/thumbnail.
The card's attachment gallery and the minicard cover downloaded every image
at full size. A raster image now has a thumbnail route: a WebP of at most
512 pixels, made with sharp under the GIF converter's input limits and kept
in a bounded in-memory cache keyed by file version. It is the attachment
route itself, after board access, the download block and limit, and the
storage read flag, so a thumbnail is readable exactly when the original is;
it is cached privately only. SVG and non-images have none, and a damaged
image redirects to its original. The gallery and cover use it.

Fixes #3275,

Thanks to blaggacao and xet7 !
2026-09-29 16:05:24 +03:00
Lauri Ojansivu 9e1cf4c35b Resolve document and image dependencies from the release npm tree
Anchor runtime resolution at programs/server/npm so Office search indexing finds fflate, PDF indexing finds its worker and assets, and image conversion finds sharp. Parent resolution keeps source development working. Retain the file utility as a Docker runtime dependency for MIME detection.

Verify six focused regression suites and XLSX extraction plus PDF asset resolution in an isolated release container. Include negative archive and missing-dependency coverage.

Thanks to xet7.
2026-09-20 19:04:58 +03:00
Lauri Ojansivu 828fc2d718 Revert Legacy HTML4 browser interface and parity changes
Remove the progressive HTML4/Legacy Omi middleware, cookieless sessions, page controllers, assets, parity refactors, design documents and associated tests. Restore the standard Meteor interface and operations from before the HTML4 work began.

Preserve intervening translations, backup screenshots, session upgrades, cryptographic test identifiers, local image storage, document previews and lazy browser loading. Extract the GIF utilities still required by image features into imageGif.

Validate the Node suites and add standard-interface and GIF regressions. Two existing failures remain in docsLinksResolve and ruleDetailsLocalization; browser regressions are registered but require a running server.

Thanks to xet7 !
2026-09-07 17:03:59 +03:00