Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lint/fmt: remove all 'import *' | Bryan Newbold | 2021-11-02 | 1 | -14/+63 |
| | |||||
* | web: editor username /u/<username> helper | Bryan Newbold | 2021-10-13 | 1 | -0/+8 |
| | |||||
* | web: container lookup and display features | Bryan Newbold | 2021-10-13 | 1 | -1/+1 |
| | |||||
* | web: implement new schema changes | Bryan Newbold | 2021-10-13 | 1 | -2/+4 |
| | |||||
* | web: always log upstream errors (may be redundant) | Bryan Newbold | 2021-07-23 | 1 | -0/+2 |
| | |||||
* | web: fix flask/werkzeug encoding for mediawiki oauth | Bryan Newbold | 2021-07-13 | 1 | -1/+4 |
| | |||||
* | small python lint fixes (no behavior change) | Bryan Newbold | 2021-05-25 | 1 | -1/+1 |
| | |||||
* | web: try container search along with release for generic queries | Bryan Newbold | 2021-02-26 | 1 | -3/+12 |
| | |||||
* | web: reduce flash() usage; have logins redirect | Bryan Newbold | 2021-02-26 | 1 | -3/+2 |
| | |||||
* | web: handle unknown CSL style as a cleaner 400 page | Bryan Newbold | 2020-09-17 | 1 | -1/+5 |
| | |||||
* | lint cleanups | Bryan Newbold | 2020-09-17 | 1 | -1/+0 |
| | |||||
* | web: route constraints on fcids and UUIDs | Bryan Newbold | 2020-09-17 | 1 | -97/+97 |
| | | | | | | | | | | | Instead of accepting any string for these parameters and throwing a 400 error if not the correct type, implement better route matching at the framework level and return more 404s. This resolves several outstanding sentry exceptions. The "flask-uuid" was imported and seems to have been configured for this purpose previously, but I guess I never finished configuring it. | ||||
* | coverage search: pretty display for ES query errors | Bryan Newbold | 2020-09-17 | 1 | -1/+12 |
| | |||||
* | sitemap fixes from testing | Bryan Newbold | 2020-08-19 | 1 | -5/+5 |
| | |||||
* | update robots.txt and sitemap.xml | Bryan Newbold | 2020-08-19 | 1 | -2/+13 |
| | | | | | | - show minimal robots/sitemap if not in prod environment - default to allow all in robots.txt; link to sitemap index files - basic sitemap.xml without entity-level links | ||||
* | routes: handle case of viewing deleted entity in editgroup context | Bryan Newbold | 2020-07-30 | 1 | -1/+1 |
| | | | | | | Eg, consider deleting an entity. When viewing the editgroup, want to be able to click the deleted entity and see the "deleted entity" page instead of a generic 404. | ||||
* | minor lint fixes | Bryan Newbold | 2020-07-30 | 1 | -2/+1 |
| | |||||
* | control shadow preservation display with a flag | Bryan Newbold | 2020-07-30 | 1 | -4/+16 |
| | |||||
* | release search: fix fulltext_only checkbox (from query object) | Bryan Newbold | 2020-07-30 | 1 | -0/+1 |
| | |||||
* | search: 'recent' mode for coverage search | Bryan Newbold | 2020-07-30 | 1 | -5/+10 |
| | |||||
* | first iteration of flexible search coverage | Bryan Newbold | 2020-07-30 | 1 | -0/+29 |
| | |||||
* | make some ES agg methods work on general queries | Bryan Newbold | 2020-07-30 | 1 | -3/+7 |
| | | | | | | | Eg, instead of container-specific year histogram, have the histogram fetch function take a ReleaseQuery. This is in preparation for more generic coverage visualization pages. | ||||
* | move container _stats enrichment to routes | Bryan Newbold | 2020-07-30 | 1 | -1/+3 |
| | | | | | These were being added to many views which didn't need them (eg, metadata, editing views) | ||||
* | web: move random article enrichment to special case | Bryan Newbold | 2020-07-30 | 1 | -2/+3 |
| | | | | | Instead of always enriching container entities with random articles, only do so for the primary container view. | ||||
* | update container view stats | Bryan Newbold | 2020-07-30 | 1 | -0/+5 |
| | | | | | | - show release type counts - new-style preservation status (single bar) - show release_type preservation break down on coverage page | ||||
* | preservation coverage updates (first round) | Bryan Newbold | 2020-07-30 | 1 | -4/+60 |
| | | | | | | | | | | - new by-year chart with stacked histograms of all 4 preservation statuses - new-style single progress bar showing overall preservation status - new by-volume query and chart Old endpoints are left as-is, with the intention of having them "deprecated" for some time span until entirely removing them. | ||||
* | error handling: use 400 page with error passed instead of flash() | Bryan Newbold | 2020-07-28 | 1 | -13/+7 |
| | |||||
* | remove some spurious print statements | Bryan Newbold | 2020-07-28 | 1 | -3/+0 |
| | |||||
* | convert some API errors from abort() to raise | Bryan Newbold | 2020-07-28 | 1 | -7/+7 |
| | |||||
* | generic API error page | Bryan Newbold | 2020-07-28 | 1 | -0/+30 |
| | | | | | | | | | | This error handler and view page currently works much better than the "flash()" infrastructure built-in to flask, which uses cookies and mostly does not work with our views and layouts. Would like to gradually migrate almost all API errors in the web interface to just raising errors that get rendered on an error page, instead of calling `abort(ae.status)`. | ||||
* | search: catch ES errors and display better | Bryan Newbold | 2020-07-28 | 1 | -3/+9 |
| | |||||
* | refactor release and container search | Bryan Newbold | 2020-07-24 | 1 | -33/+11 |
| | | | | | | | | | | Based on fatcat-scholar refactoring. This doesn't include refactoring of stats, aggregates, or histograms yet, just the direct queries. Don't have any test coverage yet; intend to try elasticmock or figuring out how to ingest mock JSON results directly. | ||||
* | simple lint (flake8) fixes over python codebase | Bryan Newbold | 2020-07-23 | 1 | -1/+1 |
| | | | | | | These should not have any behavior changes, though a number of exception catches are now more general, and there may be long-tail exceptions getting thrown in these statements. | ||||
* | lint (flake8) web interface python files | Bryan Newbold | 2020-07-01 | 1 | -4/+3 |
| | |||||
* | search: assume * when q is not set or empty | Martin Czygan | 2020-04-29 | 1 | -0/+4 |
| | | | | An example would be a blank search from a container details page. | ||||
* | update ingest request schema | Bryan Newbold | 2019-12-13 | 1 | -2/+6 |
| | | | | | This is mostly changing ingest_type from 'file' to 'pdf', and adding 'link_source'/'link_source_id', plus some small cleanups. | ||||
* | initial 'Save Paper Now' web form | Bryan Newbold | 2019-12-12 | 1 | -1/+41 |
| | |||||
* | Add basic pagination to search results | Martin Czygan | 2019-11-08 | 1 | -2/+7 |
| | | | | | | | | | | | | The "deep paging problem" imposes some limit, which currently is a hardcoded default value, `deep_page_limit=2000` in `do_search`. Elasticsearch can be configured, too: > Note that from + size can not be more than the index.max_result_window index setting, which defaults to 10,000. -- https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-from-size | ||||
* | redirect direct entity underscore links | Bryan Newbold | 2019-10-03 | 1 | -0/+28 |
| | |||||
* | handle more external identifiers in python | Bryan Newbold | 2019-09-18 | 1 | -0/+4 |
| | | | | | This makes it possible to, eg, past an arxiv identifier or SHA-1 hash in the general search box and do a quick lookup. | ||||
* | webface: fix duration_seconds parsing | Bryan Newbold | 2019-09-18 | 1 | -1/+1 |
| | |||||
* | python webface impl token generation | Bryan Newbold | 2019-09-18 | 1 | -0/+33 |
| | |||||
* | refactor all python source for client lib name | Bryan Newbold | 2019-09-05 | 1 | -2/+2 |
| | |||||
* | finish container coverage page | Bryan Newbold | 2019-09-04 | 1 | -0/+15 |
| | | | | Also re-worked container view sidebar a bit more. | ||||
* | start container coverage page | Bryan Newbold | 2019-09-04 | 1 | -0/+19 |
| | |||||
* | do release search by container_id, not issnl | Bryan Newbold | 2019-09-03 | 1 | -0/+4 |
| | |||||
* | container issnl: handle invalid ISSN-L better, and fix except blocks | Bryan Newbold | 2019-08-22 | 1 | -2/+5 |
| | |||||
* | default container stats by ident, not issnl | Bryan Newbold | 2019-08-12 | 1 | -1/+19 |
| | |||||
* | complete generic entity rev views | Bryan Newbold | 2019-06-28 | 1 | -28/+14 |
| | | | | | | Was getting 500s in production from crawlers. Also expand test coverage. | ||||
* | include _metadata in editgroup views also | Bryan Newbold | 2019-06-14 | 1 | -0/+4 |
| |