Commit Graph

171 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
Jack Zampolin
d6bfd83fc9 Begin to disentangle the api 2018-01-16 14:40:49 -08: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
eaa8012551 test that we return the public key with the profile and zone file 2017-10-23 18:01:29 -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
c36cc090c7 more caching in core.blockstack 2017-10-19 16:19:33 -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
718efb371c add cache header to the other endpoints 2017-10-16 14:06:32 -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
9fc76c2be4 merge in search updates from master 2017-08-23 15:22:08 -04:00
Aaron Blankstein
893937b4f7 fixes indexing of subdomains and adds test to the unittests 2017-08-23 12:02:54 -04:00
Aaron Blankstein
ec4c6e1492 fix typo in the full re-indexer + abandon update if no new profiles 2017-08-23 09:23:35 -04:00
Aaron Blankstein
0310926e99 tabs->spaces in search/server.py 2017-08-23 09:10:36 -04:00
Aaron Blankstein
13798e5fa2 str() subdomain names before lookup 2017-08-22 18:46:40 -04:00
Aaron Blankstein
948e3d9987 okay, there were errors from before, but now also support subdomains! 2017-08-22 18:23:05 -04:00
Aaron Blankstein
369a762e39 Merge branch 'master' into develop 2017-08-22 17:44:35 -04:00
Aaron Blankstein
4dfa3170ee Merge branch 'master' into develop-search-improvements 2017-08-22 16:32:06 -04:00
Aaron Blankstein
119728cfb0 add locking so that the full indexer and the updater don't step on one another 2017-08-22 16:31:41 -04:00
Valentin Sundermann
4ec1779b6e Add explicitely Python to uwsgi config
because non-pip versions seems to need that :x
2017-08-22 22:08:43 +02:00
Aaron Blankstein
69a1139c7a status bar should fill all the way now 2017-08-22 15:17:29 -04:00
Aaron Blankstein
7d9ae1304d write last indexed file on updates 2017-08-22 14:29:50 -04:00
Aaron Blankstein
87dd8b0cef adds --update_profiles flag to fetch_data, to update the profiles which have new zonefiles since last indexing 2017-08-22 13:36:01 -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
656bb21806 fix bug in search indexing + remove index.html (its a generated file, and shouldn't be in repo) 2017-08-10 18:41:13 -04:00
Aaron Blankstein
4bbd027afc Merge branch 'fix-integration-tests' into subdomain 2017-08-10 00:33:11 -04:00
Aaron Blankstein
0bd6c32236 update nginx config to add headers on OPTIONS 2017-08-09 11:42:39 -04:00
Aaron Blankstein
4592abce97 update /v2/users/<foo> endpoint to handle subdomains 2017-08-08 17:14:35 -04:00
Aaron Blankstein
3e50ba4bbe Merge branch 'master' into 0.14.3-core-api 2017-07-31 14:48:59 -04:00
Aaron
5ed140a609 api/readme.md changed to just point to docs
removing the inline documentation from here
2017-07-31 14:48:21 -04:00
Aaron Blankstein
b2edc4e4b1 removing dead spec file 2017-07-31 14:43:50 -04:00
Aaron Blankstein
f4d393622f okay, now the api for core.blockstack.org can be generated from aglio correctly 2017-07-31 14:43:17 -04:00
Aaron Blankstein
2e10455fa4 patching fetch data for new get_profile method signature 2017-06-30 11:48:33 -04:00
Aaron Blankstein
3f4e8c111a Merge branch 'master' into api 2017-06-30 11:47:18 -04:00
Jude Nelson
aa1bfadb28 Merge branch 'rc-0.14.2' 2017-06-26 17:32:09 -04:00
Aaron Blankstein
980f185446 profile's without 'account' keys caused dict lookup failures 2017-06-26 16:35:13 -04:00
Aaron Blankstein
5a8d93e125 support cross-domain requests on API 2017-06-22 15:36:47 -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
898053fbf0 fixing bug in the search alphanumeric test. regex led to huge CPU hangs on some bad inputs. responsible for today's pagerduty call 2017-06-20 14:08:52 -04:00
Jude Nelson
92a8026677 Update README.md 2017-05-25 17:15:01 -05:00