Commit Graph

11014 Commits

Author SHA1 Message Date
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
Peter Rabbitson
52476c026c Remove couple linux-isms: these are not valid on macos
Some did actually prevent proper test shutdown
2019-12-23 15:41:39 +01:00
Peter Rabbitson
8c6d8d5bd1 Add GOIPFSTEST_SKIP_LOCAL_DEVTREE_DEPS_CHECK escape valve
Set this to '1' if you are doing local dev and have redirects in go.mod
2019-12-23 15:41:30 +01:00
Peter Rabbitson
153e52929a Make the docker check more specific
Docker on a mac might be available, but may not be runnng. The
way the original test was written is linux-specific anyway, so
just hoist the check into the DOCKER declaration
2019-12-23 15:41:30 +01:00
Peter Rabbitson
ba3a7d4a55 socat is not part of any default install, make tests conditional
54b1969c4b correctly switched from nc to socat, but did not account for it
not being as widely available. Adjust tests that depend on it with the
correct message.

There are also a number of comments pertaining to nc - they were not
adjusted.
2019-12-23 15:41:30 +01:00
Steven Allen
3c95f65b21
Merge pull request #6785 from ipfs/feat/async-ds
Support Asynchronous Datastores
2019-12-19 11:45:00 +01:00
Adin Schmahmann
3a0d0e817a support async datastores 2019-12-19 00:59:31 -05:00
Steven Allen
c9e8070082
Merge pull request #6801 from lidel/fix/service-worker-per-root
fix: limit SW registration to content root
2019-12-17 19:44:30 +01:00
Steven Allen
7cc392ba9d
Merge pull request #6804 from ipfs/fix/libp2p-stuff
chore(dep): update go-libp2p
2019-12-17 17:10:56 +01:00
Steven Allen
d3e80fa8a0 chore(dep): update go-libbp2p
* Fixes a panic on close/write race in the websocket transport (https://github.com/libp2p/go-libp2p-kad-dht/pull/422)
* Fixes recursive resolution of dnsaddrs (for bootstrapping).
2019-12-17 16:09:09 +01:00
Marcin Rataj
115b2ba6cd
fix: limit SW registration to content root
Introduces hardening proposed in:
https://github.com/ipfs/go-ipfs/issues/4025#issuecomment-342250616

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2019-12-17 02:20:40 +01:00
Steven Allen
b7f03a56bb
Merge pull request #6538 from ipfs/feat/ipfs-to-p2p
update documentation for /ipfs -> /p2p multiaddr switch
2019-12-16 10:14:56 +01:00
Steven Allen
8f3b274080 fix: move away from deprecated peer ID functions 2019-12-14 19:48:31 +01:00
Steven Allen
ff8e4fc89f test(sharness): fix tests for /ipfs -> /p2p change 2019-12-14 19:41:05 +01:00
Steven Allen
15c35a5a95 doc: update documentation for /ipfs -> /p2p multiaddr switch
See: https://github.com/libp2p/libp2p/issues/79
2019-12-14 19:39:59 +01:00
Steven Allen
61491609d2 chore(dep): update libp2p & go-fs-lock
* fixes #6434
* switches the default libp2p multiaddr format to /p2p/Qm...
2019-12-14 19:39:51 +01:00
Steven Allen
92c0aa70df
Merge pull request #6798 from ipfs/chore/update-deps
chore(dep): update a few deps
2019-12-14 18:13:06 +01:00
Steven Allen
f5b655e53c chore(dep): update a few deps 2019-12-14 17:35:26 +01:00
Steven Allen
1b7f3a8d51
Merge pull request #6758 from ipfs/feat/ipns-persistent-pubsub
IPNS over PubSub as an Independent Transport
2019-12-13 14:55:56 +01:00
Steven Allen
9b9f382118
Merge pull request #6792 from hacdias/patch-4
docs: add information on how to enable experiments
2019-12-13 13:10:25 +01:00
Steven Allen
a1b492b8ea
Merge pull request #6793 from kpp/reporter_to_counter
Change Reporter to BandwidthCounter in IpfsNode
2019-12-13 11:10:17 +01:00
Roman Proskuryakov
7fdcbce1f1 Change Reporter to BandwidthCounter in IpfsNode 2019-12-12 12:42:25 +03:00
Henrique Dias
698084a88c
Update README.md 2019-12-11 18:03:30 +01:00
Henrique Dias
3d976342dc
Update README.md 2019-12-11 17:54:57 +01:00
Henrique Dias
5a979c6ecd
Update main.go 2019-12-11 17:54:27 +01:00
Henrique Dias
9a9660e04a
Create README.md 2019-12-11 17:53:59 +01:00
Adin Schmahmann
36494e493a ipns(pubsub): utilize persistent pubsub value store 2019-12-11 11:52:05 -05:00
Henrique Dias
b370cb13bc
Update README.md 2019-12-11 17:26:52 +01:00
Henrique Dias
a596c970c9
Update main.go 2019-12-11 17:25:46 +01:00
Steven Allen
6eb481cd71
Merge pull request #6791 from ipfs/chore/update-datastore
update go-datastore
2019-12-10 17:44:12 +01:00
Steven Allen
d9d865e4c2 ci: wait 30 seconds for the api tests daemon to start
This was failing in CI.
2019-12-10 13:12:43 +01:00
Steven Allen
5061dd0e7b
Merge pull request #6790 from ipfs/chore-update-ci-badge
chore: update readme badges to test ci
2019-12-10 13:00:53 +01:00
Oli Evans
2885511059
chore: update readme badges to test ci
testing out circleci build triggers with a PR that tidies up the README badges

- remove somewhat redundant `project: ipfs` badge so they fit on 1 line. The link to the website is the url field for the repo.
- Use shields.io "flat square" style for godoc badge to match the others
- Use shields.io for the circleci badge too.
- re-order to be more visually pleasing.

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2019-12-10 10:47:58 +00:00
Steven Allen
cac3ecebba chore(dep): update go-datastore
Let's get this in so the datastore changes don't block other PRs.
2019-12-10 09:39:22 +01:00