Commit Graph

171 Commits

Author SHA1 Message Date
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
3dcf458563 warn if we see a legacy authToken 2017-07-06 18:48:39 -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
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
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
1c40261308 patch API endpoint to use new, slightly-modified zone file API 2017-07-04 23:35:25 -04:00
Aaron Blankstein
59939f838a forward aggressiveness on RPCs 2017-07-04 13:38:01 -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
Jude Nelson
532684661b re-encode addresses based on BLOCKSTACK_RPC_MOCK_BLOCKCHAIN_NETWORK environment variable 2017-07-03 09:47:50 -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
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
40b6873d47 add 'clearcache' test directive; log which methods we run on datastore reads 2017-06-29 15:59:16 -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
c60e075e36 Merge remote-tracking branch 'origin/rc-0.14.2' into api 2017-06-26 17:08:34 -04:00
Jude Nelson
8e9ee82f2a Add PUT /v1/wallet/key/:keyID endpoint 2017-06-26 15:17:28 -04:00
Jude Nelson
d8917a3628 multi-thread the server for long-running requests (like index initialization); handle concurrency-violation exceptions for serialized operations with HTTP 202 2017-06-25 17:38:24 -04:00
Larry Salibra
d5d742659d hardcode device id for legacy auth requests to 0 #463 2017-06-23 16:12:51 +08:00
Jude Nelson
acd22ee0be default app_public_keys is an array 2017-06-22 17:41:31 -04:00
Jude Nelson
c488e7a531 allow blockchain_id to be null (for anonymous login) 2017-06-22 17:15:44 -04:00
Jude Nelson
a47550905a convert to string 2017-06-22 16:53:39 -04:00
Jude Nelson
e235f3d0de Add a fall-back path for handling legacy authentication requests (https://github.com/blockstack/blockstack.js/issues/217) 2017-06-21 22:43:01 -04:00
Aaron Blankstein
13dd191006 big merge in from 0.14.2 2017-06-20 14:27:06 -04:00
Jude Nelson
312e993235 when testing, do not install separate signal handlers (interferes with the test framework's ability to shut down) 2017-06-19 23:26:02 -04:00
Jude Nelson
4377f17748 bugfix and sanity check on device IDs and device public key query strings 2017-06-19 01:35:33 -04:00
Jude Nelson
53bfb61ede refactor read interfaces to take a list of device IDs and a list of public keys (in 1-to-1 correspondance) to carry out cross-user datastore reads; remove non-usable code for manipulating profiles (this is now handed by the browser); synchronize with CLI API 2017-06-18 22:09:51 -04:00
Jude Nelson
2e2931f295 sync with new auth schemas 2017-06-15 22:24:10 -04:00
Jude Nelson
c5c0b57575 Merge remote-tracking branch 'origin/rc-0.14.2-portal' into rc-0.14.2 2017-06-15 11:35:37 -04:00
Jude Nelson
711cc5af2d take device IDs from API calls when creating session tokens and datastores 2017-06-15 11:28:48 -04:00
Jude Nelson
3593418fb9 do not accept tx fees from API clients 2017-06-07 19:17:19 -04:00
Jude Nelson
65e879733a fix some bugs found from testing, and close #440 2017-05-30 20:29:32 -04:00
Jude Nelson
b65397028b do not require 'store_admin' or 'store_read' capabilities 2017-05-30 19:20:43 -04:00
Jude Nelson
450833058b add "initialize storage" API endpoint 2017-05-23 16:49:21 -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
423015d174 sync with new data schema and return type conventions 2017-05-17 00:20:12 -04:00
Jude Nelson
08535ec0ee Merge branch 'rc-0.14.2' of https://github.com/blockstack/blockstack-core into rc-0.14.2 2017-05-09 18:33:11 -04:00
Jude Nelson
ec07ae9f97 be more aggressive in trying to talk to the API daemon 2017-05-09 18:31:01 -04:00
Aaron Blankstein
1024838394 better errors from the CLI when it fails to authenticate with the API service 2017-05-09 14:54:02 -04:00
Aaron Blankstein
074de44236 Merge remote-tracking branch 'origin/rc-0.14.2' into api 2017-05-05 14:25:38 -04:00
Jude Nelson
a95f005037 Add a route for / that points users to documentation. 2017-05-04 18:29:27 -04:00
Aaron Blankstein
45e9adfef0 Merge branch 'rc-0.14.2' into api 2017-05-04 15:03:56 -04:00
Jude Nelson
112ea083a0 Merge pull request #390 from spankratov/rc-0.14.2
fixed typo in backend_set_wallet
2017-05-02 11:35:17 -05:00
Jude Nelson
8b36406f1e add GET endpoint for the zone file public key 2017-05-02 11:51:21 -04:00
Jude Nelson
d7c15bb4ac remove stale pid files where appropriate; do not pass the wallet to the registrar, but instead instantiate the registrar with the wallet 2017-05-01 16:40:53 -04:00
Jude Nelson
78597a5f89 clean up imports; make the API-starting code check to see if there is a live API server (beyond checking the PID file) so we can recover from a crashed API server; make the local_api_action and local_api_start methods return meaningful error messages 2017-04-27 19:32:02 -04:00
Jude Nelson
fe08a81217 pass include_extended to getinode(); fix URL-construction bug for passing idata in getinode 2017-04-25 20:21:59 -04:00
Aaron Blankstein
987d8f1d03 adding an unimplemented return instead of 'pass' 2017-04-24 17:02:29 -04:00