- 02 Dec, 2020 2 commits
-
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
- 01 Dec, 2020 2 commits
-
-
Adin Schmahmann authored
-
Adin Schmahmann authored
-
- 25 Nov, 2020 1 commit
-
-
Adin Schmahmann authored
-
- 07 Sep, 2020 1 commit
-
-
Alex Potsides authored
* fix: allow requests from electron renderer The Electron Renderer process runs in an embedded browser window so has access to browser-native `fetch`. If this is used by `ipfs-http-client` to make requests against the HTTP API, the `User-Agent` header is set to a value that looks similar to a browser but no `Origin` or `Referer` headers are sent. The change here is to relax the user agent check to allow through requests from clients with `'Electron'` in their user agents.
-
- 04 Aug, 2020 1 commit
-
-
Adin Schmahmann authored
* refactor: move environment-based command restrictions to be stored with the command itself
-
- 01 Aug, 2020 2 commits
-
-
Will authored
Fix build on Plan 9
-
Fazlul Shahriar authored
-
- 04 May, 2020 1 commit
-
-
Hector Sanjuan authored
-
- 29 Apr, 2020 9 commits
-
-
Steven Allen authored
build(deps): bump github.com/ipfs/go-log from 1.0.3 to 1.0.4
-
Steven Allen authored
Fix go-ipfs#7242: Remove "HEAD" from Allow methods
-
Hector Sanjuan authored
-
Sawood Alam authored
-
Sawood Alam authored
-
Hector Sanjuan authored
(when GET is not allowed).
-
Hector Sanjuan authored
* Staticcheck fixes This fixes all staticcheck warnings for this library.
-
Steven Allen authored
doc: update docs for interface changes
-
Steven Allen authored
-
- 27 Apr, 2020 1 commit
-
-
Hector Sanjuan authored
-
- 22 Apr, 2020 1 commit
-
-
dependabot-preview[bot] authored
Bumps [github.com/ipfs/go-log](https://github.com/ipfs/go-log) from 1.0.3 to 1.0.4. - [Release notes](https://github.com/ipfs/go-log/releases) - [Commits](https://github.com/ipfs/go-log/compare/v1.0.3...v1.0.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 06 Apr, 2020 3 commits
-
-
Steven Allen authored
Fix: disallow POST without Origin nor Referer from specific user agents
-
Hector Sanjuan authored
-
Hector Sanjuan authored
Addresses browsers being able to POST without control due to things like https://bugzilla.mozilla.org/show_bug.cgi?id=429594
-
- 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 3 commits
-
-
deepakgarg authored
-
deepakgarg authored
-
deepakgarg authored
-