Commit graph

331 commits

Author SHA1 Message Date
Kirillov Denis
cca416ad75
Merge pull request #75 from roman-khimov/fix-last-modified-header
downloader: fix Last-Modified header
2021-06-29 13:01:10 +03:00
Roman Khimov
dee182a0c1 downloader: fix Last-Modified header
It should never ever be sent in local time, instead of
  Last-Modified: Tue, 29 Jun 2021 12:02:57 MSK
one should receive
  Last-Modified: Tue, 29 Jun 2021 09:02:57 GMT

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-06-29 12:25:14 +03:00
Angira Kekteeva
6cc9faad00
Merge pull request #74 from KirillovDenis/feature/71-yaml_config
[#71] Fix yaml config support
2021-06-28 17:23:30 +03:00
Denis Kirillov
5b6cc990c0 [#71] Fix yaml config support
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-28 16:17:08 +03:00
Roman Khimov
4f3620fdff
Merge pull request #72 from KirillovDenis/feature/67-download_streaming
[#67] Added streaming to download
2021-06-24 13:28:50 +03:00
Denis Kirillov
5eed0fd22d [#67] Added streaming to download
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-24 13:06:13 +03:00
Roman Khimov
222a434e5c
Merge pull request #70 from KirillovDenis/feature/68-nep6_wallet_support
[#68] Support NEP-6 wallets
2021-06-23 17:21:32 +03:00
Denis Kirillov
2d41fbc95e [#68] Support NEP-6 wallets
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-23 14:53:04 +03:00
Roman Khimov
b1c72b83a9 go.sum: go mod tidy
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-06-22 13:56:04 +03:00
Roman Khimov
42655cf476 CHANGELOG: release 0.15.2 2021-06-22 13:47:38 +03:00
Roman Khimov
c2f8d60798
Merge pull request #66 from KirillovDenis/feature/65-content-type_support
[#65] Supported object Content-Type
2021-06-21 19:23:03 +03:00
Denis Kirillov
9a49e2c85e [#65] Supported object Content-Type
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-21 16:56:51 +03:00
Roman Khimov
fe899f7304
Merge pull request #64 from KirillovDenis/feaute/63-using_object_interface
[#63] Using client.Object from sdk
2021-06-15 11:45:08 +03:00
Denis Kirillov
fffb0b2f12 [#63] Using client.Object from sdk
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-15 11:28:30 +03:00
Roman Khimov
9148cef0fc
Merge pull request #62 from roman-khimov/client-object
*: use client.Object where appropriate
2021-06-11 12:11:30 +03:00
Roman Khimov
e177e1c9ae *: use client.Object where appropriate
It's enough to do the job, we don't really need full client.Client interface
here.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-06-11 11:54:30 +03:00
Roman Khimov
b1e16c4b85
Merge pull request #61 from KirillovDenis/feature/60-drop_grpc_options
[#60] Dropped grpc keepalive options
2021-06-10 21:22:15 +03:00
Denis Kirillov
7734be609c [#60] Dropped grpc keepalive options
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-10 18:48:55 +03:00
Roman Khimov
d51659854d
Merge pull request #59 from KirillovDenis/bearer-acl
[#59] Added Bearer token requirements
2021-06-07 16:04:32 +03:00
Denis Kirillov
63e9048de6 [#XX] Added Bearer token requirements
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-07 15:37:03 +03:00
Roman Khimov
9f6f037b9f
Merge pull request #55 from KirillovDenis/bearer_token_example
[#54] Bearer token generation example
2021-06-04 16:52:43 +03:00
Roman Khimov
e13a00dd38
Merge pull request #58 from masterSplinter01/feature/57-update-api-go-version
Update api-go and sdk-go versions
2021-06-04 16:29:45 +03:00
Denis Kirillov
742eb7d0d7 [#55] Bearer token example
Example of using console utils to generate token

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-04 16:20:08 +03:00
Angira Kekteeva
2f8ab7cb8d [#57] downloader, uploader: Replace deprecated
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-06-04 15:55:56 +03:00
Angira Kekteeva
124a30eec7 [#57] go.mod: Update api-go and sdk-go versions
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-06-04 15:55:02 +03:00
Roman Khimov
5abc7817cb
Merge pull request #49 from masterSplinter01/misc/readme-fixes
readme: update params and keys, add little note
2021-06-04 10:55:26 +03:00
Angira Kekteeva
2510d1054a readme: update params of acl 'create a container'
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-06-04 10:38:01 +03:00
Roman Khimov
711fbab1fb
Merge pull request #56 from KirillovDenis/doc_bearer_cookie
[#53] Fixed bearer cookie key in README.md
2021-06-03 17:54:46 +03:00
Denis Kirillov
b93fa7048a [#53] Fixed bearer cookie key in README.md
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-06-03 15:18:27 +03:00
Angira Kekteeva
c227b8ca73
Merge pull request #51 from roman-khimov/drop-sdk-neofs
*: update to use unneofsed sdk-go
2021-06-02 19:36:36 +03:00
Roman Khimov
e8b94553c3 *: update to use unneofsed sdk-go
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-31 23:07:01 +03:00
Roman Khimov
b2cd6d8862
Merge pull request #50 from masterSplinter01/fix-key-param
Add short name for key parameter
2021-05-28 16:22:29 +03:00
Angira Kekteeva
b402f5009e *: add short name for key parameter
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-28 16:11:19 +03:00
Roman Khimov
8777d9695c
Merge pull request #48 from masterSplinter01/feature/46-replace-pool-library-usage
Replace  library usage
2021-05-28 15:30:08 +03:00
Angira Kekteeva
82b2126bfd [#46] *: Remove moved to sdk packages, refactoring
Removed connections, logger, neofs because they were moved to sdk repo.
Made changes in downloader, uploader, main.go and app.go via
refactoring of neofs.
Replaced dependencies to removed packages by sdk packages.

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-28 14:45:46 +03:00
masterSplinter01
d6367f2556
Merge pull request #47 from roman-khimov/drop-global-package
drop 'global' package
2021-05-25 15:30:31 +03:00
Roman Khimov
8ba5a2c92a drop 'global' package
It makes no sense as a package.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-25 13:24:22 +03:00
Roman Khimov
6c73296012 misc: drop Build variable
Makes builds reproducible.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-25 13:20:01 +03:00
Roman Khimov
a4ad52e181 CHANGELOG: release 0.15.1 2021-05-24 16:13:51 +03:00
masterSplinter01
8e76ec6a45
Merge pull request #45 from roman-khimov/bump-api-go
[#44] go.mod: update neofs-api-go to 1.26.1
2021-05-24 15:10:44 +03:00
Roman Khimov
51ede419af [#44] go.mod: update neofs-api-go to 1.26.1
Fix compatibility with the latest NeoFS nodes (0.20.0). Fixes #44.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-24 14:45:00 +03:00
Roman Khimov
9604f9f4b1
Merge pull request #43 from masterSplinter01/replace-gate-by-gw
Replace http-gate by http-gw
2021-05-18 15:17:19 +03:00
Angira Kekteeva
33b1a28bf1 Replace http-gate by http-gw in files
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-18 15:14:36 +03:00
Angira Kekteeva
ebb97a215d Readme edits
Add new info, new sections, examples

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-17 18:02:53 +03:00
Roman Khimov
685c229a97 go.mod: update neofs-api-go to 1.26.0
Fix #39.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-13 19:26:29 +03:00
Roman Khimov
3bcd3a6289 workflows: enable cgo for coverage test
It's combined with `-race`, so we need cgo there:
  go test: -race requires cgo; enable cgo by setting CGO_ENABLED=1
  make: *** [Makefile:50: cover] Error 2

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-13 18:57:42 +03:00
Roman Khimov
9735f567af golangci: use stricter settings
Check test code, use more linters and reenable some disabled-by-default golint
checks.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-13 18:57:42 +03:00
Roman Khimov
df3c87af79 *: fix all comment-related golint warnings
Some of this code is going to be moved to SDK library, so it's important.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-13 18:57:42 +03:00
Roman Khimov
3173c70eb6 settings: fix godot warnings
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-13 18:57:42 +03:00
Roman Khimov
b5c08a8e73 misc: drop unused Debug variable
Fix deadcode warning:
misc.go:8:2                   deadcode  `Debug` is unused

We have logging options and this one is not really needed.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-13 18:57:42 +03:00