Skip to content

Releases: GeotrekCE/Geotrek-admin

0.24.1

26 Jun 16:17
Compare
Choose a tag to compare

BUG fixes

  • Fix SVG files for difficulty pictograms
  • Fix group fixtures for "Rédacteurs" (fixes #1128)
  • Fix tab "None" in list view (fixes #1127)
  • Fix external datasources icons in Admin (fixes #1132)
  • Fix information desk maps in Admin forms (fixes #1130)
  • Fix topology edition when two forced passages on same path (fixes #1131)

Minor changes

  • Ordered log entries by date descending (ref #1123)
  • Renamed "Data sources" by "External data sources" (fixes #1125)
  • Renamed "Foncier" to "Statuts" (fixes #1126)

0.24

23 Jun 15:00
Compare
Choose a tag to compare

Breaking changes

  • POI icons shall now have a solid background, since no background is added
    in trek detail map anymore.

  • Pictograms fields were added to trek difficulty, route, network. You can use
    the images provided in the trekking/fixtures/upload/ folder.

      Just before upgrading, delete the following folders ::
    
      rm -rf lib/src/django-modeltranslation
    

New features

  • Public TREK export - hide block label if value is empty (fixes #873)
  • Add POIs on trek GPX (fixes #774)
  • Close list filter when click outside (fixes #916)
  • Rename recurrent field to subcontracting on intervention (fixes #911)
  • Rename comments field to description on intervention (fixes #927)
  • Show object type in ODT export (fixes #1000)
  • Show paths extremities on map (fixes #355)
  • Ability to reuse topology when adding objects from detail pages (fixes #574, fixes #998)
  • Command to generate all elevation charts (fixes #799)
  • SITRA support in Tourism datasources (fixes #1064)
  • Added status field on feedback reports (fixes #1075)
  • Show restricted areas by type in layer switcher (fixes #961)
  • Publication status is now controlled by language (fixes #1003). Previous
    behaviour can restored by setting `TREK_PUBLISHED_BY_LANG`` to False.
  • Added publication date on trek (ref #1003)
  • Ability to see a trek in the different published languages (ref #1003)
  • A trek can now have several information desks (fixes #1001)
  • Information desks are now shown in trek detail map (fixes #1001)
  • Information desks now have optional photo and position, as well as some
    additional fields (fixes #1001)
  • Disabled marker cluster in trek detail map
  • Remove background and halo effect on POI icons
  • Added 3 new settings to control trek detail map icons size
    (TREK_ICON_SIZE_POI, TREK_ICON_SIZE_PARKING, TREK_ICON_SIZE_INFORMATION_DESK)

Minor features

  • Intervention disorders is not mandatory anymore (fixes #661)
  • Improved details in trek form, use Chosen for many-to-many widgets
  • Documented the configuration of map layers apparence
  • Show layers colors in layer switcher
  • Detail page : replace "Maintenance" by "Works" (fixes #889)
  • Detail page : interventions on paths are now grouped together,
    and a small icon is shown (fixes #735)
  • Detail page : show intervention costs (ref #958, fixes #764)
  • Show project intervention total costs (fixes #958)
  • Allow to override the Trek public document template
    (see advanced configuration in docs)
  • Close calendar after date choice in intervention form (fixes #928)
  • Renamed Attachment submit button (fixes #925)
  • Added a new setting PATH_SNAPPING_DISTANCE to control paths snapping distance
    in database (default: 1m)
  • Allow to disable trails notion (fixes #997)
    (see advanced configuration in docs)
  • Show POI name on hover instead of category in trek detail pages (fixes #1004)
  • Form tabs are now always visible while scrolling (fixes #926)
  • New URL to obtain the attached filelist of an object
  • Remove float notation in altimetry altitude labels
  • Control altimetry profiles font using ALTIMETRIC_PROFILE_FONT setting
  • Add pictograms to routes and networks (fixes #1102)

Bug fixes

  • Fixed Signage and Infrastructure year filter label (fixes #293)
  • Fixed paths layers not always shown below other layers (fixes #912)
  • Clarify legend and title for attachments (fixes #888)
  • Fixed cannot clear trek fields in database (fixes #1095)
  • Fixed missing translation of "Load local file" (fixes #1085)
  • POI types are displayed as such in adminsite
  • Fix duplicate authors in history list in detail pages

Internal changes

  • Added pictogram on difficulty, useful for Geotrek-mobile (fixes #1109)
  • Added experimental Geotrek-light support (ref #1019)

0.23.5

23 Jun 15:01
Compare
Choose a tag to compare

Bug fixes

  • Fix crash when TourInFrance has malformed website or phone
  • Fix translations not being installed

0.23.4

18 Jun 14:18
Compare
Choose a tag to compare

Bug fixes

  • Fix massive upgrade bug, where new migrations were ignored. Due to migration
    operation introduction in 0.22 installation script.

Special thanks to Noël Martinon, Félix Merzeau, Gil Deluermoz and Camille Montchicourt for their patience on this.

Notes : Unfortunately, there is no way to easily repair a database damaged by installation scripts of previous 0.23 versions. Restore the database of version 0.22 instead, and run installation as usual.

0.23.3

18 Jun 09:30
Compare
Choose a tag to compare

Bug fixes

  • Fix static files compression when using Google Mercator projection in maps
  • Fix intermediary points order in topology de/serialization, and remove useless
    topology serialization optimizations (fixes #1031)

0.23.2

14 Jun 00:07
Compare
Choose a tag to compare

Bug fixes

  • Fixed land records not shown in detail pages
  • Fixed JSON DEM area extent for treks
  • Fixed targets list for tourism datasources (fixes #1091)
  • Cache tourism datasources for one day (setting CACHE_TIMEOUT_TOURISM_DATASOURCES)
  • Fix crashes with TourInFrance sources
  • Add link to OSM in feedback email (fixes #1089, #1093)
  • Fix feedback email translation (fixes #1087)
  • Fix problem with permission check "read attachment" in detail page (fixes #1092)
  • Fix measure control appearing twice in forms (fixes #1078)
  • Fix 404 on download buttons from list views
  • Fix POI translated fields not tabbed (fixes #1065)
  • Fix missing translation of "Add a new POI" (fixes #1086)
  • Fix invalid snapping when save path without editing geometry (fixes #1099)
  • Add missing properties in feedback report detail page.
  • Hide all modules information in report detail page.
  • Add missing translations of feedback module.
  • Show object type in ODT export (fixes #1000)

Internal changes

  • Upgraded to Mapentity 1.4.0
  • Upgraded to Leaflet 0.7.3

Installation

  • Fixed content types migration of land to zoning apps (Thanks Noël Martinon)
  • UbuntuGIS stable maintainers have upgraded (sic) GDAL to 1.10.0.
    Upgrading GDAL is painful, and PostGIS packages may have to be reinstalled
    (data shouldn't be lost though). Remember it was recommended to run PostGIS
    on a different server
    .

On June 2th 2014, the Ubuntu GIS stable repository switched from libgdal1
to libgdal1h. It broke the deployment script of many projects, including
Geotrek.

It is a good thing, since it paves the way for the last Ubuntu LTS release (14.04). However, it breaks the Long Term Support philosophy of the previous one (12.04), supposed to be supported until 2019.

Morality : we cannot trust the Ubuntu GIS stable repository anymore.

Regarding Geotrek, such upgrades of Ubuntu packages is not supposed to be covered
by its installation script. If you face any problems, please refer to the
community or commercial support (such as Makina Corpus for example).

0.23.1

22 May 13:43
Compare
Choose a tag to compare

⚠️ BREAKING changes

Read all upgrade notes carefully.

  • Trails are now managed as topologies (fixes #370).
    Existing trails geometries are likely to be LOST (see below)
  • Permission systems has been refactored (see below)

✨ NEW features

  • 🌟 New tourism module : external datasources can be configured from Adminsite (GeoJSON, TourInFrance, ...)
    and added to maps (by module, or published on Geotrek-rando...)
  • 🌟 New feedback module : user can submit feedback from Geotrek-rando and they appear in Geotrek
  • ⭐ Permissions are now controlled by Django permission system from AdminSite
  • 🌟 Track objects creations, changes and deletions (fixes #300)
  • Topologies are not recreated if user did not edit field (fixes #833)
  • Show land objects in menu (fixes #942)
  • Buttons in the list menu to add new objects easily

Minor changes

  • New permission to control download of attachments
  • New permission to allow users or groups to bypass structure restrictions
  • Documented configuration of custom projections (fixes #1037)
  • Add a setting to serve attached files as download (default: True) (fixes #976)
  • Command to import shapefile with points into POI as topologies (fixes #952)
  • Added a reader group (fixes #495)
  • Added static file for projection EPSG:32620
  • Add fullscreen button on maps (fixes #904)
  • Add all controls on detail map (fixes #907)
  • Add a button to close filters (fixes #424)
  • Added new sections in documention : FAQ, User-manal and Advanced configuration
  • Show number of attached files in tab (fixes #743)

Internal changes

  • Enabled database connection pooling in production
  • An error is raised if SRID has not unit in meters (fixes #921)
  • Zoning and land modules are now splitted (fixes #954)
  • Complete refactor of geographical form fields. Now uses django-mapentity
    from its own repository instead of internal orphan branch.
  • Complete refactor of maps initialization, without inline preprocessed JavaScript
  • Rely on Django permissions to control access to detail, list and exports (fixes #675)
  • Core and altimetry modules are now splitted (fixes #996)
  • Renamed treks POIs GeoJSON properties
  • Add views to serve DEM on object area as JSON (Geotrek-Rando 3D)

BUG fixes

  • Force browser cache revalidation of geojson data (fixes #843)
  • Force browser cache revalidation for path graph (fixes #1029)
  • Fix deletion porblems in AdminSite (fixes #1008)
  • Trek advised parking and public transport are translatable (fixes #1024)
  • Fix missing translation "no filters" and "current criterias" (fixes #884)
  • Fix PDF versions of documents not being translated (fixes #1028)

❗ Upgrade notes

  • Before upgrading, backup your trail records and geometries, using pgAdmin ::
    CREATE TABLE backup_sentiers AS SELECT * FROM l_v_sentier;
    CREATE TABLE backup_troncons_sentiers AS (
      SELECT l_t_troncon.id AS troncon, l_t_sentier.id, l_t_sentier.nom
      FROM l_t_troncon, l_t_sentier
      WHERE l_t_sentier.id = l_t_troncon.sentier
    );
  • Before upgrade, rename mailadmin to mailadmins and add
    a new line mailmanagers in etc/settings.ini. See Email settings
    section in documentation.
  • Just before upgrading, delete the following folders ::
    rm -rf lib/src/django-modeltranslation lib/src/mapentity

Upgrade using the official procedure

  • After upgrading, load the default permissions of the previous groups, otherwise
    users won't have access to their modules ::
    bin/django loaddata geotrek/authent/fixtures/minimal.json
    bin/django loaddata geotrek/authent/fixtures/basic.json
  • After upgrading, make sure Active is checked for the user internal
    otherwise screenshotting won't work.
  • After upgrading, load basic data for the new module ::
    bin/django loaddata geotrek/feedback/fixtures/basic.json
  • After upgrading, make sure the user specified in Geotrek-rando is
    in the group Geotrek-rando, or has at least the following permissions
    in the AdminSite :
    • paperclip | attachment | Can read attachments
    • trekking | Trek | Can read Trek
    • trekking | Trek | Can export Trek
    • trekking | POI | Can read POI
    • trekking | POI | Can export POI
    • feedback | Report | Can add report
  • After upgrading, compare visually the resulting migrated trails using QGis,
    by opening both layers l_v_sentier and backup_sentiers.

0.22.6

27 Apr 18:52
Compare
Choose a tag to compare
  • Remove hard-coded mentions of EPSG:2154 in database initial
    migrations (fixes #1020)
  • Fix version download and unzip in installation script.

Thanks Noël Martinon, from Guadeloupe National Park, for reporting both issues.

0.22.5

19 Mar 13:34
Compare
Choose a tag to compare

See release notes of 0.22.1 for breaking changes and upgrade instructions.

Additional notes

  • Empty session table to disconnect everyone or expect history problems (related to #975)
    sudo -n -u postgres -s -- psql -d geotrekdb -c "TRUNCATE django_session";
  • Empty map captures cache with rm -rf var/media/maps/*

Bug fixes

  • Fix compilation of translations (ref #970)
  • Fix distinction between languages and translated languages (fixes #968)
  • Fix history tabs not being shown after upgrade to Django 1.6 (fixes #975)
  • Fix regression on land layer label colors (fixes #980)
  • Fix attached files not shown after file upload/delete (fixes #933)
  • Fix links being removed from trek descriptions (fixes #981)
  • Fix missing thumbnail in trek and POI detail pages
  • Fix black background on map captures (fixes #979)
  • Increased scale text size on map captures (fixes #850)
  • Show map attributions on map captures (fixes #852)
  • Fix aspect ratios of map in trek public documents (fixes #849)
  • Fix objects list not being filtered on map extent (fixes #982)
  • Fix coherence of map layer when text search in objects list (fixes #702)
  • Fix number of results not refresh on text search (fixes #865)

Minor features

  • Added north arrow in map image exports (fixes #851)
  • Removed darker effect on backgrounds for map image exports, and added internal
    advanced setting MAPENTITY_CONFIG['MAP_BACKGROUND_FOGGED'] = True (fixes #684)

0.22.4

06 Mar 07:59
Compare
Choose a tag to compare

See release notes of 0.22.1 for breaking changes and upgrade instructions.

  • Fix install.sh not compiling locale messages (fixes #965)
  • Moved trek completeness fields to setting TREK_COMPLETENESS_FIELDS. Duration
    and difficulty were added, arrival was removed (fixes #967)
  • Fix regression about source locale messages (fixes #970)
  • Fix regression link Back to application lost from adminsite (fixes #971)
  • Serve uploaded files as attachments (fixes #972)
  • Remove help texts being shown from filter forms (fixes #966)
  • Fix form pills for translated languages (fixes #968)