1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-02 20:32:58 +08:00

1919 Commits

Author SHA1 Message Date
c598673b4c commands/http: Documented MultiFileReader 2014-11-18 02:13:56 -08:00
5614234d1d commands/http: MultiFileReader: Removed extraneous condition when checking next file 2014-11-18 02:13:56 -08:00
a9d784cb21 commands: Documented File and implementations 2014-11-18 02:13:56 -08:00
bfdf7951b3 core/commands2: Use path.Split for path parsing in 'add' 2014-11-18 02:13:56 -08:00
380337b76b commands/cli: Use filepath.Join for file path building 2014-11-18 02:13:56 -08:00
015bd06cff commands/cli: Fixed stdin arg handling 2014-11-18 02:13:56 -08:00
0b509098aa commands: Fixed tests 2014-11-18 02:13:55 -08:00
d4ac442838 commands/cli: Fixed Parse required argument check 2014-11-18 02:13:55 -08:00
ce49541f13 commands/http: Ignore mediatype validation (only required for file args) 2014-11-18 02:13:55 -08:00
9333c504c1 commands/cli,http: Make sure required file arguments are provided 2014-11-18 02:13:55 -08:00
bc8a97c119 commands: Cleanup up argument validation 2014-11-18 02:13:55 -08:00
d1f1d2f5bf core/commands2: Fixed commands to use string arguments 2014-11-18 02:13:55 -08:00
f8be26810a commands: Changed Request#Arguments to a []string 2014-11-18 02:13:55 -08:00
9dcf21673d commands: Fail earlier for arg count checking (by doing it in CLI req parser) 2014-11-18 02:13:55 -08:00
032e9c292f core/commands2: Updated 'add' command for new file API 2014-11-18 02:13:54 -08:00
51bfe06f1a commands/http: Support recursive multipart in MultiFileReader 2014-11-18 02:13:54 -08:00
9d2ee4f1d4 commands/cli: Support directory argfile arguments in Parse 2014-11-18 02:13:54 -08:00
ae33905ccd commands: Added global -r/--recursive flag 2014-11-18 02:13:54 -08:00
f22ac196bb commands: Added Recursive modifier to Argument 2014-11-18 02:13:54 -08:00
bfc83bd16a commands: Added SetArguments/SetFiles to Request 2014-11-18 02:13:54 -08:00
fe6ac42c0e core/commands2: Updated 'add' command for request file API 2014-11-18 02:13:54 -08:00
4ba7408363 commands: Don't error on file arg checking (for now) 2014-11-18 02:13:54 -08:00
052d387ae5 core/commands2: Fixed 'block' command for req.Files() API 2014-11-18 02:13:53 -08:00
3a9a62eb0e commands/cli: Open file paths when parsing and use in request.Files() 2014-11-18 02:13:53 -08:00
132e740257 commands/http: Send req.Files() as multipart 2014-11-18 02:13:53 -08:00
53735263c2 commands/http: Parse multipart files into req.Files() 2014-11-18 02:13:53 -08:00
4b9fa9c97c commands/http: Use constants for header names 2014-11-18 02:13:53 -08:00
1c8d73f9ea commands: Added Request#Files() 2014-11-18 02:13:53 -08:00
fdb71eb5dc commands: Added MultiFileReader (read a File as multipart data) 2014-11-18 02:13:53 -08:00
02c7c329aa commands: Added File interface and implementations 2014-11-18 02:13:53 -08:00
1c36d52033 Merge pull request #359 from jbenet/feat/swarm-cmd
Add swarm command
2014-11-18 02:11:25 -08:00
81135f3dc2 added ipfs swarm connect 2014-11-18 01:47:01 -08:00
4d78c2d7ff cmds: swarm peer 2014-11-18 00:48:03 -08:00
faab984278 net: expose GetConnections 2014-11-18 00:47:42 -08:00
21d2838d4f cmds/id: fixed args + err checks 2014-11-17 23:46:46 -08:00
f47b4f1799 Merge pull request #255 from jbenet/id-cmd
basic ID cmd
2014-11-17 23:23:06 -08:00
6107612fd0 Merge pull request #355 from jbenet/feat/daemon-init
feat(daemon) `ipfs daemon --initialized`
2014-11-17 23:22:01 -08:00
eba0599dd2 bugfix: node teardown is the last man to go down
Warning: during normal execution node teardown must be the
last thing that happens because command requests return
io.Readers, which may still be constructing or processing
their output. The node (and its subservices) is needed for
this. good night and good luck.
2014-11-17 23:13:18 -08:00
d93e49e06e fix node context (tests pass) 2014-11-17 22:50:01 -08:00
088016c850 test: cat test actual output 2014-11-17 22:36:19 -08:00
493e5d3b3e test: test init output 2014-11-17 22:36:19 -08:00
8d4c21694c fix
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-17 22:36:19 -08:00
7cebc3cc38 inline prints
looking forward to fixing these again

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-17 22:36:19 -08:00
24f0fa0fde delegate teardown
this is silly but whatever

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-17 22:36:19 -08:00
cc024716da docs(Dockerfile) update docker 'run' example
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-17 22:36:19 -08:00
84354c7545 doc(eventlog) init
@jbenet

yeah, these are just sane defaults

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-17 22:36:19 -08:00
ef65bb1ce3 revert to debug error
@jbenet

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-17 22:36:18 -08:00
bc396610de fix(2/daemon) initialized --> init
@jbenet

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-17 22:36:18 -08:00
94bfc8121c docs(eventlog/formatter)
@jbenet

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-17 22:36:18 -08:00
061200452f feat(2/daemon) --initialized
@jbenet

now, ipfs can be built and executed in one step:
```
docker run jbenet/go-ipfs daemon --initialized
```

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-17 22:36:18 -08:00