Commit Graph

120 Commits

Author SHA1 Message Date
Jorropo
ebb2807dcc Merge pull request ipfs/go-ipfs-http-client#156 from ipfs/fix/ipld-ErrNotFound
fix: make Block().* return correct ABI based ipld.ErrNotFound errors

This commit was moved from ipfs/go-ipfs-http-client@fdbee7c788
2022-04-05 20:19:48 +02:00
Jorropo
60a548b621 correctness: only match CIDs matching go-cid.Cid.String output
This commit was moved from ipfs/go-ipfs-http-client@34cc489461
2022-04-05 20:14:40 +02:00
Jorropo
f2f2109bc1 test: add a false case test to blockstore parsing
This commit was moved from ipfs/go-ipfs-http-client@75f597aa16
2022-04-05 20:14:40 +02:00
Jorropo
54f6e90870 fix: change CID breaking logic when parsing ipld.ErrNotFound
This commit was moved from ipfs/go-ipfs-http-client@a3b49352bf
2022-04-05 20:14:40 +02:00
Jorropo
775bcb7f09 feat: add blockstore: block not found matching too
This commit was moved from ipfs/go-ipfs-http-client@a3354f062c
2022-04-05 20:14:40 +02:00
Jorropo
ddd36645b2 feat: update the error parsing for go-ipld-format to v0.4.0
This commit was moved from ipfs/go-ipfs-http-client@296534fd16
2022-04-05 20:14:40 +02:00
Jorropo
a2a60768ea fix: parseIPLDErrNotFound test
This commit was moved from ipfs/go-ipfs-http-client@2e09c4b3ab
2022-04-01 00:32:30 +02:00
Jorropo
5a8e2b77c0 chore: rename abyfyIpldErrNotFound to parseIPLDErrNotFound
This commit was moved from ipfs/go-ipfs-http-client@7aa0029929
2022-04-01 00:32:30 +02:00
Jorropo
b85aa9639f fix: make Block().* return correct ABI based ipld.ErrNotFound errors
This commit was moved from ipfs/go-ipfs-http-client@4f5f8e9b14
2022-03-27 14:51:03 +02:00
Piotr Galar
ee92934e9a Merge pull request ipfs/go-ipfs-http-client#154 from ipfs/web3-bot/sync
sync: update CI config files

This commit was moved from ipfs/go-ipfs-http-client@0675169398
2022-01-14 17:00:34 +01:00
galargh
b52c80ca4d skip TestHttpApi on Windows
This commit was moved from ipfs/go-ipfs-http-client@a41c7956c0
2022-01-14 16:16:26 +01:00
Marcin Rataj
5322cf89e4 feat: pubsub http rpc with multibase (#151)
* feat: pubsub http rpc with multibase

This updates HTTP RPC wire format to one from
https://github.com/ipfs/go-ipfs/pull/8183

* chore: use updated go-ipfs
* chore: switch ci to go-ipfs master

This commit was moved from ipfs/go-ipfs-http-client@c832fc0ce1
2021-11-29 22:24:27 +01:00
Marten Seemann
3bb5bd25cc Merge pull request ipfs/go-ipfs-http-client#143 from ipfs/fix-staticcheck
fix staticcheck

This commit was moved from ipfs/go-ipfs-http-client@77dc6b8913
2021-05-17 09:15:54 -07:00
Marten Seemann
ea2a35686d fix staticcheck
This commit was moved from ipfs/go-ipfs-http-client@4461a0bb95
2021-05-15 18:21:24 -07:00
Petar Maymounkov
247cb05fbc Bump interface-go-ipfs-core version (#117)
* fix issues #26
Implement an IsPinned function
* fix issues #113
Implement interface v0.3.0
* ci: update to use go-ipfs v0.6.0
* ci: bump go version

Co-authored-by: godcong <jumbycc@163.com>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>

This commit was moved from ipfs/go-ipfs-http-client@4e8a6c8b98
2020-07-31 13:20:59 -04:00
Steven Allen
b867648d5f Merge pull request ipfs/go-ipfs-http-client#101 from stensonb/patch-1
update contributing link

This commit was moved from ipfs/go-ipfs-http-client@7002cce28c
2020-05-12 15:00:18 -07:00
Bryan Stenson
7ebef96ba1 update contributing link
This commit was moved from ipfs/go-ipfs-http-client@ef2a556e19
2020-05-12 20:09:16 +00:00
Will
861ff4a722 Merge pull request ipfs/go-ipfs-http-client#97 from ipfs/fix/decode
IDB58Decode -> Decode

This commit was moved from ipfs/go-ipfs-http-client@e7332a87e8
2020-05-03 22:30:43 -07:00
Will Scott
d9004a9061 IDB58Decode -> Decode
Allow Non-RSA keys to be decoded by the HTTP client


This commit was moved from ipfs/go-ipfs-http-client@b0549d8623
2020-05-03 12:04:04 -07:00
Joel Gustafson
8f9306304e Update pin.go
This commit was moved from ipfs/go-ipfs-http-client@31b4e60d96
2019-12-07 01:08:48 -05:00
Steven Allen
c71a840bb8 Merge pull request ipfs/go-ipfs-http-client#31 from ipfs/feat/read-at
file: implement ReadAt

This commit was moved from ipfs/go-ipfs-http-client@187d8d16e5
2019-09-12 11:58:25 -07:00
Steven Allen
d48f8fce64 file: implement ReadAt
This commit was moved from ipfs/go-ipfs-http-client@88a9b61520
2019-09-10 19:04:10 -07:00
Steven Allen
b6b2ae355b doc: mark this package experimental instead of WIP (#30)
We're at a point where this package works pretty well and users should consider
using it.

This commit was moved from ipfs/go-ipfs-http-client@3e8506bbec
2019-08-30 18:44:24 -07:00
godcong
be8f80237d fix path miss in windows/add a new api create function (#23)
* fix path was not always correct in windows

* add new api create function for if the port was different with api file.

* Update api.go

remove no need commit


This commit was moved from ipfs/go-ipfs-http-client@8c87debb12
2019-08-12 16:16:47 -07:00
godcong
9345cfa7b8 update to consolidated libp2p interface package (#21)
and fix parsing of connection latencies

This commit was moved from ipfs/go-ipfs-http-client@fd5cce4cbc
2019-07-20 21:33:35 -07:00
Steven Allen
2fabc8c0e2 Merge pull request ipfs/go-ipfs-http-client#20 from ipfs/feat/errors
add extended error handling

This commit was moved from ipfs/go-ipfs-http-client@55418c19ed
2019-06-13 13:21:58 -07:00
Steven Allen
2612353d85 use error from go-ipfs-cmds
note: this drops the Command field


This commit was moved from ipfs/go-ipfs-http-client@523a26f0a8
2019-06-13 12:07:49 -07:00
Steven Allen
1b81f2ef10 add extended error handling
fixes #19


This commit was moved from ipfs/go-ipfs-http-client@8e3552ac1e
2019-06-11 17:41:49 -07:00
Steven Allen
ee2dec18f8 Merge pull request ipfs/go-ipfs-http-client#18 from ipfs/feat/iface-reqbuilder
Use interface for RequestBuilder

This commit was moved from ipfs/go-ipfs-http-client@555a5b3ccc
2019-05-10 09:36:58 -07:00
Łukasz Magiera
8d953a7359 Use interface for RequestBuilder
This commit was moved from ipfs/go-ipfs-http-client@0534b7ca83
2019-05-10 15:38:20 +02:00
Łukasz Magiera
fd9d62faf2 Merge pull request ipfs/go-ipfs-http-client#15 from RTradeLtd/client/auth
adds authenticated transport and non-standard api path connections

This commit was moved from ipfs/go-ipfs-http-client@b9c8a2ffa7
2019-05-02 16:40:36 +02:00
Alex
8b9e189169 remove unused transport.go file
This commit was moved from ipfs/go-ipfs-http-client@320130421f
2019-05-01 19:14:15 -07:00
Alex
daf1b72809 api: fix failing test
This commit was moved from ipfs/go-ipfs-http-client@ea507216d8
2019-05-01 17:19:35 -07:00
Alex
fd5010bd2a api: cleanup header and NewURLApiWithClient test
This commit was moved from ipfs/go-ipfs-http-client@b8b55cb89a
2019-05-01 16:13:47 -07:00
Alex
efe3b6054e api: call NewURLApiWithClient from NewApiWithClient
This commit was moved from ipfs/go-ipfs-http-client@aea6890f36
2019-05-01 16:00:48 -07:00
postables
37ea6eb164 Merge branch 'master' into client/auth
This commit was moved from ipfs/go-ipfs-http-client@e98ef9ffe1
2019-05-01 14:43:17 -07:00
Alex
89600e62ce api: add wip api test
This commit was moved from ipfs/go-ipfs-http-client@2b48dd36ad
2019-05-01 13:41:37 -07:00
Alex
d8c286bb15 api: remove WithAuthorization, DirectAPI client, instantiate header map
This commit was moved from ipfs/go-ipfs-http-client@9c7d495b03
2019-05-01 13:41:15 -07:00
Alex
11a990c7b1 api: expose headers via HttpApi, copy headers during request build
This commit was moved from ipfs/go-ipfs-http-client@033befdef3
2019-05-01 13:13:59 -07:00
Steven Allen
ea34bcbd0e Merge pull request ipfs/go-ipfs-http-client#16 from ipfs/feat/update-paths
Update interface - path changes

This commit was moved from ipfs/go-ipfs-http-client@6062f4dc5c
2019-04-27 13:09:55 -07:00
Steven Allen
0fc826dbb7 Merge pull request ipfs/go-ipfs-http-client#14 from ipfs/feat/add-context
feed through context

This commit was moved from ipfs/go-ipfs-http-client@0b1bf38e05
2019-04-27 12:54:29 -07:00
Łukasz Magiera
3b67615201 gomod: update iface with path refactor
This commit was moved from ipfs/go-ipfs-http-client@0bd65a67ee
2019-04-26 20:30:55 +02:00
Alex
3b02ea4646 api: add authenticated transport, and direct connection
This commit was moved from ipfs/go-ipfs-http-client@d04afa02b0
2019-04-09 19:53:07 -07:00
Steven Allen
70158edd59 feed through context
see https://github.com/ipfs/go-ipfs-api/pull/173

all credit to @optman


This commit was moved from ipfs/go-ipfs-http-client@7b75a8c577
2019-04-04 00:37:23 -07:00
Steven Allen
e2fdd5a5e6 Merge pull request ipfs/go-ipfs-http-client#13 from hinshun/export-request
Export (*HttpApi).request to enable building custom requests

This commit was moved from ipfs/go-ipfs-http-client@7f260a2e4a
2019-04-03 21:00:27 +01:00
Edgar Lee
1c07bed904 Export (*HttpApi).request to enable building custom requests
This commit was moved from ipfs/go-ipfs-http-client@8c9ed7dbc2
2019-04-01 17:13:39 -07:00
Steven Allen
0e790f4033 Merge pull request ipfs/go-ipfs-http-client#9 from ipfs/fix/nits
fix a few nits

This commit was moved from ipfs/go-ipfs-http-client@880cd0134a
2019-03-29 13:47:16 +00:00
Steven Allen
c791d73355 avoid canceling multiple times
This commit was moved from ipfs/go-ipfs-http-client@fe16408225
2019-03-29 13:38:28 +00:00
Steven Allen
40f40b5a65 fix golang-ci lint nits
This commit was moved from ipfs/go-ipfs-http-client@ccf20b0ef5
2019-03-29 13:38:28 +00:00
Steven Allen
c6f704b453 return an error when the API file isn't found
fixes #7


This commit was moved from ipfs/go-ipfs-http-client@897d1b1bcd
2019-03-29 13:38:28 +00:00