| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-02-06 | Fixed #36246 -- Caught GDALException in BaseGeometryWidget.deserialize. | JaeHyuck Sa | |
| Signed-off-by: JaeHyuck Sa <wogur981208@gmail.com> | |||
| 2025-10-20 | Removed duplicate display_raw key in expected data in GeometryWidgetTests. | Emmanuel Ferdman | |
| Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com> | |||
| 2025-08-05 | Fixed #36537 -- Ensured unique HTML IDs for geometry widget option scripts ↵ | Matthias Kestenholz | |
| in the admin. This work amends the code from f2f6046c0f92ff1faed057da0711ac478eef439c where multiple geometry widgets rendered `<script>` 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 `<script>`, ensuring valid and robust markup. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2025-06-12 | Fixed #25706 -- Refactored geometry widgets to remove inline JavaScript. | Claude Paroz | |
| 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 <124304+nessita@users.noreply.github.com> | |||
| 2023-09-18 | Refs #33924 -- Removed BaseGeometryWidget.map_height/map_width attributes ↵ | Mariusz Felisiak | |
| per deprecation timeline. | |||
| 2022-08-12 | Fixed #33924 -- Deprecated BaseGeometryWidget.map_height/map_width attributes. | Claude Paroz | |
| 2022-08-01 | Refs #25706 -- Removed inline CSS in the openlayers widget template. | Claude Paroz | |
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-09-14 | Fixed #32873 -- Deprecated settings.USE_L10N. | Claude Paroz | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-03-23 | Refs #32353, Refs #32352 -- Fixed GIS tests with PROJ 7.X. | Mariusz Felisiak | |
| Different PROJ versions use different transformations, all are correct as having a 1 meter accuracy. These are differences in PROJ versions that cannot and should not be handled in Django itself. Thanks Jani Tiainen and David Smith for reports. See: https://github.com/OSGeo/gdal/issues/3377 | |||
| 2020-11-28 | Fixed #21021 -- Changed BaseGeometryWidget's default geometry type to ↵ | Giannis Adamopoulos | |
| 'Geometry'. | |||
| 2020-11-28 | Added assertion for geom_type in BaseGeometryWidget.get_context(). | Giannis Adamopoulos | |
| 2020-05-12 | Fixed #30678 -- Added support for GDAL 3. | Claude Paroz | |
| 2020-05-11 | Refs #30116 -- Simplified regex match group access with Match.__getitem__(). | Jon Dufresne | |
| The method has been available since Python 3.6. The shorter syntax is also marginally faster. | |||
| 2020-04-28 | Changed django.forms.ValidationError imports to ↵ | François Freitag | |
| django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2019-10-02 | Fixed some typos in comments and docs. | Min ho Kim | |
| Thanks to Mads Jenson for review. | |||
| 2018-11-23 | Fixed #29978 -- Catched GDALException in GeometryField.to_python | Claude Paroz | |
| 2018-05-07 | Replaced django.test.utils.patch_logger() with assertLogs(). | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2018-04-02 | Fixed #29116 -- Fixed OpenLayersWidget deserialization ignoring the widget ↵ | Claude Paroz | |
| map's SRID. Regression in 6ecccad711b52f9273b1acb07a57d3f806e93928. | |||
| 2017-05-24 | Refs #27804 -- Used subTest() in several tests. | Bruno Alla | |
| 2017-05-14 | Fixed #28195 -- Added OSMWidget.default_zoom attribute. | Danilo Bargen | |
| 2017-05-14 | Simplified test for OSMWidget.default_lon/lat. | Tim Graham | |
| 2017-05-04 | Made runtests.py run gis_tests only when using a GIS database backend. | Tim Graham | |
| This facilitates other changes like refs #28160. | |||
| 2017-04-30 | Fixed #28105 -- Fixed crash in BaseGeometryWidget.get_context() when ↵ | Dylan Verheul | |
| overriding existing attrs. | |||
| 2017-04-20 | Fixed #28039 -- Fixed crash in BaseGeometryWidget.subwidgets(). | Tim Graham | |
| 2017-03-21 | Fixed #27965 -- Fixed precision comparison in a geoforms test (refs #27939). | Sergey Fedoseev | |
| 2017-03-17 | Fixed #27939 -- Updated OpenLayersWidget.map_srid for OpenLayers 3. | Tim Graham | |
| Regression in 2ebfda38e65177dfc7d6e90457ffa4a0fa2796f0 (refs #25004). | |||
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-03 | Refs #25004 -- Fixed test failure introduced by OpenLayers 3 update. | Claude Paroz | |
| 2017-01-02 | Fixed #25004 -- Updated OpenLayers-based widget to OpenLayers 3 | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-11-23 | Fixed #26920 -- Made GEOSGeometry equality check consider the srid | Jackie Leng | |
| 2016-11-14 | Fixed #27463 -- Fixed E741 flake8 warnings. | Ramin Farajpour Cami | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-08-08 | Fixed #27024 -- Prevented logging error with empty string as geometry widget ↵ | Claude Paroz | |
| value Thanks Gavin Wahl for the report, and Tim Graham for the review. | |||
| 2016-06-18 | Fixed #26753 -- Made GDAL a required dependency for contrib.gis | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-01-29 | Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵ | Hasan | |
| appropriate. | |||
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2016-01-28 | Fixed #20415 -- Ensured srid isn't localized in OpenLayers JavaScript. | Tim Graham | |
| 2015-04-24 | Removed many HAS_GEOS conditional imports | Claude Paroz | |
| 2015-04-18 | Stopped conditional discovery of gis_tests apps | Claude Paroz | |
| Refs #23879. | |||
| 2015-02-11 | Moved contrib.gis tests out of contrib. | Tim Graham | |
