Commit Graph

594 Commits

Author SHA1 Message Date
Aaron Blankstein
3ace89e26a Merge pull request #527 from blockstack/subdomain
Adding subdomain support to blockstack-core
2017-08-10 17:17:44 -04:00
Jude Nelson
0ccd8e6862 use right origin 2017-08-10 17:10:07 -04:00
Jude Nelson
5e4560da29 use right public key 2017-08-10 17:09:59 -04:00
Aaron Blankstein
80bfb1fe68 Merge branch 'master' into subdomain 2017-08-10 16:59:17 -04:00
Jude Nelson
5eea8228f5 use the correct origin 2017-08-10 16:58:07 -04:00
Jude Nelson
16be4ea44b pass public key; use new get_profile() API 2017-08-10 16:57:55 -04:00
Jude Nelson
f6bf699cc0 pass public key 2017-08-10 16:57:49 -04:00
Aaron Blankstein
4bbd027afc Merge branch 'fix-integration-tests' into subdomain 2017-08-10 00:33:11 -04:00
Aaron Blankstein
b5c75ab561 fix api stop call in sync_zonefile 2017-08-09 23:39:37 -04:00
Aaron Blankstein
fe4e641d1c fix raw zonefile fetches 2017-08-09 23:13:49 -04:00
Aaron Blankstein
fef8adcba3 fixes problem when stopping API -- blockstackd's socket is open in the child process, TERM call invokes the atexit handler, which closes the socket, causing CONNECTION REFUSED on subsequent blockstackd requests. solved by SIGKILLing the API process instead 2017-08-09 21:50:41 -04:00
Aaron Blankstein
0ab6d5f433 subdomain integration test should now correctly kill the registrar on exit 2017-08-09 10:27:53 -04:00
Aaron Blankstein
cf16e020d0 add instructions for regtest of subdomain registrar, plus get rid of behavior that kills registrar during checks (this allows it to run interactive, will have to add atexit handler for cleanup, though) 2017-08-08 23:09:23 -04:00
Aaron Blankstein
e4ef649bed oops -- removed wrong init 2017-08-08 17:23:35 -04:00
Aaron Blankstein
8e58445ebb move subdomain registrar integration test out of its own subdirectory 2017-08-08 17:13:58 -04:00
Aaron Blankstein
0b232045be better error logging, removing dead integration scenarios 2017-08-08 15:17:29 -04:00
Aaron Blankstein
89d73ac7e1 update documentation for subdomains, code comments for sign/verify, and added licenses 2017-08-02 18:16:39 -04:00
Aaron Blankstein
c97dddb4f8 subdomain registrar interface now matches the interface for domain registration requests 2017-08-02 16:10:01 -04:00
Aaron Blankstein
af0f3c9ad5 subdomains are now owned by bitcoin addresses -- only supports singlesigs right now, but it requires signature on subdomain updates to be scriptSig like 2017-08-02 14:42:30 -04:00
Aaron Blankstein
7e36f219fa added integration test for the subdomain registrar 2017-08-01 20:19:41 -04:00
Aaron Blankstein
11cfc6c162 subdomain db building for different domains, better update checks, default resolution on cached version, handles case where zonefile hasn't propogated 2017-08-01 17:01:10 -04:00
Aaron Blankstein
080ce55ad7 subdomain db updates by 'catching up' with new zonefiles 2017-07-26 12:21:23 -04:00
Aaron Blankstein
b4dab2622b working on the db cache of subdomain information 2017-07-26 00:21:25 -04:00
Aaron Blankstein
d6b9d8e521 Merge branch 'rc-0.14.3' into subdomain 2017-07-20 18:20:31 -04:00
Aaron Blankstein
895b15a2d3 adding integration test for RESTful setting and fetching of raw zonefile, plus updating api-specs 2017-07-20 13:06:16 -04:00
Aaron Blankstein
f810bca234 fixes an error in the parameters used in cli_delete_account, plus updates an integration test 2017-07-19 14:11:11 -04:00
Aaron Blankstein
5eaf2d723e fixed rest_register_transfer integration test (needed to check a reencoded address) 2017-07-19 10:33:18 -04:00
Aaron Blankstein
6ac4b09f60 more fussing with jenkins 2017-07-18 17:36:37 -04:00
Aaron Blankstein
a8dcfac260 sigh, append instead of replace to the junit xml files 2017-07-18 16:43:25 -04:00
Aaron Blankstein
db5bb488eb better jenkins script 2017-07-18 16:25:50 -04:00
Aaron Blankstein
37c36453db trying to get jenkins auto-integration-tests 2017-07-18 16:23:03 -04:00
Aaron Blankstein
3997e3639e adds origin headers to RESTful integration tests 2017-07-18 14:58:48 -04:00
Aaron Blankstein
dc5ef3718f fix handling of app domain names that aren't url-like, added error responses, and test cases for origin rejections 2017-07-17 16:07:17 -04:00
Aaron Blankstein
29bdb81221 Merge branch 'rc-0.14.3' into rc-0.14.3-rpc 2017-07-17 15:03:39 -04:00
Aaron Blankstein
7a005ff1d9 add support for port 3000 + fix some of the tests, still some errors in the unit tests I'll come back to 2017-07-17 14:06:28 -04:00
Aaron Blankstein
52f804baa7 added test case to ensure that the registrar can correctly recover from changed keys in the middle of registrations 2017-07-11 17:19:35 -04:00
Aaron Blankstein
a9547a8d73 added test for the conversion 2017-07-11 15:59:17 -04:00
Aaron Blankstein
b5c62cc332 fixing some bugs in integration tests 2017-07-11 14:14:13 -04:00
Aaron Blankstein
5b1cbad8a5 in TESTNET mode (e.g. our integration regtests, and regtest mode for browser), if an unknown address is passed to get_utxos, it adds it to the bitcoind's tracked addresses. this fixes issue #487 2017-07-10 16:30:37 -04:00
Aaron Blankstein
e667bf2384 adding test case for issue 483, which *also* required fixing the app session schema to handle empty string methods a little bit more gracefully 2017-07-10 15:04:30 -04:00
Aaron Blankstein
93d07d68b3 This reverts us *all* the way back to 523cf405d7 -- this removes all changes to support the token file from this branch.
Revert "added example request and response for PUT /v1/wallet/keys/owner to api docs"

This reverts commit d52ee4b31e.

Revert "cutting down on the verbosity of logging outputs -- registrar now only prints 1 line on wakeups. storage drivers are concatenated into 1 line"

This reverts commit 87e3e7ab0d.

Revert "adding dropbox as a default storage driver to load, and switched default 'required' drivers to 'disk,dropbox'"

This reverts commit 9471b0a20a.

Revert "adding test case for issue 483, which *also* required fixing the app session schema to handle empty string methods a little bit more gracefully"

This reverts commit 32efc99d62.

Revert "bugfix for the address reencoding in get_zonefile -- checks to see if the address is an address before trying to reencode"

This reverts commit 1488013b93.

Revert "Merge branch 'rc-0.14.3' of github.com:blockstack/blockstack-core into rc-0.14.3"

This reverts commit f75ab67960, reversing
changes made to fe863bcd3c.

Revert "don't create the metadata dir"

This reverts commit fe863bcd3c.

Revert "make all metadata directories inside the critical section"

This reverts commit e66236abd2.

Revert "don't cast 'None' to string by accident"

This reverts commit c6250d5349.

Revert "force string"

This reverts commit e72d43d0be.

Revert "add unbound proxy variable"

This reverts commit 7f1f7e9731.

Revert "return raw zonefile"

This reverts commit 51e858428d.

Revert "force string"

This reverts commit 1ce371644f.

Revert "force string"

This reverts commit 5353cb1015.

Revert "require virtualchain rc-0.14.3 and jsontokens-py 0.0.4"

This reverts commit 346f042db7.

Revert "Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3"

This reverts commit 1fa1de3e54, reversing
changes made to 523cf405d7.
2017-07-10 14:59:23 -04:00
Aaron Blankstein
50eee058ff the beginnings of trying to change the way subdomains interact with storage's new interface 2017-07-07 16:15:19 -04:00
Aaron Blankstein
32efc99d62 adding test case for issue 483, which *also* required fixing the app session schema to handle empty string methods a little bit more gracefully 2017-07-07 15:26:18 -04:00
Jude Nelson
fe863bcd3c don't create the metadata dir 2017-07-07 13:34:19 -04:00
Jude Nelson
25338e9699 application names based on ICANN domain names end in .1 2017-07-06 18:57:04 -04:00
Jude Nelson
ace32d63d4 sign in, and sign up if we need to 2017-07-06 18:56:56 -04:00
Aaron Blankstein
83a951edf7 shorten integration test names 2017-07-06 16:47:47 -04:00
Aaron Blankstein
c802eee0ba subdomain resolution in cli_lookup 2017-07-06 16:36:01 -04:00
Aaron Blankstein
1c07d88f65 Merge branch 'rc-0.14.3' into subdomain 2017-07-06 11:49:11 -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