feat(api): 添加WebDAV同步秘密状态和偏好设置功能 (#2560)

- 新增获取WebDAV同步秘密状态的接口
- 新增保存WebDAV同步秘密偏好的接口
- 新增忘记WebDAV同步秘密密码的接口
- 更新相关的存储和加密逻辑以支持新的功能

Co-authored-by: t8y2 <1156263951@qq.com>
This commit is contained in:
二丫讲梵andt8y2 authored and GitHub committed 2026-07-04 22:58:09 +08:00
1 parent 223ecbec20
commit 842dcc6cab
11 files changed
+726 -22

No files matched your search

+3
View File
@@ -739,6 +739,9 @@ pub fn run() {
commands::cloud_sync::webdav_password_status,
commands::cloud_sync::save_webdav_saved_password,
commands::cloud_sync::forget_webdav_saved_password,
commands::cloud_sync::webdav_sync_secrets_status,
commands::cloud_sync::save_webdav_sync_secrets_preference,
commands::cloud_sync::forget_webdav_sync_secrets_passphrase,
commands::cloud_sync::webdav_sync_upload,
commands::cloud_sync::webdav_sync_download,
commands::connection::test_connection,