Commit Graph

40 Enmetoj

Author SHA1 Message Date
Pierre Neidhardt 63ab330868 Fix files-rm. 2022-09-27 17:06:41 +02:00
Pierre Neidhardt a1c5281a38 Make files-ls more useful. 2022-09-24 10:33:22 +02:00
Pierre Neidhardt ed93813417 Allow adding directories. 2022-09-24 10:33:22 +02:00
Pierre Neidhardt 09ebe83f37 Allow reporting multiple results.
For instance when adding a directory with multiple files.
2022-09-24 10:33:22 +02:00
Pierre Neidhardt a52676d5c3 Ensure ipfs-call URL is a 'character string and not a base-string.
Otherwise it breaks PURI.
2022-09-23 10:24:32 +02:00
Pierre Neidhardt cc65064550 Use default Drakma encoding in url-encode.
This fixes the load of URLs like

    bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/I/m/Van_Gogh_-_Bildnis_der_Mutter_des_K%C3%BCnstlers.jpeg
2022-09-22 12:43:33 +02:00
bnmcgn@gmail.com fc5cc5a256 Implemented with-files-write macro
- Bugfix: pin/ls didn't handle empty result correctly
- Bugfix: Fixed edge case in simplify
2021-06-24 16:24:14 -07:00
bnmcgn@gmail.com d5e641c3ea Adjusted conversion of JSON response
- IPFS sometimes returns the JSON response as a string, confusing the
  existing code. Switched to a check of :content-type in the response
  header.
- While we are at it, detect errors by testing the response code.
2021-05-17 07:42:10 -07:00
bnmcgn@gmail.com db8682b513 Debugged ipfs-files-write.
- Adjusted some supporting code for flexibility.
- Ipfs-files-write will take a pathname or a string as input.
2021-05-15 17:36:23 -07:00
bnmcgn@gmail.com 9e2d1d636d Add cid-version parameter to 'add' function. 2021-02-15 19:51:10 -08:00
Jaidyn Ann f185501816 Use alists over hash-tables; process api calls as streams rather than strings. (Thanks stacksmith) 2020-12-23 21:10:40 -06:00
Jaidyn Ann 470dbd0225 Compat with API change (only POST allowed) 2020-08-27 10:46:58 -05:00
Jaidyn Levesque 969dbe7587 Fix some dumb slip-ups 2019-06-20 20:51:56 -05:00
Jaidyn Levesque b7e9eb6b19 Updated docs, asdf system, etc. 2019-06-19 15:17:52 -05:00
Jaidyn Levesque ed3afe6cd0 Add urlstore call 2019-06-19 11:59:06 -05:00
Jaidyn Levesque b379b3ef4a Add swarm calls 2019-06-19 11:56:35 -05:00
Jaidyn Levesque c2b24232a2 Add stats calls 2019-06-19 11:40:47 -05:00
Jaidyn Levesque f572f0c0e8 Add refs calls 2019-06-19 11:28:22 -05:00
Jaidyn Levesque 1b83ff3ddf Updated documentation 2019-06-18 12:45:31 -05:00
Jaidyn Levesque 47be6a3f8c Add pin calls 2019-06-18 12:18:08 -05:00
Jaidyn Levesque a86e0e015f Add p2p calls 2019-06-18 12:03:08 -05:00
Jaidyn Levesque 485697fe17 Add object calls (er, most of them) 2019-06-18 03:22:59 -05:00
Jaidyn Levesque aa24f7c6c6 Updated name calls, fixed returns 2019-06-18 03:04:19 -05:00
Jaidyn Levesque 813e780f83 Add name calls 2019-06-18 02:57:12 -05:00
Jaidyn Levesque 7f7dd859d1 Add log calls 2019-06-18 02:47:06 -05:00
Jaidyn Levesque 43f2c476b0 Add pubsub functions (woot woot) 2019-06-18 02:39:35 -05:00
Jaidyn Levesque 18f1220d9d Add key calls. 2019-06-07 00:12:39 -05:00
Jaidyn Levesque d42905cf6d Add filestore calls. 2019-06-06 23:47:40 -05:00
Jaidyn Levesque fbe7fce345 Add files calls. 2019-06-06 23:31:34 -05:00
Jaidyn Levesque cf43d4006d Add diag calls. 2019-06-06 23:07:49 -05:00
Jaidyn Levesque 4e947ecb6e Add DHT calls. 2019-06-06 23:00:44 -05:00
Jaidyn Levesque fc9a5dd3ba Add dag calls. 2019-06-06 19:59:22 -05:00
Jaidyn Levesque 48cbdcbdb8 Replace '/' in function names with '-'. (Bad design in the first place lol) 2019-06-06 19:48:18 -05:00
Jaidyn Levesque a612e6d6d7 Add bitswap calls. 2019-06-06 19:39:10 -05:00
Jaidyn Levesque c533fa3eaf Normalize docstring formatting. 2019-06-06 19:23:55 -05:00
Jaidyn Levesque bc65d12b27 Add CID calls; make returns consistent (alists for most things) 2019-06-06 19:10:56 -05:00
Jenga Phoenix c0ea8e9196 Added bootstrap calls 2019-05-24 01:16:00 -05:00
Jenga Phoenix 77ebe92e83 Added /block calls 2019-05-24 01:07:56 -05:00
Jenga Phoenix ea09e38f67 Renamed; added root, config, version calls 2019-05-24 00:08:19 -05:00
Jenga Phoenix d0706840db Init 2019-05-22 01:00:40 -05:00