v1.0.5
Changelog
5c732d5 Merge pull request #1456 from ansinlee/master
9aafd32 pass unit test
f8946b1 preheat support manifests list
ce14eb4 update go version to 1.13.15 of circleci
3dbdf79 add dfget to supernode dockerfile
ee974ae add test parse layers
1e77334 add implement of preheat
4906cd1 Merge pull request #1446 from pouchrobot/auto-doc-2020-07-30
4ef67f7 docs: auto generate Dragonfly cli/api docs via code
7da71ca Merge pull request #1443 from qhb1001/docs
5fda8bd docs: modify the container id to be run
cd36a2f Merge pull request #1435 from zcc35357949/fix/cdn_download_slow
ce65c0c bugfix: notify supernode client piece task success under cdn pattern
f33568a Merge pull request #1432 from pouchrobot/auto-doc-2020-07-17
2bd05b9 docs: auto generate Dragonfly cli/api docs via code
daa6ddd Merge pull request #1431 from pouchrobot/auto-doc-2020-07-16
a015475 Merge pull request #1429 from zhaxzhax/fix-#1428
5173d7d docs: auto generate Dragonfly cli/api docs via code
8ce59d0 Merge pull request #1411 from zcc35357949/crosswrite_panic
2ea9362 bugfix: fix missing error message 'Unable to autodetect advertiser ip, please set it via --advertise-ip' related to #1428
c6928f8 bugfix: fix dfget panic when link error between output file and tmp file.
12cfd62 Merge pull request #1426 from SataQiu/fix-pool-test-20200713
8d9596e fix the bug in unit tests about sync.Pool
8c716a1 Merge pull request #1414 from YesterdayxD/master
60051a9 Merge pull request #1425 from pouchrobot/auto-doc-2020-07-13
1f875bd docs: auto generate Dragonfly cli/api docs via code
911ce40 fix : spelling mistake and markdown format
68b07f6 Merge pull request #1412 from YesterdayxD/master
65f58bc fix format
88cb000 Merge pull request #1375 from lowzj/fix-ByteBuffer-gc
f01641e Merge pull request #1366 from lowzj/refactor-api-register
764b4ed optimize: release allocated ByteBuffer explicitly
cd9fa36 refactor: use package server/api to register supernode's API
f5cc28f Merge pull request #1404 from lowzj/readme
bb5482f doc(README): change "Sandbox" to "Incubating"
39aa614 Merge pull request #1398 from antsystem/update-docs
7ffa1e7 update docs
f372031 Merge pull request #1382 from hs0210/work
d92dfcb Merge pull request #1383 from Hellcatlk/go-lint
862a6a7 Merge pull request #1374 from fenggw-fnst/work
b23a54f test: add unit test case for static_locator.go
2f07b25 Merge pull request #1381 from lowzj/fix-downloader-header
60479b2 Merge pull request #1386 from lowzj/fix-gc-directory
2559fbf Merge pull request #1385 from Komey/docs_update
c58f062 fix: delete empty directory in local storage
4474dca fix: remove default registry definition in Dockerfile. fix: change dfpath default value in dfdaemon config template.
e64a762 bugfix: cdn cannot re-download uncompleted task with header param
80eae52 Merge pull request #1362 from antsystem/feat/add-hash-circler-supernode-locator
ea73b4f test: add some unit test cases for pkg/errortypes/errortypes.go
92ea5c8 fix go-lint warning: "exported method ... should have comment or be unexported"
0fdd9e7 optimize the hash circle, the algorithm of insert/delete/find is updated to rbtree instead of array.
07b4ad9 Merge pull request #1368 from antsystem/feat/define-clientopt-for-protocol
3b1c257 add functional options to define opts for NewProtocolClient.
ed1145f Merge pull request #1372 from antsystem/feat/add-more-supernode-api-for-seed-pattern
0da63b0 add hash circler locator
9542232 add supernode api for seed pattern
5981693 Merge pull request #1369 from fenggw-fnst/work
e110a40 Merge pull request #1371 from lowzj/fix-dingtalk-qr
a1c850d fix: replace expired QR-code of dingtalk group
f2dce8f test: add unit test case for supernode_value.go
e8a6514 Merge pull request #1364 from antsystem/feat/update-clientwriter-interface
872c6e2 update interface of ClientWriter.
f1bd6e8 Merge pull request #1346 from lowzj/api-register
71bde95 refactor: define api register of supernode to add api
3945cdb Merge pull request #1352 from antsystem/feat/add-implementation-for-dfget-interface
3cd96a0 add implementation of http/https protocol
ef3d3c4 Merge pull request #1358 from antsystem/feat/define-schedule-peer-info
0dc8afb add schedule peer info
88cb9fa Merge pull request #1355 from antsystem/feat/update-dfget-interface-type-define
cefdca4 move some types to basic package
4350001 Merge pull request #1353 from lowzj/fix-deleteTaskFiles
a9f24af fix: don't delete the parent directory of the task file
eb8359c Merge pull request #1351 from antsystem/feat/optimize-HTTPWithHeaders
edaaa3b optimize the HTTPWithHeaders.When do a http request, share the transport and add timeout in request context to share the http client.
54f0a67 Merge pull request #1343 from antsystem/feat/reconstruct-dfget-interface
d04b08c define the interface of downloader, data_scheduler, client_stream, register, uploader, data_protocol and url protocol.
d499c51 Merge pull request #1345 from lowzj/locator-add-select
9864570 feature: add Select api into SupernodeLocator
f131b5f Merge pull request #1305 from antsystem/feat/add-seed-cache-prepare-pr
a2a6d82 add cache for seed.
10a6ac2 Merge pull request #1348 from lowzj/fix-git-depth
d631f4d fix(ci): disable shadow clone in travis-ci
183a2f5 Merge pull request #1347 from pouchrobot/auto-doc-2020-05-15
7788033 docs: auto generate Dragonfly cli/api docs via code
2443cba Merge pull request #1325 from lowzj/refactor-dfget-core-with-locator
122ac3c refactor: refactor dfget/core with SupernodeLocator
8a1b37a Merge pull request #1338 from AdamKorcz/master
6e7e41d Added 2 fuzzers
164e390 Merge pull request #1272 from Hellcatlk/master
6da8759 add unit test cases
2af6a81 Merge pull request #1330 from q384566678/add-config-test
4ca7667 supernode/config: add UT for IsSuperCID
003b73d Merge pull request #1340 from lowzj/fix-docker-build
e70f944 fix: pass GOPROXY to docker build
33c3f7f Merge pull request #1339 from pouchrobot/auto-doc-2020-05-12
c69bc35 docs: auto generate Dragonfly cli/api docs via code
849f36f Merge pull request #1313 from antsystem/supernode_support_seed_task_pr
0ca3333 Merge pull request #1242 from lowzj/preheat
435eb38 feature: define the interface and http api of preheat
0d3e9b2 Merge pull request #1324 from lowzj/locator-interface
359175e Merge pull request #1326 from SataQiu/fix-log-20200506
51695f3 proxy: do not log error messages when http Server is closed
854074c refactor: redefine the behavior of SupernodeLocator
4525cb4 define new apis
44506bf Merge pull request #1321 from lowzj/fix-checkOutput
dbc297d bugfix: infinite loop in dfget/config/config.go#checkOutput
8237693 Merge pull request #1294 from lowzj/SupernodeLocate
7e04f05 feature: define the interface SupernodeLocator
ab71c0d Merge pull request #1318 from lowzj/dfget-util
ce8b258 refactor: move package dfget/util to pkg/algorithm
6cc9d86 Merge pull request #1317 from pouchrobot/auto-doc-2020-04-30
62cd952 docs: auto generate Dragonfly cli/api docs via code
8134362 bugfix: initialize dfget downloader in dfdaemon
77c995d Merge pull request #1308 from lowzj/fix-sleep
11611b5 bugfix: notify p2p downloader to pull next piece after reporting
93152ce Merge pull request #1316 from hxbaishikele/typo_v1
2c6d041 typo: fix typo cdnDource to cdnSource
4eda7c3 Merge pull request #1310 from tanjunchen/improve-code
e73614c pkg/algorithm/algorithm.go:improve algorithm
ca96df3 Merge pull request #1302 from lowzj/fix-GCDSlice
10cfda1 fix: GCDSlice returns 1 when slice is empty
a8ade02 Merge pull request #1304 from pouchrobot/auto-doc-2020-04-27
f3fc768 docs: auto generate Dragonfly cli/api docs via code
734cde5 Merge pull request #1297 from antsystem/feat/add-seed-downloader-prepare-pr
97d20db Merge pull request #1300 from Komey/feature_expose_more_ports
c84e38d feature: modify dfdaemon port validate method, allow to expose more port to listen.
1da7fba add seed downloader
06d2368 Merge pull request #1286 from antsystem/feat/define-seed-interface
cb47003 define the interface of seed
7aa7efc Merge pull request #1285 from antsystem/feat/add-bitmap
9814193 add bitmap in pkg, the max bitIndex is math.MaxInt32
4c2af2b Merge pull request #1291 from fenggw-fnst/work
efbf460 Merge pull request #1292 from pouchrobot/auto-doc-2020-04-18
f6f0e6f docs: auto generate Dragonfly cli/api docs via code
58e82bb test: add unit test case for super_reader.go
0e4e541 Merge pull request #1290 from antsystem/feat/add-seed-response
0996a1b add seed response in seed pattern.
9426ea9 Merge pull request #1277 from antsystem/fix/update-heart-beat-api
702937c update api definition of /peer/heartbeat and /peer/network
6681c18 Merge pull request #1287 from moyasu/master
e942b10 docs: fix typo
19f1613 Merge pull request #1275 from antsystem/feat/add-lru-queue-and-mockfileserver-prepare-pr
b3222f5 add lru queue and mockFileServer
7856ccd Merge pull request #1271 from hs0210/work
cbfc36c Merge pull request #1267 from fenggw-fnst/work
05b2f8e Merge pull request #1270 from antsystem/feat/define-some-api-types-prepare-pr
1d160be define some api types.
3d28168 Merge pull request #1259 from lowzj/cdnPattern-support-range
0d5bc54 test: add unit test case for func GetSuperCID
ef57720 fix: cdn-source pattern supports range task
9a4e7b0 Merge pull request #1268 from pouchrobot/auto-doc-2020-04-03
0ab5157 test: add unit test case for func WithConsole
9ebc1b7 docs: auto generate Dragonfly cli/api docs via code
18b652c Merge pull request #1264 from antsystem/feat/extract-dfget-lib-prepare-pr
ce27e84 remove https://coreos.com/operators/ from roadmap.md in case ci/circleci: linters-check not success
101a072 add stream mode which do not up dfget progress.
aa709f6 Merge pull request #1262 from fenggw-fnst/work
988e45f test: add unit test case for func ReportMetrics
b184f25 Merge pull request #1261 from pouchrobot/auto-doc-2020-03-25
abe08cd docs: auto generate Dragonfly cli/api docs via code
df222f9 Merge pull request #1258 from Hellcatlk/UnitTest
79fd076 Merge pull request #1260 from fenggw-fnst/work
0f41f77 test: add unit test case for core.go
7179243 Merge pull request #1257 from hs0210/work
d7d4ff4 Merge pull request #1213 from Starnop/source-cdn
9abd23a add unit test for client/httputils.go
d9d4c92 test: add unit test case for func ConstructRangeStr
26d9d97 feature: support source cdn pattern
bae7528 Merge pull request #1255 from pouchrobot/auto-doc-2020-03-20
532c391 docs: auto generate Dragonfly cli/api docs via code
f27e2e4 Merge pull request #1253 from lowzj/fix-issue1198
e399394 Merge pull request #1252 from SataQiu/add-gen-ca-20200317
e6a20fb feature: add dfdaemon sub command 'gen-ca' for CA generation
d38af90 bugfix: check err returned by peerMgr.Get to prevent nil pointer reference
894eae8 Merge pull request #1251 from pouchrobot/auto-doc-2020-03-17
a4323e7 Merge pull request #1235 from antsystem/feat/support-custom-protocol
9f4f017 docs: auto generate Dragonfly cli/api docs via code
768851b update IsValidURL
523e98d add test for RegisterProtocol
92de56e support custom protocols
393bde4 Merge pull request #1249 from xiaoanyunfei/bugfix/conn_close
e8c93e7 bugfix:cConn should close immediately
6de0f19 Merge pull request #1247 from pouchrobot/auto-doc-2020-03-15
15c81ab docs: auto generate Dragonfly cli/api docs via code
2022ee9 Merge pull request #1246 from antsystem/fix/json-decode-panic
5da96fe fix the concurrent race of reuse of fasthttp resp body
35d3d7e Merge pull request #1241 from fenggw-fnst/work
7ebffb3 test: add unit test case for func WithMaxSizeMB
bc16744 Merge pull request #1240 from pouchrobot/auto-doc-2020-03-12
3714813 docs: auto generate Dragonfly cli/api docs via code
74ba83c Merge pull request #1232 from readerx/master
06bdaed Fix an issue where HTTPS is not supported
d8e4f96 Merge pull request #1221 from q384566678/add-supernode-value-test
a47017f Merge pull request #1223 from littleroad/symboliclink
0d0a606 Merge pull request #1234 from fenggw-fnst/work
17e65e3 bugfix: fix untested case due to prefix missing
5e7589b add unit test for NodeWeightSlice2StringSlice
8af6879 change Wight into Weight
7aa441b Merge pull request #1220 from allencloud/docs-data-integrity
8712de3 Merge pull request #1228 from pouchrobot/auto-doc-2020-02-20
6dd69a9 docs: auto generate Dragonfly cli/api docs via code
fc56458 Merge pull request #1215 from allencloud/remove-gitter
dcd35d5 Merge pull request #1225 from littleroad/construct_error_with_conventions
58ccd6a pkg/fileutils: constructing errors following conventions
caad9fd Merge pull request #1194 from fenggw-fnst/work2
a88b5f0 Merge pull request #1219 from q384566678/add-fileutils-test
6dd279b Merge pull request #1226 from fenggw-fnst/work
46593a5 fix typo: fix comment for const var DefaultFailureCountLimit
d1fbbd3 test: add unit test case for func GetAllPeerIDs
082e612 pkg/fileutils: add unit test for SymbolicLink
16763d6 pkg/fileutils: add verifications for SymbolicLink
a392463 Merge pull request #1216 from q384566678/add-suncmap-unit-test
e33b08f pkg/fileutils: add unit test for IsRegularFile
11ce918 pkg/syncmap: add unit test for GetAsAtomicInt
5e94ef2 docs: add data integrity theory of distributing files and blocks
bc736ed Merge pull request #1214 from q384566678/add-test
1481da3 Merge pull request #1218 from pouchrobot/auto-doc-2020-02-13
2b004ce docs: auto generate Dragonfly cli/api docs via code
790e620 Merge pull request #1186 from antsystem/add-client-stream-writer
2d41e64 docs: remove gitter from realtime chatting tools
78504d7 pkg/constants: improve GetMsgByCode test
0508f23 Merge pull request #1212 from truongnh1992/Typo
51069cb Fix markdown syntax in documentation
aa99056 Merge pull request #1209 from pouchrobot/auto-doc-2020-02-06
6692474 fix typo
f292c81 docs: auto generate Dragonfly cli/api docs via code
e1ae4b8 Merge pull request #1181 from YanzheL/feature-https-mitm
96c3c82 Hijack HTTPS by generating leaf TLS certs on the fly issued by user provided CA
6745cc8 Merge pull request #1197 from q384566678/add-supernode-test
4c0fac1 test: add unit tests for supernode errors
9f9b328 Merge pull request #1196 from q384566678/add-errortypes-test
3564b36 test: add unit tests for pkg/errortypes
0891364 Merge pull request #1202 from truongnh1992/typo
c4af904 docs: trivial fix some typos
b40524a implement limit rate for stream mode
c9472bb add ClientStreamWriter unit test
ec355c4 refactor Downloader interface
9de0927 Merge pull request #1193 from fenggw-fnst/work
04fcd1b Merge pull request #1192 from q384566678/add-digest-test
77f128e test: add unit test case for func GetAsTime
ff38f2d add unit test for Sha1
2b587f3 add unit test for Sha256
919ff03 Merge pull request #1189 from hs0210/work
2865234 test: add unit test case for func GetAsInt64
b954004 Merge pull request #1187 from hs0210/work
ce118fc Merge pull request #1188 from pouchrobot/auto-doc-2020-01-17
22c04aa docs: auto generate Dragonfly cli/api docs via code
3c375d4 feature: add client stream writer for Streaming
3fc7a73 test: add unit test case for func GetAsBitset
e7332a3 Merge pull request #1185 from Starnop/retry-report-piece
5d248de bugfix: retry multi times if failed to report pieces
169ff3f Merge pull request #1184 from hs0210/work
cbb4d50 Merge pull request #1145 from YanzheL/configurable-logfile-path
5ad6eb3 Merge pull request #1180 from antsystem/feat/header_range_per_task
2dee5c0 fix: checkStatusCode after download
42e81a9 test: add unit test case for func GetAsMap
72929df Merge pull request #1182 from pouchrobot/auto-doc-2020-01-15
cbcb99b Merge pull request #1183 from SataQiu/clean-up-20200115
416d583 code clean: remove tmp file
22bae4d docs: auto generate Dragonfly cli/api docs via code
0f1a3a5 feat: generate task per http range
c02b0b0 Set default logfile path for dfdaemon/dfget
ebfc638 Do not set default path here, rollback the change.
54b4918 Fix linter issue
1a20200 Rebase master
bf81246 Configure logfile path via 'logConfig.path' property
def2b21 Merge pull request #1178 from q384566678/add-util-test
4b07fc0 Merge pull request #1179 from q384566678/add-dfget-test
41ab743 add unit test for GetMsgByCode
733a6e3 add unit test for Set
b936211 add unit test for Add
da94e78 Merge pull request #1176 from hs0210/work
e2faa4f test: add unit test case for func GetAsBool
c32b58a Merge pull request #1152 from Starnop/cdn-fail-source-down
c17e3ca Merge pull request #1024 from Starnop/docs-config
4b0a28e docs: optimize the config documents
ed99479 Merge pull request #1120 from Starnop/deploy-machine
ff0e850 Merge pull request #1028 from Starnop/df-harbor
ea45899 docs: add a doc about using dragonfly with harbor registry
c0abca3 docs: update docs about deploy with Physical Machines
7d00289 bugfix: update cdn fail when the content is being read and the source server is down
239454c Merge pull request #1174 from truongnh1992/secure_links
810724e Securing many http links to https links
a562669 Merge pull request #1156 from truongnh1992/contribution
ae01fe8 docs: add more detail steps in workspace preparation
9b9ca93 Merge pull request #1172 from hs0210/work
1243876 Merge pull request #1173 from fenggw-fnst/work
d19813a test: add test case in unit test TestParseFilter
34cf285 test: add unit test case for func GetAsString
9769c2c Merge pull request #1170 from hs0210/work
2fe7047 test: add unit test case for func GetAsInt
7845c18 Merge pull request #1169 from pouchrobot/auto-doc-2020-01-10
4eb5eeb docs: auto generate Dragonfly cli/api docs via code
9d8c850 Merge pull request #1166 from xujihui1985/master
7484761 Merge pull request #1165 from fenggw-fnst/work
e817bf2 Merge pull request #1167 from hs0210/work
7eb5be1 fix: use StringArrayVar to parse http header
a021b8a test: add unit test case for func Remove
b6bf1db fix typo: fix comment for func Print
b32d1ca Merge pull request #1163 from fenggw-fnst/work
a432eda fix typo: fix comment for func ParseNodesString
7894da1 Merge pull request #1160 from fenggw-fnst/work
3d768bb test: add unit test case for func ParsePieceIndex
48a4736 Merge pull request #1159 from SataQiu/move-version-pkg-20200103
6d98b90 refactor: make version subcommand as a public subcommand
9aaea24 Merge pull request #1151 from pouchrobot/auto-doc-2019-12-31
3f7ee57 Merge pull request #1155 from fenggw-fnst/work
e1c58f3 fix typo: 'the the' -> 'the'
2d8dec6 docs: auto generate Dragonfly cli/api docs via code
509945a Merge pull request #1065 from yunfeiyanggzq/bridge_1
f2428a5 Merge pull request #1084 from SataQiu/add-dfdaemon-config-cmd-20191118
b552a12 Merge pull request #1148 from fenggw-fnst/work
d1d7b0a test: add unit test case for func TransRate
df32ce2 Merge pull request #1134 from Aresforchina/Drangonflu-update02
c3b7c6b bugfix:modify the words spelling mistakes
2d0c65a Merge pull request #1137 from pouchrobot/auto-doc-2019-12-17
00538be docs: auto generate Dragonfly cli/api docs via code
39efe64 Merge pull request #1133 from Aresforchina/Dragonfly-update
5f45806 modify 1.0 bridge
d33ea4c bugfix:modify the words spelling mistakes
e77febc Merge pull request #1131 from pouchrobot/auto-doc-2019-12-09
3dccb97 docs: auto generate Dragonfly cli/api docs via code
6235fe1 Merge pull request #1125 from fengzixu/master
a32f2fd feature: add yamllint tool to format yaml files
20dca47 Merge pull request #1127 from yeya24/fix-link
8583da4 fix bad link
096afac Merge pull request #1121 from lowzj/fix-totallimit
c10fde1 fix: unset the default value of totallimit
e49d466 Merge pull request #1114 from yunfeiyanggzq/bridge_3
992496d feature: add 'config default' command to print the default configuration of components
5e3fab2 feature:modify client api
d1577a8 Merge pull request #1110 from yeya24/remove-check
7da1850 Merge pull request #1116 from pouchrobot/auto-doc-2019-12-02
85663db docs: auto generate Dragonfly cli/api docs via code
c053e4e Merge pull request #1113 from yunfeiyanggzq/bridge_2
a404b3d bugfix:fix swagger wrong
d714d98 Merge pull request #1107 from yeya24/fix-dashboard
ccd900d Merge pull request #1099 from widy21/master
ee8fa00 cleanup unused scripts and Makefile
c56a6d2 Merge pull request #1109 from pouchrobot/auto-doc-2019-12-01
4fb7772 docs: auto generate Dragonfly cli/api docs via code
7531128 fix broken grafana dashboard
b1a405c Merge pull request #1102 from Starnop/disable-autogendoc
7803b95 fix the "index out of range" error when the length of speed is 0.
6307135 bugfix: disable displaying auto generation tag in cli docs for supernode
f8ecf02 Merge pull request #1100 from Starnop/supernode-cli-docs
c7ae59b [feature]: add generate doc cmd for supernode
bd23388 fix the "index out of range" error when the length of speed is 0.
72b98ba Merge pull request #1088 from lowzj/optimize-server-start
84c3145 Merge pull request #1089 from lowzj/fix-invalid-timeout
d03b207 optimize: reduce the waiting time for starting dfget server
5633b9e bugfix: the timeout specified by user should be used firstly
04f0ffe Merge pull request #1087 from zcc35357949/fix/server_startup
8ebbc6f bugfix: lock file before check server port