Commit graph

73 commits

Author SHA1 Message Date
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
qaz741wsd856
aab428a6d2 docs: update readme and remove dangerous table drop commands 2025-12-04 13:34:05 +00:00
qaz741wsd856
8e1a5a23b8
Merge pull request #4 from SunsetMkt/main
feat: add glob pattern support for ALLOWED_EMAILS
2025-12-04 20:19:04 +08: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
bdb318f88b chore: remove pull_request_target trigger from Cloudflare deployment workflow 2025-12-03 13:43:32 +00:00
qaz741wsd856
9ded40c67c chore: update deployment process by integrating frontend into static assets 2025-12-02 13:05:57 +00:00
qaz741wsd856
00a1f0d5a8 chore: update version to 0.2.0 2025-12-02 03:11:09 +00:00
qaz741wsd856
b8a961a936 feat: optimize bulk cipher restoration 2025-12-01 10:30:50 +00:00
qaz741wsd856
6beec5f1ed docs: add deployment instructions for frontend to Cloudflare Pages 2025-12-01 09:21:49 +00:00
qaz741wsd856
f99dd1fb8a chore: update dependencies for wasm-bindgen 2025-12-01 08:24:32 +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
e965276754 fix: correct echo statements in D1 database export workflow 2025-11-30 04:46:17 +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
da53f5f956 docs: update README to include CI/CD deployment instructions with GitHub Actions and database backup troubleshooting 2025-11-29 14:47:57 +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
1c36439bed chore: hide database name in action and update readme 2025-11-29 07:45:10 +00:00
qaz741wsd856
00f714e60d fix: change wrangler d1 usage 2025-11-29 05:49:28 +00:00
qaz741wsd856
3401cfe524 fix: update affected users' timestamps when clear outdated trash 2025-11-29 04:03:07 +00:00
qaz741wsd856
ec4a851951 feat: add GitHub Actions workflow for automated D1 database backups to S3 2025-11-29 04:02:12 +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
f572a05d10 debug: add deploy dev 2025-11-28 16:15:49 +08: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
二叉树树
77a604c600 build: 更新 worker 及相关依赖至 0.7.0 版本
升级 worker 依赖从 0.6.5 到 0.7.0 版本,并同步更新相关依赖包版本以保持兼容性
2025-11-25 19:44:33 +08:00
二叉树树
c02015a6f4
Update push-cloudflare.yaml 2025-11-21 18:24:26 +08:00
二叉树树
7a108557a9
Update README.md 2025-11-21 17:20:44 +08:00