Commit Graph

842 Commits

Author SHA1 Message Date
Aaron Blankstein
01611609db merging in token changes 2017-07-07 13:38:38 -04:00
Jude Nelson
e66236abd2 make all metadata directories inside the critical section 2017-07-07 13:25:19 -04:00
Jude Nelson
c6250d5349 don't cast 'None' to string by accident 2017-07-07 13:25:02 -04:00
Aaron Blankstein
9b3fa70d1a I'd broken the empty-profile making logic before -- now there's an explicit argument passed through the call graph. call graph is very strange though. 2017-07-07 12:04:16 -04:00
Jude Nelson
51e858428d return raw zonefile 2017-07-06 19:48:43 -04:00
Jude Nelson
e72d43d0be force string 2017-07-06 19:36:27 -04:00
Jude Nelson
1ce371644f force string 2017-07-06 19:36:20 -04:00
Jude Nelson
7f1f7e9731 add unbound proxy variable 2017-07-06 19:29:23 -04:00
Jude Nelson
5353cb1015 force string 2017-07-06 19:29:18 -04:00
Jude Nelson
1fa1de3e54 Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3 2017-07-06 19:13:21 -04:00
Jude Nelson
0eac69306f nonrelative imports 2017-07-06 18:56:41 -04:00
Jude Nelson
2dae62c1f3 nonrelative imports 2017-07-06 18:56:32 -04:00
Jude Nelson
3c00c60ed8 nonrelative imports 2017-07-06 18:56:22 -04:00
Jude Nelson
f6c6eadad9 code to generate and look up app-specific keys 2017-07-06 18:49:14 -04:00
Jude Nelson
9891eda24f bugfixes in get_mutable_data() when supporting multiple data hashes 2017-07-06 18:48:57 -04:00
Jude Nelson
3dcf458563 warn if we see a legacy authToken 2017-07-06 18:48:39 -04:00
Jude Nelson
6e73c1ae2d nonrelative imports 2017-07-06 18:48:31 -04:00
Jude Nelson
0cb5ba1835 profile_list_accounts(), not _list_accounts() 2017-07-06 18:48:18 -04:00
Jude Nelson
99cb296936 get app-specific private key 2017-07-06 18:48:01 -04:00
Jude Nelson
3503e63d00 fix some bugs in get_mutable() 2017-07-06 18:47:47 -04:00
Jude Nelson
8057b0e352 look up device public keys and devices for datastore operations; add "app_signup" command to add one's device to the application 2017-07-06 18:46:45 -04:00
Aaron Blankstein
6d7da57665 fixing a typo error in rpc 2017-07-06 10:32:10 -04:00
Jude Nelson
30b91122d8 Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3 2017-07-05 17:40:03 -04:00
Jude Nelson
f3ecfe4d27 fix up symbols 2017-07-05 17:32:12 -04:00
Jude Nelson
85b463b8f4 move lookup_name_zonefile_pubkey() to zonefile.py 2017-07-05 17:31:48 -04:00
Jude Nelson
f4475762a5 fix bugs in testing and rename a few key-lookup methods 2017-07-05 17:31:32 -04:00
Jude Nelson
669bf1396b when verifying mutable data, simply take a list of public keys and addresses to try 2017-07-05 17:31:09 -04:00
Jude Nelson
9adf4c84c3 fix bugs in account manipulation discovered while testing 2017-07-05 17:30:52 -04:00
Jude Nelson
5782827ece get_mutable() can take a list of public keys, a list of public key hashes, and a device -> public key mapping 2017-07-05 17:30:30 -04:00
Jude Nelson
16fa6811b6 receive and store token files, not profiles 2017-07-05 17:30:14 -04:00
Jude Nelson
2ba176e0c4 name data is a token file, not a profile 2017-07-05 17:30:04 -04:00
Jude Nelson
167292adb2 we register with token files now, not profiles 2017-07-05 17:29:54 -04:00
Jude Nelson
6c33a7a309 sync API with get_mutable() 2017-07-05 17:29:44 -04:00
Jude Nelson
463825dbe8 more work on incorporating token files: allow lookup to fetch both profiles and token files; allow us to list device IDs in the token file; extract public keys and device IDs from the token file when loading datastore; flesh out migration logic to convert profiles into token files, and more 2017-07-05 17:27:35 -04:00
Aaron Blankstein
37d1f4e727 Merge branch 'rc-0.14.3' into api-rc-0.14.3 2017-07-05 11:24:08 -04:00
Aaron Blankstein
3d36e74f6c Merge branch 'rc-0.14.3' of github.com:blockstack/blockstack-core into rc-0.14.3 2017-07-05 11:18:23 -04:00
Aaron Blankstein
949ee92091 merge bug 2017-07-05 11:16:36 -04:00
Aaron Blankstein
d48a6b6ee5 adding missing import, found a totally undefined variable with pylint in the process, marked that branch statement as unimplemented. 2017-07-05 11:08:16 -04:00
Aaron Blankstein
86aa5599cb merging changes in safety.py 2017-07-05 10:29:22 -04:00
Aaron Blankstein
c8a12d4edb rename flag 'aggressive_registration' -> 'unsafe' + added information to the api doc 2017-07-05 10:10:36 -04:00
Jude Nelson
9cc2366601 Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3 2017-07-04 23:39:10 -04:00
Jude Nelson
8471f6414e notes on what we're going to have to change in order to support token file replication 2017-07-04 23:38:58 -04:00
Jude Nelson
3a3a0a005b always return the raw zone file and name record when looking up a zone file 2017-07-04 23:37:04 -04:00
Jude Nelson
b6cab442f8 version bump 2017-07-04 23:36:44 -04:00
Jude Nelson
bf615e7b16 no longer serialize profiles (handled by token file logic); no longer accept structured data for storing data (so no serialization required) 2017-07-04 23:36:16 -04:00
Jude Nelson
999feaacfd no relative imports 2017-07-04 23:35:58 -04:00
Jude Nelson
4e1f0a2bca fix up token file spec as functional tests revealed bugs 2017-07-04 23:35:41 -04:00
Jude Nelson
1c40261308 patch API endpoint to use new, slightly-modified zone file API 2017-07-04 23:35:25 -04:00
Jude Nelson
1fe457c765 remove most profile loading/storing logic, since this will be handled by the token file 2017-07-04 23:35:00 -04:00
Jude Nelson
2aaf949026 no relative imports 2017-07-04 23:34:49 -04:00