Skip to content

Releases: frankdean/trip-server-2

v2.5.2

13 Aug 18:17
Compare
Choose a tag to compare
  • Increase the precision of latitude and longitude values when editing waypoints

v2.5.1

29 Jul 14:18
Compare
Choose a tag to compare
  • Updated to use OpenLayers 9.2.4
  • Fix for OpenLayers 9.x - Paths need to have consistent coordinate array
    lengths, either all with elevation data or all without.

v2.5.0

29 May 18:06
Compare
Choose a tag to compare

Refactored to run with libpqxx version 7.x in addition to 6.x. The
configure script first looks for an installed version 7 before falling back
to version 6.

  • Allow more general use of Vagrant provisioning scripts in other
    environments, e.g. Emu. See the bootstrap.sh header for
    brief instructions.
  • Update Vagrant scripts to use PostgreSQL 15 where available
  • Updated to use OpenLayers 9.1.0, Bootstrap 5.3.3 and proj4js 2.11.0.
  • Fix fetching inactive shared tracks.
  • Only fetch active user shares when fetching nicknames for itinerary map.
  • Fix forbidden resources to be handled as forbidden instead of not authorized.
  • Fix read-only viewing of itinerary waypoint.
  • Handle invalid position/location when editing waypoints.
  • Fix previously input values lost from itinerary waypoint when invalid
    position submitted.
  • Fix missing validation rules for latitude and longitude values of itinerary
    waypoint.

v2.4.2

20 Feb 22:50
Compare
Choose a tag to compare
  • Added a favicon
  • Include the name of the itinerary in the itinerary page title
  • Updated Vagrant virtual machines
  • Update proj4js to version 2.9.2
  • Update nlohmann-json to v3.11.3 when using Vagrant with Fedora & Rocky Linux
  • Update trip-server documentation re importing map tiles
  • Fix error in texinfo file
  • Fixed formatting errors when generating PDF documentation

v2.4.1

01 Jan 16:39
Compare
Choose a tag to compare
  • Bug fix - invalid SQL

    Version 13 of PostgreSQL is tolerant of a missing space after a parameter,
    but not PostgreSQL 15.

  • Bug fix - blank route and track elevations not being filled on file import

  • Bug fix - locations not shown on map where no shared locations

    If no other user is sharing locations with the current user, the map fails
    to show any locations for the current user.

  • Bug fix - could not view routes or tracks on read-only shared itinerary.

  • Bug fix - invalid HTML with read-only view of an itinerary waypoint.

  • Removed launching Trip Server v1 from Vagrant scripts.

  • Documentation updates.

  • Refactored code to avoid global reference to elevation_service.

  • Use std::unique_ptr for elevation loading thread instead of standard pointer.

  • Improved running with tile server under Docker

  • Support including elevation data in Docker container

v2.4.0

20 Dec 15:33
Compare
Choose a tag to compare
  • Implemented a Text-based User Interface to create users.

  • Do not listen on socket when upgrading the database or running
    interactively.

  • Updated database schema.

    Added `extended_attributes` column to `itinerary_waypoint` table.  This
    should have been included in the 2.3.0 release.
    
    The change is also achieved by running `trip-server` with the
    `--upgrade` option.
    
  • Added missing foreign key constraints to the user_role table. The
    database schema should be updated using the trip-server --upgrade
    option. The upgrade will fail with a foreign key constraint violation if
    any Admin users have been deleted in the past. Use the following SQL to
    identify those invalid user ID's:

      SELECT ur.user_id FROM user_role ur
      LEFT JOIN usertable u ON u.id=ur.user_id
      WHERE u.id IS NULL ORDER BY ur.user_id;
    

    The invalid entries can be deleted with the following SQL:

      DELETE FROM user_role WHERE user_id IN
      (SELECT ur.user_id FROM user_role ur
      LEFT JOIN usertable u ON u.id=ur.user_id
      WHERE u.id IS NULL);
    
  • Fix exception thrown when no map tile usage metrics are available.

  • Fix linker warning.

v2.3.1

02 Dec 16:25
Compare
Choose a tag to compare
  • Fix exception when setting new date from tracking query parameter after
    session timeout.
  • Log to syslog when an exception is caught when handling a request.
  • Fixes to date_utils and unit tests when running on 32 bit i386.

v2.3.0

24 Nov 16:20
Compare
Choose a tag to compare
  • Refresh database connection pool after a broken connection exception

  • Updated the upload and download of GPX files to include the OSMAnd XML
    namespace (only if required) and updated the format of the OSMAnd waypoint
    color attribute. The color and additional OSMAnd extended waypoint
    attributes are now stored as JSON in a new external_attributes column in
    itinerary_waypoint. The database schema must be updated using the
    trip-server --upgrade option, which also converts and removes the existing
    color column. Make a backup before running the upgrade.

    Consequently the allowInvalidXsd configuration option is now redundant.

v2.2.2

14 Oct 18:39
Compare
Choose a tag to compare
  • Update versions of Bootstrap and Proj4js

  • Bug fix - invalid SQL

    Version 13 of PostgreSQL is tolerant of a missing space after a parameter,
    but not PostgreSQL 15.

v2.2.1

21 Sep 14:17
Compare
Choose a tag to compare
  • Bug Fix - use session defaults for location search when setting date from