- 04 Apr, 2020 4 commits
-
-
Steven Allen authored
doc: document command fields
-
Steven Allen authored
-
Hector Sanjuan authored
change HandledMethods to AllowGet and cleanup method handling
-
Steven Allen authored
Allowing methods isn't as simple as just allowing/disallowing them because different methods do different things. * HEAD: should be allowed everywhere GET is allowed. * OPTIONS: * When a CORS request is made, this will be handled by the CORS library. * Otherewise, we need to return the allowed methods. * POST: always allowed. * Everything else: always denied. Changing HandledMethods to a simple AllowGet makes it easier to "do the right thing".
-
- 03 Apr, 2020 5 commits
-
-
Steven Allen authored
remove deprecated log.Warning(f)
-
Adrian Lanzafame authored
Part of the work to unblock: https://github.com/ipfs/go-log/pull/65
-
Steven Allen authored
http: configurable allowed request methods for the API.
-
Hector Sanjuan authored
This Handler option is used it to allow/deny request by their method. The API is an RPC API so it normally should only work with PUT, but we also use a read-only, GET-based partial API that runs with the gateway. This commit makes the actual allowed (or handled) methods configurable. A test is added, and test facilities improved to be able to set/modify this option.
-
Steven Allen authored
build(deps): bump github.com/ipfs/go-ipfs-files from 0.0.7 to 0.0.8
-
- 30 Mar, 2020 2 commits
-
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-ipfs-files](https://github.com/ipfs/go-ipfs-files) from 0.0.7 to 0.0.8. - [Release notes](https://github.com/ipfs/go-ipfs-files/releases) - [Commits](https://github.com/ipfs/go-ipfs-files/compare/v0.0.7...v0.0.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Steven Allen authored
#183 refactored the request options conversion code per the ticket requirements
-
- 29 Mar, 2020 1 commit
-
-
Steven Allen authored
fix typo
-
- 28 Mar, 2020 1 commit
-
-
@RubenKelevra authored
-
- 27 Mar, 2020 4 commits
-
-
deepakgarg authored
-
deepakgarg authored
-
deepakgarg authored
-
deepakgarg authored
-
- 26 Mar, 2020 1 commit
-
-
deepakgarg authored
Now options are converted and saved before the request object is generated
-
- 20 Mar, 2020 3 commits
-
-
Steven Allen authored
fix: normalize options when parsing them
-
Steven Allen authored
We introduced a bug where we forgot to do this and couldn't find the definition for the option. This _also_ fixes (and tests) a bug where we'd allow duplicate flags in some cases.
-
Steven Allen authored
-
- 18 Mar, 2020 2 commits
-
-
Steven Allen authored
feat:add strings option; re-implement file ignore
-
Cornelius Toole authored
- first step toward implementing file ignore feat(file-ignore): implement file ignore - add flags for providing a gitignore and/or list of files to ignore - construct a filter to be passed to a SerialFile feat(file-ignore): use go-ipfs-files fork; use renamed constructor feat(file-ignore): test case w. ignore rules; refactor parseArgs feat(file-ignore): ignore-rule opt is open-ended - make ignore-rules options accept a path to a file - add test case for ignore rules file feat(file-ignore): help-text for variardic opts - show StringsOption as variardic option in help-text - add test case for variardic option feat(file-ignore): rename rulesfile opt; fix typos feat(file-ignore): temp replace of go-ipfs-files - temporarily using go-ipfs-files fork until go-ipfs-files#26 is merged - trying to get ci/cd builds working - will revert before merging feat(file-ignore): refactor cli/parse.go#setOpts feat(file-ignore): cleanup parse.go; add test-case feat(file-ignore): update ignore option copytext feat(file-ignore): check opt against `optDef.Type` - revert exclusion of options with `Strings` type, so those option values are typechecked - add command test cases feat(file-ignore): add test-case w. hidden file feat(file-ignore): build against go-ipfs-files@latest feat(file-ignore): update go.mod/go.sum
-
- 16 Mar, 2020 5 commits
-
-
Steven Allen authored
Special-case accepting explicitly supplied named pipes
-
Peter Rabbitson authored
-
Peter Rabbitson authored
-
Peter Rabbitson authored
-
Peter Rabbitson authored
-
- 12 Mar, 2020 4 commits
-
-
Steven Allen authored
Chore/remove gx
-
Peter Rabbitson authored
-
Peter Rabbitson authored
-
Peter Rabbitson authored
-
- 27 Sep, 2019 2 commits
-
-
Steven Allen authored
build(deps): bump github.com/ipfs/go-ipfs-files from 0.0.4 to 0.0.6
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-ipfs-files](https://github.com/ipfs/go-ipfs-files) from 0.0.4 to 0.0.6. - [Release notes](https://github.com/ipfs/go-ipfs-files/releases) - [Commits](https://github.com/ipfs/go-ipfs-files/compare/v0.0.4...v0.0.6) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 24 Sep, 2019 4 commits
-
-
Steven Allen authored
build(deps): bump github.com/rs/cors from 1.6.0 to 1.7.0
-
dependabot-preview[bot] authored
Bumps [github.com/rs/cors](https://github.com/rs/cors) from 1.6.0 to 1.7.0. - [Release notes](https://github.com/rs/cors/releases) - [Commits](https://github.com/rs/cors/compare/v1.6.0...v1.7.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Steven Allen authored
build(deps): bump github.com/ipfs/go-ipfs-files from 0.0.2 to 0.0.4
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-ipfs-files](https://github.com/ipfs/go-ipfs-files) from 0.0.2 to 0.0.4. - [Release notes](https://github.com/ipfs/go-ipfs-files/releases) - [Commits](https://github.com/ipfs/go-ipfs-files/compare/v0.0.2...v0.0.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 19 Sep, 2019 1 commit
-
-
Steven Allen authored
-
- 27 Aug, 2019 1 commit
-
-
Steven Allen authored
http: allow specifying a custom http client
-