Commit graph

132 commits

Author SHA1 Message Date
qaz741wsd856
bcfd15ee91 feat: enhance authentication with security stamp verification 2025-12-30 11:49:57 +00:00
qaz741wsd856
59ddb23a83 fix: exclude all cf tables in empty-db detection query 2025-12-29 13:31:53 +00:00
qaz741wsd856
62a36acbb6 feat: bootstrap D1 schema when database is empty 2025-12-29 13:17:01 +00:00
qaz741wsd856
99a511f9f0 refactor: tweak router in entry.js 2025-12-29 12:11:14 +00:00
qaz741wsd856
249fd5e800 refactor: keep lightweight refresh token verification in the Worker 2025-12-29 11:52:26 +00:00
qaz741wsd856
ce3f6c5fb7 docs: add AGENTS.md 2025-12-29 11:29:27 +00:00
qaz741wsd856
0565734e8e chore: remove DISABLE_USER_REGISTRATION handling from deployment scripts and documentation 2025-12-29 11:26:07 +00:00
qaz741wsd856
fcbfb928f7 chore: format code 2025-12-29 10:19:39 +00:00
qaz741wsd856
453d24cade feat: add optional seeding global equivalent domains to github actions 2025-12-29 10:08:23 +00:00
qaz741wsd856
f179e4a015 feat: implement equivalent domains functionality
- Added support for equivalent domains in user settings, allowing users to define custom domain groups and exclude specific global groups.
- Introduced new migration script to add necessary database columns and a table for global equivalent domains.
- Created a Python script to generate seed SQL for global domains, which can be executed to populate the database.
- Updated API endpoints to handle equivalent domains, including retrieval and persistence of user-defined settings.
- Refactored existing settings handler to remove stubs and implement full functionality for managing equivalent domains.
2025-12-29 09:11:39 +00:00
qaz741wsd856
dfa82a0918 feat: add meta and settings endpoints for improved API functionality
- Introduced new meta endpoints: `/api/alive`, `/api/now`, `/api/version`, and `/api/hibp/breach` for health checks and versioning.
- Added settings endpoints: `/api/settings/domains` for retrieving and managing equivalent domains, with stub implementations for future persistence.
- Updated router to include new handlers and ensure proper routing for the added endpoints.
2025-12-28 18:35:19 +00:00
qaz741wsd856
5694d87a45 fix: add stub endpoints for device login auth requests 2025-12-28 18:15:33 +00:00
qaz741wsd856
ed6082a99d docs: enhance frontend version management and update deployment instructions 2025-12-28 17:20:05 +00:00
qaz741wsd856
929dadbb08 fix: restructure frontend asset handling and add UI overrides
- Updated `.gitignore` to reflect new directory structure for frontend assets under `public/web-vault/`.
- Modified `README.md` to include instructions for applying UI overrides and updated deployment notes.
- Adjusted `wrangler.toml` to point to the new asset directory.
- Updated GitHub workflows to remove large source maps to satisfy Cloudflare static asset per-file limits.
- Introduced `vaultwarden.css` for lightweight UI tweaks and added a script to apply these overrides during deployment.
- Updated deployment documentation to reflect changes in asset management and optional UI customization.
2025-12-28 16:51:25 +00:00
qaz741wsd856
26f9da5218 feat: align with vaultwarden 1.35.0
**Synced Vaultwarden Changes**:
- `061d320c` - Add new accountKeys and masterPasswordUnlock fields
- `5c91058b` - Add UserDecryptionOptions on /sync too
- `57bdab15` - add empty /api/tasks endpoint
- `0ab7784b` - Update web-vault to v2025.12.0
2025-12-28 16:50:51 +00:00
qaz741wsd856
bba7bbc8a2 fix: offload missed cpu heavy endpoints to do 2025-12-27 19:53:37 +00:00
qaz741wsd856
7f0f6e376c docs: update README and wrangler.toml comments 2025-12-27 05:37:59 +00:00
qaz741wsd856
eaa2f3b652 chore: remove HEAVY_DO_ENABLED environment variable 2025-12-27 05:19:03 +00:00
qaz741wsd856
034e6284a2 refactor: move attachment upload and download logic to a separate js. 2025-12-27 04:49:05 +00:00
qaz741wsd856
58847e9788 fix: add support for updating attachment keys and filenames during key rotation 2025-12-27 03:22:56 +00:00
qaz741wsd856
84067f41f0 refactor: offload cpu heavy endpoint to durable object and enhance password hashing with per-user iterations 2025-12-26 15:22:50 +00:00
qaz741wsd856
3c5e22a55b chore: update and lock dependencies 2025-12-14 14:45:31 +00:00
qaz741wsd856
da926d1be0 chore: update version to 0.3.0 2025-12-11 08:23:50 +00:00
qaz741wsd856
51d8e8a75f docs: add demo to readme 2025-12-11 08:23:12 +00:00
qaz741wsd856
50f5a60f1b chore: fix some warnings 2025-12-11 04:32:18 +00:00
qaz741wsd856
023b010504 feat: implement pending attachments feature in upload handling 2025-12-11 03:22:10 +00:00
qaz741wsd856
5e04837b5d feat: add folder management routes and update API version 2025-12-10 18:08:15 +00:00
qaz741wsd856
89137fb150 refactor: streamline cipher and sync handlers to utilize raw JSON responses from sqlite json query 2025-12-10 12:34:12 +00:00
qaz741wsd856
96749af57f refactor: optimize sync and list operation by join 2025-12-10 09:55:53 +00:00
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
eb6a1d8a63 refactor: optimize bulk delete and restore operations for ciphers 2025-12-09 14:48:33 +00:00
qaz741wsd856
f5db9e400d chroe: disable workers.dev by default 2025-12-09 14:48:26 +00:00
qaz741wsd856
50c5ec56b3 docs: update README and add deployment documentation 2025-12-09 12:49:49 +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
964a54df63 fix: fix r2 binding in github actions 2025-12-08 14:21:02 +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
9b84f4fdd8 fix: add r2 binding to github action and update readme 2025-12-08 06:26:17 +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
2591e2e46f chroe: remove unused code and suppress warnings 2025-12-07 15:43:02 +00:00
qaz741wsd856
fc3cd06f30 chore: remove reference repository and update gitignore 2025-12-07 14:52:15 +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
qaz741wsd856
38b978ca6e chore: format code 2025-12-06 17:52:31 +00:00