Skip to content

0.20

Compare
Choose a tag to compare
@leplatrem leplatrem released this 23 Aug 16:26
· 12232 commits to master since this release

( Read upgrade notes below carefully before upgrading )

Changelog

  • ✨ Edit difficulty id in Admin site, mainly used to order difficulty levels (fixes #771)
  • Use explicit list of fields in forms, instead of excluding model fields (fixes #736).
    Issue #712 was closed too, since most suspected cause was field listings. Please re-open
    if problem re-appears.
  • Fix timeout on POI Shapefile and CSV exports (fixes #672)
  • Altimetric profiles are now computed in PostGIS (fixes #778, #779)
  • ✨ Positive and negative ascents are now computed using more DEM resolution (fixes #776)
  • Setting PROFILE_MAXSIZE was replaced by ALTIMETRIC_PROFILE_PRECISION which controls sampling precision in meters (default: 25 meters)
  • Altimetric profiles were removed from object map images
  • Altimetric profiles are now plotted using SVG
  • ✨ Altimetric profiles are now inserted into path documents and trek public printouts (ref #626)
  • Fix deletion of associated interventions when editing infrastructures (fixes #783)
  • Latest record is updated (touch) when a DELETE is performed on table (refreshs cache) (fixes #698)
  • Reworked settings mechanism to follow Django best practices
  • Allow server host to capture pages (fixes #733)
  • ✨ Adjust map capture according to geometry aspect ratio (fixes #627)
  • Always show path layer in detail pages (fixes #781)
  • Fix restore of topology on loop paths (fixes #760)
  • Fix topology construction when loop is formed by two convergent paths (fixes #768)
  • ✨ Added small tool page at /tools/extents/ to visualize configured extents (ref #732)
  • Removed setting spatial_extent_wgs84, now computed automatically from spatial_extent,
    with a padding of 10%.
  • Fix paths offset for portrait spatial extent (fixes #732)
  • Rely on Tilecache default max resolution formulae (fixes #732)
  • Due to bug in Leaflet/Proj4Leaflet (kartena/Proj4Leaflet#37)
    landscape spatial extents are not supported. Please adjust spatial_extent to be a portrait or square,
    or application will raise ImproperlyConfiguredError.
  • Reload map objects on zoom out too (fixes #435)
  • Fix computation of min_elevation for point topologies (fixes #808)

Upgrade notes

  • ❗ Spatial extent must be portrait (width < extent), because of this bug
  • Empty your tile cache (rm -rf var/tiles)
  • ❗ Replace all computed values from etc/settings.ini. For example, replace 60 * 60 by 3600. (You can increase this value to several hours by the way)
  • In order to recompute all topologies altimetry information, you can perform
    the following query: UPDATE e_t_evenement SET decallage = decallage;.
    Reading information from rasters is costly. Be prepared to wait for a while.
  • ( facultative ) Have a look at conf/settings.ini.sample to clean-up unnecessary values from your settings file.