| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
This makes all remaining HTML endpoints (which use jinja templates)
synchronous, not async, meaning they render in a threadpool.
This is a sanity change to reduce the chance of hard-to-debug
concurrency issues with i18n and jinja2 templates.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
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/
|
| |
| |
| |
| |
| |
| |
| | |
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/
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
| |
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/
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This older version of the package does not try to lock the fastapi
version
|
| |
|
|
|
|
| |
UI integration needs work
|
|
|
|
|
| |
When re-locking, this resulted in an older FastAPI version. I think this
is an upstream mistake, and I filed an issue.
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
| |
Main motivation is to try to fix a 'BrokenResourceError' exception with
FastAPI/starlette:
https://github.com/tiangolo/fastapi/issues/4041
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
truncate abstracts longer than 550 chars at the 500 char mark
|
| |
|
|
|
|
|
|
|
| |
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/
|
| |
|
| |
|
| |
|