aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_web.py
Commit message (Collapse)AuthorAgeFilesLines
* make fmt (black 21.9b0)Bryan Newbold2021-10-271-2/+4
|
* re-style imports (isort) on all core python filesBryan Newbold2021-10-271-1/+1
|
* web: access_redirect_fallback mechanismBryan Newbold2021-07-261-1/+102
| | | | | | | | | | | | This adds a helper code path that "tries harder" to find an access link, by querying the fatcat API directly to look for any file from any release associated with the work. If it finds a match, it does the redirect as usual (but does log the incident). If no match can be found, there is now a more helpful access-specific 404 error page. If the *work* is a 404, the generic error page is shown.
* update citation_pdf_url HTML meta tag to new access URL styleBryan Newbold2021-06-111-0/+1
|
* update access redirect URL endpointsBryan Newbold2021-06-111-19/+20
|
* web: fixes to access redirect endpointsBryan Newbold2021-05-191-0/+11
|
* iterate on PDF redirect linksBryan Newbold2021-05-171-3/+41
|
* iterate on access redirects and landing page implementationBryan Newbold2021-04-271-0/+40
| | | | Small code refactors and minimal test coverage
* api: handle null 'q' parameter on search endpointBryan Newbold2021-02-111-1/+5
|
* api: fix /search test, and mypy error on implementationBryan Newbold2021-01-151-1/+11
|
* improve Accept-Language header parsingBryan Newbold2020-12-021-0/+4
|
* fmtBryan Newbold2020-10-281-1/+0
|
* basic web search testBryan Newbold2020-10-231-1/+28
|
* start test coverage for web interfaceBryan Newbold2020-10-221-0/+59