Fixes:
- Always use odometer value for distance calculation when in "Fatpoint" if User -> Odometer is configured with "Use Device Odometer"
- Add missing "Back" arrow icon in Event Panel
- Fixed saving Event Rules with Email & SMS Notifiers. Problem introduced in March Release.
- Support for downloading large error logs
- Fix issue where batch updates could overwrite newer changes with older ones
- Fix initializing a new Odometer could lead to wrong values during the first day.

Optimizations:
- Optimized privilege lookup to be more efficient. On a server with many operators this will reduce CPU usage
- Abort initialization of UserDataStore and OpenUIEventStore instead of waiting for it to finish when stopping the service. This will speed up plugins updates on large servers

Developer:
- Track resources return filtered data by default, filtering can be switched off by a bool parameter called Filtered.

Updates.v5 build 2913 Released: 2019-03-14

Features:
- Made it easier to add new application. New applications are now created with the "+ Application" button in "Search and Manage" tab in SiteAdmin. The quick add only require an application name and your choice of application template. You can access the old way of creating applications with the "Advanced" button.
- Branding removed as stand alone plugin.
- Getting users online with Android tracker has been simplified

Geofence:
- Fixed issue with upload button (for importing geofences) being very small in some browsers.
- Fixed issue with not being able to update geofence groups that have invalid colors.
- Only allow HEX colors to be manually entered in ColorPicker.
- Fixed issue with not being able to add any type of geofence without "EditRouteGeofence" privilege.
- Use virtual list to display geofences to solve performance issues.
- Added progress bar when fetching geofences and tags.
- Fixed crashing issue when right clicking on tag/geofence without having correct privilege.

Tracks:
- A load bar now shows in the Track points panel during Export to give user visual feedback of the operation. Export button is also disabled during ongoing export.

Optimizations:
- Reduced the time it takes to update Updates.v5 plugin.
- Cleanup driver events created by Driver Journal

Developers:
- Added support for custom counters and accumulators with scripted mapper fields
- ID of VehicleTracker application available in UserRightClickMenu and WindowsMenu scripts as application.id
- Fixed UserStatus REST resource
- application.name exposed in scripts, now also in Notifier Click Scripts
- geofence.description now available in Geofences returned by geofence.find(...) in Script Expressions.

Fixes:
- Fix mismatching panel and window menu name. "Application Console" in windows menu now changed to "App Console" to match its Window/Panel title
- Support for removing settings
- Fixed duplicated Service Plugins
- Cleanup latest record when a device changes mappers
- Map "peeking" (press and hold "p") could make Bing maps stop reacting to dragging.
- Fixed rare 'SyntaxError: Unexpected token }' error in Vehicle Tracker
- Fix error when trying to remove/restore branding saying that user do not have the privileges to remove the image file.
- Fix cache invalidation problems when using HTTPS on some setups. This caused for example a newly created report fail to get rendered.
- Stop Microsoft Edge from closing main VT menus when hovering over icons in the menu.
- Fix unhandled exception in Notes
- Fixed sporadic issue with commands

Deprecated:
- Accumulator values can only be set for the current time, historical modifications are no longer supported
- Links

Updates.v5 build 2819 Released: 2019-02-14

Event Panel:

The number of events will be shown in the event panel tab title.
Added support for picking a specific time interval when searching for events.
Added missing localizations in the event panel.
Event notifications are now off by default.
Larger max event rules limit (1000 instead of 100/200).
Fixed 'Filter on Events' quick filter in Vehicle list
Fixed event list flickering while a vehicle filter is enabled
Events and Vehicles top menu items will now show the same number as the respective panel title, i.e. "Events (6)" panel title will now show "Events (6)" in top menu.

Geofence:

Replaced all old components in the geofence panel with new frontend components
Added formatting help when importing geofences
Fixed import issue when having "nautic" instead of "meters"
Fixed issue with multiple context menus being opened at the same time

Features:

VehicleTracker's window/tab title will now be updated dynamically to say: "YourCurrentApp | YourCurrentView" for easier navigation if you have multiple tabs open
Press and hold "p" to peek the underlying map. Vehicles, geofences, POI:s etc are temporarily dimmed for quick and easy inspection without loosing your focus.

Fixed issue when importing multi-part KML files as geofence to multiple applications.
Fix issue with not being able to log in with username and password in URL
Fix issue that users were not redirected to /m when accessing GpsGateServer from mobile device
Fix case where Event Rules creates excessive amount of garbage rows in database causing performance degradation.
Fixed "Failed to save some settings" error message when saving Vehicle Marker Settings. Added a more user friendly notification that some settings can't be saved to the Default workspace (which was why the error was displayed).
Fixed Custom Maps failed to load. (bug introduced in January Release)
Editing a Custom Map layer in SiteAdmin didn't respond to input.
Reload language after clicking 'Save & Reload' in the Localization editor
Fixed rare problem to open Device Mapper Script editor.
emails with dash right before @ are valid. (example "a-@a.a")
Fix missing localization of "Vehicle info" top menu item

Fixes:
- Unicode template commands support for MSSQL
- Disable script loggers for ScriptExpression when processing reports
- Fix issue with two search icons in VehicleTracker top menu for Reports and Application switcher dropdown menus.
- Fix note category menu (arrow next to the search field in Notes panel) extending outside screen when having a lot of categories
- Fixed an issue where branding logo would display very large when loading VehicleTracker, then resize to the intended size
- Area Search plugin rectangle selection could stop working
- Adjusted the default position of the map toolbar to align with the latest larger Google Maps buttons

Developers:
- It is now possible to change the comGpsGate path part in REST URL by adding the REST_URL_PATH setting in the app config. Edit the GpsGate.Service.exe.config file located in 'Franson NMEA Service' folder and add <add key="REST_URL_PATH" value="CUSTOM_URL" /> in the appSettings section
- commands (.send, .sendToUser) now also available in UserRightClickMenu scripts.
- Added time parameters for REST method to get track data

Updates.v5 build 2592 Released: 2018-12-13

Features:
- Add drag and swap functionality to Temperature Sensor ID:s in edit user.
- If selecting a feature from the "Windows" menu it will be brought into view even if the panel is inside a collapsed column.
VehicleTracker main menus with search bar will auto focus the search bar so user can search immediately
- User can now close open menu with ESC key
- Lists and table-columns will now be sorted in a more intuitive way. Case-insensitive and numeric, i.e "vehicle3" will sort before "vehicle12".

Event Panel:
- Pan to event when clicking on an event
- Show historical events on map. Requires enabling the 'Show history on map' event panel setting
- Do not show disabled event rules in card view
- Fix flickering event list on load time
- Pan to event marker on event click
- Context menu on right click on event marker

Performance:
- Improved performance of inserting message data

Fixes:
- Fixed an issue where Edit User window could become too tall and Save and Cancel buttons were hidden outside window.
- Fixed handling of speed data when some messages from device had no speed information.
- Fix Status panel content disappearing after collapse minimize/maximize panel
- Fix bug with Icon picker could cause whole VT to scroll up and leave a grey unusable bottom area
- Fixed Icons on some buttons in the Event Rule Wizard was missing
- Fix in API SessionManager
- Fix: Vehicle list could fail or become empty in some vehicle's configurations.
- Fix: Geocoding could sometimes fail on first line in Vehicle list.
- Fix: Only show Application Console in Window menu if _EditScriptApp privilege exists

Event Panel:
- Localize Open events in vehicle list
- Display event duration in seconds for events shorter then 60 seconds
- Do not show event notifications for event rule without a presentation
- When drilling down into events by clicking on a card, all event arguments for that event rule are shown automatically.
- Auto focus on comment text field when closing an event
- Update Event list automatically with new events when an operator is not actively working on events
- Otherwise display scroll to top with count of new events
- Added on hover information for card and list view
- Grey out events cards for event rules with no open events
- Fixed displaying Event Rule names in IE 11
- Fixed position of context menu in IE 11
- Fix issue that could cause the Event Panel to become blank (mostly affected FireFox users)
- Fix issue having to right click a vehicle in the Vehicle Panel two times before the menu would appear (mostly affected FireFox users)
- Aggregate event count on Vehicle clusters
- Event settings table displays if the Notification status (Enabled or Disabled)

Fixes:
- Vehicle marker attribute windows now toggles on click
- Fixed case when Archiving did not copy all track points to target server.
- Improved handling of NaN or ±Infinity values.
- Fix case where driver got faulty logged out when two drivers swap vehicles with each other
- Fixed issue that prevented tracks to be read.
- Updated TimeZone information from version 2017b -> 2018f
- Work around for Garmin USB 18 bad date format, when connected via GpsGate Splitter to GpsGate Server.
- Opening new window from scripts should now work in Firefox as well.
- Fix Driver Rule having end expression made driver tracks to overlap (logged in on multiple vehicles at once)
- Update Workspace with latest values of accumulators when updating an accumulator value in Edit User
- Fixed intermittent issues to sending commands from Vehicle Tracker
- Fixed rare issue with Vehicle Info panel could freeze on resize

Fixes:
- Fix race condition causing NullReferenceException when starting HttpPushConnection
- Fix driver not properly logged out from vehicle when no valid position was sent since the time of login.
- Log Terminal info when message is altered by Driver logout.
- Fixed sporadic issue with running event rules for users that were added/removed from a Tag using the Tags/User resource
Improved license check.

User experience:
- Map search box (bottom of map) is now turned into a button in the map toolbar and available in all maps.
- Remove duplicate speed entry in Status Panel and Marker Attributes. Vehicle List, Status Panel and Marker Attributes now show the same speed value.
- Vehicle map icon is now centered under the name label.
- Selected vehicle is now slightly bigger to make it easier to see that it is selected.
- Various minor UI improvements.

User experiance:
- Added a new "Pending" status to vehicle status icons. A yellow pending icon will show if the tracker is connected and sends data to the server but did not send position.
- Added transparency to the vehicle marker attribute label on the map.

Features:
- Log browser JavaScript errors to System Tools -> Logs.
- Quick switch between applications by drop-down placed in top right corner.

Performance:
- Faster creating new applications.

Fixes:
- Using event rule icon notifications without icons could make vehicle markers fail.
- Better centering of vehicle name labels.
- Icon picker in Event Rule editor could sometimes fail to open correctly.
- Fixed display issue of time based accumulators in the user form
- Fixed issues with Status Icon from June Release.
- Changes in the Marker Attributes window are now instantly changed on the map instead of having to press "Apply" after each change. Note that workspace needs to be saved to keep the settings.
- Vehicle label on the map is now updated automatically after saving a user with a new label icon. Previously a browser refresh was necessary to see the changes.
- Fix issue where modification to tags, users, views, roles etc did not show in various places in the UI.
- Fix Delayed Event with Auto Trigger was not created when position time stamp was in the future
- Sort track data on source level (DB) for legacy track storage V5 and V6. Fixes cases where reports generated on "old" data got wrong results
- Outgoing SMS messages will be cropped to fit within carrier restrictions rather than permanently failing. The current generalised setting is 153 bytes long.
This is 153 ASCII characters but fewer when using special characters.
- Track Replay could fail second time used
- Map layer selector now handles all alarm marker cases, previously missed "Clustering by rule" markers.
- Map layers fade in and out
- Fix display issues for App Console window
- IE/Edge compatibility fixes

Developer:

Added Geofence REST API resource
GET: Get a geofence by ID
LIST: List geofences within an application
Added GeofenceGroup REST API resource
GET: Get Geofence Group by ID
LIST: List Geofence Groups within an application
POST: Create a new Geofence Group
PUT: Update a Geofence Group
DELETE: Delete a Geofence Group
Added GeofenceGroup/Geofence REST API resource
LIST: Get Geofences within a Geofence Group
POST: Add a Geofence to a Geofence Group
DELETE: Remove a Geofence from a Geofence Group

Fixes:
- Fix missing Lat/Long in Vehicle Info panel
- Fixed Null Reference when changing view with vehicles that do not have a position
- Fixed issue where commands might not show for some devices
- Fix formatting of numbers when using unit 'NUMBER_INTEGER'. Used to add one decimal to numbers if less than 1.0
- Localize bucket is UI
- Fixed an issue where address text would become hidden if Vehicle Info panel was too small
- Moved Username and Driver ID to "Show more" section in vehicle info panel

Features:

- "Allow to replace OneWire Sensor ID" meta field for all devices, which allows to replace an unused OneWire Sensor ID automatically

- New privilege checks in geofence:
1. _ReadGeofence gives Read access to ALL geofences
2. _ReadGeofencesInTag gives Read access to Geofences in specific Tags
Uncheck _ReadGeofence if you want _ReadGeofencesInTag to have any effect
3. _EditGeofence filters access on _ReadGeofence and _ReadGeofencesInTag
Again, uncheck _ReadGeofence if you want _ReadGeofencesInTag to have any effect
4. _EditGeofenceTags allows users to Add/Edit and Delete Geofence Tags
5. _EditGeofence and _EditGeofenceTags are both required for Batch operations
6. Added _EditGeofencesInTag privilege.

REST resource that returns the status of all users. (status = position + variables) there is an optional filter to get only updates after a specific time stamp.
URI: /applications/{applicationid:int}/UsersStatus

- Geofence groups "Always visible" is renamed to "Pin to Map" and can more easily be toggled on/off with a pin button directly in the group card (right hand side, next to the "Show more"/"Show less" button)"

Performance:
- General minor performance improvments.

Developer:
- Fix: RouteMessage could generate wrong time stamps when using new Script Engine.
- Now it is possible to geocode through REST API
- New in Script Expressions:
session.directory.getUserByID(id)
getLatestPosition() on user objects.
- New in Click Scripts (Timer):
geocoding object
- Fixes SSL versions compatibility when placing a http GET or POST request from scripting.

Fixes:
- Added missing geofence privileges to Basic One template (all Geofence privileges are now included by default).
- Moved Basic One from separate deploy package into Updates.v5.
- The Status panel list view sort order and column layout is now saved to the workspace.
- Fixed a bug where the last variable rows was hidden when Status Panel was displayed as a window.
- Updated texts referring to "signals" to say "variable" instead in Status panel.
- "Automatically trigger event after the delay specified above" did not always work.

Updates.v5 v5.0.0.1550 Released: 2018-04-19

User experience:
- Status panel have been improved with more functionality. Variables and their values can now be shown as a grid view in addition to the old table layout. You can set custom order and visibility for the variable values in the grid view. Order, visibility and view mode are saved to the workspace.
- The design of the Vehicle Info tab has been improved and also features shortcuts to basic actions like Edit User, Draw today's track and adding and showing Notes.

Fixes:
- SOAP method to manage Tags works again.
- Fix "id" to be properly resolved in Command Notifier.
- Fix issue with editing existing polygon Geofences on map
- Fix issue when removing a View that is currently in used by other VehicleTracker browser sessions
- Fix Right Click menu could disappear efter map switch.

Developer:
- New type of scripts available in Apps - WindowsMenu. Runs a script when the related Windows menu option is clicked.
- REST: Added a new resource ("/applications/{applicationid:int}/users/{userid:int}/status") with similar behavior to Directory.GetLatestGateRecords to REST API.
- REST: Added a new resource ("/applications/{applicationid:int}/tags/{tagid:int}/users/{userid:int}") for getting users in tag, removing a user from a tag and adding a user to a tag.

Fixes:
- Cleanup after a bug where a new [default] workspace was being saved to the database every time you reloaded VehicleTracker.
- Issues found in the new geofence management from the February release.
- Script Notifiers should now work again.
- Fix email sending when Reverse Geocode Notification errors is disabled
- Events that began before the vehicle tracker was loaded will now again appear in the Event Panel.

Feature:
- SmsMessage input for GpsGate TrackerOne and GpsGate Generic Device. Contains entire SMS if it is not a TrackerOne message.
- Odometer Accumulator (Server Odometer) is now saved for zero speed.
- List cluster content. Right-click on a cluster and filter on the vehicles currently part of it.
- Accumulators can now be masked in User Access Mask Editor
- Automatic cleanup for Error and Profiling logs

Fixes:
- Entries of custom fields of list type now require unique names, too (to avoid errors on user save)
- Fix issues with sending sms and email to users having multiple phone numbers or email addresses
- Switched quick registration message sending from the Edit User UI to check _EditUsers privilege rather than something less related. This allows out-of-the-box operators with default Role configuration to send registration messages without further tweaks.
- Sort error logs by Modified date
- Zoom to View now works again after view change on larger servers. (issue introduced in December release)

Updates.v5 v5.0.0.1163 Released: 2018-01-15

Security:
- Improved security. Upgrade recommended.

Performance:
- Command panel 25k ready!

Features:
- Added the possibility to download error and profiler log files from site admin (not available on hosted servers)
- Instead of some colored circles now a wide range of icons and colors are available
- Added Server/message received timestamp to historical Track points in vehicle tracker
- Device Template command can contain any UTF-8 character as the command text
- A pink screen is shown in SiteAdmin if Java 64bit is not installed. (GpsGate does not run well with Java 32bit)
- Added device metafield: 'Save emulated first message of day' to all device types.
This will configure if an emulated version of the message should be saved when starting a new track.
i.e: Enables storing latest value of each signal regardless if it was sent by the device or not.

Developers:
- ui.iframe option in right click menu scripts can now take a 'style' argument, used to override the 'style' attribute of the created iframe.

Fixes:
- Fixes ordering of gate-messages when a device sends multiple messages the same millisecond.
- Change of Device mapper could sometimes require a service restart to take effect. (Problem introduced in December release).
- Fix: Saving Event Rule with Icon Notifier could fail on large sever. (Problem introduced in December release).
- Fixed missing error message in VehicleTracker when batch importing users.
- Fixed UserTemplate template export
- Fixed an error where trackpoints graph timeline would not show up

- Save map bounding box in workspace.
Deselect the checkbox "Zoom to view".
Move the map to the region you like, and adjust the zoom.
Save the workspace.
Next time you load the workspace the map will open in that view. And not move if you change views.

Features:
- Added black notifier icon to Events
- Added limits on "number of times that a single device trigger a single SMS/Email Notifier per hour". Defaults 5 for SMS Notifiers and 10 for Email Notifiers.
- [GPRMC] variable can be used in Event Rule Notifiers to return track point data in GPRMC format.

Optimizations:
- Improved performance when loading Edit Tag window. User selection table now only show some of users at first, then loads more when scrolling down. Sorting is now done on server side to reduce browser load.

Fixes:
- "Too many events. Some will not be shown on the map" notification is now hidden if the Event Panel is closed.
- Context menu could fail on greyed (never seen) vehicles.
- Remove ugly scroll-bars in tracks- and trackpoints lists (Chrome and FF).
- Resolving Template Command variable [ProtocolIPAddress] more robust by checking for the public ip in case no hostname is provided under SiteAdmin -> Settings