Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | allow simple GET CORS requests | Bryan Newbold | 2021-02-11 | 1 | -0/+9 |
| | |||||
* | api: handle null 'q' parameter on search endpoint | Bryan Newbold | 2021-02-11 | 1 | -0/+2 |
| | |||||
* | i18n: use babel.numbers.format_number() in web interface | Bryan Newbold | 2021-01-25 | 1 | -0/+2 |
| | |||||
* | revert jinja2 i18n trimmed flag (not correct place) | Bryan Newbold | 2021-01-22 | 1 | -2/+0 |
| | | | | | This doesn't seem to be the right place to add this field, getting a type checking warning. | ||||
* | jinja2: attempt to enable trans trimming by default | Bryan Newbold | 2021-01-22 | 1 | -0/+2 |
| | | | | Not sure this is actually working | ||||
* | add citation query feature (disabled by default) | Bryan Newbold | 2021-01-19 | 1 | -3/+3 |
| | | | | | | This is operationally complex (queries hit 3x backend services!), so not enabled by default. Will need more testing; possibly circuit-breaking. Though haproxy should provide some of that automatically at this point. | ||||
* | lint: fix small bugs and type annotations | Bryan Newbold | 2021-01-18 | 1 | -3/+3 |
| | |||||
* | make fmt | Bryan Newbold | 2021-01-15 | 1 | -8/+13 |
| | |||||
* | api: fix /search test, and mypy error on implementation | Bryan Newbold | 2021-01-15 | 1 | -11/+11 |
| | |||||
* | api: add type annotations for /search response | Bryan Newbold | 2021-01-14 | 1 | -4/+29 |
| | |||||
* | fastapi: /favicon.ico handler | Bryan Newbold | 2021-01-14 | 1 | -1/+5 |
| | | | | | | | HTML responses in the browser should use the indicated path (/static/ia-favicon.ico), but some other responses fall through (like API docs, I think? or unhandled exceptions), so giving up and just handling this route. haproxy should cache if it gets lots of hits. | ||||
* | fastapi: add basic error/exception handler and page | Bryan Newbold | 2021-01-14 | 1 | -1/+30 |
| | |||||
* | i18n: add web interface support for 'hr' (Croatian) | Bryan Newbold | 2020-11-18 | 1 | -1/+1 |
| | | | | Thanks to @milotype for starting this new translation on weblate! | ||||
* | web: fix ngettext() i18n wrapper | Bryan Newbold | 2020-11-05 | 1 | -2/+2 |
| | |||||
* | web: fix lang detection (include 'en') | Bryan Newbold | 2020-10-28 | 1 | -1/+1 |
| | | | | | If a user had any non-english language preference, was defaulting to that, even if 'en' had higher preference. | ||||
* | basic test for issue-db pipeline | Bryan Newbold | 2020-10-23 | 1 | -12/+17 |
| | |||||
* | web: basic Accept-Language HTTP negotiation | Bryan Newbold | 2020-10-22 | 1 | -1/+12 |
| | |||||
* | remove minor unused imports | Bryan Newbold | 2020-10-22 | 1 | -1/+0 |
| | |||||
* | remove spurious debugging print() in robots.txt handler | Bryan Newbold | 2020-10-21 | 1 | -1/+0 |
| | |||||
* | set up sentry exception handling | Bryan Newbold | 2020-10-21 | 1 | -3/+26 |
| | |||||
* | enable Norwegian (nb) in web interface | Bryan Newbold | 2020-10-19 | 1 | -1/+1 |
| | |||||
* | i18n: enable French and Spanish (fr, es) | Bryan Newbold | 2020-10-15 | 1 | -1/+1 |
| | |||||
* | i18n: enable arabic (ar) | Bryan Newbold | 2020-10-14 | 1 | -1/+1 |
| | | | | | There are no existing translated strings, but enabling to develop/demonstrate RTL design. | ||||
* | Upgrade Dynaconf to 3+ | Bruno Rocha | 2020-10-05 | 1 | -1/+1 |
| | | | | | | In dynaconf 3+ it is no more recommended to use `from dynaconf import settings` now the recommendation is to create your own instance of the settings object based on Dynaconf class. | ||||
* | add Russian (ru) as interface option | Bryan Newbold | 2020-10-05 | 1 | -1/+1 |
| | |||||
* | small lint fix | Bryan Newbold | 2020-09-17 | 1 | -1/+1 |
| | |||||
* | web robots.txt | Bryan Newbold | 2020-09-15 | 1 | -0/+13 |
| | | | | Two variants depending on environment. | ||||
* | fmt/lint tweaks | Bryan Newbold | 2020-08-12 | 1 | -1/+0 |
| | |||||
* | don't print config; make fmt | Bryan Newbold | 2020-08-06 | 1 | -3/+7 |
| | |||||
* | report ES API query time as server-timing header | Bryan Newbold | 2020-08-06 | 1 | -1/+9 |
| | |||||
* | fix lint errors (and some small bugs) | Bryan Newbold | 2020-06-29 | 1 | -7/+7 |
| | |||||
* | start some annotaition fixes for pytype | Bryan Newbold | 2020-06-03 | 1 | -2/+2 |
| | |||||
* | flake8-annotation linting | Bryan Newbold | 2020-06-03 | 1 | -7/+7 |
| | | | | Added some new annotations; need to finish more. | ||||
* | flake8 fixes (partial) | Bryan Newbold | 2020-06-03 | 1 | -4/+2 |
| | |||||
* | reformat python code with black | Bryan Newbold | 2020-06-03 | 1 | -19/+45 |
| | |||||
* | start fleshing out /about and /help | Bryan Newbold | 2020-06-03 | 1 | -0/+5 |
| | |||||
* | UI mobile/tablet scaling; search error improvements | Bryan Newbold | 2020-05-21 | 1 | -3/+3 |
| | |||||
* | search query improvements | Bryan Newbold | 2020-05-21 | 1 | -12/+34 |
| | | | | | | - wire up most of the filters and sort order - query sticks around in search box - crude error message (needs work) | ||||
* | less whitespace in jinja2 output | Bryan Newbold | 2020-05-21 | 1 | -0/+4 |
| | |||||
* | skeleton of basic search, using covid19 index | Bryan Newbold | 2020-05-13 | 1 | -5/+18 |
| | |||||
* | very hack-y i18n support in jinja2 templates | Bryan Newbold | 2020-05-12 | 1 | -16/+78 |
| | |||||
* | fastapi infrastructure | Bryan Newbold | 2020-05-12 | 1 | -0/+79 |
- API/web distrinction - language code prefixes - content negotiation for endpoints |