Commit Graph

186 Commits

Author SHA1 Message Date
Aaron Blankstein
709865dc56 remove is_valid check 2018-02-23 15:45:40 -05:00
Aaron Blankstein
16fd82a3a1 fix subdomain resolution in flask app 2018-02-23 14:55:46 -05:00
Aaron Blankstein
3535d4b601 Merge pull request #727 from blockstack/develop-jz-api-wrap
Update API development instructions
2018-01-26 16:17:14 -05:00
Jack Zampolin
f414a0fa13 Update instructions for running in docker 2018-01-26 11:59:41 -08:00
Aaron Blankstein
363048f1f9 allow absolute path for templates to be set via environment variable. set default cache timeout to 30 minutes 2018-01-26 14:19:33 -05:00
Aaron Blankstein
b7eb48219e handle periods in profile json objects before inserting into mongo index 2018-01-26 13:53:02 -05:00
Jack Zampolin
4dd19c4b82 Add bash 2018-01-22 16:29:25 -08:00
Jack Zampolin
6929de3211 Working cron 2018-01-22 16:04:53 -08:00
Jack Zampolin
8d8f486296 attempt fix at cron issue 2018-01-22 15:18:01 -08:00
Jack Zampolin
a1dec33552 Add back in the fixtures 2018-01-19 15:24:25 -08:00
Jack Zampolin
ea18c5d7e6 Add client.ini to indexer, also remove inclusion of fixtures in the image 2018-01-19 14:06:55 -08:00
Jack Zampolin
8619ba0ea6 Add init step for the indexer 2018-01-19 13:19:47 -08:00
Aaron Blankstein
57efa6f160 add search indexing scripts, re-order docker compose so that the indexer starts first (I think this affected the mongo-connection on the search-api container), and run the basic-index refresh on startup of the indexer container 2018-01-18 12:56:15 -05:00
Aaron Blankstein
eb593bb622 add fixture data for the search indexer container 2018-01-18 12:33:52 -05:00
Jack Zampolin
68277d28e3 Fix typo 2018-01-17 15:40:07 -08:00
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