summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
Commit message (Collapse)AuthorAgeFilesLines
* lint: f-string used where it didn't need to beBryan Newbold2022-08-121-1/+1
|
* web: refactor i18n template loadingBryan Newbold2022-08-122-72/+93
| | | | | | | | | | | | | | | This is an attempt to fix a bug with random HTML template escapes in production. I believe these are being caused by cross-request contamination of template state due to using globals to hold on to per-language jinja2 templates. I originally thought this might be a bug in the jinja2 i18n extension itself, and there may still be concurrency concerns there, but it seems like the proximal cause is the use of globals. This change probably has a negative performance impact, because the jinja2 environment is re-created on every request (though babel files are not reloaded on every request).
* start moving I18N language options to config fileBryan Newbold2022-08-122-20/+19
|
* rename fatcat_scholar.hacks to fatcat_scholar.web_hacksBryan Newbold2022-08-122-1/+1
|
* Translated using Weblate (Italian)Alfonso Scarpino2022-07-202-7/+7
| | | | | | | Currently translated at 100.0% (193 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/it/
* Translated using Weblate (Korean)DNSE2022-07-202-7/+12
| | | | | | | Currently translated at 100.0% (193 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ko/
* Translated using Weblate (Korean)DNSE2022-07-202-11/+12
| | | | | | | Currently translated at 96.3% (186 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ko/
* Translated using Weblate (Portuguese)Vander2022-07-052-6/+7
| | | | | | | Currently translated at 100.0% (193 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/pt/
* Translated using Weblate (Spanish)eulalio2022-07-052-15/+29
| | | | | | | Currently translated at 99.4% (192 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/es/
* Translated using Weblate (Russian)Nikita Epifanov2022-06-062-5/+5
| | | | | | | Currently translated at 95.8% (185 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ru/
* Translated using Weblate (Croatian)Milo Ivir2022-06-062-4/+4
| | | | | | | Currently translated at 100.0% (193 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/hr/
* Translated using Weblate (German)Ettore Atalan2022-06-062-11/+18
| | | | | | | Currently translated at 97.9% (189 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/de/
* robots: deny SemanticScholarBot search result pagesBryan Newbold2022-06-061-0/+1
|
* Translated using Weblate (Persian)MEgooneh2022-05-232-12/+13
| | | | | | | Currently translated at 96.8% (187 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/fa/
* Translated using Weblate (Croatian)Milo Ivir2022-05-232-4/+4
| | | | | | | Currently translated at 100.0% (193 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/hr/
* Translated using Weblate (Korean)Bryan Newbold2022-04-062-4/+4
| | | | | | | Currently translated at 92.2% (178 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ko/
* Translated using Weblate (Persian)Bryan Newbold2022-04-062-4/+4
| | | | | | | Currently translated at 92.7% (179 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/fa/
* Translated using Weblate (Greek)Bryan Newbold2022-04-062-4/+4
| | | | | | | Currently translated at 48.1% (93 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/el/
* Translated using Weblate (Croatian)Bryan Newbold2022-04-062-4/+4
| | | | | | | Currently translated at 99.4% (192 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/hr/
* Translated using Weblate (Russian)Bryan Newbold2022-04-062-5/+5
| | | | | | | Currently translated at 95.3% (184 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ru/
* Translated using Weblate (Arabic)Bryan Newbold2022-04-062-5/+5
| | | | | | | Currently translated at 95.3% (184 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ar/
* Translated using Weblate (Chinese (Simplified))Bryan Newbold2022-04-062-7/+7
| | | | | | | Currently translated at 100.0% (193 of 193 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/zh_Hans/
* Update translation filesHosted Weblate2022-04-0614-294/+392
| | | | | | | 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/
* polish RSS feed generation, and add basic test coverageBryan Newbold2022-04-062-73/+69
|
* search: update 'Metadata' availablity to 'All Records'Bryan Newbold2022-04-061-1/+1
|
* small tweaks to RSS feedBryan Newbold2022-03-251-1/+3
|
* initial implementation of RSS search feedsBryan Newbold2022-03-252-0/+74
| | | | UI integration needs work
* Translated using Weblate (Russian)S3aBreeze2022-03-222-4/+5
| | | | | | | Currently translated at 95.8% (184 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ru/
* i18n templates are a global, so capitalizeBryan Newbold2022-03-011-8/+8
|
* bugfix: elasticsearch per-request timeout for _health (arg name)Bryan Newbold2022-02-141-1/+1
|
* increase ES default timeout to 50sec, and _health specifically to 90secBryan Newbold2022-02-141-2/+4
| | | | | | This is because we are getting lots of alert chunder on the health check. It might be better to revisit which endpoint is being checked... 'count' is usually fast, but might be slow during bulk indexing.
* tweak abstract truncationJohannah Sprinz2022-02-081-2/+2
| | | | truncate abstracts longer than 550 chars at the 500 char mark
* Translated using Weblate (Portuguese)ssantos2022-02-032-4/+9
| | | | | | | Currently translated at 100.0% (192 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/pt/
* fix before_1927 query filter typoBryan Newbold2022-01-181-1/+1
|
* web: update docs for LangPrefixBryan Newbold2022-01-111-4/+6
|
* robots.txt: block /search for large crawlersBryan Newbold2022-01-111-5/+13
|
* Translated using Weblate (Norwegian Bokmål)Imre Kristoffer Eilertsen2022-01-112-13/+8
| | | | | | | Currently translated at 55.2% (106 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/nb_NO/
* Translated using Weblate (Korean)Bryan Newbold2022-01-112-8/+6
| | | | | | | Currently translated at 92.7% (178 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ko/
* Translated using Weblate (Portuguese)Bryan Newbold2022-01-112-6/+4
| | | | | | | Currently translated at 98.9% (190 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/pt/
* Translated using Weblate (Dutch)Bryan Newbold2022-01-112-8/+6
| | | | | | | Currently translated at 92.7% (178 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/nl/
* Translated using Weblate (Italian)Bryan Newbold2022-01-112-8/+6
| | | | | | | Currently translated at 100.0% (192 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/it/
* Translated using Weblate (Persian)Bryan Newbold2022-01-112-7/+5
| | | | | | | Currently translated at 93.2% (179 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/fa/
* Translated using Weblate (Greek)Bryan Newbold2022-01-112-7/+5
| | | | | | | Currently translated at 48.4% (93 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/el/
* Translated using Weblate (Croatian)Bryan Newbold2022-01-112-7/+5
| | | | | | | Currently translated at 100.0% (192 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/hr/
* Translated using Weblate (Norwegian Bokmål)Bryan Newbold2022-01-112-7/+5
| | | | | | | Currently translated at 52.6% (101 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/nb_NO/
* Translated using Weblate (French)Bryan Newbold2022-01-112-7/+5
| | | | | | | Currently translated at 93.7% (180 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/fr/
* Translated using Weblate (Russian)Bryan Newbold2022-01-112-8/+6
| | | | | | | Currently translated at 95.3% (183 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ru/
* Translated using Weblate (Spanish)Bryan Newbold2022-01-112-8/+6
| | | | | | | Currently translated at 92.7% (178 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/es/
* Translated using Weblate (Arabic)Bryan Newbold2022-01-112-7/+5
| | | | | | | Currently translated at 95.3% (183 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/ar/
* Translated using Weblate (German)Bryan Newbold2022-01-112-7/+5
| | | | | | | Currently translated at 93.7% (180 of 192 strings) Translation: Internet Archive/Archive Scholar (web interface) Translate-URL: https://hosted.weblate.org/projects/internetarchive/fatcat-scholar/de/