Commit Graph

17 Commits

Author SHA1 Message Date
weisd f85ef06783 merge main 2025-06-09 15:31:11 +08:00
weisd 91c099e35f add Error test, fix clippy 2025-06-09 11:29:23 +08:00
weisd 1d2aeb288a Upgrade rand to 0.9.1 2025-06-09 10:13:03 +08:00
houseme 1f62c35846 cargo fmt 2025-06-06 15:30:27 +08:00
lygn128 3c7b66e039 bucket replication 2025-06-05 14:26:42 +00:00
overtrue 8747a91df8 feat: add comprehensive formatting rules and type inference guidelines 2025-05-28 16:04:38 +08:00
安正超 a1f4abf6c3 fix: resolve all Clippy warnings across codebase - Fixed field reassignment warnings in ecstore/src/file_meta.rs by using struct initialization instead of default + field assignment - Fixed overly complex boolean expression in ecstore/src/utils/os/mod.rs by removing meaningless assertion - Replaced manual Default implementation with derive in crates/zip/src/lib.rs - Updated io::Error usage to use io::Error::other() instead of deprecated pattern - Removed useless assertions and clone-on-copy warnings - Fixed unwrap usage by replacing with expect() providing meaningful error messages - Fixed useless vec usage by using array repeat instead - All code now passes comprehensive Clippy check with --all-targets --all-features -- -D warnings 2025-05-28 11:00:07 +08:00
overtrue ce16ad868b feat: enhance crypto module test coverage with comprehensive test cases 2025-05-27 22:15:57 +08:00
houseme 864071d641 cargo fmt 2025-05-25 17:46:59 +08:00
overtrue bc398ccf1b feat: improve test coverage and fix critical crypto bug - Translate all Chinese comments to English in utils/ip.rs and config/constants/app.rs - Add comprehensive test suite for crypto/encdec/id.rs module (14 new tests) - Fix critical bug in Argon2 key generation that was returning all-zero keys - Improve test coverage for IP utilities and configuration constants - Ensure all test cases follow English naming conventions and meaningful descriptions 2025-05-25 13:53:59 +08:00
weisd 1c15eac66a fix admin add user fail 2025-02-11 10:10:12 +08:00
weisd 4d9eca1667 feat: add admin user api 2025-01-13 17:25:15 +08:00
Nugine c83d5e1e59 style: workspace lints (#148)
* fix: clippy error

* style: workspace lints

* test: ignore failures
2024-12-05 15:12:52 +08:00
bestgopher 1dae53d9b2 fix: make cargo check happy 2024-12-04 20:47:31 +08:00
weisd eb12c9b005 test StorageInfoHandler 2024-12-03 17:38:52 +08:00
bestgopher 7ef16996e9 add default-feature for crypto crate 2024-12-03 11:16:19 +08:00
bestgopher bb2f765e5d add iam system
add iam store

feat: add crypto crate

introduce decrypt_data and encrypt_data functions

Signed-off-by: bestgopher <84328409@qq.com>
2024-12-02 10:50:31 +08:00