Commit Graph

28 Commits

Author SHA1 Message Date
Jack Zampolin
bd1e041363 Make config.py items configurable via ENV and set sane default values 2018-01-17 15:38:06 -08:00
Aaron Blankstein
4004761b79 fix api/Dockerfile so that it installs blockstack from workdir. add required variable back into config. clear out imports dependent on removed variables. mount tmpdir in api container so that it spawns correctly on linux. 2018-01-17 11:57:28 -05:00
Aaron Blankstein
66f2e68196 error code 502 -> 200 2017-11-16 17:03:42 -05:00
Aaron Blankstein
c2884d048f adding owner address to resolver output 2017-10-30 15:12:45 -04:00
Jude Nelson
3049ac9713 return public key as well as profile and zone file 2017-10-23 18:01:19 -04:00
Aaron Blankstein
0555ad09dd improved error codes on profile resolver 2017-10-19 11:59:19 -04:00
Aaron Blankstein
eea5e40117 oops-- actually need to *check* the expired flag 2017-10-17 13:22:07 -04:00
Aaron Blankstein
393a5ae8e0 add expiry warning flag to the resolver 2017-10-16 15:07:36 -04:00
Aaron Blankstein
2126a72883 add support for address based verifications, bump version requirement of blockstack-proofs 2017-10-13 22:40:16 -04:00
Aaron Blankstein
52915ea089 remove /v2/users/$, /v2/namespaces/, /v2/namespace/ endpoints, as they were no longer supported 2017-10-03 18:11:44 -04:00
Aaron Blankstein
758cd61b68 typo fix of usernames -> username 2017-10-03 17:40:44 -04:00
Aaron Blankstein
5441c96784 support /v1/users/ 2017-10-03 17:36:28 -04:00
Aaron Blankstein
743894e487 remove multiple username lookups on /v2/users 2017-10-03 17:26:35 -04:00
Aaron Blankstein
9376757e80 fixes bug introduced in prior commit 2017-09-25 11:15:15 -04:00
Aaron Blankstein
97ae9320e6 fixes bug where names shorter than 3 letters were marked as malformed by resolver 2017-09-25 10:58:40 -04:00
Aaron Blankstein
c878b62c8a /usr/bin/env python -> python2. our code is not python3 friendly, we should specify that 2017-08-17 13:40:01 -04:00
Aaron Blankstein
4592abce97 update /v2/users/<foo> endpoint to handle subdomains 2017-08-08 17:14:35 -04:00
Aaron Blankstein
980f185446 profile's without 'account' keys caused dict lookup failures 2017-06-26 16:35:13 -04:00
Aaron Blankstein
903ab50086 now resolver works with latest 14.2 2017-06-20 15:06:45 -04:00
Aaron Blankstein
4818e0c68f api resolver code to deal with refactoring of get_profile() 2017-06-20 14:36:55 -04:00
Aaron Blankstein
e24172f8ac fix proof urls on profiles converted from legacy 2017-05-05 11:24:07 -04:00
Aaron Blankstein
fb6d727d79 resolver now resolves fully qualified names, but defaults to 'id' if no namespace is given 2017-05-05 09:43:52 -04:00
Aaron Blankstein
6456116041 support for legacy profiles 2017-05-04 18:30:29 -04:00
Aaron Blankstein
befb670525 resolver now queries profiles using the get_profile code in blockstack_client -- this fixes the problems it was having resolving from the DHT 2017-05-04 17:36:57 -04:00
Aaron Blankstein
42b0fa5f38 limit count size on 'get all names' requests 2017-04-14 12:52:44 -04:00
Aaron Blankstein
58e2af7fe5 fixed /v1/search endpoint -- now it forwards to the searcher blueprint if enabled, or makes request to search.blockstack 2017-04-13 15:29:36 -04:00
Aaron Blankstein
566c2895ce default search endpoint on, update the copyright notices for the test files, add Cache-Control headers if you want to use edge caching 2017-04-12 18:18:16 -04:00
Muneeb Ali
e112c1106e tested using resolver as a blueprint 2017-04-09 14:27:21 -04:00