Commit graph

194 commits

Author SHA1 Message Date
Arne Schwarck
908232d397
Fix reverse geocoding issue
Previously, reverse geocoding queries in the Photon lookup did not properly
limit results within a specified search radius, leading to inaccurate or
unexpected locations being returned. This fix ensures that the :radius
parameter is passed directly, just like :limit and :distance_sort, instead
of being nested under :params.
By aligning with the Photon lookup implementation in Geocoder, this change
improves accuracy and ensures that results are correctly filtered based on
proximity, resolving issues where points were incorrectly matched due to
missing radius constraints.

Resolves: Reverse geocoding mismatch for close proximity queries
2025-01-25 22:11:35 +01:00
Arne Schwarck
e5ee29617e
Add radius param of 10
https://github.com/Freika/dawarich/discussions/652
2025-01-25 21:55:25 +01:00
Eugene Burmakin
f60c93ee4f Fix a bug where rc version was being checked as a stable release 2025-01-22 12:17:26 +01:00
Evgenii Burmakin
988e5a1a63
Merge branch 'dev' into fix/imports/gpx-empty-tracks 2025-01-22 12:04:19 +01:00
Eugene Burmakin
157d916f6b Fix a bug where a gpx file with empty tracks was not being imported 2025-01-22 11:15:55 +01:00
Eugene Burmakin
c3243bdba0 Fix authentication to GET /api/v1/countries/visited_cities 2025-01-22 10:53:33 +01:00
Eugene Burmakin
591543fe98 Rename GoogleMaps::RecordsParser to GoogleMaps::RecordsImporter 2025-01-21 19:42:04 +01:00
Eugene Burmakin
510868a594 Fix failed specs 2025-01-21 19:32:12 +01:00
Eugene Burmakin
b43810b1fb Import Google Records JSON in batches 2025-01-21 19:14:36 +01:00
Eugene Burmakin
0ff47f3ac7 Fix Google Records import 2025-01-21 16:03:52 +01:00
Eugene Burmakin
049812823f Stream google records import 2025-01-21 10:07:54 +01:00
Eugene Burmakin
983768a572 Assign user_id to points on parsing 2025-01-20 20:07:46 +01:00
Eugene Burmakin
6c0a954e8e Implement dawarich points parsing 2025-01-20 16:37:15 +01:00
Eugene Burmakin
e904d396c8 Make sure cache jobs are run only on server start 2025-01-07 15:02:35 +01:00
Eugene Burmakin
974f45a4c9 Remove REVERSE_GEOCODING_ENABLED env var 2025-01-07 13:41:09 +01:00
Eugene Burmakin
ae6dc5ac8a Remove Photon API env vars and use DawarichSettings for reverse geocoding settings 2025-01-07 13:12:14 +01:00
Eugene Burmakin
1e9f539dac Revert "Imported points will now be reverse geocoded only after import is finished." 2025-01-04 21:31:21 +01:00
Arne Schwarck
a6b04ba49a
Add Logging for Immich 2024-12-27 21:52:33 +01:00
Eugene Burmakin
d9bade8fe5 Fix specs for watcher and change z-index for markers and polylines 2024-12-25 13:05:42 +01:00
Evgenii Burmakin
d9c4c5d16e
Merge pull request #592 from Freika/fix/import-reverse-geocoding
Start reverse geocoding after import is finished
2024-12-25 12:43:11 +01:00
Eugene Burmakin
0276882db1 Start reverse geocoding after import is finished 2024-12-25 12:38:32 +01:00
Evgenii Burmakin
52a032acb0
Merge branch 'master' into import_google_formats 2024-12-25 11:53:40 +01:00
GED
af8b3b4f5d fix: remove debbuging messages 2024-12-25 05:06:56 +01:00
Eugene Burmakin
d640af4036 Add cache cleaning and preheating 2024-12-24 16:51:26 +01:00
GED
1f223142f3 error: watcher does not create points 2024-12-24 13:08:14 +01:00
Eugene Burmakin
6c18fbe41f Add buttons to update stats for a year or a month 2024-12-20 15:26:25 +01:00
Eugene Burmakin
5f93bf8522 Update to Rails 8.0.1 2024-12-17 12:56:21 +01:00
GED
ef8882037f refactor: rubocop 2024-12-17 11:29:19 +01:00
GED
a3614abdfa fix: raw_data parsing json since all formats are expecting import and user_id, but not a file 2024-12-17 11:19:15 +01:00
GED
409e3b745d feat: added certain files for watcher_spec with valid and invalid users 2024-12-16 20:53:48 +01:00
Eugene Burmakin
2ee7bb74a3 Fix some swagger specs and remove unused code 2024-12-16 15:42:26 +01:00
Eugene Burmakin
d9930521c9 Refactor code a bit and add some specs 2024-12-16 15:10:46 +01:00
GED
ab84d282d3 feat: added formats(google_phone_takeout, google_records, google_semantic_history, owntracks to the watcher 2024-12-16 12:13:38 +01:00
Eugene Burmakin
5cde596884 Rework countries and cities service 2024-12-11 17:14:26 +01:00
Eugene Burmakin
4bb39a2bbd Disable telemetry by default 2024-12-11 14:53:07 +01:00
Eugene Burmakin
866b10ceca Change mapping for redis container and add logs to export process 2024-12-11 14:34:59 +01:00
Eugene Burmakin
9bca8cfeaa Merge remote-tracking branch 'origin/master' into fix/reverse-geocoded-points 2024-12-10 20:15:42 +01:00
Eugene Burmakin
d6b88ae9cb Move photos fetching for trips to a separate service 2024-12-10 19:31:52 +01:00
Eugene Burmakin
3b115a85b1 Add missing tests and process reverse geocoding in batches 2024-12-06 17:32:45 +01:00
Eugene Burmakin
b7e4a017b8 Calculate only necessary stats 2024-12-06 16:52:36 +01:00
Eugene Burmakin
82b3e26bd3 Update readme and log telemetry data 2024-12-05 17:46:24 +01:00
Eugene Burmakin
f095a7504c Merge remote-tracking branch 'origin/master' into feature/telemetry 2024-12-05 17:12:48 +01:00
Eugene Burmakin
f10f78999d Add basic telemetry 2024-12-05 17:12:35 +01:00
Evgenii Burmakin
60dc5c6b59
Merge pull request #476 from jduar/fix/owntracks-import-fix-when-not-location
fix imports of owntracks .rec files containing log types other than events
2024-12-04 15:39:55 +01:00
Eugene Burmakin
cabce29ee2 Update changelog 2024-12-04 13:59:49 +01:00
Eugene Burmakin
d2bffdf1f1 Add spec for Photos::Thumbnail 2024-12-04 13:50:41 +01:00
Eugene Burmakin
1030bd5c37 Rename Photos::Request to Photos::Search and add test for it 2024-12-04 13:45:19 +01:00
João Duarte
16817718aa fix imports of owntracks .rec files containing events other than locations 2024-12-03 22:05:05 +00:00
Eugene Burmakin
e32ad54f35 Fix failing tests 2024-12-03 16:26:28 +01:00
Eugene Burmakin
ba2a95233c Implement importing geodata from photoprism 2024-12-03 15:59:34 +01:00