summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add mocks to work pipeline testBryan Newbold2021-01-141-1/+63
|
* settings: more test configs to prevent actual network attemptsBryan Newbold2021-01-141-0/+3
|
* pipenv: add responses mock dep (for HTTP requests)Bryan Newbold2021-01-142-8/+56
|
* update logo PNGsBryan Newbold2021-01-143-0/+2
| | | | | | | | | | | | | | | | | | | These are legit (paid) exports from placeit.net, to replace the previous demo ones which had watermarks half-removed. The formal PNG download images did not have the same "glow" effect on the red "scholar" text, so I extracted from the browser base64 PNG as before. Used gimp to "crop to selection", then cropped out the lowest "start" background and saved. For small, resized to 200px, retaining ratio. Also ran both files through pngquant to reduce size; I can't visually notice any artifacts or anything from this. It is noticable that placeit.net changed the blue font and has less "depth" to the 3D effect, which also makes the logo appear lighter overall. Very noticble when flipping back and forth, don't think it is a big deal otherwise.
* pytest: suppress warnings for some urllib3 thingsBryan Newbold2021-01-141-0/+2
|
* add support for new identifiers and size_bytes schema fieldsBryan Newbold2021-01-142-4/+16
|
* schema: add more alias helpersBryan Newbold2021-01-141-2/+5
|
* schema: remove unused mag,s2 identifiers; add doaj,dblp,oaiBryan Newbold2021-01-141-4/+10
|
* pipenv: bump elasticsearch to 7.8+ (for async) and fatcat client to 0.3.3+Bryan Newbold2021-01-142-41/+194
|
* serp: expand abstracts using <details>Bryan Newbold2021-01-142-1/+15
| | | | This isn't very polished, but a start, and uses no javascript.
* search: show fewer, shorter highlights. sort by score.Bryan Newbold2021-01-142-2/+3
|
* CI: switch to focal base imageBryan Newbold2021-01-131-2/+2
|
* Merge remote-tracking branch 'github/master'Bryan Newbold2021-01-133-22/+17
|\
| * Update translation filesHosted Weblate2021-01-132-2/+2
| | | | | | | | | | | | | | 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 (Spanish)badlop2021-01-132-22/+17
| | | | | | | | | | | | | | Currently translated at 98.7% (81 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/es/
* | i18n: start Ukranian (uk) translation, on user requestBryan Newbold2021-01-131-0/+381
| |
* | i18n: start Greek (el) translation, on user requestBryan Newbold2021-01-131-0/+378
|/
* gitlab: explicitly run lints, after testsBryan Newbold2021-01-051-0/+1
|
* Makefile: don't run lints during default test runBryan Newbold2021-01-051-2/+2
|
* add regression test for uvloop+httptools uvicorn problemBryan Newbold2021-01-051-0/+11
|
* Makefile: rename 'dev' and 'run' to 'serve' and 'serve-gunicorn' (etc)Bryan Newbold2021-01-051-6/+6
|
* pipenv: add uvloop and httptools explicitlyBryan Newbold2021-01-052-151/+194
| | | | | | | | These are not dependend on directly by uvicorn, so we need to add them as dependencies. Don't want to include all of 'standard' features of uvicorn because it includes a bunch of stuff we don't use. Also, re-sorted pipenv.
* worker: check for error responses from ESBryan Newbold2021-01-051-1/+4
|
* update CHANGELOG (unreleased)Bryan Newbold2021-01-051-1/+4
|
* switch project to python3.8 (and rebuild Pipefile.lock)Bryan Newbold2021-01-053-199/+211
| | | | | | mypy wasn't working correctly unless we explicitly depend on typing_extensions. This is too bad as python 3.8 presumably has most of hte "newer" extension types anyways.
* notes: recent re-indexing (simple)Bryan Newbold2021-01-051-1/+19
|
* Translated using Weblate (Norwegian Bokmål)Allan Nordhøy2021-01-022-4/+4
| | | | | | | Currently translated at 84.1% (69 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/nb_NO/
* Translated using Weblate (Norwegian Bokmål)Thomas jensen2021-01-022-5/+5
| | | | | | | Currently translated at 84.1% (69 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/nb_NO/
* Update translation filesHosted Weblate2021-01-021-1/+1
| | | | | | | 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/
* work around mypy complaint about exception union typeBryan Newbold2020-12-221-1/+2
|
* gitlab CI: explicitly use xenial docker tag; venv in projectBryan Newbold2020-12-221-1/+2
|
* Merge branch 'master' of github.com:internetarchive/fatcat-scholarBryan Newbold2020-12-119-19/+22
|\
| * Translated using Weblate (Norwegian Bokmål)Allan Nordhøy2020-12-112-8/+8
| | | | | | | | | | | | | | Currently translated at 82.9% (68 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/nb_NO/
| * Update translation filesHosted Weblate2020-12-117-11/+14
| | | | | | | | | | | | | | 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/
* | improve Accept-Language header parsingBryan Newbold2020-12-022-1/+6
|/
* Translated using Weblate (Russian)Artem2020-11-302-2/+4
| | | | | | | Currently translated at 93.9% (77 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ru/
* Translated using Weblate (Russian)Artem2020-11-302-1/+3
| | | | | | | Currently translated at 91.4% (75 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ru/
* Translated using Weblate (Croatian)Milo Ivir2020-11-302-2/+2
| | | | | | | Currently translated at 100.0% (82 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/hr/
* Translated using Weblate (Chinese (Simplified))Eric2020-11-302-3/+3
| | | | | | | Currently translated at 100.0% (82 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/zh_Hans/
* Translated using Weblate (Chinese (Simplified))Forbidden2020-11-302-3/+4
| | | | | | | Currently translated at 100.0% (82 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/zh_Hans/
* Translated using Weblate (Croatian)Milo Ivir2020-11-302-3/+3
| | | | | | | Currently translated at 100.0% (82 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/hr/
* Translated using Weblate (German)Martin Czygan2020-11-302-5/+5
| | | | | | | Currently translated at 100.0% (82 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/de/
* web: fix pagination numbering lower-boundBryan Newbold2020-11-181-1/+1
| | | | | | | | | Offset/limit are zero-indexed in code, with lower bound inclusive and upper bound exclusive. But we should display as one-indexed, with lower and upper bounds exclusive. Eg, first three hits are "1 to 3" (not "0 to 3") and next three are "4 to 6" (not "3 to 6"). Thanks to @milotype for catching this.
* i18n: add web interface support for 'hr' (Croatian)Bryan Newbold2020-11-182-1/+2
| | | | Thanks to @milotype for starting this new translation on weblate!
* basic HTML transform/index supportBryan Newbold2020-11-182-2/+47
|
* add basic html fulltext support to fetch pipelineBryan Newbold2020-11-183-2/+58
|
* Merge remote-tracking branch 'github/master'Bryan Newbold2020-11-1810-134/+105
|\
| * Translated using Weblate (French)ysard2020-11-182-28/+22
| | | | | | | | | | | | | | Currently translated at 100.0% (82 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/fr/
| * Translated using Weblate (Russian)Artem2020-11-182-3/+4
| | | | | | | | | | | | | | Currently translated at 90.2% (74 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ru/
| * Translated using Weblate (Chinese (Simplified))Eric2020-11-182-27/+18
| | | | | | | | | | | | | | Currently translated at 98.7% (81 of 82 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/zh_Hans/