Commit Graph

3588 Commits

Author SHA1 Message Date
Petar Maymounkov
cab67f6b66
point ipfs to pinner that syncs on every pin (#8231)
Pinner upgrades and fixes. Faster reindexing. Syncing while reindexing. Syncing on every pin operation. Logging all pin operations.

Co-authored-by: gammazero <gammazero@users.noreply.github.com>
2021-07-29 10:27:05 -07:00
Steven Allen
3745047ccf doc(profile): improve profiling docs 2021-07-21 18:04:11 -07:00
Steven Allen
e1cf99cfab
fix(ipfs diag profile): fix wording
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2021-07-21 16:22:59 -07:00
Steven Allen
77f3fed5a1 feat(ipfs diag profile): help text 2021-07-21 15:50:29 -07:00
Steven Allen
722fc4fa4c feat(ipfs diag profile): output version info only
sys diag includes private information (like the interface addresses)
2021-07-21 15:50:21 -07:00
Steven Allen
d52d183020 feat: add an "ipfs diag profile" command
This should replace the "collect-profiles.sh" script and allow users to
easily collect profiles.

At the moment, it just dumps all profiles into a single zip file. It
does this server-side so it's easy fetch them with curl.

In the future, it would be nice to add:

1. Progress indicators (cpu profiles take 30 seconds).
2. An option to specify which profiles to collect.

But we can handle that later.

Unfortunately, this command doesn't produce symbolized svgs as I didn't
want to depend on having a local go compiler.
2021-07-21 14:51:47 -07:00
Marcin Rataj
c7444fb61a feat: webui v2.12.4 2021-07-15 08:21:50 -07:00
Steven Allen
0060d5f7c8 feat: programmatic shell completions
These are missing some of the features of the current hand-rolled
completions, but:

1. Are less buggy.
2. Cover _all_ commands.
3. Don't need to be manually maintained (which we never do anyways).

fixes #4551
fixes #8033
2021-07-01 08:46:49 -07:00
Brian Strauch
5ad04176b1
Improve peer hints for pin remote add (#8143)
* improve peer hints in pin.origins
2021-06-25 08:10:04 -07:00
Adin Schmahmann
f6641d1766 chore: switch tar-utils dep to ipfs org 2021-06-22 14:35:55 -07:00
Marcin Rataj
f40dc731e9 refactor: improved humanNumber and humanSI
This hides "(n)" when value is same as SI,
and makes SI "3k" (instead of "3 k")
2021-05-27 13:35:19 -07:00
Marcin Rataj
e5ac70456d feat: humanized durations in stat provide 2021-05-27 13:35:19 -07:00
Marcin Rataj
c082c73135 feat: humanized numbers in stat provide
https://github.com/ipfs/go-ipfs/pull/8154#discussion_r639231040
2021-05-27 13:35:19 -07:00
Adin Schmahmann
37de3d0586 feat: add a text output encoding for the stats provide command 2021-05-27 13:35:19 -07:00
Marcin Rataj
2c431eb825 fix: webui-2.12.3
This bumps webui to bugfix release based on feedback from 0.9.0-rc1:
https://github.com/ipfs/ipfs-webui/releases/tag/v2.12.3
2021-05-24 08:25:40 -07:00
Adin Schmahmann
cf45f1a862 added support for an experimental batched provider system
The batched provider system is enabled when the experimental AcceleratedDHTClient is enabled

There is also an `ipfs stats provide` command which gives stats about the providing/reproviding system when the batched provider system is enabled
2021-05-14 01:47:48 -07:00
Adin Schmahmann
2fd55d198c integrate experimental AcceleratedDHTClient
The experimental AcceleratedDHTClient can be enabled from the config

When enabled it modifies the output of the `ipfs stats dht` command.
2021-05-14 04:31:06 -04:00
Marcin Rataj
28d4d9b327 refactor: add isDomainNameAndNotPeerID
This ensures we exclude valid PeerIDs from code paths that require
DNSLink names.

Ref.
https://github.com/ipfs/go-ipfs/pull/8071#pullrequestreview-639409245
2021-05-13 10:54:40 -04:00
divingpetrel
24dd662d38 feat support non-ICANN DNS 2021-05-13 10:54:38 -04:00
Marten Seemann
473d7d5851 update quic-go to v0.21.0-rc.1 2021-05-12 19:17:52 -04:00
Adin Schmahmann
56f61d5dbd
Merge pull request #8128 from ipfs/chore/update-deps
chore: update deps
2021-05-12 15:37:08 -07:00
Adin Schmahmann
3f7e23e640 chore: update deps 2021-05-12 16:58:35 -04:00
Adin Schmahmann
c82485505f
Merge pull request #8113 from ipfs/feat/key-export-online
feat: allow key export in online mode
2021-05-12 11:46:35 -07:00
Marcin Rataj
1d77f9d33d
refactor: key export requires exact repo ver 2021-05-11 20:11:12 +02:00
Marcin Rataj
6b63de8a5a
fix: check repo version before key export
https://github.com/ipfs/go-ipfs/pull/8113#discussion_r628314443
2021-05-11 19:43:51 +02:00
vyzo
664c66c3f3 undo dns neutering from offline mode 2021-05-10 21:04:57 -07:00
vyzo
eb7456d38f update for the new namesys api 2021-05-10 21:04:57 -07:00
vyzo
0b4037c7cd allow overriding implicit defaults with the default resolver
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2021-05-10 21:04:57 -07:00
vyzo
77d6a08598 better handling of implicit defaults, reuse resolver object for the same URL 2021-05-10 21:04:57 -07:00
vyzo
b8eb1bbd5b the dot is not really an FQDN 2021-05-10 21:04:57 -07:00
vyzo
531e9c137d use NilDNSResolver for offline operation 2021-05-10 21:04:57 -07:00
vyzo
0ef2f8c9ea update resolver config parsing, add eth. resolver by default 2021-05-10 21:04:57 -07:00
vyzo
b6a1ba9617 create custom resolvers from config 2021-05-10 21:04:57 -07:00
vyzo
543c5da34a explicit construction of DNS resolver 2021-05-10 21:03:27 -07:00
Marcin Rataj
a158036dee
feat: allow key export in online mode
Export does not require repo lock and it is safe to do even when ipfs
daemon is running. This enables apps like Brave browser to do
import/export without stopping/starting daemon.

Ref. https://github.com/brave/brave-browser/issues/15422
2021-05-07 16:26:23 +02:00
Adin Schmahmann
b8de0e8ad2
Merge pull request #8111 from ipfs/dag-export-is-read-only
feat(gw): expose /api/v0/dag/export on gateway port
2021-05-05 14:21:52 -07:00
Steven Allen
71761a6529
Merge pull request #8097 from ipfs/chore/update-webui
chore: update webui to 2.12.2
2021-05-05 14:17:43 -07:00
Marcin Rataj
7406b83990
test: dag export in TestROCommands on gateway 2021-05-05 22:32:28 +02:00
Oli Evans
0f1e5be1be
feat: expose dag/export on read-only gateway api
- add dag/export to read-only root. it's ready only, so why the heck not!
- test that i didn't expose other dag subcommands
§

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2021-05-05 15:32:26 +01:00
Marcin Rataj
a9868105f0
feat: ipfs-webui v2.12.2
https://github.com/ipfs/ipfs-webui/releases/tag/v2.12.2
2021-04-30 16:12:21 +02:00
Steven Allen
cd72589cfd
Merge pull request #8098 from ipfs/docs/deprecate-object-cmds
docs: deprecate object commands
2021-04-29 20:25:52 -07:00
Marcin Rataj
8c1e4e99d1
docs: deprecate object commands
Part of https://github.com/ipfs/go-ipfs/issues/7936

This PR makes it very explicit that 'ipfs object' are deprecated
by removing examples and pointing at modern replacements under
'ipfs dag' and 'ipfs files'

Taglines are longer and include alternatives because we use them on:
https://docs.ipfs.io/reference/http/api/
2021-04-30 01:27:43 +02:00
Steven Allen
c1a0eb567a
Merge pull request #8023 from ipfs/fix/pins-null
fix: omit empty pins slice when reporting pin progress
2021-04-28 11:28:30 -07:00
Steven Allen
a006ded010 chore: update webui to 2.12.1 2021-04-28 11:00:45 -07:00
Luflosi
b3f054f450
Fix typo in comment 2021-04-22 20:30:41 +02:00
Steven Allen
fb4542b9c8
Merge pull request #8069 from ipfs/fix/remove-hardcoded-hostnames
fix(gw): remove hardcoded hostnames
2021-04-13 15:24:00 -07:00
Marcin Rataj
9f8964e6f9
fix(gw): remove hardcoded hostnames
This closes #7317 by removing hardcoded PL hostnames from default
config, making the localhost the only implicit gateway hostname.
2021-04-12 18:03:44 +02:00
Steven Allen
c4b6366536 fix: update root help
* move the `cid` command to the "datastructures" section.
* document bitswap & pubsub commands

fixes #8047
2021-04-05 16:31:40 -07:00
gammazero
8eefcce4a1 Add info to "pin rm" help about how to tell if a pin is indirectly pinned.
Addresses issue #7440
2021-04-01 18:33:18 -07:00
Steven Allen
4cdb67f37d
Merge pull request #7890 from ipfs/fix/remove-clear-site-data
fix(gw): remove use of Clear-Site-Data in subdomain router
2021-03-31 16:24:24 -07:00