<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fatcat-scholar, branch bnewbold-jammy</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.bnewbold.net/fatcat-scholar/atom?h=bnewbold-jammy</id>
<link rel='self' href='https://git.bnewbold.net/fatcat-scholar/atom?h=bnewbold-jammy'/>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat-scholar/'/>
<updated>2022-10-21T21:55:34Z</updated>
<entry>
<title>CI: switch to ubuntu jammy image</title>
<updated>2022-10-21T21:55:34Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@archive.org</email>
</author>
<published>2022-10-21T21:55:34Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat-scholar/commit/?id=a1e3c5a00f151e7d60450d59fea03d4dc3f24267'/>
<id>urn:sha1:a1e3c5a00f151e7d60450d59fea03d4dc3f24267</id>
<content type='text'>
</content>
</entry>
<entry>
<title>settings: switch to svc171 for blobs (by default)</title>
<updated>2022-09-20T00:01:00Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@archive.org</email>
</author>
<published>2022-09-20T00:01:00Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat-scholar/commit/?id=ce4dec0369611b5a10b32986a54136a0444cddcc'/>
<id>urn:sha1:ce4dec0369611b5a10b32986a54136a0444cddcc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Translated using Weblate (Spanish)</title>
<updated>2022-09-15T05:17:51Z</updated>
<author>
<name>Jaime Marquínez Ferrándiz</name>
<email>weblate@jregistros.fastmail.net</email>
</author>
<published>2022-08-10T20:17:26Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat-scholar/commit/?id=8ab28fd7d441ffe20359bd60f66fdb154bf20580'/>
<id>urn:sha1:8ab28fd7d441ffe20359bd60f66fdb154bf20580</id>
<content type='text'>
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/es/
</content>
</entry>
<entry>
<title>web: persist and reuse template loader across requests</title>
<updated>2022-08-12T19:44:08Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@archive.org</email>
</author>
<published>2022-08-12T19:44:08Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat-scholar/commit/?id=75d51d9b79e59c087c84bdf63bc0c73c34a3758e'/>
<id>urn:sha1:75d51d9b79e59c087c84bdf63bc0c73c34a3758e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>web: remove remaining async endpoints with template rendering</title>
<updated>2022-08-12T19:26:03Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@archive.org</email>
</author>
<published>2022-08-12T19:26:01Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat-scholar/commit/?id=8d115c798f2a5fd809443b4f618f5146b0bcab32'/>
<id>urn:sha1:8d115c798f2a5fd809443b4f618f5146b0bcab32</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>lint: f-string used where it didn't need to be</title>
<updated>2022-08-12T19:23:33Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@archive.org</email>
</author>
<published>2022-08-12T19:23:33Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat-scholar/commit/?id=201681c6667a422936a7902ce8126f2e2aa336e8'/>
<id>urn:sha1:201681c6667a422936a7902ce8126f2e2aa336e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>web: refactor i18n template loading</title>
<updated>2022-08-12T19:22:20Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@archive.org</email>
</author>
<published>2022-08-12T19:20:25Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat-scholar/commit/?id=9cb5c59114b174a7eb8ec1065ff3321c0b1b86a4'/>
<id>urn:sha1:9cb5c59114b174a7eb8ec1065ff3321c0b1b86a4</id>
<content type='text'>
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).
</content>
</entry>
<entry>
<title>start moving I18N language options to config file</title>
<updated>2022-08-12T19:19:33Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@archive.org</email>
</author>
<published>2022-08-12T19:19:33Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat-scholar/commit/?id=cc8a89d9d4a529af3eb87d50ed2ff36051e674f3'/>
<id>urn:sha1:cc8a89d9d4a529af3eb87d50ed2ff36051e674f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>flake8: allow 'Any' type annotations (ignore ANN401)</title>
<updated>2022-08-12T19:18:18Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@archive.org</email>
</author>
<published>2022-08-12T19:18:18Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat-scholar/commit/?id=c9e78dd607bcfdd0bac5741b7e2d5fcf458d7341'/>
<id>urn:sha1:c9e78dd607bcfdd0bac5741b7e2d5fcf458d7341</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename fatcat_scholar.hacks to fatcat_scholar.web_hacks</title>
<updated>2022-08-12T18:56:57Z</updated>
<author>
<name>Bryan Newbold</name>
<email>bnewbold@archive.org</email>
</author>
<published>2022-08-12T18:56:57Z</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/fatcat-scholar/commit/?id=c129824ddee29d130eedfaa47468365cf6825740'/>
<id>urn:sha1:c129824ddee29d130eedfaa47468365cf6825740</id>
<content type='text'>
</content>
</entry>
</feed>
