summaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* DOAJ: update importer README with example invocationBryan Newbold2020-11-201-0/+7
|
* crossref+datacite: remove confusing early update bailBryan Newbold2020-11-202-4/+0
| | | | | Easy to miss that we skip updates *twice*, and with this early bailout were not updating counts correctly.
* doaj: fix update code path (getattr not __dict__)Bryan Newbold2020-11-203-15/+70
| | | | Also add missing code coverage for update path (disabled by default).
* DOAJ: handle empty identifier 'id' caseBryan Newbold2020-11-201-0/+2
|
* clean DOI: ban all non-ASCII charactersBryan Newbold2020-11-191-1/+4
| | | | | | | I believe this is safe and matches the regex filter in rust (fatcatd). Keep hitting one-off DOIs that were passing through python check, so being more strict from here forward.
* normal: handle langdetect of 'zh-cn' (not len=2)Bryan Newbold2020-11-191-0/+3
|
* tweak DOAJ importer class args and default for do_updatesBryan Newbold2020-11-191-2/+2
|
* show DOAJ (and dblp) identifiers in release viewBryan Newbold2020-11-191-1/+7
|
* if a release has DOAJ article id, count as OABryan Newbold2020-11-191-0/+3
|
* implement remainder of DOAJ article importerBryan Newbold2020-11-193-68/+168
|
* handle more non-ASCII DOI casesBryan Newbold2020-11-191-1/+3
|
* more python normalizers, and move from importer commonBryan Newbold2020-11-192-154/+326
| | | | | | | | | | | | Moved several normalizer helpers out of fatcat_tools.importers.common to fatcat_tools.normal. Copied language name and country name parser helpers from chocula repository (built on existing pycountry helper library). Have not gone through and refactored other importers to point to these helpers yet; that should be a separate PR when this branch is merged. Current changes are backwards compatible via re-imports.
* initial implementation of DOAJ importerBryan Newbold2020-11-194-0/+387
| | | | Several things to finish implementing and polish.
* html ingest: actual xhtml mimetypeBryan Newbold2020-11-161-2/+2
|
* ingest tool: support for setting ingest typeBryan Newbold2020-11-062-6/+10
|
* html ingest: remaining implementationBryan Newbold2020-11-061-22/+19
|
* ingest: fix XML ingest test fileBryan Newbold2020-11-051-1/+1
|
* ingest: progress on HTML ingestBryan Newbold2020-11-053-16/+74
|
* ingest: initial 'web' worker implementationBryan Newbold2020-11-053-67/+301
|
* refactor: white/black -> allow/blockBryan Newbold2020-11-051-4/+4
|
* ingest: whitelist -> allowlistBryan Newbold2020-11-052-6/+6
|
* ingest: tests for basic XML ingestBryan Newbold2020-11-052-0/+18
|
* ingest: basic checks for ingest_typeBryan Newbold2020-11-053-4/+36
|
* normalizer: filter out a specific non-ASCII character in DOIBryan Newbold2020-11-041-1/+3
|
* entity updates: don't ingest JSTOR DOI prefixesBryan Newbold2020-10-231-0/+2
|
* entity updater: new work update feed (ident and changelog metadata only)Bryan Newbold2020-10-162-2/+26
|
* container coverage: add keeper link and KBART holdings listBryan Newbold2020-10-131-0/+11
|
* release view: remove abiguous OA status indicatorBryan Newbold2020-10-131-4/+0
|
* container view: fix non-OA empty boxBryan Newbold2020-10-131-3/+3
|
* coverage: show counts and fraction in tooltip of coverage barsBryan Newbold2020-10-131-5/+5
|
* chocula importer: small tweaks to update behaviorBryan Newbold2020-10-081-8/+6
|
* elastic transform: more preservation keepersBryan Newbold2020-10-081-1/+2
|
* Merge branch 'bnewbold-202009-polish' into 'master'Martin Czygan2020-09-2910-124/+159
|\ | | | | | | | | fatcat.wiki 2020-09 polish See merge request webgroup/fatcat!84
| * coverage: handle the case of hits, but none with yearsBryan Newbold2020-09-171-4/+5
| |
| * web: handle unknown CSL style as a cleaner 400 pageBryan Newbold2020-09-172-1/+7
| |
| * web: update sub-resource integrity and pre-loadingBryan Newbold2020-09-171-0/+13
| | | | | | | | For security/integrity and performance
| * lint cleanupsBryan Newbold2020-09-172-3/+0
| |
| * web: route constraints on fcids and UUIDsBryan Newbold2020-09-172-101/+103
| | | | | | | | | | | | | | | | | | | | | | 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.
| * container view: only show OA indicator when knownBryan Newbold2020-09-171-5/+1
| | | | | | | | | | The "is_oa:False" could be that we just don't know; aren't actually distinguishing between false and blank.
| * web container view: hide preservation when no releasesBryan Newbold2020-09-171-8/+6
| |
| * web toml editing: remove sub-entities from TOMLBryan Newbold2020-09-171-0/+4
| |
| * coverage search: pretty display for ES query errorsBryan Newbold2020-09-172-1/+19
| |
| * coverage: clarify available/accessible terminologyBryan Newbold2020-09-171-1/+1
| |
* | update keepers links to keepers.issn.orgBryan Newbold2020-09-282-8/+8
| |
* | address spammy datacite titlesMartin Czygan2020-09-232-0/+25
|/ | | | | | | | | seemingly from zenodo: * https://fatcat.wiki/release/rzcpjwukobd4pj36ipla22cnoi * https://doi.org/10.5281/zenodo.4041777 About 3400 records with "FULL MOVIE" in title, currently.
* homepage: small grammar tweaks (The/the)Bryan Newbold2020-09-111-3/+3
|
* ingest: default to crawl protocols.io DOIsBryan Newbold2020-09-101-0/+2
|
* datacite: handle case of empty-string versionBryan Newbold2020-09-103-2/+3
| | | | | Includes a tiny tweak to the datacite import sample file to test this code path.
* remove spurious print statementBryan Newbold2020-09-031-1/+0
|
* generic file entity clean-ups as part of file_meta importerBryan Newbold2020-09-023-0/+149
|