Commit Graph

453 Commits

Author SHA1 Message Date
dependabot[bot] 45608bf7a5
chore(deps): bump golangci/golangci-lint-action from 5 to 6 (#310)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 10:57:05 +08:00
Gaius b60a425140
feat: digest field supports blake3 (#309)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-10 13:58:51 +08:00
Gaius 76a2bd51c9
feat: change validation in memory (#308)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-07 12:35:58 +08:00
dependabot[bot] acd9e9fc6c
chore(deps): bump golangci/golangci-lint-action from 4 to 5 (#304) 2024-04-30 06:28:34 +08:00
dependabot[bot] cf62dc350b
chore(deps): bump serde from 1.0.198 to 1.0.199 (#305) 2024-04-30 06:28:07 +08:00
dependabot[bot] b6e25653d4
chore(deps): bump serde from 1.0.197 to 1.0.198 (#303)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.197 to 1.0.198.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 10:50:05 +08:00
Gaius 9f7fd897b8
feat: change TriggerDownloadTask to DownloadTask with stream (#302)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-16 20:00:32 +08:00
dependabot[bot] 20049c9ad8
chore(deps): bump google.golang.org/grpc from 1.63.0 to 1.63.2 (#301)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.63.0 to 1.63.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.63.0...v1.63.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 11:22:33 +08:00
Gaius 34f6f75f49
feat: add prefetch field in download message (#298)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-10 13:42:52 +08:00
Gaius 2df8c78be4
feat: optimize prefetch in download message (#297)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-10 11:25:56 +08:00
Gaius 100d4da28e
feat: add prefetch field for download message (#296)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-10 11:14:56 +08:00
dependabot[bot] e175998351
chore(deps): bump prost-types from 0.12.3 to 0.12.4 (#294)
Bumps [prost-types](https://github.com/tokio-rs/prost) from 0.12.3 to 0.12.4.
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Commits](https://github.com/tokio-rs/prost/compare/v0.12.3...v0.12.4)

---
updated-dependencies:
- dependency-name: prost-types
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:53:47 +08:00
dependabot[bot] 2f118dc56c
chore(deps): bump google.golang.org/grpc from 1.62.1 to 1.63.0 (#295)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.62.1 to 1.63.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.62.1...v1.63.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:52:52 +08:00
dependabot[bot] 9009396b0f
chore(deps): bump tokio from 1.36.0 to 1.37.0 (#293)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.36.0...tokio-1.37.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:52:08 +08:00
Jim Ma 3c8ba8c983
feat: dfdaemon peer exchange (#229) 2024-03-27 14:18:05 +08:00
Gaius c7e8229102
feat: add need_back_to_source and disable_back_to_source (#292)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-15 18:30:24 +08:00
Gaius 283ccece49
feat: add need_back_to_source to peer message (#291)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-15 17:31:08 +08:00
Gaius d5c0dd6ac3
feat: remove validation in certificate_chain (#290)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-15 16:59:04 +08:00
Gaius ef16214823
feat: add disable-back-to-source to Download message (#289)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-14 19:31:52 +08:00
Gaius 4881829013
fix: typo in scheduler v1 proto (#288)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-14 11:14:37 +08:00
dependabot[bot] ea6cb9681a
chore(deps): bump google.golang.org/grpc from 1.62.0 to 1.62.1 (#287)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.62.0 to 1.62.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.62.0...v1.62.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 10:38:46 +08:00
dependabot[bot] 6db67e827e
chore(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#286)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 10:37:31 +08:00
Gaius 9f1fc3912d
feat: add certificateChain to Download message (#285)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-29 11:51:47 +08:00
Gaius c3133a8608
feat: remove tls_verify in Download message (#284)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-28 20:10:32 +08:00
Gaius 6bb1bedc70
feat: add error details to api (#283)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-28 12:42:22 +08:00
Gaius 88ad05325e
fix: rename download_task_failed_request to download_task_failed_resp… (#282)
fix: rename download_task_failed_request to download_task_failed_response

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-27 20:34:22 +08:00
Gaius 479332263a
feat: remove status in HTTPResponse message (#281)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-27 20:25:23 +08:00
Gaius 9a73b42a15
feat: response http code and status (#280)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-27 14:21:37 +08:00
Gaius 4729f1f74d
feat: add certificate and tls_verify params in Download message (#279)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-26 14:56:59 +08:00
dependabot[bot] 98c8cb43fe
chore(deps): bump google.golang.org/grpc from 1.61.1 to 1.62.0 (#278)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 10:55:04 +08:00
dependabot[bot] 479333547e
chore(deps): bump serde from 1.0.196 to 1.0.197 (#277)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.196 to 1.0.197.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.196...v1.0.197)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 10:53:38 +08:00
dependabot[bot] bae6a26c45
chore(deps): bump google.golang.org/grpc from 1.61.0 to 1.61.1 (#276) 2024-02-19 10:28:21 +08:00
dependabot[bot] 5b295962c4
chore(deps): bump golangci/golangci-lint-action from 3 to 4 (#275)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-18 16:01:54 +08:00
Gaius ebb135cedd
chore: update cargo version to v2.0.95 (#272)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-08 12:41:04 +08:00
Gaius 4ca58f1c92
feat: replace LeaveHostRequest with empty (#271)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-06 22:24:03 +08:00
Gaius b9e871c8cc
feat: add leave host to dfdaemon (#270)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-06 22:09:54 +08:00
dependabot[bot] 6e74d70e9c
chore(deps): bump tokio from 1.35.1 to 1.36.0 (#269)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.35.1 to 1.36.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.35.1...tokio-1.36.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 10:57:14 +08:00
Gaius 54f7272979
feat: remove DownloadTaskFinishedResponse in DownloadTask (#268)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-30 21:02:52 +08:00
Gaius ace20e5419
feat: add interested piece metadates to DownloadTaskStartedResponse (#267)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-30 14:26:42 +08:00
Gaius 758ec4e058
feat: add optional range to DownloadTaskStartedResponse message (#266)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-30 13:32:11 +08:00
Gaius 6f6b2a8d7a
feat: rename request to response in DownloadTaskResponse (#265)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-29 20:19:02 +08:00
Gaius db13215d84
feat: rename request to response in DownloadTaskResponse (#264)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-29 19:36:14 +08:00
Gaius d9943c3adf
feat: add content_length to DownloadTaskStartedRequest (#263)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-29 19:13:07 +08:00
Gaius 62716164e7
feat: add started and finished to download task response (#262)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-29 16:54:39 +08:00
dependabot[bot] 38e6942032
chore(deps): bump serde from 1.0.195 to 1.0.196 (#261)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.195 to 1.0.196.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.195...v1.0.196)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 10:30:29 +08:00
dependabot[bot] 0a1a4a3b75
chore(deps): bump google.golang.org/grpc from 1.60.0-dev to 1.61.0 (#260)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.60.0-dev to 1.61.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.60.0-dev...v1.61.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 10:30:11 +08:00
Gaius cb3825325f
feat: rename filters to filtered_query_params (#259)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-24 16:50:06 +08:00
Gaius 43bc7691e2
feat: add request_header to Download and Task (#258)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-22 13:56:30 +08:00
Gaius 30a9b3aab4
feat: change header to response_header in TaskDownloadResponse (#257)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-22 12:30:49 +08:00
dlut_xz 7d8a8a5ad8
feat: update triton grpc service proto (#255)
Signed-off-by: fcgxz2003 <834756128@qq.com>
2024-01-22 11:19:50 +08:00