Skip to content

Releases: GeotrekCE/Geotrek-admin

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)

2.90.0

03 Nov 17:38
Compare
Choose a tag to compare

New features

  • Add new command to reorder pathaggregations of topologies

Bug fixes

  • Fix APIv2 does not return sources related to published sites

2.89.1

21 Oct 14:08
Compare
Choose a tag to compare

Bug fixes

  • Prevent migration 0033_auto_20220929_0840 from failing by escaping Touristic Events participant_number (#3307)
  • Fix signage details page with DIRECTION_ON_LINES enabled (hide "Direction" column header) (#3178)

2.89.0

20 Oct 12:37
Compare
Choose a tag to compare

New features

  • Add fields preparation_duration, intervention_duration to TouristicEvents (#3237)
  • Add new setting DIRECTION_ON_LINES_ENABLED to have the direction field on lines instead of blades (#3178)
  • Partially handle translated fields: when setting fill_empty_translated_fields to True,
    all empty translation fields for all languages will be set with the parsed value

Bug fixes

  • Blade list view now takes into account custom columns from COLUMNS_LISTS setting
  • Fix Suricate Workflow : do not unlock reports when resolving them
  • Fix Suricate Workflow : display clickable links in report related emails

2.88.0

11 Oct 13:57
e8a4823
Compare
Choose a tag to compare

New features

  • Add optional places to TouristicEvents, using place selector to locate TouristicEvent on form map (#3266)
  • Add fields end_time, cancelled, cancellation_reason, bookable and place to TouristicEvents (#3237)
  • cancellation_reason selector is displayed in Event form if bookable is checked (#3237)
  • booking text box is displayed in Event form if bookable is checked (#3237)
  • Create Assessment tab in Event form to input retrospective information such as number of attendees per category (#3237)
  • Create TouristicEventParticipantCategory model to define types of attendees for Events (#3237)

Breaking changes

  • Rename meeting_time to start_time for TouristicEvent. APIv2 serialisation for TouristicEvent now exposes start_time instead of meeting_time (#3237)
  • Rename participant_number to capacity for TouristicEvent. APIv2 serialisation for TouristicEvent now exposes capacity instead of participant_number (#3237)
  • These fields are still available in API v2 for retrocompatibility but should not be used by default (#3237)
  • If you have specific parsers importing into TouristicEvents, you should rename meeting_time to start_time and participant_number to capacity (#3237)

Bug fixes

  • Fix TouristicEvent with no end dates are not returned in APIv2 (#3127)

Minor improvements

  • Check begin_date is before end_date in TouristicEvent forms (#3237)
  • Set begin_date not null for TouristicEvents (#3237)
  • Change order of attributes in Event forms and detail view (#3237)
  • Update Event SQL view v_touristicevents according to above changes (#3237)

Suricate Workflow (#2366)

  • Show sentinel email addresses only to workflow manager

2.87.2

23 Sep 12:36
Compare
Choose a tag to compare

New features

  • Add default_language attribute to Parsers to specify which language to update

Minor improvements

  • Ensure attachments from parsers have generated thumbnails

Bug fixes

  • Fix provider is not used properly when parsing TouristicContents
  • Improve Aggregator translation management
  • Fix PermissionError during sync-rando on fresh install from .deb package

2.87.1

20 Sep 17:55
Compare
Choose a tag to compare

Bug fixes

  • Fix acces rights on files after synchronization

2.87.0

20 Sep 08:16
Compare
Choose a tag to compare

New features

  • Add provider field to Trek, POI, Service, Signage, Infrastructure, TouristicContent, TouristicEvent, InformationDesk,
    Path, Trail, Course, Site, SensitiveArea (#3189)
  • Add parser using api v2 (InformationDesk, TouristicContent, TouristicEvent, POI, Trek, Service, Signage, Infrastructure)
  • Add aggregator parser with a conductor using json file

Minor improvements

  • Disable debug log in debian package post installation script.
  • Improve and fix error logging, now errors and warnings are logged to var/geotrek.log and console.
  • Allow configuring email alerts for late reports (generalized from Suricate Workflow #2366)

Bug fixes

  • Fix filtering on Services List does not filter
  • Fix Site creation form is initialized with parent Site
  • Fix memory leak and optimize SQL queries on zoning intersections
  • Fix error message should not be displayed on attachments from the same structure as user

Maintenance

  • Upgrade dependencies. The detail for the main dependencies:
    • django to 3.2.15
    • celery[redis] to 5.1.2

Suricate Workflow (#2366)

  • Do not unlock reports when resolving them
  • Improve Suricate workflow alert emails

2.86.0

05 Sep 14:19
Compare
Choose a tag to compare

! Regression !

  • System permissions on files output by sync_rando and sync_mobile commands were inadvertently changed to more restricted
    with no reading allowed by group or other. This may cause trouble if your deployment relies on those permissions.
    The original broader permissions have been restored with v2.87.1.

New features

  • Add sync_rando / sync_mobile option empty_tmp_folder which will force deletion of all directories / files in tmp directory
  • Add information desk uuid (#3189)
  • Add setting ALERT_DRAFT which send mail whenever a path has been changed to draft (#2904)
  • Add file type to attachments in API v2 (#3189)
  • Add possibility to use different type of file with import form
  • Add setting MAX_CHARACTERS for rich text fields with Mapentity 8.2.1 (#2901)
  • Set map resizable with Mapentity 8.2.1 (#3162)
  • Add Category, certification label and status fields on trails (#2900 & #3152)

Minor improvements

  • Remove problems of tmp_sync_rando / tmp_sync_mobile which are not removed before new sync_rando / sync_mobile
  • Change translation for Tag in Feedback module
  • Change concatenation of null value for multiples values from '*' to '_' on sql views
  • Prevent "Internal Error" on API v2 when wrong url parameter is provided
  • Add 'source', 'portal', 'labels' and 'structure' to Cirkwi trek exports (#3220, #3164)

New ci

  • New common interface github actions

Bug fixes

  • Set relevant max zoom level for OpenTopoMap in the default config
  • Fix fields filter for infrastructure

Maintenance

  • Upgrade mapentity to 8.2.1