Commit Graph

448 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
a7df6ad9c1 migrate to token files, not profiles 2017-07-05 17:33:37 -04:00
Jude Nelson
2f3ed1089b look for race-condition bug artifacts (e.g. storing data in the wrong storage directory), and cause the test to fail if detected 2017-07-05 17:32:53 -04:00
Jude Nelson
be2a293d0f install a profile for demo.id 2017-07-05 17:32:24 -04:00
Aaron Blankstein
c8a12d4edb rename flag 'aggressive_registration' -> 'unsafe' + added information to the api doc 2017-07-05 10:10:36 -04:00
Aaron Blankstein
f5863ccef2 registrations in 6 confirmations => 4 confs for preorder, 1 for register, 1 for update... now to test it with a local bsk node and see if utxo.blockstack.org shouts at me 2017-07-03 19:18:09 -04:00
Aaron Blankstein
be48e1d227 registrar now skips issuing a TRANSFER if the name registration was done on behalf of the current owner. added test case for this. 2017-07-01 17:45:05 -04:00
Aaron Blankstein
e1006b7cc6 added support for specifying min_confs in RPC/CLI calls to get_balance 2017-07-01 12:38:04 -04:00
Aaron Blankstein
df396f8c16 added test for zero-conf wallet balance request 2017-07-01 11:09:39 -04:00
Aaron Blankstein
a9eefbb5fa make the errors component of the info response only appear if there IS an error + make the integration test check for the proper error returns 2017-06-30 16:25:32 -04:00
Aaron Blankstein
7921a23f41 very concerning typo 2017-06-30 10:15:24 -04:00
Aaron Blankstein
f1d05dcfde Merge branch 'rc-0.14.2-registrar-err-msgs' into rc-0.14.3 2017-06-29 18:59:42 -04:00
Jude Nelson
d5cba4bab1 don't check for babel-cli; install it 2017-06-29 16:27:00 -04:00
Jude Nelson
b2bdb8ad54 Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3 2017-06-29 15:59:59 -04:00
Jude Nelson
779c980ab0 npm-related fixes 2017-06-29 15:58:41 -04:00
Aaron Blankstein
7e22913eed a little bit more supportive of an error response for unauthorized methods with auth tokens 2017-06-29 15:19:16 -04:00
Aaron Blankstein
4a39fadb83 fix for issue 469 part 1 + integration test for it. blockstack regtest was killing itself on a bad tx response from bitcoind. The patch also fixes a value_hash dict keyerror at the end of certain testcase passes 2017-06-29 14:17:36 -04:00
Jude Nelson
e3d7ffef65 make npm happier 2017-06-26 17:15:01 -04:00
Jude Nelson
8eaafdce05 copy then link 2017-06-26 16:35:05 -04:00
Jude Nelson
0c5214417d attempt at fixing copy/link issues for npm 2017-06-26 16:26:22 -04:00
Jude Nelson
1c3f78d492 install and then link npm modules 2017-06-26 16:12:11 -04:00
Jude Nelson
38a6db0eac add test for PUT /v1/wallet/key/:keyID endpoint 2017-06-26 15:17:48 -04:00
Aaron Blankstein
617c027936 merging 2017-06-23 11:32:21 -04:00
Aaron Blankstein
ded4a8314f xmlunittests will now force failure of circleCI 2017-06-23 10:28:13 -04:00
Aaron Blankstein
72185c3914 adding another auth token verification test 2017-06-22 17:43:56 -04:00
Jude Nelson
9d32420102 log when we delete a user's files (for clarity) 2017-06-21 22:44:16 -04:00
Jude Nelson
2298f2cdb5 patch error codes 2017-06-20 23:54:53 -04:00
Jude Nelson
32d4317d74 add test to instantiate an empty .id namespace (for testing the browser behavior) 2017-06-19 23:27:49 -04:00
Jude Nelson
6f34752b93 synchronize with APIs: require session token on write and construct device IDs and app-specific public keys on reads 2017-06-18 22:11:33 -04:00