summaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* skip pylint on 'assigning-non-slot' warnings in Flask 2.0Bryan Newbold2021-05-251-2/+2
| | | | | | | | | | | | | | The 'permanent' field is still valid to set to a boolean in Flask 2.0; not sure why pylint is unhappy in CI (causing test failures). Don't see any problem running test suite locally. Flask API docs: https://flask.palletsprojects.com/en/2.0.x/api/?highlight=permanent#flask.session.permanent And code (recent master branch): https://github.com/pallets/flask/blob/4240ace59710d86c478111affd4ad6fb4c8cad9e/src/flask/sessions.py#L20
* changelog worker: fix file/fileset typo, caught by lintBryan Newbold2021-05-251-1/+1
| | | | | This would have been resulting in some releases not getting re-indexed into search.
* small python lint fixes (no behavior change)Bryan Newbold2021-05-255-6/+4
|
* bump Flask to 2.x; other deps upgraded automaticallyBryan Newbold2021-05-212-152/+167
|
* ingest: add per-container ingest type overridesBryan Newbold2021-05-212-1/+23
|
* fix arabesque sqlite3 examples to have 14-digit timestampsBryan Newbold2021-05-211-0/+0
|
* arabesque importer: ensure full 14-digit timestampsBryan Newbold2021-05-211-1/+3
|
* Andrew W. Mellon FoundationBryan Newbold2021-05-182-3/+3
|
* Merge branch 'bnewbold-pipenv-cleanup' into 'master'bnewbold2021-04-232-327/+277
|\ | | | | | | | | pipenv cleanup See merge request webgroup/fatcat!104
| * pipenv: re-lock projectBryan Newbold2021-04-191-301/+253
| |
| * pipenv: constrain most package versions to at least majorBryan Newbold2021-04-191-24/+24
| | | | | | | | | | | | | | | | | | Don't have a complete policy with this change, just locking things down a bit more so small package additions and updates don't end up upgrading some small dependency to a major new backwards-incompatible version. Also, correct bs4 -> beautifulsoup4 (bs4 is the import name, not the package name)
| * pipenv: remove unused pg-view and pykafka librariesBryan Newbold2021-04-191-2/+0
| |
* | web: fix edit form style guide linksBryan Newbold2021-04-202-4/+4
|/
* transforms: fix 'display_ame' typoBryan Newbold2021-04-191-2/+2
|
* web: expand release creators in more situationsBryan Newbold2021-04-192-2/+2
|
* fix public API linksBryan Newbold2021-04-151-2/+2
|
* fix 'colected' typosBryan Newbold2021-04-131-1/+1
| | | | Thanks for the catch martin
* prefer contrib.creator.display_name over contrib.raw_nameBryan Newbold2021-04-124-9/+17
| | | | | | | | These will be getting updates from ORCID and are usually more complete and more correct for display, attribution, and search purposes. Might need to tweak fuzzycat code to handle multiple names at the verification stage.
* make dblp tests more robustBryan Newbold2021-04-121-2/+11
| | | | | | These were causing a lot of spurious errors in local development. Not sure these tweaks will entirely fix the problem.
* web: show file size not known, when it isn'tBryan Newbold2021-04-121-0/+2
| | | | This is mostly to prevent showing an empty metadata box
* web: better logic for showing 'save-paper-now' linkBryan Newbold2021-04-121-0/+2
|
* web: include DOI in share-your-paper URL, when possibleBryan Newbold2021-04-121-2/+8
|
* web: consistent public API URLsBryan Newbold2021-04-126-14/+9
|
* web: improve preservation holdings display for containersBryan Newbold2021-04-121-10/+22
|
* web: improve access button HTMLBryan Newbold2021-04-122-3/+2
|
* web: add goatcounter analyticsBryan Newbold2021-04-123-0/+16
| | | | Same setup as scholar.archive.org
* es worker: ensure kafka messages get clearedBryan Newbold2021-04-121-0/+2
|
* es indexing: more 'wip' fixesBryan Newbold2021-04-121-1/+5
|
* ES indexing: skip 'wip' entities with a warningBryan Newbold2021-04-121-11/+16
|
* fatcat_ingest: fix recent lint failureBryan Newbold2021-04-091-1/+1
|
* search: more ES 7.x changes (track total counts)Bryan Newbold2021-04-092-0/+12
|
* container ES index worker: support for querying statusBryan Newbold2021-04-062-5/+37
|
* transform tool: container transform stats lookup supportBryan Newbold2021-04-062-2/+27
|
* ES schema updates: doc_index_ts as a str, not datetimeBryan Newbold2021-04-061-4/+4
| | | | | The schema is a timestamp, but python needs to serialize as JSON, and doesn't do datetime automatically.
* web infra: log to stderrBryan Newbold2021-04-061-2/+4
|
* search container stats: changes to be called from index code pathBryan Newbold2021-04-062-3/+20
| | | | Eg, allowing injection of more config values
* container search schema: preservation stats, new fieldsBryan Newbold2021-04-062-7/+60
| | | | Includes transform code updates and partial test coverage.
* release ES: add discipline fieldBryan Newbold2021-04-061-0/+2
|
* ES schemas: add doc_index_ts to all mappingsBryan Newbold2021-04-061-0/+4
|
* web search: ES 6+7 compatibliityBryan Newbold2021-04-061-9/+21
| | | | Based on the similar changes made in fatcat-scholar
* indexing: don't use document namesBryan Newbold2021-04-061-14/+4
|
* pipenv: switch to ES 7.x client librariesBryan Newbold2021-04-062-151/+245
|
* datacite: a missing surname should be None, not the empty stringMartin Czygan2021-04-023-4/+1
| | | | refs sentry #77700
* search: exception info is optionalMartin Czygan2021-03-161-1/+1
| | | | | | | | | docs ("where available") and example: * https://elasticsearch-py.readthedocs.io/en/v7.11.0/exceptions.html#elasticsearch.TransportError * https://github.com/elastic/elasticsearch-py/blob/4441da0cbc4ecd02c81b93830b1318647b4018f9/elasticsearch/exceptions.py#L85 sentry-id: 79943
* changelog template: fix api linkMartin Czygan2021-03-101-1/+5
| | | | | When assumed "live" point to the external api link, for any other instance use the configured value.
* web: remove newline from entity view template macroBryan Newbold2021-03-081-2/+2
| | | | | Browsers were ignoring this, but some bots were crawling with a "%0A" in the URL
* web: fixes to file view w/ no access linkBryan Newbold2021-03-081-2/+5
|
* homepage: update scholar URL (not QA version)Bryan Newbold2021-03-051-2/+2
|
* web: fix bug double-displaying container search resultsBryan Newbold2021-03-011-15/+0
|
* web: fix 'dark' archive color (typo); remove space after publisher nameBryan Newbold2021-03-011-2/+2
|