9 Commits

Author SHA1 Message Date
ff14061dfd Replace marked.min.js with the marked npm package and update all references accordingly. 2026-03-19 12:28:14 +01:00
2b8659499a Auto-commited changes 2026-03-18 19:58:05 +01:00
4355fa78fa update attachent upload 2026-03-18 19:33:09 +01:00
84b3dd69f1 Fix security bugs and migrate image uploads to /api/v1/attachments
* Replace /api/v1/resources with /api/v1/attachments for image uploads
* Upload attachments as JSON with base64-encoded content field
* After memo creation, link each attachment via PATCH /api/v1/attachments/{id}
* Rewrite markdown image URLs to use /file/attachments/{id} pattern
* Fix XSS: sanitize marked.parse output with a DOM-based allowlist sanitizer
* Fix SSRF: validate img.src scheme (http/https only) before fetching
* Fix stack overflow: use chunked base64 encoding for large images
* Update CLAUDE.md to document new attachment flow
2026-03-18 17:55:04 +01:00
42d9f336b1 Switch Memos Clipper theme to emerald accent and update image handling logic in popup.js. 2026-03-15 14:58:56 +01:00
0f278399e6 Refactor settings.js to replace shorthand DOM lookups with explicit element references for improved readability and maintainability. 2026-03-15 14:46:32 +01:00
a2f0a0e262 Add Memos Clipper extension with Markdown content extraction and browser integration. 2026-03-15 09:34:59 +01:00
2acd843b2b Remove Memos Clipper and all associated resources to decommission the extension. 2026-03-14 21:40:01 +01:00
100e2dacee Initial commit 2026-03-14 21:21:53 +01:00