1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-26 15:42:21 +08:00

4716 Commits

Author SHA1 Message Date
rht
1b26ca724f Add test for ipfs add err for unsupported file type
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-09-04 18:04:56 +07:00
rht
ccc9cd6a6c Refactor serialfile
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-09-04 16:57:44 +07:00
rht
ddc8dff736 serialfile: Explicit err on unrecognized file type
So that ipfs add on daemon no longer blocks

License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-09-04 16:57:44 +07:00
93e9f8418b Merge pull request #1643 from ipfs/fix/repo-panic
fix panic caused by accessing config after repo closed
2015-09-04 04:01:36 +02:00
b86c5c869f Merge pull request #1646 from MichaelMure/fix_argument_swap
fix swaped argument in rabin.go
2015-09-04 04:01:03 +02:00
c8ef4cad0f Merge pull request #1647 from ipfs/fix/mock-notif
fix mock notification test
2015-09-04 03:21:02 +02:00
71d2ab1fc9 use already created config in daemon.go
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-03 18:20:18 -07:00
7217d6a236 fix mock notification test
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-03 14:28:53 -07:00
9dff6132ac Merge pull request #1645 from ipfs/hotfix/godeps-pb
fix import path of generated proto files
2015-09-03 13:41:58 -07:00
cada7a32f5 fix swaped argument in rabin.go
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2015-09-03 22:01:29 +02:00
5141fb0c8a fix import path of generated proto files
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-03 12:54:10 -07:00
ab0c668ab8 fix panic caused by accessing config after repo closed
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-03 09:28:36 -07:00
018e20ae19 Merge pull request #1628 from rht/size-walk
Use filepath.Walk to compute serialfile total size
2015-09-03 16:32:02 +02:00
28df97e576 Merge pull request #1629 from rht/localize-os-open
serialfile: localize os.Open into NewSerialFile
2015-09-03 15:36:06 +02:00
rht
0c95ed6b03 Add symlink support to BuildDagFromFile
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-09-03 20:30:41 +07:00
rht
00a56a14ec serialfile: localize os.Open into NewSerialFile
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-09-03 20:30:41 +07:00
9c40bf1e97 Merge pull request #1618 from rht/dir-index-humanize
Humanize bytes in dir index listing
2015-09-03 12:42:44 +02:00
3fc1854d24 Merge pull request #1638 from thelinuxkid/master
Fix docker image link
2015-09-02 14:48:58 -07:00
f4989c30e7 Fix docker image link
License: MIT
Signed-off-by: Andres Buritica <andres@thelinuxkid.com>
2015-09-02 14:25:34 -07:00
dfa27c0c5a Merge pull request #1623 from rht/fix-check-api-test
Fix and refactor daemon api test
2015-09-02 22:42:09 +02:00
a3f0a6eb73 Merge pull request #1625 from ipfs/check-peerid
t0020: simplify peerid check
2015-09-02 22:41:13 +02:00
5ff766bea9 Merge pull request #1626 from ipfs/t0062-cleanup
t0062 cleanup
2015-09-02 22:40:10 +02:00
006cd5fe25 Merge pull request #1627 from ipfs/feat/symlinks
implement symlinks in unixfs, first draft
2015-09-02 22:36:50 +02:00
a4e72871fa add tests for symlinks
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-02 12:59:09 -07:00
5ba7d616e2 symlink handling in files ls
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-02 12:57:11 -07:00
a47d6fef65 Merge pull request #1636 from ipfs/fix/panic-ignore
recover and print panics that happen in API server
2015-09-02 20:50:50 +02:00
d85d61c968 recover and print panics that happen in API server
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-02 11:12:13 -07:00
56f01e4981 rm panic
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-02 11:03:07 -07:00
167532c2b6 fix direct symlink adding
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-02 10:51:03 -07:00
4bcacc5936 address most of CR comments
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-02 10:12:04 -07:00
9bbd9b061d give ipfs get symlink support
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-08-30 23:34:02 -07:00
rht
b45e82418b Use filepath.Walk to compute serialfile total size
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-08-31 10:57:54 +07:00
d993bc04d6 implement symlinks in unixfs, first draft
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-08-30 13:33:42 -07:00
dc68ae76e3 t0020: simplify peerid check
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-30 18:23:03 +02:00
3562e72d8e t0062: add missing && in test_client*()
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-29 22:30:37 +02:00
cbeff099a2 t0062: check that 'ipfs config' works
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-29 22:28:58 +02:00
fe742050ac t0062: use "$@" directly
This avoids potential quoting problems.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-29 22:23:55 +02:00
rht
1198564ca3 Fix and refactor daemon api test
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-08-29 22:10:58 +07:00
8c652907de Merge pull request #1598 from ipfs/check-for-api
check for API -- WIP
2015-08-29 06:20:59 +02:00
8c547ff7b8 t0062-daemon-api.sh tabs
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-08-29 06:13:50 +02:00
b883381b63 improved t0062-daemon-api.sh tests
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-08-29 06:12:12 +02:00
rht
4b3a21eceb Humanize bytes in dir index listing
Fixes https://github.com/ipfs/dir-index-html/issues/3

License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-08-29 09:58:21 +07:00
1dac829062 Merge pull request #1487 from rht/gw-assets
Move dir-index-html + assets to a separate repo
2015-08-28 14:45:56 +02:00
rht
4681db6f4c Move dir-index-html + assets to a separate repo
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-08-28 19:39:15 +07:00
9f253dfa7a Merge pull request #1592 from prusnak/empty-repo
Add --empty-repo option for init (#1559)
2015-08-28 14:13:09 +02:00
61cde12364 Merge pull request #1617 from rht/rm-full-mesh-linked
Refactor FullMeshLinked and ConnectAll()
2015-08-28 13:00:56 +02:00
rht
63c7741fb9 Refactor FullMeshLinked and ConnectAll()
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-08-28 17:39:05 +07:00
rht
be96d8d7d5 Fix test cases for ipfs api check
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-08-28 13:20:13 +07:00
e1d8200ffb test-lib: use all the test_launch_ipfs_daemon() arguments
It is simpler and less error prone to just pass to `ipfs daemon`
all the arguments that are passed to test_launch_ipfs_daemon().

Maybe the arguments should be shell quoted too, but that's
another issue.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-28 05:17:27 +02:00
b55cf12ba5 Merge pull request #1572 from ipfs/node-construct-v2
replace nodebuilder with a nicer interface
2015-08-27 18:01:49 +02:00