Commit Graph

609 Commits

Author SHA1 Message Date
Jude Nelson
540eac314c sync with new driver API; make Dropbox indexed 2017-05-23 16:48:40 -04:00
Jude Nelson
1f9120b554 make test driver indexed 2017-05-23 16:48:19 -04:00
Jude Nelson
29de5a0330 indexed storage for Dropbox-like systems 2017-05-23 16:48:07 -04:00
Jude Nelson
ebb6011deb take raw string for zone file 2017-05-23 16:47:45 -04:00
Jude Nelson
7e8a34ff7b move ScatterGather to utils 2017-05-17 22:05:32 -04:00
Jude Nelson
f5ecf9b148 experimental support for building up a data_id --> URL index within a storage provider, so we can share files publicly and access them without API keys 2017-05-17 22:05:03 -04:00
Jude Nelson
f948f05e44 when reading a datastore, include the blockchain ID so we can look up the profile and thus the index manifest (for storage providers that do not allow us to generate URLs) 2017-05-17 22:04:29 -04:00
Jude Nelson
7079c98800 return HTTP 400 on bad withdraw input, and return HTTP 503 on backend network error 2017-05-17 00:27:30 -04:00
Jude Nelson
3b082ba635 tag tx-broadcast failure on cli_withdraw() so callers see errno.EIO on network error 2017-05-17 00:27:12 -04:00
Jude Nelson
18604f9385 Merge branch 'rc-0.14.2' of https://github.com/blockstack/blockstack-core into rc-0.14.2 2017-05-17 00:21:37 -04:00
Jude Nelson
8d42af5aea allow data to be stored without signatures or public keys or version tags 2017-05-17 00:20:59 -04:00
Jude Nelson
308bc458e3 require directories to contain a copy of their header (for partial write recovery); consolidate and simplify lookup query schema 2017-05-17 00:20:28 -04:00
Jude Nelson
423015d174 sync with new data schema and return type conventions 2017-05-17 00:20:12 -04:00
Jude Nelson
02db42b896 improve API and data structures so file and directory signatures and hashes are completely separate from the data. Also, make return types more consistent 2017-05-17 00:19:24 -04:00
Jude Nelson
2ec5755a8d reactive multithread safety checks 2017-05-17 00:19:09 -04:00
Jude Nelson
c035cff312 remove errant comment 2017-05-17 00:18:52 -04:00
Jude Nelson
04b781abe0 consolidate scratch space code 2017-05-17 00:18:40 -04:00
Jude Nelson
21b1132eb9 move scratch-space setup/teardown to common 2017-05-17 00:18:25 -04:00
Jude Nelson
cbde07d48a sync with new storage API conventions regarding extended versus non-extended information 2017-05-17 00:18:07 -04:00
Aaron Blankstein
54fb1e8a13 simple bug in cli_put_profile (wallet keys isn't an arg to get_name_zonefile) 2017-05-16 10:31:13 -04:00
Jude Nelson
065e19618f add support for microsoft onedrive 2017-05-11 18:23:39 -04:00
Jude Nelson
5b16664d59 harden a few cases with exception handling, and lazily instantiate the driver session 2017-05-11 18:23:17 -04:00
Jude Nelson
b599de652c return True/False on put_chunk 2017-05-11 18:23:02 -04:00
Jude Nelson
64387268a8 test data names with quotes in them 2017-05-11 13:57:07 -04:00
Jude Nelson
0d9be8f0b7 use compression logic from common 2017-05-11 13:55:56 -04:00
Jude Nelson
b268aa1ad6 use compression logic from common 2017-05-11 13:55:46 -04:00
Jude Nelson
5a06939a1e move compress/decompress logic to common 2017-05-11 13:55:35 -04:00
Jude Nelson
83fad2d37b add Google Drive support 2017-05-11 13:54:36 -04:00
Jude Nelson
ac58a67e19 properly coerse string for non-string types 2017-05-10 15:54:02 -04:00
Jude Nelson
f4dc751841 Add Dropbox support for storage 2017-05-10 15:53:48 -04:00
Jude Nelson
08535ec0ee Merge branch 'rc-0.14.2' of https://github.com/blockstack/blockstack-core into rc-0.14.2 2017-05-09 18:33:11 -04:00
Jude Nelson
4d246afda2 get minimum confirmations from UTXO service client, if not given in kwargs 2017-05-09 18:31:29 -04:00
Jude Nelson
a320a18da7 pass along minimum number of confirmations 2017-05-09 18:31:14 -04:00
Jude Nelson
ec07ae9f97 be more aggressive in trying to talk to the API daemon 2017-05-09 18:31:01 -04:00
Jude Nelson
a2366243ff don't take min_confirmatinos from kwargs; take it from the UTXO service client 2017-05-09 18:30:44 -04:00
Jude Nelson
490a3e1b7d honor BLOCKSTACK_MIN_CONFIRMATIONS environment variable 2017-05-09 18:30:30 -04:00
Jude Nelson
3763d53cf5 avoid needless debug output if fields overridden by the environment match the fields in the config file 2017-05-09 18:30:08 -04:00
Jude Nelson
cd1c6e04ca include min_confirmations in the UTXO service drivers 2017-05-09 18:29:48 -04:00
Jude Nelson
ef05e280de pass along minimum confirmations from UTXO service client when doing sanity checks 2017-05-09 18:29:22 -04:00
Jude Nelson
daf0b37c41 pass along minimum confirmations from UTXO service client when doing sanity checks 2017-05-09 18:28:57 -04:00
Jude Nelson
eb5b63bc45 honor min_confirmations in the UTXO service client instance (if no min_confirmations is given) 2017-05-09 18:28:33 -04:00
Jude Nelson
cb3a43ba61 check error in cli_price before continuing 2017-05-09 18:28:12 -04:00
Jude Nelson
d27a38eac1 check sys.argv length 2017-05-09 18:27:42 -04:00
Aaron Blankstein
1024838394 better errors from the CLI when it fails to authenticate with the API service 2017-05-09 14:54:02 -04:00
Jude Nelson
cdfb15ab33 tx_only is False if not given 2017-05-08 18:39:54 -04:00
Jude Nelson
3a1bb13d33 Merge pull request #414 from kantai/rc-0.14.2
Secret cli args weren't being processed when debug flag unset
2017-05-08 17:21:40 -05:00
Jude Nelson
c6405262a5 set server_host and server_port in environment if set_global is True 2017-05-08 15:43:46 -04:00
Aaron Blankstein
aaf01bdc41 fixes secret setting so that passed passwords work when not in --debug mode (re-exec code isn't called) 2017-05-08 15:32:52 -04:00
Jude Nelson
1a98efe91e use correct UTXO URL for blockstack_utxo driver 2017-05-05 15:02:15 -04:00
Jude Nelson
a95f005037 Add a route for / that points users to documentation. 2017-05-04 18:29:27 -04:00