Commit Graph

735 Commits

Author SHA1 Message Date
houseme
9c19e1aa41 ci: optimize GitHub Actions build workflow and fix artifact merging
- Fix artifact pattern matching in merge step to use consistent name pattern
- Standardize artifact naming convention with clear format
- Improve static assets handling with simpler download and extraction
- Add 7-day retention policy for artifacts to manage storage
- Use output variables to ensure consistency between artifact names and paths
- Optimize package creation process to eliminate redundant nesting
- Enhance error handling and script readability
2025-03-02 00:59:46 +08:00
Nugine
c338ea3c86 ci: enable cache for test 2025-03-02 00:37:56 +08:00
houseme
8cb4d72a7b improve buidl.yml 2025-03-02 00:28:45 +08:00
houseme
2b1dcb77cc test build action 2025-03-01 23:49:04 +08:00
weisd
f64d6751a6 use rand 0.8.5 2025-03-01 23:29:45 +08:00
houseme
e25cd9b5f6 feat: add remote file download, extraction, and packaging process in build.yml (#245)
* fix

* update README.md
2025-03-01 23:14:30 +08:00
loverustfs
40f6185b24 Update README.md 2025-03-01 22:28:19 +08:00
loverustfs
6ee30b8bfc Update README.md 2025-03-01 21:54:35 +08:00
loverustfs
8284d7d92c Update README.md 2025-03-01 21:48:41 +08:00
loverustfs
67ae916968 Merge pull request #241 from rustfs/dependabot/cargo/dependencies-4426481644
Bump the dependencies group with 5 updates
2025-03-01 21:24:42 +08:00
weisd
990db0636a Merge pull request #242 from rustfs/dev_issue_233 2025-03-01 17:54:08 +08:00
DamonXue
9ba6f89dc5 fix: update Functions deserialization logic and add run.bat script 2025-03-01 17:27:07 +08:00
dependabot[bot]
20e7dc919f Bump the dependencies group with 5 updates
Bumps the dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.30` | `4.5.31` |
| [rand](https://github.com/rust-random/rand) | `0.8.5` | `0.9.0` |
| [uuid](https://github.com/uuid-rs/uuid) | `1.14.0` | `1.15.1` |
| [rust-embed](https://github.com/pyros2097/rust-embed) | `8.5.0` | `8.6.0` |
| [strum](https://github.com/Peternator7/strum) | `0.26.3` | `0.27.1` |


Updates `clap` from 4.5.30 to 4.5.31
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.30...v4.5.31)

Updates `rand` from 0.8.5 to 0.9.0
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.8.5...0.9.0)

Updates `uuid` from 1.14.0 to 1.15.1
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.14.0...v1.15.1)

Updates `rust-embed` from 8.5.0 to 8.6.0
- [Changelog](https://github.com/pyrossh/rust-embed/blob/master/changelog.md)
- [Commits](https://github.com/pyros2097/rust-embed/commits)

Updates `strum` from 0.26.3 to 0.27.1
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/compare/v0.26.3...v0.27.1)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: rand
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: rust-embed
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: strum
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 06:02:44 +00:00
weisd
79351da42a add build info to console config 2025-02-28 09:26:02 +08:00
houseme
cb9ecd890c improve profile and upgrade zip 2.2.3 , chrono 0.4.40 2025-02-27 22:38:55 +08:00
loverustfs
e65bee049a Merge pull request #240 from rustfs/dev_issue_233
fix: enforce condition element presence in Functions deserialization
2025-02-26 23:02:37 +08:00
DamonXue
87d6083807 fix: enforce condition element presence in Functions deserialization
feat: add binary target for rustfs
2025-02-26 21:08:44 +08:00
weisd
d8198cc01f add s3s host style 2025-02-26 17:38:39 +08:00
Nugine
1505429c5f ci: disable mint test 2025-02-26 17:10:37 +08:00
Nugine
24fe747b69 ci: fix e2e tests 2025-02-26 15:14:02 +08:00
weisd
4c0fbd238b use rust_embed for console static files 2025-02-25 11:08:40 +08:00
weisd
df4b285e46 Merge pull request #235 from rustfs/fix/226
complete_multipart_upload output etag
2025-02-25 10:20:36 +08:00
weisd
1744d8f23a sync s3s, return UnauthorizedAccess error code when credentials is none 2025-02-25 10:05:03 +08:00
weisd
3695bce742 fix add service_account 2025-02-25 00:39:19 +08:00
weisd
0295229e7e merge dada/admin 2025-02-24 23:40:09 +08:00
weisd
0122343075 merge fix/224 2025-02-24 23:05:16 +08:00
weisd
475d758645 add console static files 2025-02-24 23:00:40 +08:00
weisd
0dd21e9075 add console static files 2025-02-24 23:00:40 +08:00
weisd
4a0bc24aa6 fix:#226 complete_multipart_upload output etag 2025-02-24 14:27:43 +08:00
weisd
3d5cfab7c5 fix complete_multipart_md5 2025-02-24 13:21:42 +08:00
weisd
dddfb8cbc2 fix admin api bugs 2025-02-24 11:15:50 +08:00
weisd
c844d16c2e fix service account action, add console config api 2025-02-23 15:06:13 +08:00
Nugine
5aa8616268 ci: build for old glibc (#232)
* build(deps): shadow_rs

* ci(build): build for old glibc

* ci: simplify all
2025-02-22 20:25:16 +08:00
loverustfs
984faa2e85 Merge pull request #230 from rustfs/nugine/fix-ci
ci: fix basic checks
2025-02-22 16:39:01 +08:00
Nugine
b562bd20bb fix 2025-02-22 15:31:22 +08:00
Nugine
ad6c7ca623 fix 2025-02-22 15:28:26 +08:00
Nugine
9e57981114 rename 2025-02-22 15:09:42 +08:00
Nugine
41e7dfea55 fix gui dependencies 2025-02-22 15:08:22 +08:00
Nugine
f2767239af ci: fix basic checks 2025-02-22 15:00:39 +08:00
weisd
bf5c2b6a9c fix policy_db_get 2025-02-22 01:05:27 +08:00
weisd
c9f9edfcf5 sync s3s, fix #224 2025-02-19 15:17:58 +08:00
houseme
cb9457ae09 Refactor main.rs for clarity and modularity in rustfs-gui (#225)
* Improve init_logger function and format code with cargo fmt

- Enhance `init_logger` function for better logging configuration.
- Apply `cargo fmt` to format the codebase.

* Refactor main.rs for clarity and modularity in rustfs-gui

- Move `init_logger` function to `utils/logger.rs` for better separation of concerns.
- Create a dedicated `router` module in `router/router.rs`.
- Update `main.rs` to use the new `logger` and `router` modules.
- Apply `cargo fmt` to format the codebase.
2025-02-18 18:37:17 +08:00
houseme
3aee1598a9 Add new setting view, component, and router to rustfs-gui (#223)
- Create `SettingViews` component in `views/setting.rs`.
- Update `views/mod.rs` to include the new `SettingViews` component.
- Update routing in `main.rs` to include the new route for `SettingViews`.
2025-02-18 01:39:16 +08:00
houseme
a9dbd5f341 Add new home views to rustfs-gui (#222)
- Create `Home` component in `components/Home.rs`.
- Create `Navbar` component in `components/navbar.rs`.
- Create `HomeView` component in `views/home.rs`.
- Update `views/mod.rs` to include new views.
- Update routing in `main.rs` to include new routes for `HomeView`.
2025-02-18 01:29:27 +08:00
houseme
0ff795f67a Add new CSS, JS, and icon assets to rustfs-gui (#221)
* Add new CSS, JS, and icon assets to rustfs-gui

- Add `navbar.css` for styling the navigation bar.
- Add `sts.js` for handling tab switching and password toggling.
- Include new icon assets in `assets/icons` directory.
- Update `Dioxus.toml` to reference new assets.

* Remove unused icons from dioxus.toml

- Remove `assets/icons/icon_*.png` from the icon list.
2025-02-18 01:12:25 +08:00
houseme
93f7370157 Add utility functions and configurations for rustfs-gui (#220)
* Initialize rustfs-gui crate

- Set up the `rustfs-gui` package in the workspace.
- Add `dioxus` dependency with `router` feature.
- Configure workspace settings for edition, license, repository, and rust-version.
- Include lints configuration for the workspace.

* Add utility functions and configurations for rustfs-gui

- Implement `RustFSConfig` struct with default values and methods for loading, saving, and clearing configurations.
- Add `ServiceCommand` enum for managing service commands.
- Implement `ServiceManager` struct for starting, stopping, and restarting the service.
- Include helper functions for checking service status, preparing the service, downloading files, and unzipping files.
- Add logging and error handling for service operations.
2025-02-18 00:55:34 +08:00
houseme
cb4732fe2f Initialize rustfs-gui crate (#219)
- Set up the `rustfs-gui` package in the workspace.
- Add `dioxus` dependency with `router` feature.
- Configure workspace settings for edition, license, repository, and rust-version.
- Include lints configuration for the workspace.
2025-02-17 17:54:57 +08:00
weisd
e65b7975fb clap env support 2025-02-17 16:15:16 +08:00
weisd
c0243ce329 Merge pull request #216 from rustfs/dada/policy
fix policy parse
2025-02-13 14:19:53 +08:00
weisd
12a1e667e2 fix policy parse 2025-02-12 17:34:23 +08:00