Commit Graph

57 Commits

Author SHA1 Message Date
Jude Nelson
8b19683e86 parallelization improvements to the indexing system; don't allow concurrent index_setup() calls 2017-06-25 18:45:56 -04:00
Jude Nelson
8e8365a6df cache index pages by driver, and then by index bucket (not by blockchain ID). Also, make sure accesses are thread-safe 2017-06-21 22:42:10 -04:00
Jude Nelson
51c72d66b5 bugfix on error path 2017-06-20 23:53:32 -04:00
Jude Nelson
07e88d81e0 add driver classes so we can select drivers by capabilities instead of by name. Also, add an index_check_setup() method to avoid re-building an index 2017-06-18 22:06:49 -04:00
Jude Nelson
73e5d94d91 expose getting the index manifest URL 2017-06-18 22:06:34 -04:00
Jude Nelson
9733be1cf4 return None on programmed failure 2017-06-15 22:23:11 -04:00
Jude Nelson
36dc6e9945 include built-in indexed read/write logic 2017-06-15 11:26:40 -04:00
Jude Nelson
c97c096f61 debug return values 2017-06-15 11:25:49 -04:00
Jude Nelson
29ef0b801e use new built-in index handlers 2017-06-15 11:25:15 -04:00
Jude Nelson
95879e88c7 WIP: use the indexing system (DRIVER IS STILL NOT WORKING) 2017-06-15 11:24:59 -04:00
Jude Nelson
82ab59b1b2 get bucket, then create bucket 2017-06-15 11:24:47 -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
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
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
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
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
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
f4dc751841 Add Dropbox support for storage 2017-05-10 15:53:48 -04:00
Jude Nelson
47365aac2a print name on hash mismatch 2017-05-02 22:52:38 -04:00
Jude Nelson
d183b8afc0 clean up imports; don't use pybitcoin in unit tests 2017-04-27 19:26:51 -04:00
Jude Nelson
2198780889 clean up imports 2017-04-27 19:26:39 -04:00
Jude Nelson
c41d026d4e clean up imports 2017-04-27 19:26:31 -04:00
Jude Nelson
6358dd1bab clean up imports 2017-04-27 19:26:22 -04:00
Jude Nelson
4864431332 clean up imports 2017-04-27 19:26:13 -04:00
Jude Nelson
c39ba8ae2c clean up imports; honor the profile= kwarg for differentiating between profiles and mutable data 2017-04-27 19:25:50 -04:00
Jude Nelson
1e5b175bd4 clean up imports 2017-04-27 19:25:32 -04:00
Jude Nelson
3f1c7784da clean up imports 2017-04-27 19:25:20 -04:00
Jude Nelson
8ef3b30174 remove pybitcoin and pybitcointools 2017-04-20 19:09:00 -04:00
Jude Nelson
df8b743320 support S3 in read-only mode (no api tokens needed); don't compress by default 2017-04-20 17:40:54 -04:00
Jude Nelson
c263f5bee3 remove pybitcoin dependency; use virtualchain hash library 2017-04-20 17:40:37 -04:00
Jude Nelson
127b05b282 get off of pybitcoin; switch to virtualchain API 2017-03-30 14:05:54 -04:00
Jude Nelson
cabe0e626e test driver 2017-03-23 18:59:01 -04:00