Commit Graph

11097 Commits

Author SHA1 Message Date
Steven Allen
864485b234 doc(release): move WebUI from manual tests to automated tests section
We no longer need to manually test the webui on release.
2020-01-17 18:17:16 -08:00
Steven Allen
fb12025c97
Merge pull request #6834 from ipfs/fix/static-autorelay
fix: use pre-defined relays for autorelay
2020-01-17 10:30:43 -08:00
Steven Allen
589f450823
Merge pull request #6835 from ipfs/fix/sharness-typo
test(sharness): fix typo
2020-01-17 10:30:05 -08:00
Steven Allen
39bf95bb09
Merge pull request #6825 from ipfs/test/webui-e2e-interop
test: E2E tests against ipfs-webui HEAD
2020-01-17 10:29:30 -08:00
Steven Allen
3385367bdc test(sharness): fix typo 2020-01-17 10:27:36 -08:00
Steven Allen
182b75177b
test(ci): update node for webui tests
Co-Authored-By: Hugo Dias <hugomrdias@gmail.com>
2020-01-17 09:56:54 -08:00
Marcin Rataj
692af948ac test: E2E tests against ipfs-webui HEAD
This adds interop/regression tests against ipfs-webui repo.

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2020-01-17 16:11:51 +01:00
Steven Allen
98d2fef6ec fix: use pre-defined relays for autorelay
Unfortunately, we don't currently have any way to pick out good relays from bad.
That means we keep searching, trying bad relays, searching some more, trying
_the same relays_, etc. until we randomly find 3 good stable relays. In
practice, this means we just keep searching forever and keep thrashing the DHT.

see https://github.com/libp2p/go-libp2p/issues/694
2020-01-17 06:28:23 -08:00
Steven Allen
f513d52425
Merge pull request #6833 from ipfs/fix/mkrelease
mkreleaslog: improve edge-cases
2020-01-16 16:21:17 -08:00
Steven Allen
399546a320 fix(mkreleaselog): continue even if we fail to fetch a dep
We might as well generate as much of the changelog as we can.
2020-01-16 15:42:49 -08:00
Steven Allen
77e049d11c fix(mkreleaselog): support 0.DATE versions in go modules
That is vX.Y.Z-0.DATE-HASH.
2020-01-16 15:41:49 -08:00
Steven Allen
049d3b0b2b
Merge pull request #6829 from ipfs/collect-profiles-no-ipfs-bin
fix: dont fail to collect profiles if no ipfs bin
2020-01-16 16:31:09 +01:00
Steven Allen
7e5dc5875c
Merge pull request #6828 from ipfs/feat/improve-docker
update dockerfile and use openssl
2020-01-16 16:06:46 +01:00
Oli Evans
982bc38a51
fix: allow profiling of remote node via https
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-01-16 14:19:58 +00:00
Oli Evans
4eb380a58b
fix: dont fail to collect profiles if no ipfs bin
Due to the bash args used, collect-profiles.sh would fail if which ipfs failed to find an ipfs binary on the path, like when running ipfs in docker.

Fixes that by using a check for the command that wont error if it's not found.

Also
- adds a commment to explains when to use the script and what it does.
- be less chatty. Simpify the output so it's clearer what it's doing. Experts can read the script or set the -x flag themselves.

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2020-01-16 11:42:24 +00:00
Steven Allen
c2fd41c998 fix(docker): fix the start_ipfs permissions
Otherwise, we inherit the permissions from the host machine. These depend on the
host machine's umask.
2020-01-15 17:15:49 -08:00
Steven Allen
ee9b46891b feat(docker): build with openssl by default 2020-01-15 17:15:49 -08:00
Steven Allen
8ed357d053 feat(docker): bump the tini version 2020-01-15 17:15:46 -08:00
Steven Allen
cc25df768e feat(docker): bump the go version 2020-01-15 17:01:47 -08:00
Steven Allen
432bfc5a84
Merge pull request #6826 from ipfs/define-gateway-pathprefixes
docs: define Gateway.PathPrefixes
2020-01-15 23:48:21 +01:00
Oli Evans
0eba53bd98
docs: define Gateway.PathPrefixes
adds docs for Gateway.PathPrefixes. Taken from great commit notes by @lgierth (thank you!) 09937f84b6
2020-01-15 14:32:05 +00:00
Steven Allen
8a16b8704b
Merge pull request #6823 from ipfs/fix/remove-auto-assign
chore: remove github auto assign
2020-01-13 15:54:33 +01:00
Steven Allen
ea3343cb29 chore: remove github auto assign
This was supposed to auto-assign reviewers to new PRs. However, it's really not all that helpful in practice.
2020-01-13 15:09:06 +01:00
Steven Allen
f804bb67aa
Merge pull request #6819 from ipfs/chore/badger-no-sync
fix(badgerds): turn off sync writes by default
2020-01-10 10:36:20 +01:00
Steven Allen
ff269347b0
Merge pull request #6820 from ipfs/fix/gateway-cleanup
gateway cleanups
2020-01-10 10:35:51 +01:00
Steven Allen
725e6844ee gateway: cleanup logic
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2020-01-10 10:19:13 +01:00
Steven Allen
5eea0a4ba0 http: use Method* constants
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2020-01-10 10:19:08 +01:00
Steven Allen
4e4d5aa742 fix(badgerds): turn off sync writes by default
We already do this in the datastore _profile_, but we should do this in the
plugin as well. I'm pretty sure this makes absolutely no difference.
2020-01-09 09:55:39 +01:00
Steven Allen
7d2f39b33b
Merge pull request #6817 from ipfs/feat/cid-codec-convert
make it possible to change the codec with the `ipfs cid` subcommand
2020-01-08 11:39:01 -08:00
Steven Allen
e58a32ab1e feat(commands/cid): add a flag for setting the codec
This will be useful when testing `refs local, `repo gc`, and `repo verify`
commands once we store blocks by multihash instead of by CID. At that point,
these commands will return raw v1 CIDs as the blockstore won't actually remember
the codec used to store the block.

Flags choice:

* Ideally, we'd use the `-f, --format` flags like every other command but we're
  already using `-f` (format) for the format string.
* Alternatively, I'd like to use `-c`. However, we're using _that_ for a global
  `--config` flag (bit of a waste given that it doesn't work...).

`--codec` will have to do for now.
2020-01-07 19:32:16 -06:00
Steven Allen
f8adc3ebdd fix(commands/cid): always use base58 for CIDv0 unless otherwise specified 2020-01-07 19:20:21 -06:00
Steven Allen
ca2767a920
Merge pull request #6680 from ipfs/fix/symlink-size
improve gateway symlink handling
2020-01-05 16:54:22 -08:00
Steven Allen
c64eb11992 test(gateway): test the lazy seeker 2020-01-05 16:43:45 -08:00
Steven Allen
6cb03d4dfd fix(gateway): fix seek read length typo 2020-01-05 16:43:45 -08:00
Steven Allen
453b78962b chore(gateway): remove dead code 2020-01-05 16:43:45 -08:00
Steven Allen
9a9ec021cf test(sharness): add gateway symlink test 2020-01-05 16:43:44 -08:00
Steven Allen
1a06fb6e2f fix(gateway): correct symlink content type
We should be _resolving_ symlinks (sometimes, still need to figure out when to
do this WRT IPNS). However, that's a larger feature.
2020-01-05 16:43:44 -08:00
Steven Allen
3859f08bf7 fix(gateway): better seeking/sized
1. Require files to have known sizes. We can add support for unknown sizes
_later_ but we can't use ServeContent for those files.
2. Replace the `sizeReadSeeker` with a `lazySeeker`. This one makes no
assumptions about how it's used so we're less likely to run into weird bugs.
2020-01-05 16:43:44 -08:00
Steven Allen
e8a6c0c050 fix(gateway): gracefully handle files with unknown sizes in directory listings 2020-01-05 16:43:44 -08:00
Steven Allen
62451039ec fix(gateway): serve the index with serveFile 2020-01-05 16:43:44 -08:00
Steven Allen
36db5bf63c dep: update go-ipfs-files/go-unixfs
Fixes symlink sizes.
2020-01-05 16:43:42 -08:00
Steven Allen
2b9a2d5eda
Merge pull request #6813 from ipfs/feat/async-badger
feat: update go-ds-badger to use async writes by default.
2020-01-03 14:22:21 -08:00
Steven Allen
daf6fd69f8 feat: update go-ds-badger to use async writes by default.
Go-ipfs now manually calls "sync" on the underlying datastore after adding data.
We can now write asynchronously and sync once at the end.
2020-01-03 14:02:24 -08:00
Steven Allen
e27416992b
Merge pull request #6809 from PoorPocketsMcNewHold/patch-1
Inclusion of the presence of the go-ipfs package in Solus
2019-12-30 09:05:00 -08:00
PoorPockets McNewHold
4c6ff8a134
Inclusion of the presence of the go-ipfs package in Solus
https://dev.getsol.us/T5361
2019-12-29 11:47:09 +00:00
Steven Allen
73419b934b
Merge pull request #6807 from yoverflow/fix-typos
Fix Typos
2019-12-27 09:26:17 -08:00
flowed
07cbba7c40 Fix Typos 2019-12-25 03:12:41 +00:00
Steven Allen
72d01d3bf4
Merge pull request #6805 from ipfs/sharness_macos_no_brainer_fixes
Sharness macos no brainer fixes
2019-12-23 12:36:57 -08:00
Peter Rabbitson
36dcf8eac5 Add two more missed cleanup clauses 2019-12-23 15:41:39 +01:00
Peter Rabbitson
4200bf453b At some point the directory name changed to testbeds
Without reflecting this in the tests we do not actually shut down
correctly during cleanup
2019-12-23 15:41:39 +01:00