Commit Graph

1383 Commits

Author SHA1 Message Date
Hector Sanjuan
1c5f8a63b2
gx publish 0.10.0 2019-03-07 18:03:51 +00:00
Hector Sanjuan
f944f44e6f
Release 0.10.0 2019-03-07 18:03:40 +00:00
Hector Sanjuan
7d59fa9c19 Update release date 2019-03-07 18:02:26 +00:00
Hector Sanjuan
ce41ca3c77
Merge pull request #691 from ipfs/0.10.0/changelog
Changelog for 0.10.0
2019-03-07 18:00:36 +00:00
Hector Sanjuan
2c6632e582
Merge pull request #700 from ipfs/fix/add-cids
Types: make AddedOutput carry a cid.Cid
2019-03-07 14:16:32 +00:00
Hector Sanjuan
a9bd43575f types/AddedOutput: remove omitempty in cid 2019-03-07 11:30:08 +00:00
Hector Sanjuan
374ec59256 Fix tests 2019-03-06 19:29:41 +00:00
Hector Sanjuan
f5b1b5d93b Changelog for 0.10.0
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-03-06 18:54:06 +00:00
Hector Sanjuan
0008f69162 Types: make AddedOutput carry a cid.Cid
This was a leftover. For consisency, all CIDs coming out of the API
should have the canonical cid form ( { "/": "cid" } ), otherwise
we are inconsistent.
2019-03-06 18:48:25 +00:00
Hector Sanjuan
9fedd6b5cd
Merge pull request #699 from ipfs/issue_698
Hide `extract_headers_path`, `extract_headers_ttl`
2019-03-06 18:39:56 +00:00
Kishan Mohanbhai Sagathiya
27a59991f6 Hide extract_headers_path, extract_headers_ttl
proxy: "extract_headers_path" and "extract_headers_ttl" should be
hidden options in the config
2019-03-06 17:55:06 +05:30
Hector Sanjuan
f0a12e0ce3
Merge pull request #697 from ipfs/0.10.0-rc1/release
0.10.0 rc1/release
2019-03-04 18:36:26 +00:00
Hector Sanjuan
7a246148e3
gx publish 0.10.0-rc1 2019-03-04 18:34:12 +00:00
Hector Sanjuan
37767c0242
Release 0.10.0-rc1 2019-03-04 18:33:56 +00:00
Hector Sanjuan
fb837f1583
Merge pull request #690 from ipfs/feat/proxy-with-pinpath
ipfsproxy: use PinPath to match IPFS behaviour
2019-03-04 18:01:31 +00:00
Hector Sanjuan
23db807b87 ipfsproxy: use PinPath to match IPFS behaviour
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-03-04 15:54:34 +00:00
Hector Sanjuan
1c9c9190a6
Merge pull request #696 from ipfs/fix/compose
Fix docker-compose testing
2019-03-04 15:27:24 +00:00
Hector Sanjuan
20a67cc6d1
Merge pull request #692 from ipfs/dual-licensing
Dual-license the codebase.
2019-03-04 15:12:29 +00:00
Hector Sanjuan
1d6827d608
Merge pull request #693 from ipfs/codecov-threshold
Add codecov config file
2019-03-04 15:11:37 +00:00
Hector Sanjuan
6a37c5c7f8
Merge pull request #694 from alekswn/fix/645-BasicAuthTest
fix #645: Basic Authentication test in REST API
2019-03-03 23:21:48 +00:00
Hector Sanjuan
8a1bd1c15e Fix docker-compose testing
We need to pre-create configuration folders and set write permissions
because https://github.com/ipfs/go-ipfs/pull/5048

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-03-03 23:03:35 +00:00
Alexey Novikov
d1c0729a5e fix #645: fix error messages
License: MIT
Signed-off-by: Alexey Novikov <alexey@novikov.io>
2019-03-02 14:08:53 +00:00
Alexey Novikov
b4cb46fc5b fix #645: golint
License: MIT
Signed-off-by: Alexey Novikov <alexey@novikov.io>
2019-03-02 08:35:09 +00:00
Alexey Novikov
d49bfff8c4 fix #645: Basic Authentication test in REST API
License: MIT
Signed-off-by: Alexey Novikov <alexey@novikov.io>
2019-03-02 07:28:40 +00:00
Hector Sanjuan
cdf5db127e Add codecov config file
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-03-01 20:21:51 +00:00
Hector Sanjuan
a538556920 Dual-license the codebase.
This removes the sign-off requirement.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-03-01 20:12:19 +00:00
Hector Sanjuan
121660aa2f
Merge pull request #688 from ipfs/feat/remove-serial
Remove *Serial types. Use pointers for all types.
2019-03-01 14:33:25 +00:00
Hector Sanjuan
a7db3a9f9b Remove leftover debugging init() function
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-03-01 14:20:35 +00:00
Hector Sanjuan
8374ece8a8 Sharness fixes
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-27 21:54:09 +00:00
Hector Sanjuan
229c4d148c Fix smaller issues and golints
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-27 20:22:36 +00:00
Hector Sanjuan
ea85cf7805 Rename "test.Test*" to "test.*" (test.TestCid1 -> test.Cid1)
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-27 20:19:10 +00:00
Hector Sanjuan
9df6344a07 Avoid using string testing CIDs and use cid.Cids directly
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-27 20:09:31 +00:00
Hector Sanjuan
cbf51a2b66 Fix struct tags
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-27 18:50:46 +00:00
Hector Sanjuan
c4b18cd5f6 Address issues from self-review
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-27 18:43:29 +00:00
Hector Sanjuan
6447ea51d2 Remove *Serial types. Use pointers for all types.
This takes advantange of the latest features in go-cid, peer.ID and
go-multiaddr and makes the Go types serializable by default.

This means we no longer need to copy between Pin <-> PinSerial, or ID <->
IDSerial etc. We can now efficiently binary-encode these types using short
field keys and without parsing/stringifying (in many cases it just a cast).

We still get the same json output as before (with minor modifications for
Cids).

This should greatly improve Cluster performance and memory usage when dealing
with large collections of items.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-27 17:04:35 +00:00
Hector Sanjuan
041f5e1e93
Merge pull request #687 from ipfs/update/libp2p-6.0.38
Update libp2p to 6.0.38
2019-02-27 16:28:41 +00:00
Hector Sanjuan
881033bb4e Fix thing in go-libp2p-kad-dht
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-27 05:26:49 +00:00
Hector Sanjuan
bfaf1c7799 Update libp2p to 6.0.38
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-27 01:31:07 +00:00
Hector Sanjuan
8560769125
Merge pull request #686 from ipfs/update/libp2p-6.0.36
Update libp2p et al. ..... again
2019-02-25 13:28:09 +00:00
Hector Sanjuan
596eb21c7b Update libp2p et al. ..... again
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-25 12:28:59 +00:00
Kishan Sagathiya
13d56b4930 Added support for allocations (#647)
`allocations` will be a comma-separated list of peer IDs on which we
want to pin. Peers in allocations are prioritized over automatically-determined
ones, but replication factors would stil be respected.
2019-02-25 11:40:16 +00:00
Hector Sanjuan
5204dae163
Merge pull request #681 from ipfs/feat/new-pin-options
New options in PinOptions
2019-02-25 11:33:03 +00:00
Hector Sanjuan
9362a764e2 PinOptions protobuf: add comment
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-25 11:21:39 +00:00
Hector Sanjuan
e1312b061f Merge remote-tracking branch 'origin/feat/new-pin-options' into feat/new-pin-options
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-24 20:34:52 +00:00
Hector Sanjuan
8f4630b819 Do not store UserAllocations in the protobuf
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-24 20:33:16 +00:00
Hector Sanjuan
3fccc56764 PinSerial.ToPin(): use pinOptions.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-24 20:30:43 +00:00
Hector Sanjuan
add08da79c
Merge pull request #682 from ipfs/feat/remove-legacy
Remove backwards compatibility hacks
2019-02-21 16:48:08 +00:00
Kishan Sagathiya
183d3e4490
Update api/types.go: fix typo
Co-Authored-By: hsanjuan <hsanjuan@users.noreply.github.com>
2019-02-21 16:44:20 +00:00
Adrian Lanzafame
74031b62c4
Update api/types.go: fix typo
Co-Authored-By: hsanjuan <hsanjuan@users.noreply.github.com>
2019-02-21 16:05:10 +00:00
Hector Sanjuan
666e370987 ipfsproxy: Remove additional backwards compatibility things
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-02-20 16:14:22 +00:00