Jesse Bouwman
148fe42ebb
Merge branch 'ipfs:master' into files-cp-parent
2021-08-14 07:51:24 -07:00
Steven Allen
7c76118b0b
Merge pull request #8318 from ipfs/fix/path-panic
...
fix: avoid out of bounds error when rendering short hashes
2021-08-13 14:54:25 -07:00
Steven Allen
34be171765
Merge pull request #8296 from ipfs/fix/deprecated
...
fix: remove some deprecated calls
2021-08-13 14:43:58 -07:00
Steven Allen
a945a9d501
Merge pull request #8244 from Lasiar/perf/swarm/set-capacity
...
perf: set an appropriate capacity
2021-08-13 14:43:30 -07:00
Steven Allen
6e0f0847bb
Merge pull request #8331 from TakashiMatsuda/fix/node-peering
...
Fix: Use a pointer type on IpfsNode.Peering
2021-08-13 14:38:25 -07:00
Steven Allen
2138798ea5
fix: remove some deprecated calls
2021-08-13 14:09:43 -07:00
Jesse Bouwman
c2e6a22bba
Restore dropped error condition check
2021-08-12 09:40:24 -07:00
Jesse Bouwman
155435cb35
Add flag to create parent directories in files cp command
...
Closes #8289
2021-08-12 09:23:39 -07:00
Adrian Lanzafame
02823935aa
feat: register first block metric by default
2021-08-07 15:48:22 -04:00
Takashi Matsuda
44f5b8b274
use a pointer type on node.Peering for mutex
2021-08-07 15:51:05 +09:00
Steven Allen
66a76d27f3
fix: abort when we fail to resolve CIDs
...
I believe we figured that these were for "informational purposes", but
really, we _should_ always be able to resolve names to CIDs. If we
can't, there's probably something wrong with the directory.
2021-07-30 11:36:23 -07:00
Steven Allen
0858dc62aa
fix: avoid panic on short hash
...
(caught higher up but should still be fixed)
2021-07-30 11:33:53 -07:00
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
vallder
0a6d78c66a
perf: set an appropriate capacity
2021-07-05 19:48:59 +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