aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
Commit message (Collapse)AuthorAgeFilesLines
* replace classmethods with staticmethodsBryan Newbold2021-10-272-6/+6
|
* lint: small cleanups, mostly E711 and E713Bryan Newbold2021-10-278-36/+36
|
* lint: remove all 'import *' usesBryan Newbold2021-10-273-4/+22
|
* make fmt (black 21.9b0)Bryan Newbold2021-10-2711-35/+119
|
* re-style imports (isort) on all core python filesBryan Newbold2021-10-2717-93/+92
|
* Translated using Weblate (Croatian)Milo Ivir2021-10-272-1/+7
| | | | | | | Currently translated at 100.0% (190 of 190 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/hr/
* Translated using Weblate (Russian)Artem2021-10-222-5/+6
| | | | | | | Currently translated at 94.2% (179 of 190 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ru/
* Translated using Weblate (Croatian)Milo Ivir2021-10-222-16/+20
| | | | | | | Currently translated at 99.4% (189 of 190 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/hr/
* mark TODOs inlineBryan Newbold2021-10-121-0/+2
|
* Merge remote-tracking branch 'github/master'Bryan Newbold2021-09-2916-1047/+1971
|\
| * Translated using Weblate (Chinese (Simplified))Eric2021-09-292-18/+19
| | | | | | | | | | | | | | Currently translated at 100.0% (190 of 190 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/zh_Hans/
| * Update translation filesHosted Weblate2021-09-2914-1036/+1958
| | | | | | | | | | | | | | Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/
| * Translated using Weblate (Italian)Mauro Piccotti2021-09-292-9/+10
| | | | | | | | | | | | | | Currently translated at 100.0% (178 of 178 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/it/
* | html: homepage example card titles as linksBryan Newbold2021-09-211-4/+4
| | | | | | | | Thanks to Jefferson B for noticing
* | HTML: more strict referrer policyBryan Newbold2021-09-201-1/+2
|/
* web: permalink button goes to landing page, if one existsBryan Newbold2021-08-121-1/+1
| | | | Old URLs should continue to work.
* web: clear goatcounter title for fulltext linksBryan Newbold2021-08-121-4/+4
|
* Merge branch 'master' of github.com:internetarchive/fatcat-scholarBryan Newbold2021-08-096-22/+27
|\
| * Translated using Weblate (Spanish)Adolfo Jayme Barrientos2021-08-092-15/+16
| | | | | | | | | | | | | | Currently translated at 100.0% (178 of 178 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/es/
| * Translated using Weblate (Greek)Georgios Pitsiladis2021-08-092-2/+5
| | | | | | | | | | | | | | Currently translated at 39.8% (71 of 178 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/el/
| * Translated using Weblate (Dutch)privacysimp2021-07-162-5/+6
| | | | | | | | | | | | | | Currently translated at 100.0% (178 of 178 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/nl/
* | ES: add 'preference' query param; default to '_local' in prodBryan Newbold2021-08-031-0/+3
| |
* | config: remove 'scholar-svc500' name from QA configBryan Newbold2021-08-031-1/+0
| |
* | web: access_redirect_fallback mechanismBryan Newbold2021-07-262-66/+195
| | | | | | | | | | | | | | | | | | | | | | | | This adds a helper code path that "tries harder" to find an access link, by querying the fatcat API directly to look for any file from any release associated with the work. If it finds a match, it does the redirect as usual (but does log the incident). If no match can be found, there is now a more helpful access-specific 404 error page. If the *work* is a 404, the generic error page is shown.
* | better parsing of year as integer in refs pipelineBryan Newbold2021-07-262-4/+8
| |
* | make fmtBryan Newbold2021-07-262-5/+11
| |
* | ref_key: hotfix for some corner casesBryan Newbold2021-07-261-8/+25
| |
* | transform: more clean_doi() callsBryan Newbold2021-07-261-3/+3
| |
* | refs transform: consolidate clean_ref_key() hacksBryan Newbold2021-07-251-17/+35
| |
* | refs transform: many fixesBryan Newbold2021-07-251-9/+34
| | | | | | | | | | | | | | | | | | - include year correctly (many cases) - test coverage for Crossref transform - pass-through 'edition' as 'version' - series-title parsed in to title or container as appropriate - missing release stage - fix 0-index vs. 1-index ref index field
* | bibref: add version field; isbn13 -> isbnBryan Newbold2021-07-251-1/+2
| |
* | refs transform: 1-index refs.index, not 0-indexBryan Newbold2021-07-252-4/+12
| | | | | | | | | | | | | | | | This was not matching expectations/schema of downstream refs pipeline (cgraph), and wasn't matching documented schema. Note care required when checking if the index is set, to distinguish between '0' and 'None' values.
* | web: fix paper.fulltext is None errorBryan Newbold2021-07-241-1/+1
|/
* Translated using Weblate (Greek)Eugenia Russell2021-07-072-4/+4
| | | | | | | Currently translated at 39.3% (70 of 178 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/el/
* Translated using Weblate (Croatian)Milo Ivir2021-07-072-5/+6
| | | | | | | Currently translated at 100.0% (178 of 178 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/hr/
* Translated using Weblate (Greek)Eugenia Russell2021-07-072-8/+8
| | | | | | | Currently translated at 38.2% (68 of 178 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/el/
* refs: clean up GROBID DOIs and PMCIDsBryan Newbold2021-07-012-12/+9
|
* HACK: don't parse TEI-XML for a specific paper/fileBryan Newbold2021-06-301-2/+4
| | | | | GROBID v0.5.5 returns TEI-XML for this one PDF which is not valid XML, due to a text encoding issue.
* refs: include (source) release_stage in outputBryan Newbold2021-06-302-0/+2
|
* robots: add commented out reference to sitemap-index-access.xmlBryan Newbold2021-06-301-0/+3
|
* fix jinja2/babel deprecationsBryan Newbold2021-06-113-6/+6
|
* update citation_pdf_url HTML meta tag to new access URL styleBryan Newbold2021-06-112-13/+20
|
* update access redirect URL endpointsBryan Newbold2021-06-112-56/+52
|
* catch/ignore ChunkedEncoding errors in fetchesBryan Newbold2021-06-112-0/+6
|
* bugfix: pass full crossref obj, not just 'record'Bryan Newbold2021-06-021-1/+1
|
* refs: use fatcat prefix for some sourcesBryan Newbold2021-06-021-5/+5
| | | | This makes debugging what is going on much easier
* web: add goatcounter tracking to more download buttonsBryan Newbold2021-06-021-4/+4
|
* integrate crossref references, and iterate on refs output logicBryan Newbold2021-06-021-7/+115
| | | | Needs test coverage!
* lint fixes, and run fmtBryan Newbold2021-06-023-18/+10
|
* add 'crossref' hydration to work pipelineBryan Newbold2021-06-022-0/+46
| | | | | | | | The immediate motivation is to include recent crossref refs in citation graph transforms. May also be valuable for researchers to have authoritative/publisher metadata in the bundle dumps.