Commit Graph

634 Commits

Author SHA1 Message Date
Aaron Blankstein
07891679df Added integration test for simple subdomain resolution
*And* the test works!!
2017-06-19 11:00:41 -04:00
Aaron Blankstein
acf910d38c okay, first pass at a naive subdomain resolver, with some test cases too 2017-06-16 16:49:35 -04:00
Aaron Blankstein
1a9c2f5d07 testing the exceptions. 2017-06-15 19:04:21 -04:00
Aaron Blankstein
3f23bb157f zonefile subdomain entry parsing/signing + some test cases 2017-06-15 18:36:03 -04:00
Aaron Blankstein
87ba3b86d9 adding error messages to registrar' response to blockstack info 2017-06-06 15:06:04 -04:00
Jude Nelson
65e879733a fix some bugs found from testing, and close #440 2017-05-30 20:29:32 -04:00
Jude Nelson
0cc98412b9 Merge branch 'rc-0.14.2' of https://github.com/blockstack/blockstack-core into rc-0.14.2 2017-05-30 19:22:19 -04:00
Jude Nelson
2581b2895d include timestamps in data tombstones to ensure uniqueness (#440) 2017-05-30 19:21:01 -04:00
Jude Nelson
b65397028b do not require 'store_admin' or 'store_read' capabilities 2017-05-30 19:20:43 -04:00
Jude Nelson
445af537c5 don't require an API token to run 2017-05-30 19:20:26 -04:00
Jude Nelson
d9682c232c only cache the manifest URL if it was looked up 2017-05-30 19:20:09 -04:00
Jude Nelson
4121eee2a3 elaborate on how blockstack storage drivers are expected to behave regarding loading data from other users' storage 2017-05-30 19:19:36 -04:00
Jude Nelson
0d6c44c9ff Merge pull request #442 from vsund/fix/skeleton-driver
Fix minor flaws in driver skeleton
2017-05-30 10:35:01 -05:00
Valentin Sundermann
6662e89ca4 Update log name of driver skeleton 2017-05-30 17:30:10 +02:00
Jude Nelson
5d4ff04886 versioned index pages 2017-05-24 15:17:13 -04:00
Jude Nelson
246610360f expand storage documentation 2017-05-24 13:58:18 -04:00
Valentin Sundermann
36cf089250 Add missing return 2017-05-24 19:57:31 +02:00
Valentin Sundermann
b10253802a Fix typo 2017-05-24 19:56:56 +02:00
Jude Nelson
b8741e7808 Merge branch 'portal-fix-withdraw' into rc-0.14.2 2017-05-23 17:23:03 -04:00
Jude Nelson
8a32340d27 debug withdraw 2017-05-23 17:21:58 -04:00
Jude Nelson
d1b02d78f5 debug success path on put_mutable_data 2017-05-23 16:49:49 -04:00
Jude Nelson
1030e023e8 allow URIs 2017-05-23 16:49:37 -04:00
Jude Nelson
450833058b add "initialize storage" API endpoint 2017-05-23 16:49:21 -04:00
Jude Nelson
53e7f259bb debug signature failures 2017-05-23 16:49:08 -04:00
Jude Nelson
7b82202420 pass driver kwargs 2017-05-23 16:48:59 -04:00
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