aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* generic HTML views for TOML editingBryan Newbold2020-07-304-0/+80
|
* editing: more 'raise' status instead of 'abort()'Bryan Newbold2020-07-301-1/+1
|
* generic helpers for TOML editing routesBryan Newbold2020-07-302-10/+201
|
* basic toml transform helperBryan Newbold2020-07-303-4/+42
|
* pipenv: lock pycountry to 19.10 versionBryan Newbold2020-07-302-7/+7
| | | | datacite importer had errors otherwise
* pipenv: add toml library (and update lock)Bryan Newbold2020-07-302-276/+327
|
* lock loginpass version to prevent conflicting authlib versionBryan Newbold2020-07-301-1/+1
| | | | | May be possible to upgrade both of these libraries together, but that isn't the purpose of current development.
* simple search route increased coverageBryan Newbold2020-07-301-0/+27
|
* comments documenting tuple/dict types in graphics.pyBryan Newbold2020-07-301-0/+11
|
* minor lint fixesBryan Newbold2020-07-302-3/+1
|
* control shadow preservation display with a flagBryan Newbold2020-07-305-19/+80
|
* coverage search: 'recent' endpoint test (minimal)Bryan Newbold2020-07-301-1/+32
|
* release search: fix fulltext_only checkbox (from query object)Bryan Newbold2020-07-302-1/+2
|
* search: 'recent' mode for coverage searchBryan Newbold2020-07-304-7/+134
|
* expand test coverage of new preservation viewsBryan Newbold2020-07-301-15/+122
|
* first iteration of flexible search coverageBryan Newbold2020-07-305-2/+148
|
* make some ES agg methods work on general queriesBryan Newbold2020-07-302-32/+58
| | | | | | | 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.
* refactor coverage tests/mocksBryan Newbold2020-07-305-39/+80
|
* move container _stats enrichment to routesBryan Newbold2020-07-302-9/+4
| | | | | These were being added to many views which didn't need them (eg, metadata, editing views)
* coverage test mock fixesBryan Newbold2020-07-301-14/+51
|
* web: move random article enrichment to special caseBryan Newbold2020-07-302-6/+5
| | | | | Instead of always enriching container entities with random articles, only do so for the primary container view.
* lint coverage changes (so far)Bryan Newbold2020-07-303-16/+4
|
* update container view statsBryan Newbold2020-07-305-85/+158
| | | | | | - 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 Newbold2020-07-304-32/+326
| | | | | | | | | | - 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.
* experimentally update semantic-ui to fomantic-ui 2.8.6Bryan Newbold2020-07-301-4/+4
| | | | | | | | | | fomatic-ui is a "community fork" which has had more active recent feature additions, though i'm not sure whether the quality has been as good as the main semantic-ui project. the proximal motivation to upgrade/switch is to get multi-bar progress bars, to display overall preservation status in a single bar as a fraction.
* include new-style preservation+release_type aggs in container statsBryan Newbold2020-07-302-5/+47
|
* coverage UI changes proposalBryan Newbold2020-07-301-0/+80
|
* graphics: handle empty coverage yearsBryan Newbold2020-07-301-7/+8
|
* add regression test for broken container coverageBryan Newbold2020-07-302-57/+98
| | | | also shuffle around search/coverage test files
* Merge branch 'bnewbold-search-improvements' into 'master'bnewbold2020-07-3111-107/+208
|\ | | | | | | | | search and error page improvements See merge request webgroup/fatcat!72
| * update front-page countsBryan Newbold2020-07-281-3/+3
| |
| * switch SERP stage coloring to brown uppercaseBryan Newbold2020-07-281-13/+11
| | | | | | | | To match fatcat-scholor, where this scheme has been successful.
| * error handling: use 400 page with error passed instead of flash()Bryan Newbold2020-07-283-21/+23
| |
| * remove some spurious print statementsBryan Newbold2020-07-282-4/+1
| |
| * convert some API errors from abort() to raiseBryan Newbold2020-07-282-14/+14
| |
| * generic API error pageBryan Newbold2020-07-282-0/+50
| | | | | | | | | | | | | | | | | | | | 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 betterBryan Newbold2020-07-285-20/+46
| |
| * refactor search macros into new fileBryan Newbold2020-07-284-45/+72
| |
| * include container_id as a query boost termBryan Newbold2020-07-281-0/+1
|/
* Merge branch 'martin-guide-bulk-link-publicdate-desc' into 'master'bnewbold2020-07-271-1/+1
|\ | | | | | | | | guide: link to bulk exports, most recent first See merge request webgroup/fatcat!70
| * guide: link to bulk exports, most recent firstMartin Czygan2020-07-261-1/+1
|/
* Merge branch 'bnewbold-es-refactor' into 'master'bnewbold2020-07-248-373/+506
|\ | | | | | | | | web ES search refactor See merge request webgroup/fatcat!68
| * re-order search params to satisfy pylintBryan Newbold2020-07-241-6/+6
| | | | | | | | | | | | Moved all the request_cache=True param calls to just before ES request exectuation. The former ordering "just worked", but pylint didn't like it, and I suspose it was not as idiomatic as it should have been.
| * small lint fixesBryan Newbold2020-07-242-3/+1
| |
| * finish backend refactoring of search codeBryan Newbold2020-07-242-135/+185
| |
| * update web_search tests to mock ES clientBryan Newbold2020-07-242-45/+47
| | | | | | | | | | | | Instead of using 'responses' mock of 'requests' library. Tried using 'elasticmock' helper but it didn't work.
| * refactor release and container searchBryan Newbold2020-07-246-136/+235
| | | | | | | | | | | | | | | | | | | | 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.
| * web search: fix pylint errorBryan Newbold2020-07-241-2/+2
| |
| * WIP: refactoring search to use elasticsearch-dslBryan Newbold2020-07-242-153/+137
|/
* Merge branch 'bnewbold-more-lint-fixes' into 'master'Martin Czygan2020-07-2414-34/+26
|\ | | | | | | | | more lint fixes See merge request webgroup/fatcat!69