Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'bnewbold-400-bad-revisions' into 'master' | Martin Czygan | 2020-03-26 | 1 | -2/+12 |
|\ | | | | | | | | | catch ApiValueError in some generic API calls See merge request webgroup/fatcat!35 | ||||
| * | catch ApiValueError in some generic API calls | Bryan Newbold | 2020-03-25 | 1 | -2/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation for this change is to handle bogus revision IDs in URLs, which were causing 500 errors not 400 errors. Eg: https://qa.fatcat.wiki/file/rev/5d5d5162-b676-4f0a-968f-e19dadeaf96e%2B2019-11-27%2B13:49:51%2B0%2B6 I have no idea where these URLs are actually coming from, but they should be 4xx not 5xx. Investigating made me realize there is a whole category of ApiValueError exceptions we were not catching and should have been. | ||||
* | | improve citeproc/CSL web interface | Bryan Newbold | 2020-03-25 | 2 | -3/+7 |
|/ | | | | | | | | | | | | | | This tries to show the citeproc (bibtext, MLA, CSL-JSON) options for more releases, and not show the links when they would break. The primary motivation here is to work around two exceptions being thrown in prod every day (according to sentry): KeyError: 'role' ValueError: CLS requries some surname (family name) I'm guessing these are mostly coming from crawlers following the citeproc links on release landing pages. | ||||
* | container lookup: link to issn portal search | Martin Czygan | 2020-03-18 | 1 | -4/+3 |
| | | | | | | | | | Example: https://fatcat.wiki/container/lookup?issnl=2007-1248 - the linked https://portal.issn.org/2007-1248 yields a "page not found", while search yields results: https://portal.issn.org/api/search?search[]=MUST=allissnbis=2007-1248 | ||||
* | update front-page stats | Bryan Newbold | 2020-03-17 | 1 | -3/+3 |
| | |||||
* | Merge branch 'bnewbold-elastic-v03b' | Bryan Newbold | 2020-02-26 | 1 | -2/+2 |
|\ | |||||
| * | new biblio-only general search | Bryan Newbold | 2020-01-29 | 1 | -2/+2 |
| | | | | | | | | The other fields are now "copy_to" the merged biblio field. | ||||
* | | clarify shadow filter code | Bryan Newbold | 2020-02-13 | 1 | -1/+1 |
| | | |||||
* | | filter out shadows-only files in webface | Bryan Newbold | 2020-02-13 | 2 | -2/+7 |
|/ | |||||
* | increase kafka-pixy timeout to 25 seconds | Bryan Newbold | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | pagination: use correct endpoint in navigation | Martin Czygan | 2020-01-18 | 2 | -6/+6 |
| | |||||
* | datacite release links and metadata expansion | Bryan Newbold | 2019-12-20 | 2 | -9/+13 |
| | | | | | | | Small ergonomic changes for datacite releases: - add a link to live/current datacite metadata (like we do for Crossref) - expand "extra" metadata fields under 'datacite' dict in metadata view | ||||
* | spn: incluce link_source/link_source_id in ingest request | Bryan Newbold | 2019-12-20 | 1 | -0/+2 |
| | |||||
* | fix spn kafka topic env var | Bryan Newbold | 2019-12-13 | 1 | -1/+1 |
| | |||||
* | update ingest request schema | Bryan Newbold | 2019-12-13 | 2 | -8/+14 |
| | | | | | 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 | 6 | -2/+224 |
| | |||||
* | fix delete release history view | Bryan Newbold | 2019-12-09 | 1 | -1/+1 |
| | | | | | | This was causing 5xx errors in production and qa. Eg, at: https://qa.fatcat.wiki/release/aaaaaaaaaaaaarceaaaaaaaaai/history | ||||
* | add missing underline in deleted entity web view | Bryan Newbold | 2019-12-09 | 1 | -1/+1 |
| | |||||
* | improve previous commit (JATS abstract hack) | Bryan Newbold | 2019-12-03 | 1 | -4/+6 |
| | |||||
* | hack: remove enclosing JATS XML tags around abstracts | Bryan Newbold | 2019-12-03 | 1 | -1/+7 |
| | | | | | | The more complete fix is to actually render the JATS to HTML and display that. This is just to fix a nit with the most common case of XML tags in abstracts. | ||||
* | make file edit form hash values case insensitive | Bryan Newbold | 2019-12-02 | 1 | -0/+3 |
| | | | | | | | Test in previous commit. This fixes a user-reported 500 error when creating a file with SHA1/SHA256/MD5 hashes in upper-case. | ||||
* | Merge branch 'martin-search-results-pagination' into 'master' | Martin Czygan | 2019-11-15 | 5 | -18/+79 |
|\ | | | | | | | | | Add basic pagination to search results See merge request webgroup/fatcat!4 | ||||
| * | gray out inactive navigation links | Martin Czygan | 2019-11-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | As per [this issue](https://github.com/Semantic-Org/Semantic-UI/issues/1885#issuecomment-77619519), text colors are not supported in semantic ui. To not move text too much, gray out inactive links. | ||||
| * | move pagination into macros | Martin Czygan | 2019-11-14 | 3 | -43/+51 |
| | | | | | | | | | | | | | | | | | | Two new macros: * top_results(found) * bottom_results(found) wip: move pagination into macro | ||||
| * | Add basic pagination to search results | Martin Czygan | 2019-11-08 | 4 | -14/+67 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | web: catch MacaroonInitException | Bryan Newbold | 2019-11-12 | 1 | -0/+4 |
|/ | | | | | Caught one of these in sentry. Probably due to a crawler? Or typing gibberish in the token form. | ||||
* | redirect direct entity underscore links | Bryan Newbold | 2019-10-03 | 1 | -0/+28 |
| | |||||
* | webface: extra <br> in container lookup links | Bryan Newbold | 2019-09-21 | 1 | -1/+1 |
| | |||||
* | remove duplicate style ref in container edit view | Bryan Newbold | 2019-09-20 | 1 | -5/+0 |
| | |||||
* | 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 |
| | |||||
* | add guide editing links to edit forms and signup message | Bryan Newbold | 2019-09-18 | 5 | -5/+26 |
| | |||||
* | python webface impl token generation | Bryan Newbold | 2019-09-18 | 3 | -1/+77 |
| | |||||
* | slightly less annoying 'flash' message header | Bryan Newbold | 2019-09-18 | 1 | -1/+1 |
| | |||||
* | remove '@' from archive.org ident | Bryan Newbold | 2019-09-17 | 1 | -1/+1 |
| | |||||
* | IA auth: use itemname not screenname for username | Bryan Newbold | 2019-09-17 | 1 | -1/+1 |
| | | | | | | | Have run in to several issues with IA screenname being invalid fatcat usernames (eg, containing whitespace). This probably won't catch all such issues, but hopefully most of them. | ||||
* | small tweaks to coverage pages | Bryan Newbold | 2019-09-06 | 2 | -1/+2 |
| | |||||
* | refactor all python source for client lib name | Bryan Newbold | 2019-09-05 | 7 | -14/+14 |
| | |||||
* | small fixes to release view | Bryan Newbold | 2019-09-05 | 1 | -14/+24 |
| | | | | | - full width container metadata table accordion - fix "Published in by blah" cases | ||||
* | container type: journal display as 'Scholarly Journal' | Bryan Newbold | 2019-09-05 | 1 | -1/+1 |
| | |||||
* | remove coverage debug statements | Bryan Newbold | 2019-09-04 | 1 | -10/+0 |
| | |||||
* | finish container coverage page | Bryan Newbold | 2019-09-04 | 5 | -29/+110 |
| | | | | Also re-worked container view sidebar a bit more. | ||||
* | import pygal | Bryan Newbold | 2019-09-04 | 1 | -0/+36 |
| | |||||
* | start container coverage page | Bryan Newbold | 2019-09-04 | 4 | -2/+104 |
| | |||||
* | webface: improve container sidebar style | Bryan Newbold | 2019-09-04 | 1 | -41/+84 |
| | |||||
* | clarify default blank form fields | Bryan Newbold | 2019-09-03 | 1 | -3/+3 |
| | |||||
* | include example releases on container landing page | Bryan Newbold | 2019-09-03 | 5 | -81/+137 |
| | | | | | Included making release search results an entity macro (in webface templates). | ||||
* | do release search by container_id, not issnl | Bryan Newbold | 2019-09-03 | 2 | -2/+5 |
| | |||||
* | update front-page stats (for containers number) | Bryan Newbold | 2019-09-03 | 1 | -3/+3 |
| | |||||
* | additional container webface edit fields | Bryan Newbold | 2019-09-03 | 2 | -9/+36 |
| |