aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* html: improvements to reactive search filters and main serp columnBryan Newbold2021-01-153-23/+31
|
* html: date hover text for yearsBryan Newbold2021-01-141-1/+1
|
* about: small copy editing changesBryan Newbold2021-01-141-13/+6
|
* search: parse and embed a copy of ScholarDoc object in resultsBryan Newbold2021-01-141-1/+6
| | | | Maybe should refactor this to simply replace the object? Hrm.
* crude bibtex and citation formatting, as a demoBryan Newbold2021-01-141-0/+49
|
* schema: make fulltext body optional (eg, for search results)Bryan Newbold2021-01-141-1/+1
|
* serp: refactor ext id display into macro; add dblp,doajBryan Newbold2021-01-141-15/+26
|
* serp: tweak display of tag labelsBryan Newbold2021-01-141-2/+6
|
* api: add type annotations for /search responseBryan Newbold2021-01-141-4/+29
|
* fastapi: /favicon.ico handlerBryan Newbold2021-01-141-1/+5
| | | | | | | HTML responses in the browser should use the indicated path (/static/ia-favicon.ico), but some other responses fall through (like API docs, I think? or unhandled exceptions), so giving up and just handling this route. haproxy should cache if it gets lots of hits.
* fastapi: add basic error/exception handler and pageBryan Newbold2021-01-142-1/+61
|
* html: try goatcounter title redaction againBryan Newbold2021-01-141-1/+1
| | | | | If the value is actually null, goatcounter uses the default, so setting an empty string. Waiting to confirm if this actually works.
* settings: working 'make serve-qa', but only from inside cluster IP spaceBryan Newbold2021-01-141-0/+1
|
* html: resolve footer float on large screens using CSS calc()Bryan Newbold2021-01-141-1/+1
|
* html: fix 'rounded' header barBryan Newbold2021-01-141-2/+3
|
* goatcounter: supress 'title', for privacyBryan Newbold2021-01-141-0/+7
|
* help: fix hanging sentence in 'known issues' sectionBryan Newbold2021-01-141-1/+1
|
* pipenv: lock minio S3 library to <7.0.0Bryan Newbold2021-01-142-11/+20
| | | | | | | | | | | In this upstream commit: https://github.com/minio/minio-py/commit/b81883a98e6f8a09e2903609caabbf0956dd0ec9 The API for errors changes, which makes it harder for use to catch specific exceptions (such as "NoSuchKey" as a Not Found / 404 error). Instead of refactoring, just going to pin the library. We should probably remove this library for a non-implementation-specific S3 client at some point; minio seems simpler than, eg, boto3, but there is probably something ever simpler out there.
* 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
|\