Skip to content

Releases: GeotrekCE/Geotrek-admin

2.95.0

24 Jan 10:32
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 2.94.0...2.95.0

2.94.0

12 Dec 17:12
Compare
Choose a tag to compare

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

06 Dec 14:11
Compare
Choose a tag to compare

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

02 Dec 15:19
Compare
Choose a tag to compare

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.

2.92.2

02 Dec 08:45
Compare
Choose a tag to compare

Bug fixes

Full Changelog: 2.92.1...2.92.2

2.92.1

01 Dec 13:28
Compare
Choose a tag to compare

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

29 Nov 15:40
Compare
Choose a tag to compare

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. Use ST_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 and filter_type2 for EspritParcParser when val 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

18 Nov 15:21
Compare
Choose a tag to compare

Bug fixes

  • Fix flatpages can't be saved

2.91.0

17 Nov 15:01
Compare
Choose a tag to compare

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 and preparation_duration
  • Fix flatpages can't be saved

2.90.1

04 Nov 16:31
Compare
Choose a tag to compare

Bug fixes

  • Prevent providers from APIv2 from overriding local providers when using GeotrekParser
  • Add missing sources parsing to GeotrekParser (for Trek, Touristic Content, Touristic Event)