diff --git a/.app_version b/.app_version index 6f4eebdf..100435be 100644 --- a/.app_version +++ b/.app_version @@ -1 +1 @@ -0.8.1 +0.8.2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a24df9b..615de1c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added +- Google Takeout geodata, taken from a [mobile devise](https://support.google.com/maps/thread/264641290/export-full-location-timeline-data-in-json-or-similar-format-in-the-new-version-of-timeline?hl=en), is now fully supported and can be imported to the Dawarich. The import process is the same as for other kinds of files, just select the JSON file and choose "Google Phone Takeout" as a source. + +### Fixed + +- Fixed a bug where an imported point was not being saved to the database if a point with the same timestamp and already existed in the database even if it was other user's point. + +--- + +## [0.8.1] — 2024-06-30 + +### Added + - First user in the system can now create new users from the Settings page. This is useful for creating new users without the need to enable registrations. Default password for new users is `password`. ### Changed diff --git a/app/services/google_maps/phone_takeout_parser.rb b/app/services/google_maps/phone_takeout_parser.rb index 3dbdc6c8..07b0ad72 100644 --- a/app/services/google_maps/phone_takeout_parser.rb +++ b/app/services/google_maps/phone_takeout_parser.rb @@ -34,8 +34,7 @@ class GoogleMaps::PhoneTakeoutParser import_id: import.id, user_id: ) - rescue - binding.pry + points += 1 end diff --git a/app/views/imports/_form.html.erb b/app/views/imports/_form.html.erb index 5060fe14..e5684a7f 100644 --- a/app/views/imports/_form.html.erb +++ b/app/views/imports/_form.html.erb @@ -7,7 +7,7 @@

JSON files from your Takeout/Location History/Semantic Location History/YEAR

@@ -25,7 +25,7 @@

A JSON file you received after your request for Takeout from your mobile device

@@ -34,7 +34,7 @@

GPX track file