Commit Graph

1943 Commits

Author SHA1 Message Date
Łukasz Magiera
9b0ff603b8 files2.0: use type helpers
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-17 14:16:38 +01:00
Łukasz Magiera
c6944e4376 files2.0: update for no errors from NewMultiFileReader
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-17 14:16:38 +01:00
Łukasz Magiera
d0678aad6e files2.0: fix ContextCancelled test
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-17 14:16:38 +01:00
Łukasz Magiera
00df384e1c go-ipfs-files 2.0 updates
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-17 14:16:38 +01:00
Hector Sanjuan
e039c71cdf
Merge pull request #617 from ipfs/issue_616
Remove `proxy_` and `Proxy` from proxy config
2018-12-17 13:07:13 +01:00
Hector Sanjuan
9b2f6f7522 Remove proxy_ prefix from testing configurations
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-12-17 12:34:04 +01:00
Hector Sanjuan
6eaadcd7c2 Fix proxy config compatibility
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-12-17 12:31:03 +01:00
Kishan Sagathiya
3b86a94418 Put a note for deprecating json fields
Put a note for deprecating json fields that they are only here to
maintain compatibility and they will be removed in future

Start using env vars starting with `CLUSTER_IPFSPROXY`

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-12-17 08:24:17 +05:30
Kishan Sagathiya
2da12bc59a Switch to root user to create data directory
License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-12-13 16:03:22 +05:30
Kishan Sagathiya
8b33dbec03 Remove proxy_ and Proxy from proxy config
Remove proxy_ and Proxy from proxy config objects without breaking
compatibility with previous revisions

Fixes #616

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-12-13 00:21:21 +05:30
Hector Sanjuan
fdfe8def94
Merge pull request #576 from kishansagathiya/issue_453
Extract the IPFS Proxy from ipfshttp
2018-12-10 10:38:57 +01:00
Kishan Sagathiya
e21d84dbee Issue #453 Extract the IPFS Proxy from ipfshttp
Warning about old config style(proxy inside ipfs connector) getting
removed in future

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-11-27 10:36:00 +05:30
Kishan Sagathiya
253185ad13 Merge branch 'master' of github.com:ipfs/ipfs-cluster into issue_453 2018-11-12 05:23:44 +05:30
Kishan Sagathiya
f98ed71ff7 Issue #453 Extract the IPFS Proxy from ipfshttp
Fixed some messages and comments

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-11-11 21:09:13 +05:30
Kishan Sagathiya
aef68f4101 Issue #453 Extract the IPFS Proxy from ipfshttp
Fixed breaking tests

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-11-11 16:23:36 +05:30
Hector Sanjuan
77148e59a8
Merge pull request #609 from ipfs/feat/component-env-cfg
add envcfg to rest api
2018-11-09 13:09:13 +01:00
Adrian Lanzafame
e115021fa7
add envcfg to rest api
License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
2018-11-09 13:20:25 +10:00
Kishan Sagathiya
41edb04486 Issue #453 Extract the IPFS Proxy from ipfshttp
Added test for ipfsproxy config

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-11-04 09:05:53 +05:30
Kishan Sagathiya
56cc3b88d7 Issue #453 Extract the IPFS Proxy from ipfshttp
Added test for ipfsproxy

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-11-04 08:57:09 +05:30
Kishan Sagathiya
411eea664c Merge branch 'master' of github.com:ipfs/ipfs-cluster into issue_453 2018-11-03 20:24:15 +05:30
Kishan Sagathiya
a741eb42ab Issue #453 Extract the IPFS Proxy from ipfshttp
We want to maintain configuration compatibility and still recognize the
proxy configuration options in the ipfshttp connector configuration
section.

Check if there is a proxy configuration section.
If not create one with the options from the ipfshttp section (if they
are defined, otherwise do nothing).

This implementation utilizes the fact that json object can be
unmarshelled to a struct whose elements are a subset of the json object

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-11-03 16:15:34 +05:30
Hector Sanjuan
6f72ab2e67
Update 0.7.0 date 2018-11-01 22:55:56 +01:00
Hector Sanjuan
1b33e2fc9f
gx publish 0.7.0
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-11-01 19:49:36 +01:00
Hector Sanjuan
7e1ddd90a7
Release 0.7.0
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-11-01 19:49:07 +01:00
Hector Sanjuan
8aae89a7e5
Merge pull request #607 from ipfs/test/clean-shard-testing
Remove shard testing folders
2018-11-01 19:46:50 +01:00
Hector Sanjuan
b47eca40b0 Update changelog
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-11-01 19:15:08 +01:00
Hector Sanjuan
1d924bfc49 Remove shard testing folders
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-11-01 19:15:08 +01:00
Hector Sanjuan
e20429f536
Merge pull request #606 from ipfs/0.7.0/changelog
Changelog for v0.7.0
2018-11-01 18:56:02 +01:00
Hector Sanjuan
d05e8627c5 Changelog for v0.7.0
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-11-01 18:54:55 +01:00
Hector Sanjuan
9ec6eb430a
Merge pull request #605 from ipfs/fix/proxy-paths
Fix the paths handled by the proxy
2018-11-01 14:20:35 +01:00
Hector Sanjuan
e46a073cc6
Merge pull request #603 from ipfs/fix/remote-error
Fix #600: Remote pins should not error
2018-11-01 14:16:53 +01:00
Kishan Sagathiya
3a5ad6111a Issue #453 Extract the IPFS Proxy from ipfshttp
Changes as requieed
Rename IPFSProxy struct to Server

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-11-01 15:54:05 +05:30
Hector Sanjuan
74311c5969 Address review comments
Remove unused code from tests

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-11-01 11:12:38 +01:00
Hector Sanjuan
91ddce4963 Fix the paths handled by the proxy
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-11-01 10:36:14 +01:00
Hector Sanjuan
17da7eae7f
Merge pull request #604 from ipfs/update/gx-versions3
Update gx and gx-go to latest stable
2018-11-01 09:41:24 +01:00
Hector Sanjuan
f9a3d46258 Update gx and gx-go to latest stable
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-31 17:12:12 +01:00
Hector Sanjuan
a7787029cb Fix #600: Remote pins should not error
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-30 16:33:05 +01:00
Hector Sanjuan
54fd4fbf4a
Merge pull request #601 from ipfs/feat/improve-pin-serial
Feat/improve pin serial
2018-10-30 12:41:36 +01:00
Adrian Lanzafame
4f194f52d3
use DecodeCid in log_op
License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
2018-10-30 21:07:27 +10:00
Adrian Lanzafame
91358e1ed1
only call ToPin when absolutely required
License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
2018-10-30 21:07:26 +10:00
Adrian Lanzafame
a89a6da45b
use DecodeCid in rpc_api
License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
2018-10-30 21:07:26 +10:00
Adrian Lanzafame
820df17359
add pinSerial.DecodeCid and benchs
License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
2018-10-30 21:07:26 +10:00
Hector Sanjuan
a0dc644545
Merge pull request #597 from ipfs/race-fixes-picks
Race fixes picks
2018-10-30 12:05:50 +01:00
Hector Sanjuan
1bc7f5a643 Re-order shutdownLock fields in cluster declaration
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-30 11:54:32 +01:00
Hector Sanjuan
e787773ed4
gx publish 0.7.0-rc1
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-29 18:03:58 +01:00
Hector Sanjuan
7c90e550dc
Release 0.7.0-rc1
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-29 18:03:04 +01:00
Hector Sanjuan
27a9bedd06
Merge pull request #599 from ipfs/update/go-libp2p-pubsub
Update to latest go-libp2p-pubsub (with renames)
2018-10-29 17:59:11 +01:00
Hector Sanjuan
8a045ae2d2 Update to latest go-libp2p-pubsub (with renames)
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-29 17:25:52 +01:00
Hector Sanjuan
1f29abf754
Merge pull request #596 from ipfs/feat/env-cfg
add env config; refactor LoadJSON tests
2018-10-29 16:01:16 +01:00
Hector Sanjuan
0b923f8d49 Set envconfig version (more or less), and move setDefaults down a bit.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-29 14:53:59 +01:00