Commit graph

13 commits

Author SHA1 Message Date
qaz741wsd856
ae423c1a53 feat: add error mapping for D1 JSON parsing and update cipher move logic to handle JSON directly 2025-12-09 17:28:36 +00:00
qaz741wsd856
b1ea9183bc refactor: directly pass json body to d1 api in attachment handling to avoid parsing 2025-12-09 16:18:13 +00:00
qaz741wsd856
d72ef417b7 chore: format code 2025-12-09 05:35:21 +00:00
qaz741wsd856
eee4cc90ef chore: remove unnecessary attachement urls 2025-12-09 03:38:29 +00:00
qaz741wsd856
a9ed226313 fix: actually fix timestamp format entry.js 2025-12-08 18:31:37 +00:00
qaz741wsd856
28673648e7 fix: update timestamp format in touch_cipher_updated_at function 2025-12-08 17:55:05 +00:00
qaz741wsd856
61a3539e23 feat: add zero-copy streaming for attachment downloads using js wapper 2025-12-08 13:29:55 +00:00
qaz741wsd856
8902444561 feat: implement zero-copy streaming for attachment uploads
- Added a new entry point in JavaScript to handle zero-copy streaming uploads to R2.
- Updated the Rust backend to support the new upload route with JWT validation.
- Enhanced the API to generate full URLs for the new azure-upload endpoint.
- Introduced new dependencies: `futures-util` and `wasm-streams` for improved async handling.
2025-12-08 11:11:27 +00:00
qaz741wsd856
4f61077ca9 fix: add R2 cleanup to every delete route 2025-12-07 16:24:48 +00:00
qaz741wsd856
d6ef6113fd fix: add cipher details to attachment delete response 2025-12-07 15:46:52 +00:00
qaz741wsd856
4930e747ed fix: generate full url for attachment download 2025-12-07 14:50:44 +00:00
qaz741wsd856
28c791337a feat: extend the request body size limit and directly forward r2 to response body 2025-12-07 14:13:22 +00:00
qaz741wsd856
73223bfa94 feat: add file attachment support for ciphers
- Implemented functionality to create, upload, download, and delete attachments associated with ciphers.
- Introduced a new `attachments` module and updated the database schema to include an `attachments` table.
- Enhanced the API routes to handle attachment operations, including legacy support.
- Updated the README and configuration files to reflect the new attachment feature and its usage.
2025-12-07 11:13:06 +00:00