Commit graph

381 commits

Author SHA1 Message Date
jmjatlanta
3418ee5435 more test scripts 2017-09-27 07:40:55 -05:00
jmjatlanta
81e103f1e0 Fix for object get when api not running 2017-09-27 07:02:00 -05:00
jmjatlanta
058a1d64ab More test script examples 2017-09-27 06:16:18 -05:00
jmjatlanta
daf715929a beginning of test scripts 2017-09-27 05:52:53 -05:00
jmjatlanta
2cc7f52fbf fixed attempt to free a non allocated string 2017-09-26 09:43:10 -05:00
John Jones
5bcd3a99f2 various fixes for object_get 2017-09-25 17:56:10 -05:00
John Jones
630985c698 Adjustments for testing 2017-09-25 15:11:44 -05:00
8b8a2844bd
Fixed some allocation problems. 2017-09-25 15:55:14 -03:00
jmjatlanta
abb607c905 fixing name publish and resolve 2017-09-25 13:37:16 -05:00
8e56826b8d
Using urlencode. 2017-09-25 15:31:03 -03:00
6fc2614fe7
Fixed chunked size. 2017-09-25 14:40:33 -03:00
John Jones
f0d19bab97 Small fixes for http api connectivity issues 2017-09-25 12:13:32 -05:00
John Jones
88baee62a2 Fixes for http receiving 2017-09-25 12:07:16 -05:00
John Jones
5fc40e51ee solved pthread_mutex being shared across processes 2017-09-25 11:25:34 -05:00
John Jones
982c7e9e6e More debugging of api 2017-09-25 10:00:49 -05:00
jmjatlanta
4b1cd8cb11 small bugfixes, chasing segfault 2017-09-25 09:20:51 -05:00
jmjatlanta
5404fce6ec move api globals to struct 2017-09-25 08:55:42 -05:00
b4e3817d62
Fixed the wrong buffer check. 2017-09-25 09:34:54 -03:00
jmjatlanta
9402f31841 Modified ipfs_core_http_request_free 2017-09-25 06:57:17 -05:00
0b45b25d6e
Changed parameters and arguments. 2017-09-22 11:52:31 -03:00
Agorise
d872fb079d Update README.md 2017-09-22 12:38:45 +03:00
395eb4f031
Improved api_build_http_request implementation. 2017-09-21 23:27:33 -03:00
jmjatlanta
90262ef657 Calling the API from the client for "name resolve" and "name publish" 2017-09-21 18:03:42 -05:00
jmjatlanta
c54cf989c0 Filling in more of http_request 2017-09-21 17:10:41 -05:00
jmjatlanta
b133a703cc fixed memory leak 2017-09-21 15:30:23 -05:00
jmjatlanta
a1b887ba76 Implementation of http_request 2017-09-21 15:27:16 -05:00
jmjatlanta
9425e2fee3 More work on ipns publisher and resolver 2017-09-21 13:59:06 -05:00
jmjatlanta
e094528293 Finally sorted config file directory rules
If we are trying to build a repository in the home directory of
the user, put everything in a .ipfs directory. Otherwise, use
what was given, even if it does not have a .ipfs suffix.
2017-09-21 11:49:47 -05:00
jmjatlanta
0eab9cc3fc Merge branch 'master' of https://github.com/Agorise/c-ipfs 2017-09-21 11:21:12 -05:00
jmjatlanta
378dd7c051 beginning to resolve ipns addresses 2017-09-21 11:21:01 -05:00
e0d5fed53e
HTTP redirection added in the API. 2017-09-21 11:50:15 -03:00
jmjatlanta
b301c7e4d2 Preparing for name resolve and name publish 2017-09-21 09:47:16 -05:00
jmjatlanta
2051f7714a ipfs name command line options processing 2017-09-21 07:51:18 -05:00
a907f1dd2d
The API changed pthread to scope, so it can load multiple instances. 2017-09-20 14:39:26 -03:00
John Jones
c06625a00e Fixing building the paths for tests 2017-09-20 11:30:39 -05:00
John Jones
cfffe36fb2 Fixing test paths 2017-09-20 11:10:54 -05:00
John Jones
07551151da Fixing of test_core_api_object_cat 2017-09-20 10:50:32 -05:00
jmjatlanta
215af9cfce Buildout of test_core_api_object_cat 2017-09-20 10:18:27 -05:00
jmjatlanta
9a49ddd27b Start of client_api.c 2017-09-20 09:11:01 -05:00
jmjatlanta
81d2252229 Now compiling with api changes 2017-09-20 07:53:36 -05:00
jmjatlanta
794217ed6c method signature changes 2017-09-20 07:40:28 -05:00
jmjatlanta
c0419f2424 Adding IpfsNode to api startup 2017-09-20 07:32:12 -05:00
jmjatlanta
262216f6db Merge branch 'master' of https://github.com/Agorise/c-ipfs 2017-09-20 07:02:13 -05:00
jmjatlanta
6db0830c7d Added first cut of get_object 2017-09-20 07:02:00 -05:00
87b0d6b13c
Fix the mutex lock when the memory allocation fails in api_listen_thread.
Thanks to John Jones for pointing out the problem.
2017-09-20 08:29:51 -03:00
64891c9198
Added initial GET calls. 2017-09-20 08:02:13 -03:00
jmjatlanta
acf506296e Updating tests 2017-09-18 19:04:52 -05:00
John Jones
fc8fc582b1 Testing ipns 2017-09-14 16:49:19 -05:00
John Jones
395c7d94cf More implementation of ipns 2017-09-14 14:58:53 -05:00
John Jones
d5c3e01267 Intitial test for ipns resolve 2017-09-14 12:13:07 -05:00