<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/js_tests/gis, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2026-04-19T10:45:56Z</updated>
<entry>
<title>Formatted JavaScript files.</title>
<updated>2026-04-19T10:45:56Z</updated>
<author>
<name>Tom Carrick</name>
<email>tom@carrick.eu</email>
</author>
<published>2026-04-19T08:54:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=fc0a0ebd4fe573299a5f978e77fa3bca8424f661'/>
<id>urn:sha1:fc0a0ebd4fe573299a5f978e77fa3bca8424f661</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36537 -- Ensured unique HTML IDs for geometry widget option scripts in the admin.</title>
<updated>2025-08-05T14:35:04Z</updated>
<author>
<name>Matthias Kestenholz</name>
<email>mk@feinheit.ch</email>
</author>
<published>2025-06-15T14:38:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0a262c8407a2f4e4971118ca435c6931c40b70ae'/>
<id>urn:sha1:0a262c8407a2f4e4971118ca435c6931c40b70ae</id>
<content type='text'>
This work amends the code from f2f6046c0f92ff1faed057da0711ac478eef439c
where multiple geometry widgets rendered `&lt;script&gt;` elements in the
admin with the same HTML `id`, resulting in invalid HTML and fragile
JavaScript selectors. Refs #25706.

This change uses the widget's textarea ID to generate a unique `id` for
each JSON options `&lt;script&gt;`, ensuring valid and robust markup.

Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Fixed #25706 -- Refactored geometry widgets to remove inline JavaScript.</title>
<updated>2025-06-12T20:35:14Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2024-08-18T13:29:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f2f6046c0f92ff1faed057da0711ac478eef439c'/>
<id>urn:sha1:f2f6046c0f92ff1faed057da0711ac478eef439c</id>
<content type='text'>
Refactored GIS-related JavaScript initialization to eliminate inline
scripts from templates. Added support for specifying a base layer using
the new `base_layer_name` attribute on `BaseGeometryWidget`, allowing
custom map tile providers via user-defined JavaScript.

As a result, the `gis/openlayers-osm.html` template was removed.

Thanks Sarah Boyce for reviews.

Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Upgraded OpenLayers to v.7.2.2.</title>
<updated>2022-12-29T07:30:30Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2022-12-29T07:30:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1833eb3f3e3bda5052637f1a51a27fa1b11b6871'/>
<id>urn:sha1:1833eb3f3e3bda5052637f1a51a27fa1b11b6871</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #33637 -- Improved initial zoom level in MapWidget.</title>
<updated>2022-04-14T09:50:31Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2022-04-14T09:50:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=08f30d1b6ac9b7bc05857f88a70277d5ceb27ba1'/>
<id>urn:sha1:08f30d1b6ac9b7bc05857f88a70277d5ceb27ba1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #31493 -- Changed IIFE to ES6 blocks.</title>
<updated>2020-04-29T08:22:41Z</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-04-26T21:12:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=7271c8def4029d53c3249c3eb341c7180f527747'/>
<id>urn:sha1:7271c8def4029d53c3249c3eb341c7180f527747</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #31493 -- Replaced var with const and let keywords in JavaScript.</title>
<updated>2020-04-29T08:22:41Z</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-04-21T00:39:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=5d37cc703b2d3f100ca5c2c73fd456739cd80dd9'/>
<id>urn:sha1:5d37cc703b2d3f100ca5c2c73fd456739cd80dd9</id>
<content type='text'>
The eslint configuration and the admin script compress.py have been
updated for ES6.

The unused fallback of globals.django in jquery.init.js was removed. It
is always included before jsi18n-mocks.test.js and it always sets the
global value.
</content>
</entry>
<entry>
<title>Bumped minimum ESLint version to 6.8.0.</title>
<updated>2020-03-16T05:20:22Z</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-03-16T05:20:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=38e2fdf1b077653f2461d1c52459b85a8a134a91'/>
<id>urn:sha1:38e2fdf1b077653f2461d1c52459b85a8a134a91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #25004 -- Updated OpenLayers-based widget to OpenLayers 3</title>
<updated>2017-01-02T18:45:52Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2015-05-25T15:31:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=2ebfda38e65177dfc7d6e90457ffa4a0fa2796f0'/>
<id>urn:sha1:2ebfda38e65177dfc7d6e90457ffa4a0fa2796f0</id>
<content type='text'>
Thanks Tim Graham for the review.
</content>
</entry>
<entry>
<title>Updated to QUnit 2.0.1.</title>
<updated>2016-12-19T17:43:47Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2016-12-19T17:43:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=620dcdde6e0e423a9343c63c7bc36d9e4301a2d8'/>
<id>urn:sha1:620dcdde6e0e423a9343c63c7bc36d9e4301a2d8</id>
<content type='text'>
</content>
</entry>
</feed>
