Commit Graph

35 Commits

Author SHA1 Message Date
houseme
2e14b32ccd chore: Add copyright and license headers (#23)
* chore: Add copyright and license headers

This commit adds the Apache 2.0 license and a copyright notice to the header of all source files. This ensures that the licensing and copyright information is clearly stated within the codebase.

* cargo fmt

* fix

* fmt

* fix clippy
2025-07-02 15:07:47 +08:00
weisd
e9610f1fb7 feat: add IAM export/import
- Add complete IAM configuration export/import functionality with ZIP format
- Add new API endpoints for IAM backup and restore operations
2025-06-30 22:01:07 +08:00
houseme
749537664f fix:Apply suggestions from clippy 1.88 2025-06-27 18:16:29 +08: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
f669838a2f feat: improve madmin module test coverage - Add comprehensive test cases for health.rs, user.rs, and info_commands.rs modules - Total: 114 test cases added, improving coverage from minimal to comprehensive 2025-05-27 23:41:34 +08:00
junxiang Mu
e38dd25bf6 fix admin info
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-04-24 08:21:09 +00:00
weisd
0c435c6a05 add admin policy check for user operation 2025-04-11 10:46:36 +08:00
weisd
4ff452ffd2 fix iam service_account bugs 2025-03-03 17:38:17 +08:00
weisd
9f57ea9bb6 sync s3s, return UnauthorizedAccess error code when credentials is none 2025-02-25 10:05:03 +08:00
weisd
19d897a40b fix service account action, add console config api 2025-02-23 15:06:13 +08:00
weisd
704c41b116 fix policy_db_get 2025-02-22 01:05:27 +08:00
weisd
9535a9a7ad rewrite group handler 2025-01-21 16:44:55 +08:00
weisd
4f1cbf72c6 rewrite service_account handler 2025-01-21 16:17:28 +08:00
weisd
b29b15f3b5 rewrite iam 2025-01-17 17:22:39 +08:00
weisd
133a294024 init group 2025-01-13 20:46:18 +08:00
weisd
4d9eca1667 feat: add admin user api 2025-01-13 17:25:15 +08:00
weisd
1c44e2d099 extract_claims 2025-01-12 01:41:22 +08:00
weisd
d25d233cdc fix #110 #112 add ServerInfoHandler need test 2025-01-06 16:02:21 +08:00
weisd
450ff132e0 fix: #189 #192 2024-12-29 23:36:10 +08:00
shiro.lee
f08ec77a73 fix: fix windows compile error 2024-12-24 22:51:50 +08:00
junxiang Mu
008919cdfa rebase main
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-12-09 15:31:10 +08:00
mujunxiang
d66c22c4a6 tmp(1)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-12-09 15:19: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
weisd
e39775bb34 notification_sys base 2024-12-04 10:55:09 +08:00
weisd
eb12c9b005 test StorageInfoHandler 2024-12-03 17:38:52 +08:00
mujunxiang
78b7551081 fix none import
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-12-03 11:11:02 +08:00
mujunxiang
f87b2bee95 scanner status command(1)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-12-03 10:20:41 +08:00
weisd
9f73339e58 init NotificationSys 2024-12-02 17:40:06 +08:00
weisd
73efd4f493 use Arc<ECStroe> 2024-11-28 14:47:01 +08:00
weisd
9e6ec15f32 fix get_net_info 2024-11-28 09:44:59 +08:00
weisd
9f9be9d1a2 fix get_net_info 2024-11-28 09:43:37 +08:00
mujunxiang
13b53efb2a fix rebase err
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-27 14:44:01 +08:00
mujunxiang
1b9ae3ccb3 support some peer rest api
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-27 14:31:26 +08:00
mujunxiang
5cc138e23d add server_info cpus net_info api
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-27 14:24:24 +08:00