aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* 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
|
* update logo PNGsBryan Newbold2021-01-142-0/+0
| | | | | | | | | | | | | | | | | | | 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.
* add support for new identifiers and size_bytes schema fieldsBryan Newbold2021-01-142-4/+16
|
* 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
|
* 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
|/
* worker: check for error responses from ESBryan Newbold2021-01-051-1/+4
|
* 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
|
* 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-021-1/+2
|/
* 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/
| * Translated using Weblate (Russian)Artem2020-11-182-17/+16
| | | | | | | | | | | | | | Currently translated at 86.5% (71 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-182-8/+7
| | | | | | | | | | | | | | 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 (Croatian)Milo Ivir2020-11-062-32/+26
| | | | | | | | | | | | | | 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/