Commit graph

47 commits

Author SHA1 Message Date
qaz741wsd856
6d2fb7aa3e feat: support for moving selected ciphers to a folder 2025-12-05 08:21:54 +00:00
qaz741wsd856
40f07dcd58 feat: add purge vault endpoint for deleting all ciphers and folders 2025-12-05 03:38:44 +00:00
qaz741wsd856
a724719f4b refactor: replace js wrapper with rust binding 2025-12-04 17:54:16 +00:00
qaz741wsd856
8772cd4868 feat: apply worker built-in rate limiting for sensitive endpoints
- Added a rate limiting wrapper to intercept requests and apply limits to login, registration, and prelogin endpoints.
- Configured rate limits in `wrangler.toml` for both production and development environments.
- Updated README to document the rate limiting feature, including how it works and customization options.
2025-12-04 17:21:15 +00:00
qaz741wsd856
eef8ab5acc fix: clear unexpected KDF parameters in registration and key rotation 2025-12-04 17:18:53 +00:00
qaz741wsd856
a1fd81c1a9 feat: implement backward compatibility for KDF settings in accounts handler
- Added support for both simple and complex KDF request formats in the post_kdf handler.
- Enhanced KDF validation to ensure compatibility with legacy formats.
- Updated data structures to reflect changes in KDF parameters and request handling.
- Introduced methods to extract KDF parameters and new password hash from either format.
2025-12-04 15:32:47 +00:00
qaz741wsd856
b519226cd6 feat: implement Argon2 KDF support in user authentication and registration
- Added new fields for Argon2 parameters (kdf_memory, kdf_parallelism) in the users table and related SQL migration.
- Updated API routes and handlers to support changing KDF settings.
- Enhanced KDF validation logic to accommodate both PBKDF2 and Argon2.
- Modified user registration and prelogin responses to include Argon2 parameters.
- Updated relevant data structures to reflect new KDF settings.
2025-12-04 14:44:40 +00:00
Copilot
cdcae96d52
Add glob pattern support for ALLOWED_EMAILS (#2)
* Initial plan

* Add glob pattern support for ALLOWED_EMAILS environment variable

Co-authored-by: SunsetMkt <26019675+SunsetMkt@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: SunsetMkt <26019675+SunsetMkt@users.noreply.github.com>
2025-12-04 12:12:28 +08:00
qaz741wsd856
238573f299 feat: add profile retrieval endpoint and refactor profile creation logic 2025-12-04 03:26:30 +00:00
qaz741wsd856
8b22bf9fc1 fix: update KDF type and iterations during key rotation 2025-12-03 18:22:08 +00:00
qaz741wsd856
2571f9de42 fix: add fields for collections, policies, and sends to SyncResponse structure 2025-12-03 17:27:12 +00:00
qaz741wsd856
d0ee94c103 fix: add KdfIterations field to TokenResponse 2025-12-03 15:44:45 +00:00
qaz741wsd856
b8a961a936 feat: optimize bulk cipher restoration 2025-12-01 10:30:50 +00:00
qaz741wsd856
baad9d46cc feat: expand device API with stub implementation 2025-12-01 05:20:35 +00:00
qaz741wsd856
25c16cf03a refactor: unify cipher data definition 2025-12-01 05:11:50 +00:00
qaz741wsd856
388469a84c feat: enhance import functionality to handle existing folders and improve cipher insertion logic 2025-12-01 03:32:38 +00:00
qaz741wsd856
eb64650594 fix: update user timestamp after data modifications 2025-11-30 17:20:26 +00:00
qaz741wsd856
ae6d52a638 fix: handle null folder IDs in account data to prevent errors during updates 2025-11-30 10:44:16 +00:00
qaz741wsd856
b3c3aa2f33 feat: add devices handler with stub implementation 2025-11-30 09:38:50 +00:00
qaz741wsd856
682e372752 feat: add emergency access and WebAuthn handlers with stub implementations 2025-11-30 09:24:19 +00:00
qaz741wsd856
43ccd71504 fix: add master password hint to user registration process 2025-11-30 08:46:40 +00:00
qaz741wsd856
d17d524842 feat: implement data integrity validation for key rotation requests 2025-11-30 08:46:13 +00:00
qaz741wsd856
9a028169b7 feat: add password change and key rotation endpoints for user accounts 2025-11-30 08:00:05 +00:00
qaz741wsd856
6f842cc2ce refactor: move execute_in_batches function to db module for better reusability 2025-11-30 06:59:59 +00:00
qaz741wsd856
d107ba8a28 refactor: enhance batch processing for cipher operations 2025-11-30 04:31:45 +00:00
qaz741wsd856
de43671573 feat: add database migration handling and update wrangler.toml configuration 2025-11-30 03:24:10 +00:00
qaz741wsd856
8015ceb37d fix: update send_verification_email endpoint to return a json type 2025-11-29 16:29:59 +00:00
qaz741wsd856
f89ac7a8b2 feat: add user registration toggle and Cloudflare Pages deployment workflow 2025-11-29 15:51:26 +00:00
qaz741wsd856
16a2a7421b feat: implement password salting and PBKDF2 hashing for user registration and authentication 2025-11-29 14:42:40 +00:00
qaz741wsd856
3401cfe524 fix: update affected users' timestamps when clear outdated trash 2025-11-29 04:03:07 +00:00
qaz741wsd856
3bd68ababf feat: add cron-triggered task for purging soft-deleted ciphers 2025-11-28 16:57:46 +00:00
qaz741wsd856
ffb8823f4c feat: implement soft and hard delete operations for ciphers, including bulk actions and restore functionality 2025-11-28 16:23:09 +00:00
qaz741wsd856
744a05906c fix: update delete account request format 2025-11-28 14:57:57 +00:00
qaz741wsd856
2ecc13bf02 feat: add delete account support 2025-11-28 15:47:25 +08:00
qaz741wsd856
ce0b1a39f8 fix: add revision date endpoint 2025-11-28 14:02:47 +08:00
qaz741wsd856
1d45beebe2 fix: add /api/ciphers endpoint and fix ciphers model 2025-11-28 13:49:02 +08:00
qaz741wsd856
b591e363b4 feat: add "permissions" key to response 2025-11-28 13:43:43 +08:00
qaz741wsd856
fd7fc3c202 feat: implement batch operation for data import 2025-11-27 17:21:21 +08:00
Deep
ff3ab17077 Add import support 2025-09-22 02:40:24 +05:30
Deep
42976295df Add folder support 2025-09-22 02:29:47 +05:30
Deep
df46ba93d1 Add cipher edit and delete 2025-09-22 01:52:24 +05:30
Deep
a8da50e150 Fix refresh token 2025-09-21 16:58:33 +05:30
Deep
892036f65e Cargo fix 2025-09-21 16:02:07 +05:30
Deep
5ad6a1986d Cleanup 2025-09-21 16:01:16 +05:30
Deep
2cb2004840 Vault + registration 2025-09-21 15:39:41 +05:30
Deep
0112286623 Login to vault 2025-09-21 11:35:13 +05:30
Deep
31b6af97ba Initial 2025-09-20 10:40:57 +05:30