Releases: GeotrekCE/Geotrek-admin
Geotrek-admin 2.113.0
💥 Breaking changes
This version uses pgRouting. You need to install this extension in your database before upgrading to this version. See :
https://geotrek.readthedocs.io/en/latest/install/upgrade.html#from-geotrek-admin-2-113-0
⚠️ Warnings
-
The database migration to this version might take several minutes due to the generation of pgRouting's network topology.
-
When adding a via-point to a linear object's topology, it is now required to drop the new marker onto a path before the updated route is displayed, as the preview is no longer available when dragging the marker. This is due to the route computation now being performed on the backend. For more information, see #4286
-
After adding new paths, pre-existing topologies can follow routes that are no longer the shortest. When editing topology-based linear objects through the interface, their route will no longer be automatically recomputed to the shortest option, which was unwanted behavior. This means you might now encounter topologies that take a detour despite not using a via-point marker. Be careful when editing such a route, as moving or adding neighboring markers will remove the detour. Note: this does not address the topology ordering issue when adding new paths. For more information, see #4286
What's Changed
💫 Improvements
- 💫 [IMPR] Add data migration: generation of pgRouting network topology by @justinefricou in #4468
- 💫 [IMPR] Fix clickable labels in Admin by @Chatewgne in #4469
⚡ Performances
- Use PGRouting to handle routing directly in Database through API by @justinefricou in #4070
🏗️ Maintenance
- Bump django from 4.2.17 to 4.2.18 by @dependabot in #4452
- Bump prompt-toolkit from 3.0.47 to 3.0.48 by @dependabot in #4458
- Bump attrs from 24.2.0 to 24.3.0 by @dependabot in #4453
- Bump charset-normalizer from 3.4.0 to 3.4.1 by @dependabot in #4455
- Bump zope-proxy from 5.2 to 6.1 by @dependabot in #4457
- Bump sentry-sdk from 2.14.0 to 2.20.0 by @dependabot in #4456
- Bump django-debug-toolbar from 4.3.0 to 4.4.6 by @dependabot in #4459
- Bump prompt-toolkit from 3.0.48 to 3.0.50 by @dependabot in #4465
- Bump attrs from 24.3.0 to 25.1.0 by @dependabot in #4464
- Bump cachetools from 5.5.0 to 5.5.1 by @dependabot in #4463
- Bump tzdata from 2024.2 to 2025.1 by @dependabot in #4462
- Bump djangorestframework-gis from 1.0 to 1.1 by @dependabot in #4454
- Bump click from 8.1.3 to 8.1.8 by @dependabot in #4428
Full Changelog: 2.112.0...2.113.0
Geotrek-admin 2.112.0
What's Changed
💫 Improvements
- 💄 [UI/UX] Restructure trek detail UI (refs #2967) by @justinefricou in #4422
🐛 Bug fixes
- 🐛 [BUG] Prevent objects from being returned several times in APIv2 by filtering on ManyToMany (refs #4448) by @Chatewgne in #4449
- 🐛 [BUG] Fix missing languages for 'published' field on Touristic Content in APIv2 (#4439) by @Chatewgne in #4440
⚡ Performances
- ⚡ [PERF] Delay loading filter form in List Views by @Chatewgne in #4432
📝 Documentation
✅ Tests
- fix some flaky tests by @submarcos in #4416
🏗️ Maintenance
- Bump factory-boy from 3.3.0 to 3.3.1 by @dependabot in #4405
- Bump crispy-bootstrap4 from 2024.1 to 2024.10 by @dependabot in #4407
- Bump tinycss2 from 1.3.0 to 1.4.0 by @dependabot in #4406
- Bump sqlparse from 0.5.1 to 0.5.2 by @dependabot in #4404
- Bump django-js-asset from 2.0.0 to 2.2.0 by @dependabot in #4399
- Bump python-dotenv from 1.0.0 to 1.0.1 by @dependabot in #4411
- Bump flake8 from 7.1.0 to 7.1.1 by @dependabot in #4412
- Bump sqlparse from 0.5.2 to 0.5.3 by @dependabot in #4409
- Bump six from 1.16.0 to 1.17.0 by @dependabot in #4413
- Bump zope-interface from 7.1.1 to 7.2 by @dependabot in #4410
- Bump charset-normalizer from 3.3.2 to 3.4.0 by @dependabot in #4417
- Bump persistent from 6.0 to 6.1 by @dependabot in #4418
- Bump zodbpickle from 4.0 to 4.1.1 by @dependabot in #4420
- Bump redis from 5.2.0 to 5.2.1 by @dependabot in #4419
- Bump certifi from 2024.8.30 to 2024.12.14 by @dependabot in #4431
- Bump shapely from 2.0.4 to 2.0.6 by @dependabot in #4429
- Bump transaction from 3.1.0 to 5.0 by @dependabot in #4427
- Bump cffi from 1.16.0 to 1.17.1 by @dependabot in #4430
- Bump jinja2 from 3.1.4 to 3.1.5 by @dependabot in #4437
- Bump geojson from 3.1.0 to 3.2.0 by @dependabot in #4445
- Bump appy from 1.0.18 to 1.0.19 by @dependabot in #4444
- Bump psutil from 5.9.8 to 6.1.1 by @dependabot in #4443
- Bump ruamel-yaml from 0.18.6 to 0.18.10 by @dependabot in #4442
- Bump papersize from 1.3.0 to 1.6.0 by @dependabot in #4433
- Bump filelock from 3.15.4 to 3.16.1 by @dependabot in #4361
- Bump jinja2 from 3.1.4 to 3.1.5 in /docs by @dependabot in #4438
- Bump importlib-metadata from 6.8.0 to 8.5.0 by @dependabot in #4306
Full Changelog: 2.111.0...2.112.0
Geotrek-admin 2.111.0
What's Changed
✨ New features
- Add CirkwiParser to retrieve Treks and Touristic Contents (refs #3947) by @Chatewgne in #3968
💫 Improvements
- Remove overriding of SchemaRandonneeParser's filetype_name (refs #4022) by @justinefricou in #4375
- Improve docker image with labels and manifests by @submarcos in #4381
🐛 Bug fixes
- Fix missing Dockerfile path on make build scripts (fix #4365) by @lpofredc in #4366
- Fix SchemaRandonneeParser url update (refs #4022) by @justinefricou in #4369
📝 Documentation
- Update release and maintenance doc by @Chatewgne in #4363
- Add note about certbot ssl configuration in nginx by @bruhnild in #4377
👷 CI
- Bump codecov/codecov-action from 4 to 5 by @dependabot in #4370
- Disable bionic tests by @submarcos in #4380
- Bump actions/checkout from 3 to 4 by @dependabot in #3685
- Bump actions/cache from 3 to 4 by @dependabot in #3898
- Publish docker image to Github docker registry as mirror by @LePetitTim in #3509
🏗️ Maintenance
- Bump psycopg2 from 2.9.7 to 2.9.10 by @dependabot in #4360
- Bump idna from 3.7 to 3.10 by @dependabot in #4353
- Bump cross-spawn from 7.0.3 to 7.0.5 in /cypress by @dependabot in #4374
- Bump zope-interface from 6.4.post2 to 7.1.1 by @dependabot in #4373
- bump appy to 1.0.18 by @submarcos in #4376
- Bump gunicorn from 22.0.0 to 23.0.0 by @dependabot in #4379
- Bump django-compressor from 4.4 to 4.5.1 by @dependabot in #4371
- Bump tornado from 6.4.1 to 6.4.2 in /docs by @dependabot in #4378
- Bump django-appconf from 1.0.5 to 1.0.6 by @dependabot in #4362
- Bump pytz from 2023.3.post1 to 2024.2 by @dependabot in #4352
- Bump reportlab from 4.1.0 to 4.2.5 by @dependabot in #4325
- Bump redis from 5.1.1 to 5.2.0 by @dependabot in #4389
- Bump async-timeout from 4.0.3 to 5.0.1 by @dependabot in #4387
- Bump xmltodict from 0.13.0 to 0.14.2 by @dependabot in #4386
- Bump soupsieve from 2.5 to 2.6 by @dependabot in #4385
- Bump urllib3 from 2.2.2 to 2.2.3 by @dependabot in #4398
- Bump billiard from 4.2.0 to 4.2.1 by @dependabot in #4396
- Bump djangorestframework-datatables from 0.7.0 to 0.7.2 by @dependabot in #4395
- Bump zodb from 5.8.1 to 6.0 by @dependabot in #4394
- Bump amqp from 5.2.0 to 5.3.1 by @dependabot in #4402
- Bump kombu from 5.3.7 to 5.4.2 by @dependabot in #4401
- Bump django from 4.2.16 to 4.2.17 by @dependabot in #4400
Full Changelog: 2.110.0...2.111.0
Geotrek-admin 2.110.0
What's Changed
✨ New features
- Add schema_randonnee parser (refs #4022) by @justinefricou in #4349
📝 Documentation
- New doc style with sphinx-immaterial. Harmonize with Geotrek-rando by @submarcos in #4358
✅ Tests
- Fix flaky tests by @submarcos in #4348
🏗️ Maintenance
- Bump django-colorfield from 0.10.1 to 0.11.0 by @dependabot in #4351
- Bump btrees from 6.0 to 6.1 by @dependabot in #4350
- Bump easy-thumbnails from 2.8.5 to 2.9 by @dependabot in #4247
Full Changelog: 2.109.3...2.110.0
Geotrek-admin 2.109.3
What's Changed
💫 Improvements
- Support python 3.10 and update Docker image by @submarcos in #4324
- Improve default configuration and documentation for docker by @Chatewgne in #4330
- Modify text for 'add image gallery' button for flatpages by @justinefricou in #4339
🐛 Bug fixes
- Fix 'loadinfrastructure' condition adding to infra without 'eid-field' option by @noelmartinon in #4329
- Fix errors in Aggregator when retrieving unpublished Route Steps (refs #3569) by @Chatewgne in #4338
- Fix error when creating an intervention without a report (suricate workflow) by @justinefricou in #4347
📝 Documentation
- Doc dev quick start improvement by @camillemonchicourt in #4337
👷 CI
- Fix and update deprecated Github actions by @submarcos in #4327
🏗️ Maintenance
- Bump certifi from 2024.7.4 to 2024.8.30 by @dependabot in #4296
- Bump zipp from 3.17.0 to 3.20.2 by @dependabot in #4303
- Bump django-filter from 24.2 to 24.3 by @dependabot in #4312
- Bump attrs from 23.1.0 to 24.2.0 by @dependabot in #4313
- Use new Django Crispy Form by @submarcos in #4322
- Bump django from 4.2.15 to 4.2.16 by @dependabot in #4318
- Bump fiona from 1.9.6 to 1.10.0 by @dependabot in #4292
- Bump tzdata from 2024.1 to 2024.2 by @dependabot in #4333
- Bump pygal from 3.0.4 to 3.0.5 by @dependabot in #4331
- Bump redis from 5.0.7 to 5.1.1 by @dependabot in #4332
- Bump freezegun from 1.2.2 to 1.5.1 by @dependabot in #4343
- Bump django-modelcluster from 6.0 to 6.3 by @dependabot in #4342
- Bump cachetools from 5.4.0 to 5.5.0 by @dependabot in #4341
- Bump fiona from 1.10.0 to 1.10.1 by @dependabot in #4315
Other Changes
- Add bug fix 'loadinfrastructure' command to to changelog (#4328) by @noelmartinon in #4335
New Contributors
- @noelmartinon made their first contribution in #4335
Full Changelog: 2.109.2...2.109.3
Geotrek-admin 2.109.2
⚠️ Warning
- The default Nginx configuration template has been improved. Take care to update your one. (99bd87d)
What's Changed
💫 Improvements
- Fix apidae trek parser multiple gpx features by @marcantoinedupre in #4202
- Add an image gallery tinyMCE plugin for flatpages by @dtrucs in #4257
🐛 Bug fixes
- filter out deleted services in API response by @bruhnild in #4285
- ApidaeTrekParser now fallbacks on trace filename extension if no extension property by @marcantoinedupre in #4181
- Fix : Apidae Trek parser now ignores when no linestring in GPX by @marcantoinedupre in #4187
- Fix ApidaeTrekParser duration import logic by @marcantoinedupre in #4193
- Apidae tourism parser now handles missing contact properties by @marcantoinedupre in #4203
- Fix apidae trek parser no source website by @marcantoinedupre in #4205
- MenuItems with platform "Mobile" are now hidden on API (#4127) by @marcantoinedupre in #4129
- Fix Aggregator does not retrieve unpublished Tour Steps (#3569) by @Chatewgne in #4300
- Fix missing Annotation Categories in APIv2 for annotations other than Points (refs #4032) by @Chatewgne in #4309
- Change default CORS configuration to 'always' by @Chatewgne in #4307
⚡ Performances
- Optimize Path Aggregation query in detail view by @Chatewgne in #4278
📝 Documentation
- Improve documentation for sensitivity module (refs #3876) by @lpofredc in #3877
- 📝 [Documentation] Add command line examples and templates for importing data by @bruhnild in #4290
👷 CI
- Bump actions/download-artifact and actions/upload-artifact by @dependabot in #4291
🏗️ Maintenance
- Bump coverage from 7.3.1 to 7.6.1 by @dependabot in #4256
- Bump fiona from 1.9.4.post1 to 1.9.6 by @dependabot in #4249
- Bump datetime from 5.2 to 5.5 by @dependabot in #4235
- Bump markdown from 3.4.4 to 3.7 by @dependabot in #4295
- Bump sentry-sdk from 2.8.0 to 2.14.0 by @dependabot in #4302
Other Changes
- 🌐 [TRANS] Fix translations for Annotation Categories (refs #4032) by @Chatewgne in #4279
- Minor fixes for Apidae parser by @marcantoinedupre in #4289
Full Changelog: 2.109.1...2.109.2
Geotrek-admin 2.109.1
What's Changed
💫 Improvements
- Allow use Annotation Categories on annotations other than Points (refs #4032) by @Chatewgne in #4265
- Allow displaying assigned_user field in Report Form via conf if needed (#4085) by @Chatewgne in #4266
🐛 Bug fixes
- Fix APIv2 exception on HD Views without Annotations (#4032) by @Chatewgne in #4275
⚡ Performances
- ⚡ [PERF] Optimize some queries by @Chatewgne in #4277
📝 Documentation
🏗️ Maintenance
- Move from
env_file
todotenv
(deprecated) by @submarcos in #4180
Full Changelog: 2.109.0...2.109.1
Geotrek-admin 2.109.0
What's Changed
✨ New features
- Add Annotation Category model and API for HD Views (refs #4032) by @Chatewgne in #4246
💫 Improvements
- Change infrastructure condition field to ManyToMany field (#3970) by @juggler31 in #4084
🐛 Bug fixes
- Empty linetring in reorder_topology cmd (#4092) by @juggler31 in #4106
- Prevent Pillow Decompressed Data Too Large Error from interrupting Parsers by @Chatewgne in #4090
- Fix ZeroDivisionError raised on generating thumbnails in APIv2 (refs #4231) by @Chatewgne in #4244
- Fix error on APIv2 for Signages with pictograms (refs #3839) by @Chatewgne in #4254
🏗️ Maintenance
- Bump tzdata from 2023.3 to 2024.1 by @dependabot in #4222
- bump to mapentity 8.9.2 by @submarcos in #4225
- Bump django from 4.2.13 to 4.2.14 by @dependabot in #4219
- Bump certifi from 2023.7.22 to 2024.7.4 by @dependabot in #4212
- Bump asgiref from 3.7.2 to 3.8.1 by @dependabot in #4195
- Bump filelock from 3.8.0 to 3.15.4 by @dependabot in #4213
- Bump redis from 5.0.5 to 5.0.7 by @dependabot in #4230
- Bump cachetools from 5.3.1 to 5.4.0 by @dependabot in #4227
- Bump sentry-sdk from 2.5.1 to 2.8.0 by @dependabot in #4234
- Bump sqlparse from 0.5.0 to 0.5.1 by @dependabot in #4226
- Bump charset-normalizer from 3.2.0 to 3.3.2 by @dependabot in #4229
- Bump pillow from 10.3.0 to 10.4.0 by @dependabot in #4238
- Bump flake8 from 7.0.0 to 7.1.0 by @dependabot in #4236
- Bump tinycss2 from 1.2.1 to 1.3.0 by @dependabot in #4237
- Bump Django from 4.2.14 to 4.2.15 by @Chatewgne in #4258
📝 Documentation
- fix some 404 doc links by @juggler31 in #4253
Full Changelog: 2.108.0...2.109.0
Geotrek-admin 2.108.0
What's Changed
✨ New features
- 💫 Add trek network filter in API v2 (refs #4216) by @juggler31 in #4221
👷 CI
- Fix github action using node 20 instead of 16 by @submarcos in #4217
🏗️ Maintenance
- Bump prompt-toolkit from 3.0.39 to 3.0.47 by @dependabot in #4215
- Bump gpxpy from 1.5.0 to 1.6.2 by @dependabot in #4214
Full Changelog: 2.107.1...2.108.0
2.107.1
What's Changed
💫 Improvements
🐛 Bug fixes
- Fix length filter on mobile by @marcantoinedupre in #4189
- Fix: Label annotation becoming empty when double-clicked by @dtrucs in #4191
- Fix Reports attachments and default values (refs #4085) by @Chatewgne in #4204
- Too long linestring can't store elevation chart in default cache by @submarcos in #4211
📝 Documentation
- Upgrade doc / PG upgrade review by @camillemonchicourt in #4182
🏗️ Maintenance
- Bump click-didyoumean from 0.3.0 to 0.3.1 by @dependabot in #4183
- Bump sentry-sdk from 1.30.0 to 2.5.1 by @dependabot in #4184
- Bump redis from 4.5.4 to 5.0.5 by @dependabot in #4186
- Bump requests from 2.32.0 to 2.32.3 by @dependabot in #4173
- Bump zodbpickle from 3.0.1 to 4.0 by @dependabot in #4179
- Bump pip-tools from 7.3.0 to 7.4.1 by @dependabot in #4197
- Bump geojson from 2.5.0 to 3.1.0 by @dependabot in #4196
- Bump zconfig from 4.0 to 4.1 by @dependabot in #4206
- Bump djangorestframework from 3.15.1 to 3.15.2 by @dependabot in #4207
- Bump urllib3 from 2.2.1 to 2.2.2 by @dependabot in #4201
- Bump python-dateutil from 2.8.2 to 2.9.0.post0 by @dependabot in #4199
- Bump typing-extensions from 4.8.0 to 4.12.2 by @dependabot in #4185
- Bump pygal from 3.0.0 to 3.0.4 by @dependabot in #4174
New Contributors
Full Changelog: 2.107.0...2.107.1