Releases: GeotrekCE/Geotrek-admin
Releases · GeotrekCE/Geotrek-admin
2.95.0
New features
- Add possibility to duplicate objects with geometries (#3105)
Minor improvements
- Add blade type on signage detail view (#3325)
Warning
Bionic (Ubuntu 18.04) instances need to install deadsnakes PPA to handle python3.8 updates:
apt-get install software-properties-common
add-apt-repository --yes ppa:deadsnakes/ppa
apt-get install python3.8
Maintenance
In preparation for HD Views developments (PR #3298):
- Bump Python to 3.8
- Bump MapEntity to 8.4.0
- Bump Pillow to 9.3.0
- Bump Celery to 5.2.1
- Bump django-celery-results to 2.4.0
- Bump django-clearcache to 1.2.1
- Add libvips to dependencies
Improvements
- Apidae trek parser supports geometry import from kml or kmz attachment
- More checks on Apidae trek parser in order not to import trek without a geometry
Bug fixes
- Fix loaddem command update other types of geometry
- Recreate cache folders if missing. (#3384)
- Modify site's geometry before saving to avoid edition and export of shapefiles (#3399)
- Fix API V2 cache key with X-Forwarded-Proto header (#3404)
- Check pictogram exist on categories during generation of pdfs
- Prevent "Internal Error" on API v2 when wrong url parameter is provided on courses and sites filter for pois
- Fix ApidaeParsers does not update every time
- Add fixtures licenses initial install
- Fix default conf nginx for mobile
- Replace image's relative URLs with absolute URLs in API v2 trek descriptions (#3321)
- Disable scroll propagation on layers list to avoid zoom changes on map (#2687)
What's Changed
- ⬆️ Bump python to 3.8, mapentity to 8.3.0 by @Chatewgne in #3357
- ⬆️ Bump celery 5.2.1, django-celery-results 2.4.0, django-clearcache 1.2.1, pillow 9.3.0 by @submarcos in #3360
- allow dependabot to open PR to upgrade dependencies by @submarcos in #3361
- Bump django-extensions from 3.1.5 to 3.2.1 by @dependabot in #3365
- Bump django-embed-video from 1.4.3 to 1.4.8 by @dependabot in #3363
- Bump importlib-metadata from 4.8.3 to 5.1.0 by @dependabot in #3364
- Bump markdown from 3.3.7 to 3.4.1 by @dependabot in #3362
- Bump actions/download-artifact from 2 to 3 by @dependabot in #3368
- Bump actions/upload-artifact from 2 to 3 by @dependabot in #3369
- Bump docker/setup-buildx-action from 1 to 2 by @dependabot in #3371
- Bump docker/login-action from 1 to 2 by @dependabot in #3370
- Bump actions/cache from 2 to 3 by @dependabot in #3373
- Bump coverage from 6.2 to 6.5.0 by @dependabot in #3372
- Bump zconfig from 3.6.0 to 3.6.1 by @dependabot in #3375
- Bump tinycss2 from 1.1.1 to 1.2.1 by @dependabot in #3374
- Bump idna from 3.3 to 3.4 by @dependabot in #3366
- build(deps): bump actions/setup-python from 2 to 4 by @dependabot in #3376
- build(deps): bump django-debug-toolbar from 3.2.4 to 3.8.1 by @dependabot in #3382
- build(deps): bump freezegun from 1.2.1 to 1.2.2 by @dependabot in #3381
- build(deps): bump django-filter from 21.1 to 22.1 by @dependabot in #3380
- 🐛 Recreate cache folders if don't exist by @submarcos in #3385
- build(deps): bump requests from 2.27.1 to 2.28.1 by @dependabot in #3392
- build(deps): bump urllib3 from 1.26.9 to 1.26.13 by @dependabot in #3393
- build(deps): bump xmltodict from 0.12.0 to 0.13.0 by @dependabot in #3391
- Fix missing issue in 2.94.0 changelog by @camillemonchicourt in #3394
- 🐛 Force simple geometrycollection on sites by @LePetitTim in #3399
- 🐛 Use X-Forwarded-Proto header to define API v2 cache key by @submarcos in #3405
- build(deps): bump django-tinymce from 3.4.0 to 3.5.0 by @dependabot in #3379
- 🐛 Check pictogram exist on categories during generation of pdfs by @LePetitTim in #3406
- 🐛 Fix apidae parser should not update every time by @LePetitTim in #3408
- Gitlab#246 Retouche pictogrammes POIs Geotrek-Admin by @leboiss in #3409
- 🐛 Add fixtures licenses initial install by @LePetitTim in #3411
- 🐛 Fix default conf nginx for mobile by @LePetitTim in #3414
- 🐛 Fix parser translation field, add modified when new value is different from old value (for each language) by @LePetitTim in #3418
- 🐛 Change for absolute url on trek's description in api v2 by @LePetitTim in #3413
- 💫 Various improvements for the APIDAE trek parser by @marcantoinedupre in #3410
- Fix:
filter_difficulty
now handles when trek has no difficulty value by @marcantoinedupre in #3415 - build(deps): bump jinja2 from 3.0.3 to 3.1.2 by @dependabot in #3407
- build(deps): bump cssselect2 from 0.4.1 to 0.7.0 by @dependabot in #3402
- build(deps): bump wrapt from 1.14.0 to 1.14.1 by @dependabot in #3401
- 🐛 Fix Loaddem command update other types of geometry by @LePetitTim in #3416
- ✨ Add blade type on signage detail view by @LePetitTim in #3417
- Add duplication on objects by @LePetitTim in #3212
- 🐛 Prevent "Internal Error" on API v2 when wrong url parameters is provided on courses and sites filter for pois by @LePetitTim in #3419
New Contributors
Full Changelog: 2.94.0...2.95.0
2.94.0
New feature
- New
LEIParser
to import touristic content and event from LEI touristic data system - New
XMLParser
to import content from XML - ApidaeTrekParser: import trek's contact info into description
- New
Parser
subclass to import POIs from the APIDAE touristic data system. - New
POIParser
to import POIs from files (with and without dynamic segmentation) - Change default color of imported filelayer (#306)
Bug fixes
- Fix shp zipfile import
- ApidaeTrekParser: round computed duration
- ApidaeTrekParser: fix attached pictures import
2.93.0
New feature
- New
Parser
subclass to import treks from the APIDAE touristic data system.
Improvements
- Use MapEntity widget for geometries even without setting
TREKKING_TOPOLOGY_ENABLED
(to always display file layer leaflet plugin)
2.92.3
Improvements
- API v2:
- revert
?trek
filter by direct intersecting geometry on sensitive area endpoint. - improve
?near_xxx
filters by direct intersecting buffered geometry on sensitive area endpoint.
- revert
- Improve API v2 sensitive areas filters by @submarcos in #3341
- Bump pypdf2 from 1.27.4 to 1.27.5 by @dependabot in #3342
- Bump django from 3.2.15 to 3.2.16 by @dependabot in #3344
- Bump lxml from 4.8.0 to 4.9.1 by @dependabot in #3345
2.92.2
2.92.1
Improvements
- Show direction on lines with setting
DIRECTION_ON_LINES_ENABLED
in signage detail - Add mobile nginx configuration directly on Geotrek-admin
Bug fixes
- Fix display lines on signage with setting
DIRECTION_ON_LINES_ENABLED
- Show required style for lines in blade form
- Fix cache management in API v2
Full Changelog: 2.92.0...2.92.1
2.92.0
Warning
Clear cache after update. You can do this by going to admin panel, "clearcache" section, then delete default / fat and api_v2.
Improvements
- Cache API v2 on detail endpoints and themes list endpoint (#3260)
- Sensitive areas are now computed with buffered geometries with settings
SENSITIVE_AREA_INTERSECTION_MARGIN
. UseST_INTERSECTS
on it is faster (#3260) - Zoning informations are now cached until instance or zoning is updated (#3260)
- Show more decimal for coordinates in signage SQL view
New feature
- Separate application and API v2 cache, ability to purge them with command or via admin (#3260)
Bug fixes
- Check geom is valid before saving
- Fix old migration script of Topology.geom (actually causes Django to falsely detect model changes not yet with a migration in NDS mode)
- Check that the Spatial Reference Identifier (SRID) unit is in meters before launching application (was during migration)
- Fix
filter_type1
andfilter_type2
for EspritParcParser whenval
is a list - Fix "'NoneType' object is not iterable" when responseData is null for EspritParcParser
Documentation
- Fix parameter name
MAIL_MANAGERS
in documentation
2.91.1
Bug fixes
- Fix flatpages can't be saved
2.91.0
Minor improvements
- Add paths in overlays for elements which are not topologies
Bug fixes
- Add missing file field in Imports form layout
- Add missing help texts and validators on
TouristicEvent
intervention_duration
andpreparation_duration
- Fix flatpages can't be saved