Commit graph

513 commits

Author SHA1 Message Date
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
Stanislav Bogatyrev
73bd26bc12 docs: Clarify auth scheme
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-05-05 16:25:01 +03:00
Roman Khimov
6d9bc994cd CHANGELOG: add more references 2021-04-30 21:46:14 +03:00
Roman Khimov
881136faf1
Merge pull request #36 from roman-khimov/docker-and-changelog
Docker fix and changelog
2021-04-30 21:40:20 +03:00
Roman Khimov
c975496d2a
Merge pull request #35 from realloc/readmez
Improve first contribution experience
2021-04-30 21:24:01 +03:00
Roman Khimov
42ef4f9bc4 CHANGELOG: add 0.15.0 release 2021-04-30 21:18:59 +03:00
Stanislav Bogatyrev
ea66180012 Improve first contribution experience
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2021-04-30 19:45:03 +03:00
Roman Khimov
9ab39fa22d README: mention Docker images 2021-04-30 19:43:51 +03:00
Roman Khimov
7a7d27e894 workflows: use proper make dep for Docker image workflow
`go mod download` changes go.sum making our images "-dirty".
2021-04-30 19:43:06 +03:00
Roman Khimov
37fa2c6757
Merge pull request #34 from roman-khimov/fix-tests
Fix tests, add workflow and makefile targets
2021-04-30 19:19:07 +03:00
Roman Khimov
d5cdcb29c3 workflows: use Ubuntu 20.04 instead of 18.04
18.04 is a bit old.
2021-04-30 19:14:12 +03:00
Roman Khimov
25d273f88e workflows: move linter to tests from builds 2021-04-30 19:09:41 +03:00
Roman Khimov
f05a6eda7d workflows: add testing workflow 2021-04-30 19:08:57 +03:00
Roman Khimov
7ba5aed9ca tokens: fix tests
Broken by afbb9d51f1 which changed some
strings.
2021-04-30 19:02:30 +03:00
Roman Khimov
727ec9b22f
Merge pull request #33 from roman-khimov/add-image-push
Makefile: add simple image-push target
2021-04-30 19:00:54 +03:00
Roman Khimov
93fcaffaaa Makefile: add simple image-push target
And use it in workflow.
2021-04-30 19:00:05 +03:00
Roman Khimov
ebd3ad8842 Makefile: add test and cover targets 2021-04-30 18:59:21 +03:00
Roman Khimov
12859c2e5d metrics: fix linter warning
It's useless, but still we want to be green
  Error: missing cases in switch of type promhttp.HandlerErrorHandling: ContinueOnError (exhaustive)
2021-04-30 17:52:29 +03:00
Roman Khimov
3ee5ad52b6 workflows: use latest Ubuntu for linter
Try to fix
  Error: NotifyContext not declared by package signal (typecheck)
2021-04-30 17:52:29 +03:00