Eugene Burmakin
51e589e17f
Implement map tiles usage tracking and chart in user settings.
2025-02-13 21:04:29 +01:00
Evgenii Burmakin
838d85c62e
Merge pull request #876 from Freika/revert-875-revert-732-patch-3
...
Revert 875 revert 732 patch 3
2025-02-13 20:28:36 +01:00
Evgenii Burmakin
3d01bead20
Revert "Revert "Add radius param of 10""
2025-02-13 20:28:09 +01:00
Evgenii Burmakin
46fbb4a1b1
Revert "Add radius param of 10"
2025-02-13 20:27:51 +01:00
Evgenii Burmakin
43e54a7388
Merge pull request #732 from arne182/patch-3
...
Add radius param of 10
2025-02-13 20:26:40 +01:00
Evgenii Burmakin
f924bb9f82
Merge pull request #851 from chnikel/fix/Fog-of-War-overlay-gets-displaced-when-dragging-map
...
Fix fog gets displaced when dragging map
2025-02-13 20:25:05 +01:00
Eugene Burmakin
8997d10658
Fix speed units on the Points page
2025-02-11 21:38:41 +01:00
Eugene Burmakin
5b2834599e
Update prometheus metric name
2025-02-11 21:17:33 +01:00
Eugene Burmakin
06da91df27
Fix live map enabled default value
2025-02-11 21:12:35 +01:00
Eugene Burmakin
b2e6a141fc
Rehash paths and add tests
2025-02-11 21:04:12 +01:00
Eugene Burmakin
1580fb8ade
Export map tiles usage to Prometheus
2025-02-11 20:45:36 +01:00
Christian Nikel
01fd9f6e35
Fix fog gets displaced when dragging map
...
Also recalculates the size of the fog when resizing the browser window.
Closes #774
2025-02-11 00:12:01 +00:00
Eugene Burmakin
d2d6f95322
Fix accessing nested settings
2025-02-10 20:48:16 +01:00
Eugene Burmakin
0b362168c9
Implement custom map tiles and user settings with default values
2025-02-10 20:37:20 +01:00
Eugene Burmakin
b8c69c2a76
Fix importing of GPX files with empty tracks and reduce number of points created for other GPX files.
2025-02-08 23:52:37 +01:00
Eugene Burmakin
1f6d711ccf
Don't log apiKey in handleAreaCreated
2025-02-08 23:01:32 +01:00
Eugene Burmakin
0b08af87af
Clean up some code
2025-02-08 23:00:34 +01:00
Evgenii Burmakin
d101d5e544
Merge branch 'master' into dev
2025-02-08 22:53:58 +01:00
Eugene Burmakin
3a555065d3
Make popups a bit nicer
2025-02-08 12:08:01 +01:00
Eugene Burmakin
51724db874
Remove test circle
2025-02-07 21:19:34 +01:00
Eugene Burmakin
ffee59b7c3
Fix deleting an area
2025-02-07 21:17:38 +01:00
Eugene Burmakin
dd48ef4177
Implement area clicks
2025-02-07 21:08:31 +01:00
Eugene Burmakin
fea87b85bb
Add docs and few fixes
2025-02-07 19:17:28 +01:00
Eugene Burmakin
085ceb16e2
Fix export file deletion
2025-02-06 22:52:19 +01:00
Evgenii Burmakin
41da68a4c8
Revert "Fix deleting points"
2025-02-06 22:24:53 +01:00
Evgenii Burmakin
df45bb1a6c
Merge branch 'master' into fix/deleting-point-after-point
2025-02-06 20:15:30 +01:00
Eugene Burmakin
0a27dfefbe
Fix deleting points
2025-02-06 20:08:14 +01:00
Eugene Burmakin
bd39b295a4
Return app version in health response
2025-02-06 19:50:03 +01:00
Eugene Burmakin
8a309a2186
Remove tracks
2025-01-29 12:18:03 +01:00
Eugene Burmakin
fd47bf7d5d
Update trip path calculation
2025-01-29 11:43:02 +01:00
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
5bd6a6c072
Don't trim time from start and end dates
2025-01-24 16:37:28 +01:00
Eugene Burmakin
01275d0d2e
Add some tests
2025-01-24 15:58:44 +01:00
Eugene Burmakin
6e9c981329
Fix photos fetching with trip dates
2025-01-24 15:35:35 +01:00
Eugene Burmakin
9c102c1de8
Fix rendering polyline on trip editing page
2025-01-24 15:22:46 +01:00
Eugene Burmakin
401ac8ca31
Use path instead of coordinates on trips#index
2025-01-24 15:19:05 +01:00
Eugene Burmakin
380dd9235d
Calculate path and distance before saving trip
2025-01-24 15:03:57 +01:00
Eugene Burmakin
1e7efbc9af
Render trips using precalculated paths instead of list of coordinates
2025-01-24 14:54:10 +01:00
Eugene Burmakin
7db7fb17d5
Add path to trips
2025-01-24 12:01:54 +01:00
Eugene Burmakin
774de9991b
Add tracks model
2025-01-23 16:03:21 +01:00
Eugene Burmakin
be779fe333
Merge remote-tracking branch 'origin/dev' into chore/database-user-constraints
2025-01-22 15:03:55 +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
a311325c82
Fix failed tests
2025-01-20 20:41:26 +01:00
Evgenii Burmakin
620579d162
Merge branch 'master' into feature/api/points
2025-01-20 20:35:08 +01:00
Eugene Burmakin
983768a572
Assign user_id to points on parsing
2025-01-20 20:07:46 +01:00
Eugene Burmakin
6644fc9a13
Introduce uniqueness index and validation for points
2025-01-20 17:59:13 +01:00
Eugene Burmakin
6c0a954e8e
Implement dawarich points parsing
2025-01-20 16:37:15 +01:00
Eugene Burmakin
41bb2e07fb
Add user endpoint
2025-01-20 15:17:56 +01:00
Eugene Burmakin
9970d63134
Return scale and stats controls to map
2025-01-20 11:46:57 +01:00
Eugene Burmakin
0e5381c16f
Fix fog of war console error
2025-01-20 11:41:45 +01:00
Eugene Burmakin
a50e9f664a
Highlight route on click
2025-01-20 11:26:52 +01:00
Eugene Burmakin
70caaef9b5
Remove console logs
2025-01-19 18:06:56 +01:00
Eugene Burmakin
3ba42dceaf
Highlight on hover
2025-01-19 18:05:21 +01:00
Eugene Burmakin
64b141fa24
Highlight routes again
2025-01-19 17:49:11 +01:00
Eugene Burmakin
94e08d56e1
Fix point updating in the database
2025-01-19 17:14:09 +01:00
Eugene Burmakin
f85fd9e4d0
Implement polylines redraw on point drag
2025-01-19 12:59:12 +01:00
Eugene Burmakin
5a031dad69
Implement drag and drop for points
2025-01-19 11:26:38 +01:00
Eugene Burmakin
11677b14ae
Introduce self-hosted mode
2025-01-15 21:52:59 +01:00
Eugene Burmakin
33401712e2
Allow api_key to be passed in to the visited cities endpoint
2025-01-14 23:33:07 +01:00
Eugene Burmakin
e25d6f05e2
Extract fog of war to a separate file
2025-01-14 23:29:48 +01:00
Eugene Burmakin
e457631715
Use canvas for map
2025-01-14 23:23:46 +01:00
Eugene Burmakin
4fc8992f73
Rename Polylines to Routes in the interface
2025-01-13 22:05:25 +01:00
Eugene Burmakin
cebc4950e6
Add info modal for speed colored polylines
2025-01-13 21:57:19 +01:00
Eugene Burmakin
cd7cf8c4bb
Return distance and points number in the custom control to the map
2025-01-13 21:30:08 +01:00
Eugene Burmakin
1c9667d218
Optimize polylines color update
2025-01-13 21:21:04 +01:00
Eugene Burmakin
7a83afd857
Speed up polylines coloring
2025-01-13 21:10:49 +01:00
Eugene Burmakin
216727b9e7
Fix polylines color update when settings updated
2025-01-13 21:04:18 +01:00
Eugene Burmakin
badeff3d0a
Enable or disable speed colored polylines
2025-01-13 20:34:57 +01:00
Eugene Burmakin
2e18b35e3c
Add settings for speed-colored polylines
2025-01-11 00:42:44 +01:00
Eugene Burmakin
43e4e8d81a
Color polylines based on speed
2025-01-10 23:03:07 +01:00
Eugene Burmakin
485f23f82d
Remove unused volumes from docker-compose.yml
2025-01-09 20:51:19 +01:00
Eugene Burmakin
4d25dbca21
Move some files around
2025-01-09 13:38:13 +01:00
Eugene Burmakin
69af9710f5
Clean up dockerfiles
2025-01-09 13:04:22 +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
73fc9be3fb
Fix inconsistent password for the dawarich_db service in docker-compose_mounted_volumes.yml.
2025-01-07 14:31:06 +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
cd31fb4cf0
Add database constraints for users table
2024-12-26 21:34:10 +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
0dfdeac5c5
Move cache cleaning to a job
2024-12-24 17:01:26 +01:00
Eugene Burmakin
462df9e796
Make postgres config optional && add health check header && add photon api key
2024-12-24 16:51:26 +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
Evgenii Burmakin
4870e7718d
Merge pull request #564 from whimsical-c4lic0/fix/incorrect-locale-on-map-popup
...
Update map popup to format dates with the locale from the browser
2024-12-20 16:48:04 +01:00
Eugene Burmakin
6bdb103814
Expand map borders for New Zealanders
2024-12-20 16:11:46 +01:00
Eugene Burmakin
6c58a446ee
Support API key in Authorization header
2024-12-20 16:02:17 +01:00
Eugene Burmakin
d01e4f3b9e
Update tests for stats requests
2024-12-20 15:43:06 +01:00
Eugene Burmakin
6c18fbe41f
Add buttons to update stats for a year or a month
2024-12-20 15:26:25 +01:00
whimsical-c4lic0
b9d3ac9bb0
Set en-GB as the fallback locale
2024-12-19 12:50:08 -06:00
whimsical-c4lic0
bf8dc7f872
Update map popup to format dates with the locale from the browser
2024-12-19 12:39:50 -06:00
Evgenii Burmakin
9ee70269b8
Merge pull request #559 from Freika/fix/scratch-map-mk
...
Add point id to popup and fix scratch map for North Macedonia
2024-12-17 13:39:17 +01:00
Eugene Burmakin
5f93bf8522
Update to Rails 8.0.1
2024-12-17 12:56:21 +01:00
Eugene Burmakin
bd43b97fcf
Add point id to popup and fix scratch map for North Macedonia
2024-12-17 12:01:19 +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
3554e405db
Move setting reverse_geocoded_at to background job
2024-12-16 20:32:28 +01:00
Evgenii Burmakin
81b5f69a30
Merge pull request #529 from Freika/feature/map-page-update
...
Map page update
2024-12-16 16:09:55 +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
Eugene Burmakin
41dfbfc1f4
Don't close point popup when hovering over a polyline
2024-12-16 14:27:45 +01:00
Evgenii Burmakin
41ac715fc5
Merge pull request #548 from tabacha/2024-12-15-delete-notifications-on-gui
...
Feature: Add a "Delete Notifications" button
2024-12-16 14:27:29 +01:00
Sven Anders
aa497a050d
See coderview https://github.com/Freika/dawarich/pull/548
2024-12-16 14:23:24 +01:00
Sven Anders
a5bd75b27d
On Map Point delete: Make Polyline Layer visible, if it was before
2024-12-16 12:23:02 +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
Sven Anders
4ece5cb4a5
Add a "Delete Notifications" button
2024-12-15 17:28:59 +01:00
Eugene Burmakin
cddbace10e
Cache responses from api endpoints made from the map right panel
2024-12-13 13:21:04 +01:00
GED
c8960d46f2
feat: added google_phone_takeout and google_semantic_histo into imports_controller for creating a new import
2024-12-12 22:05:36 +01:00
Eugene Burmakin
e7c393a776
Show visited cities on map page
2024-12-11 22:00:33 +01:00
Eugene Burmakin
cab70839b9
Color buttons a bit
2024-12-11 21:21:24 +01:00
Eugene Burmakin
a1368b2e68
Add link to whole year
2024-12-11 20:41:51 +01:00
Eugene Burmakin
a4db806d29
Add togglable panel for months and years navigation
2024-12-11 20:34:49 +01:00
Eugene Burmakin
5cde596884
Rework countries and cities service
2024-12-11 17:14:26 +01:00
Eugene Burmakin
b364f33db1
Remove event handler
2024-12-11 16:23:34 +01:00
Eugene Burmakin
9713bd7afd
Fix deleting points on the map
2024-12-11 16:18:40 +01:00
Eugene Burmakin
4bb39a2bbd
Disable telemetry by default
2024-12-11 14:53:07 +01:00
Eugene Burmakin
463e8e6d9b
Fix specs
2024-12-11 14:42:26 +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
b1c48076e4
Add some minor changes
2024-12-11 14:21:44 +01:00
Eugene Burmakin
1733b2b732
Fix map and visits pages
2024-12-10 23:10:36 +01:00
Eugene Burmakin
9bca8cfeaa
Merge remote-tracking branch 'origin/master' into fix/reverse-geocoded-points
2024-12-10 20:15:42 +01:00
Evgenii Burmakin
60c8a03ce0
Merge pull request #490 from whimsical-c4lic0/fix/incorrect-distance-units-on-map-popup
...
Update map popup to use configured distance unit
2024-12-10 20:09:42 +01:00
Eugene Burmakin
dbb737a0c4
Update swagger docs and changelog
2024-12-10 19:43:52 +01:00
Eugene Burmakin
d6b88ae9cb
Move photos fetching for trips to a separate service
2024-12-10 19:31:52 +01:00
Eugene Burmakin
b336172b31
Show photoprism photos on a trip page
2024-12-10 18:49:37 +01:00
Sven Anders
8a5f5883ba
Add Source to thumbnail image. Perhabs a fix to #506 untested.
2024-12-09 07:58:14 +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
whimsical-c4lic0
32224628e7
Update map popup to use configured distance unit
2024-12-05 16:14:56 -06:00
Eugene Burmakin
82b3e26bd3
Update readme and log telemetry data
2024-12-05 17:46:24 +01:00
Eugene Burmakin
c8e910343c
Fix test fixtures and add telemetry sending job
2024-12-05 17:37:50 +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
Evgenii Burmakin
c2605ed805
Merge pull request #475 from Freika/feature/photoprism-integration
...
Photoprism integration
2024-12-04 14:05:26 +01:00