Dr Ian Preston
f052d18471
fix non empty paths in p2p http proxy
...
License: MIT
Signed-off-by: Ian Preston <ianopolous@protonmail.com>
2018-11-28 23:17:26 -08:00
Chris Boddy
90f5bad718
[http_proxy_over_p2p] proxy async.
...
Simultaneously send request-body while reading response-body when
proxying requests.
License: MIT
Signed-off-by: Chris Boddy <chris@boddy.im>
2018-11-28 23:17:26 -08:00
Chris Boddy
5f246e3211
[http_proxy_over_p2p] httputil.ReverseProxy
...
Reimplement http-request proxying ala httputil.ReverseProxy.
NB: this is proxies the request synchronously (sends all request-body
before reading any response).
License: MIT
Signed-off-by: Chris Boddy <chris@boddy.im>
2018-11-28 23:17:26 -08:00
Chris Boddy
335bca2bb7
[http_proxy_over_p2p] remove now superfluous test
...
License: MIT
Signed-off-by: Chris Boddy <chris@boddy.im>
2018-11-28 23:17:26 -08:00
Dr Ian Preston
22f3b11621
change handler mount point to /proxy/http/
...
License: MIT
Signed-off-by: Ian Preston <ianopolous@protonmail.com>
2018-11-28 23:17:26 -08:00
Chris Boddy
1945e44f7f
[http_proxy_over_p2p] Add sharness tests for http-proxy-over-p2p
...
License: MIT
Signed-off-by: Chris Boddy <chris@boddy.im>
2018-11-28 23:17:26 -08:00
Chris Boddy
c862ac1fb4
[http_proxy_over_p2p] more tests, fix build
...
License: MIT
Signed-off-by: Chris Boddy <chris@boddy.im>
2018-11-28 23:17:26 -08:00
Chris
90021c16d6
[http_proxy_over_p2p]
...
This implements an http-proxy over p2p-streams.
License: MIT
Signed-off-by: Chris Boddy <chris@boddy.im>
2018-11-28 23:17:26 -08:00
Steven Allen
af73c5097c
Merge pull request #5802 from ipfs/kevina/gx-go-merkledag-1.1.23
...
Gx update go-merkledag and related deps.
2018-11-28 14:58:07 -08:00
Kevin Atkinson
feb4808975
Gx update go-merkledag and related deps.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-11-28 17:21:36 -05:00
Steven Allen
496f1d1230
Merge pull request #5786 from overbool/refactor/cmds/rm-old-lib
...
cmds: rm old lib
2018-11-27 21:33:01 -08:00
Overbool
a7485994d7
cmds: rm old lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-27 20:43:41 -08:00
Steven Allen
fffa3ec9d7
Merge pull request #5625 from schomatis/feat/badger/add-truncate-option
...
badger: add truncate flag
2018-11-27 20:40:22 -08:00
Lucas Molas
200df850cc
badger: add truncate flag
...
License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-11-27 22:08:02 -03:00
Steven Allen
d40c69f56e
Merge pull request #5798 from ipfs/gx/update-config
...
gx: update go-ipfs-config
2018-11-27 09:56:32 -08:00
Steven Allen
cef645936d
gx: update go-ipfs-config
...
* AutoRelay options for #5785 .
* Badger truncate-by-default option for #5275 , #5625 .
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-26 17:42:13 -08:00
Steven Allen
c24e987175
Merge pull request #5473 from akaihola/docker-image-profile
...
docker: allow IPFS_PROFILE to choose the profile for `ipfs init`
2018-11-26 15:29:58 -08:00
Steven Allen
b7a48531b7
Merge pull request #5611 from ipfs/features/streaming-ls-5600
...
Add --stream option to `ls` command
2018-11-20 23:42:22 -08:00
hannahhoward
f5ab6a3f5e
refactor(commands): cleanup makeDagNodeLinkResults
...
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-19 16:46:10 -08:00
Steven Allen
ebc7cdceb5
Merge pull request #5782 from ipfs/feat/http-context
...
Switch to using request.Context()
2018-11-19 14:49:12 -08:00
Jeromy
da4674f0b9
Switch to using request.Context()
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-11-18 16:11:43 -08:00
hannahhoward
b0dc73c45f
fix(commands): Use post-run to remove flag
...
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 15:06:54 -08:00
hannahhoward
be4c4abcc2
chore(commands): Mark feature as experimental
...
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:55:08 -08:00
Łukasz Magiera
7391cfd421
fix(commands): reduce complexity w/ typed encoder
...
uses single flag to support state needed by PostRun
supports encoding=text
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:53:08 -08:00
hannahhoward
20b928094c
fix(commands): Add sharness tests for streaming
...
Also fixes issues discovered with sharness tests
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:52:29 -08:00
hannahhoward
5672ae6bbb
fix(commands): Refactor to use a PostRun
...
Removes flags on LSOutput
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:51:29 -08:00
hannahhoward
ef6e9cf283
feat(commands): --stream option for ls
...
Convert LS Command to use current cmds lib
Update LS Command to support streaming
Rebase fixes
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-16 14:30:42 -08:00
Steven Allen
31099e8824
Merge pull request #5762 from ipfs/gx/update-kque0y
...
Update go-ipfs-delay and assoc deps
2018-11-15 19:20:23 -08:00
hannahhoward
0963c9cdcb
Update go-ipfs-delay and assoc deps
...
License: MIT
Signed-off-by: hannahhoward <hannah@hannahhoward.net>
2018-11-15 18:53:45 -08:00
Steven Allen
e3c6776dca
Merge pull request #5769 from zonque/suppress-bootstrap-error
...
Suppress bootstrap error
2018-11-12 16:27:50 -08:00
Steven Allen
a0e6b0c1c7
Merge pull request #5770 from ipfs/fix/very-explicit-issue-template
...
ISSUE_TEMPLATE: move the support question comment to the very top
2018-11-12 14:32:25 -08:00
Molly
3a38b0e6c3
updates for spacing and readability
2018-11-12 14:17:30 -08:00
Molly
3d2d0535b7
Rearrange issue template and condense to be more readable
2018-11-12 14:12:23 -08:00
Steven Allen
750052f491
ISSUE_TEMPLATE: move the support question comment to the very top
...
The issue template is long. We need to make this *really* obvious*.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-12 13:47:26 -08:00
Daniel Mack
45b34e2bcb
bootstrap: check for presence of bootstrap nodes earlier
...
Rather than checking for the presence of bootstrap nodes on each iteration
of the deferred function, do the check at initialization time and report an
error immediately.
License: MIT
Signed-off-by: Daniel Mack <daniel@zonque.org>
2018-11-12 22:45:47 +01:00
Steven Allen
a88cd82a70
Merge pull request #5760 from overbool/refactor/cmds/encoder
...
cmds: use MakeTypedEncoder
2018-11-10 10:11:26 -08:00
Steven Allen
4e7014ee4e
Merge pull request #5759 from overbool/fix/bitswam/sort-wantlist
...
cmds/bitswap: sort wantlist
2018-11-10 10:09:24 -08:00
Overbool
f4976e6b4e
cmds/bitswap: sort wantlist
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-10 12:19:15 +08:00
Overbool
51fa833fda
cmds: use MakeTypedEncoder
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-10 12:11:45 +08:00
Steven Allen
085217eb5e
Merge pull request #5730 from overbool/refactor/cmds/update
...
cmds/update: use new cmds lib
2018-11-09 11:57:24 -08:00
Overbool
5002d59d8c
cmds/update: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-09 11:14:48 -08:00
Steven Allen
19a662040a
Merge pull request #5756 from overbool/refactor/cmds/file
...
cmds/file: use new cmds lib
2018-11-08 18:30:35 -08:00
Overbool
cd108a0f88
cmds/file: use new cmds lib
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-09 09:26:52 +08:00
Steven Allen
8189650216
Merge pull request #5750 from overbool/refactor/cmds/rm-reduntant-func
...
cmds: remove reduntant func
2018-11-08 01:01:17 -08:00
Overbool
57b0c0f792
cmds: remove reduntant func
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-08 15:21:50 +08:00
Steven Allen
98f6b2f684
Merge pull request #5679 from overbool/refactor/commands/refs
...
commands/refs: use new cmds
2018-11-07 13:57:56 -08:00
Steven Allen
b622e33482
Merge pull request #5674 from overbool/refactor/commands/pin
...
commands/pin: use new cmds lib
2018-11-07 13:29:31 -08:00
Steven Allen
5c15857e33
pin: handle progress in post-run, everything else in the encoder
...
Otherwise, we break the HTTP API (slightly).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-07 13:19:15 -08:00
Overbool
62ce03ed14
cmds/pin: use PostRun in pin add
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00
Overbool
52cd246c04
cmds/pin: use EmitOnce for single value
...
License: MIT
Signed-off-by: Overbool <overbool.xu@gmail.com>
2018-11-07 13:19:15 -08:00