Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | hack around mypy complaints | Bryan Newbold | 2022-02-15 | 1 | -3/+3 |
| | |||||
* | container browse: more polish | Bryan Newbold | 2022-02-15 | 1 | -3/+7 |
| | |||||
* | container browse: refactor count data structure to fix sorting | Bryan Newbold | 2022-02-15 | 1 | -4/+4 |
| | |||||
* | web: tweak 'generic' / container mix-in search result behavior | Bryan Newbold | 2022-02-15 | 1 | -1/+10 |
| | |||||
* | web: remove generic entity fields from 'metadata' tab | Bryan Newbold | 2022-02-15 | 1 | -3/+8 |
| | |||||
* | containers: iterate on browse interface, showing year/volume/issue | Bryan Newbold | 2022-02-11 | 1 | -18/+24 |
| | |||||
* | containers: progress on browse interface | Bryan Newbold | 2022-02-11 | 1 | -5/+87 |
| | |||||
* | move container_status ES query code from fatcat_web to fatcat_tools | Bryan Newbold | 2022-02-09 | 1 | -1/+1 |
| | | | | | | The main motivation is to never have fatcat_tools import from fatcat_web, only vica-versa. Some code in fatcat_tools needs container stats, so starting with that code path (plus some generic helpers). | ||||
* | containers: initial work on 'browse' feature | Bryan Newbold | 2022-02-09 | 1 | -1/+10 |
| | |||||
* | web: move search-in-container to dedicated tab | Bryan Newbold | 2022-02-09 | 1 | -0/+46 |
| | |||||
* | web: editgroup and editor underscore redirect helpers | Bryan Newbold | 2022-02-09 | 1 | -0/+10 |
| | |||||
* | small changes to preservation coverage search queries | Bryan Newbold | 2022-02-03 | 1 | -4/+25 |
| | | | | | | | - allow fetching of by-release-type preservation histograms as JSON - query flag to exclude 'stub' entity types - don't include 'stub' entities in container-by-year or container-by-volume charts (and JSON) | ||||
* | initial implementation of editgroup 'diff' for review | Bryan Newbold | 2021-11-17 | 1 | -0/+30 |
| | |||||
* | web: work around remaining type annotation issues | Bryan Newbold | 2021-11-03 | 1 | -11/+11 |
| | |||||
* | web: add type annotations | Bryan Newbold | 2021-11-03 | 1 | -135/+142 |
| | | | | | This commit does not include type fixes, only annotations. A small number of tuples were also converted to lists. | ||||
* | fmt (black): fatcat_web/ | Bryan Newbold | 2021-11-02 | 1 | -384/+619 |
| | |||||
* | lint: simple, safe inline lint fixes | Bryan Newbold | 2021-11-02 | 1 | -2/+2 |
| | | | | '==' vs 'is'; 'not a in b' vs 'a not in b'; etc | ||||
* | 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. |