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
c1b767d791
Fix logic for grouping consecutive points in CountriesAndCities
...
This update corrects the logic for grouping consecutive points in the group_points_with_consecutive_cities method. It ensures sessions are properly split when transitioning between cities or encountering significant time gaps, leading to accurate grouping and filtering of points based on session duration.
2025-01-01 13:06:07 +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
Eugene Burmakin
e17b671c9c
Add a button to import Photoprism geodata
2024-12-03 15:40:21 +01:00
Eugene Burmakin
bf569da921
Implement thumbnail fetching for photoprism
2024-12-03 14:44:24 +01:00
Eugene Burmakin
8849a5e0a5
Add source to photos
2024-12-03 13:50:05 +01:00
Eugene Burmakin
be45af95fb
Implement photos serializer
2024-12-02 18:21:12 +01:00
Eugene Burmakin
202396a93d
Implement photos request for both immich and photoprism in single service class
2024-12-02 17:34:16 +01:00
Eugene Burmakin
360828250f
Add test for photoprism request photos
2024-12-02 17:22:36 +01:00
Eugene Burmakin
1f9e1f2f97
Add basic Photoprism photos integration
2024-12-02 16:52:05 +01:00
Eugene Burmakin
9eea936782
Introduce reverse_geocoded_at to points
2024-12-02 14:44:22 +01:00
Eugene Burmakin
5c09e5b0f9
Move trip to partial
2024-11-28 16:11:04 +01:00
Eugene Burmakin
f2869347bc
Fix margins on some pages
2024-11-28 15:54:36 +01:00
Eugene Burmakin
c689051472
Show some photos from the trip
2024-11-28 10:40:08 +01:00
Eugene Burmakin
3ba7a657e4
Fix retrieving photos from Immich with timeframes
2024-11-27 16:43:12 +01:00
Eugene Burmakin
336654270d
Add logging for Immich response with no items
2024-11-27 14:06:49 +01:00
Eugene Burmakin
7b160bfe2d
Add specs for swagger
2024-11-26 20:18:08 +01:00
Eugene Burmakin
3c6f2e5ce3
Add loading spinner and checkmark
2024-11-26 17:36:22 +01:00
Eugene Burmakin
130630b997
Move Immich API request to a separate service & add photos api controller
2024-11-26 14:46:26 +01:00
Eugene Burmakin
79bf74add4
Move APP_VERSION to a constant
2024-11-24 14:56:20 +01:00
Eugene Burmakin
8891313b5a
Move url to the initializer
2024-11-18 15:57:41 +01:00
Eugene Burmakin
11762d528b
Use POST /api/search/metadata endpoint to get geodata from Immich
2024-11-18 15:41:43 +01:00
Eugene Burmakin
fb50b2944e
Merge remote-tracking branch 'origin/master' into fix/gpx-valid-export
2024-11-08 16:33:34 +01:00
Eugene Burmakin
00619837df
Add test for parsing speed from Garmin GPX files
2024-11-08 14:54:37 +01:00
Eugene Burmakin
5c127f913a
Make sure speed is recorded when importing GPX files
2024-11-08 14:42:18 +01:00
Eugene Burmakin
3e5ddb7183
Fix importing geojson from GPSLogger for Android
2024-11-08 14:22:23 +01:00
Eugene Burmakin
a5198f3a14
Update gpx serializer to make it a valid gpx file
2024-11-08 13:45:51 +01:00
Eugene Burmakin
ebee214982
Add live map enabled setting
2024-11-07 13:07:54 +01:00
Eugene Burmakin
853d02cd80
Add Imports::Broadcaster to Immich::ImportParser
2024-11-04 13:14:26 +01:00
Eugene Burmakin
3ba70e906f
Add Imports::Broadcaster to some more parsers
2024-11-04 13:14:06 +01:00
Eugene Burmakin
4a3f7d5e65
Implement live points count update for imports
2024-11-04 13:06:04 +01:00
Eugene Burmakin
9cc9632b6d
Remove unused parser from imports create service
2024-11-04 11:58:15 +01:00
Eugene Burmakin
d3f6d0da7b
Rework the app version checking to be performed in the background and update docker compose file to use different directories for gems cache
2024-10-29 11:53:44 +01:00
Eugene Burmakin
609688f144
Write Immich debug data and fix Sidekiq healthcheck
2024-10-29 11:53:44 +01:00
Eugene Burmakin
2574f2e4f3
Remove comments
2024-10-24 17:22:54 +02:00
Eugene Burmakin
a4aaa0294f
Limit stats update after import to the timespan of the imported data
2024-10-24 17:20:37 +02:00
Eugene Burmakin
19b12462b8
Remove CreateStats service
2024-10-24 17:00:36 +02:00
Eugene Burmakin
d218ed8151
Fix stats distances and rework stas calculating service
2024-10-24 16:59:15 +02:00
Eugene Burmakin
50b77cc493
Fix Owntracks .rec file import
2024-10-19 19:29:43 +02:00
Evgenii Burmakin
2015a6f7d1
Merge pull request #281 from saschazepter/fix/import-google-timeline
...
Allow different timestamp formats in Google exports to be parsed
2024-10-18 13:37:31 +02:00
Eugene Burmakin
10734f26ae
Use RecParser in ExportParser
2024-10-16 10:54:56 +02:00
Eugene Burmakin
786ce722d1
Fix test according to new file format for Owntracks
2024-10-15 22:41:49 +02:00
Eugene Burmakin
11d024127e
Update owntracks params spec
2024-10-15 22:30:16 +02:00
Eugene Burmakin
a2f3aef608
Implement support for OwnTracks REC files
2024-10-15 22:17:51 +02:00
Sascha Zepter
11ad2165ae
Merge branch 'Freika:master' into fix/import-google-timeline
2024-10-07 15:34:00 +02:00
Eugene Burmakin
6febd40b4f
Change watcher to look into user directories
2024-10-05 12:53:35 +02:00
Eugene Burmakin
40e5477a00
Disable retries for some background jobs
2024-10-03 15:33:31 +02:00
Eugene Burmakin
d4e2e5006e
Implement creating imports from watched directory
2024-10-03 15:08:23 +02:00
Eugene Burmakin
6566455a2f
Move import jobs to the Import namespace
2024-10-03 14:04:37 +02:00
Eugene Burmakin
9d4cc7a4cf
Move point serializers to API namespace
2024-10-02 21:58:19 +02:00
Eugene Burmakin
df430851ce
Add optional order query parameter to GET /api/v1/points
2024-10-02 21:29:56 +02:00
Sascha Zepter
b8172c86e3
Merge branch 'Freika:master' into fix/import-google-timeline
2024-09-30 23:48:00 +02:00
Eugene Burmakin
ec793fe4aa
Fix incorrect timestamps for Google Location History (mobile device) points
2024-09-30 23:31:42 +02:00
Sascha Zepter
2231c0aab9
Merge branch 'Freika:master' into fix/import-google-timeline
2024-09-30 22:38:16 +02:00
Sascha Zepter
eb892dde9a
Refactor parse_timestamp: move to lib/timestamps.rb
2024-09-30 14:49:11 +00:00
Eugene Burmakin
2d26418337
Add specs for GoogleMaps::SemanticHistoryParser
2024-09-28 17:09:44 +02:00
Eugene Burmakin
4d743ae314
Preserve start_at and end_at parameters when deleting points from the Points page
2024-09-28 16:50:59 +02:00
Eugene Burmakin
f50b11166b
Fix GPX export
2024-09-28 12:58:22 +02:00
Sascha Zepter
6077776880
Allow different timestamp formats in Google exports to be parsed
2024-09-24 22:46:52 +02:00
tetebueno
e2c45bad46
Creating exports directory if it doesn't exist.
...
On my first export I found out that it failed because the exports directory didn't exist. Creating the directory and retrying the export fixed it.
2024-09-16 16:10:19 -03:00
Eugene Burmakin
f285eedd58
Fix url to visits page in notification
2024-09-14 21:09:29 +02:00
Eugene Burmakin
979aa06005
Flatten immich data before processing it
2024-09-12 22:41:26 +02:00
Eugene Burmakin
d2a8180a7f
Use map instead of flat_map
2024-09-08 17:06:06 +02:00
Eugene Burmakin
d5cbae620e
Update immich data importing service
2024-09-08 16:52:35 +02:00
Eugene Burmakin
0ac3b025ed
Merge remote-tracking branch 'origin/master' into feature/miles
2024-09-06 21:26:26 +02:00
Eugene Burmakin
662eae81fd
Add miles tests and refactor CreateStats service a bit
2024-09-06 21:22:13 +02:00
Eugene Burmakin
3592f46492
Rework GeoJSON import to support FeatureCollection as a root object and remove points counter for imports
2024-09-06 00:07:06 +02:00
Eugene Burmakin
90bfd13f95
Improve GeoJSON import service to work with FeatureCollection
2024-09-05 23:12:21 +02:00
Eugene Burmakin
0038f72155
Update gems and ruby version
2024-09-05 21:01:59 +02:00
Eugene Burmakin
28190cebfd
Merge remote-tracking branch 'origin/master' into feature/gpx-export
2024-09-02 22:43:51 +02:00
Eugene Burmakin
8bb6a9afb5
Implement GeoJSON import
2024-09-02 22:33:54 +02:00
Eugene Burmakin
24726aa4d1
Add PointSerializer spec
2024-09-02 21:56:48 +02:00
Eugene Burmakin
5df4ec8d24
Rename the format variable to file_format
2024-09-02 21:45:27 +02:00
Eugene Burmakin
ca9f3ef82e
Enable export as GPX
2024-09-02 21:42:49 +02:00
Eugene Burmakin
942c84fb07
Implement GPX export
2024-09-02 21:35:08 +02:00
Eugene Burmakin
80b2f8831d
Draft exporting as GeoJSON
2024-09-02 20:51:34 +02:00
Eugene Burmakin
ff9735b972
Update changelog
2024-09-02 18:34:57 +02:00
Eugene Burmakin
fb8b2958b6
Remove format from ExportJob.perform_later call
2024-09-02 18:33:40 +02:00
Eugene Burmakin
41f0a713ea
Draft of the GPX export feature
2024-09-02 18:32:21 +02:00
Eugene Burmakin
2a960826eb
Add resource limits to docker-compose.yml file and fix Immich import bug
2024-09-02 18:28:17 +02:00
Eugene Burmakin
5d14b406bd
Add DISTANCE_UNIT environment variable
2024-08-28 23:54:00 +02:00
Eugene Burmakin
656dc97490
Return previos radius calculatuion logic
2024-08-25 20:51:58 +02:00
Eugene Burmakin
ace93f7534
Updates here and there
2024-08-25 20:48:00 +02:00
Eugene Burmakin
0e90bdf15d
Update changelog
2024-08-25 19:46:50 +02:00
Eugene Burmakin
f9750133df
Merge remote-tracking branch 'origin/master' into visit_detection
2024-08-25 19:31:19 +02:00
Eugene Burmakin
3336ac9864
Add counter cache for imports
2024-08-22 22:40:27 +02:00
Eugene Burmakin
7652dcce76
Implement the import of geodata from Immich to Dawarich
2024-08-21 18:40:54 +02:00
Eugene Burmakin
5c16cc6dca
Fix owntracks params
2024-08-15 19:47:59 +02:00
Evgenii Burmakin
3b5a2713fc
Merge pull request #126 from bluemaex/improve_gpx_import
...
Improve GPX Parser
2024-08-14 20:24:49 +02:00
Eugene Burmakin
8197624d5e
Fix Google's Records.json import
2024-08-14 20:12:24 +02:00
Eugene Burmakin
39bc6aa58a
Implement support for custom Photon API host
2024-08-14 18:06:37 +02:00
Eugene Burmakin
52ee90ac9c
Replace google places api with photon api by komoot
2024-08-13 18:25:48 +02:00
Eugene Burmakin
382f937f29
Add lots of logic
2024-08-12 22:18:11 +02:00
Eugene Burmakin
5394e9dd52
Add visits detection
2024-08-05 21:23:08 +02:00
Eugene Burmakin
1e207f297c
Experiment with visits detection
2024-08-04 14:03:52 +02:00
Eugene Burmakin
04a2150959
Add a bunch of small changes and fixes, see CHANGELOG.md for details
2024-07-31 19:35:35 +02:00
Eugene Burmakin
9a818fd84e
Add spec for creating visits with points
2024-07-27 13:36:02 +02:00
Eugene Burmakin
87258df41e
Fix route popup distance and add areas swagger test
2024-07-27 12:22:56 +02:00
Eugene Burmakin
ffe0334ebc
Add visits page
2024-07-24 20:25:16 +02:00
Eugene Burmakin
ab700c8f25
Experiment with visit calculation service
2024-07-23 00:40:48 +02:00
Max Stockner
958c792bf1
A GPX File can have multiple tracks
2024-07-16 23:06:55 +02:00
Eugene Burmakin
f080b4c6ce
Add tests for background jobs stuff
2024-07-12 21:59:03 +02:00
Eugene Burmakin
ac36a505dd
Add reverse geocoding job to background jobs controller
2024-07-09 23:50:19 +02:00
Eugene Burmakin
50798b5bb1
Fix overland batch payload processing
2024-07-08 23:56:08 +02:00
Eugene Burmakin
e1648c5cb0
Rework Google Phone Takeout import to support location-history.json another file format
2024-07-08 18:05:02 +02:00
Eugene Burmakin
bb2beb519b
Add notifications
2024-07-04 22:20:12 +02:00
Eugene Burmakin
02213d84b1
Update changelog
2024-06-30 17:57:13 +02:00
Eugene Burmakin
1dbf5cbda5
Implement support for Google Phone Takeout import
2024-06-30 17:47:36 +02:00
Eugene Burmakin
7844bf1f3c
Update Visits::Calculate to return only one visit per city per day
2024-06-25 20:48:55 +02:00
Eugene Burmakin
f0e94f38f9
Rework cities and countries visits calculation
2024-06-25 20:19:15 +02:00
Eugene Burmakin
747418c854
Implement GPX imports
2024-06-19 21:16:06 +02:00
Eugene Burmakin
4fe13a7d3f
Merge branch 'master' into gpx-imports
2024-06-17 17:30:49 +02:00
Eugene Burmakin
da8792bbe1
Change count to size in the export service
2024-06-14 19:52:05 +02:00
Eugene Burmakin
1257f295be
Add debugging information to the export service
2024-06-14 19:33:24 +02:00
Eugene Burmakin
6af4d6d7ef
Fix a bug where the export file was not being created in the public folder
2024-06-14 19:33:24 +02:00
Eugene Burmakin
3f68ce5e37
Implement Exporting points to a file
2024-06-12 20:29:38 +02:00
Eugene Burmakin
6ed9a27040
Update Records.json importing script
2024-06-10 22:48:05 +02:00
Eugene Burmakin
96a5240729
Add Google Maps Phone Takeout parser
2024-06-08 22:10:10 +02:00
Eugene Burmakin
08be01ebf6
Use Stat's toponyms to calculate the number of countries and cities visited in a month
2024-06-07 21:22:57 +02:00
Eugene Burmakin
4afbdd3b64
Add gpx file to experiment with
2024-05-31 23:18:57 +02:00
Eugene Burmakin
e2cc9a9992
Increase the concurrency of the Sidekiq workers to 10 and add the user_id to the records parsed from the Google Maps Timeline Export.
2024-05-25 22:27:18 +02:00
Eugene Burmakin
5f18a3051d
Fix interface inconsistencies
2024-05-25 13:36:15 +02:00
Eugene Burmakin
d25468207d
Add a rake task to import large files from Google Takeout
2024-05-23 20:35:31 +02:00
Eugene Burmakin
814095a4a2
Implement bulk points deletion
2024-05-23 20:12:23 +02:00
Eugene Burmakin
494eb2c0ec
Implement Google Maps records parser
2024-05-18 15:00:44 +02:00
Eugene Burmakin
ce7b391316
Add a new release to the CHANGELOG.md file and rename env var
2024-05-05 12:03:25 +02:00
Eugene Burmakin
ad78af59ac
Rework calculation of cities visited
2024-04-26 18:59:58 +02:00
Eugene Burmakin
98d33da3d1
Add spec for CheckAppVersion service
2024-04-25 22:40:51 +02:00
Eugene Burmakin
e00f614b9a
Use shrine to upload files instead of ActiveStorage
2024-04-25 22:28:34 +02:00
Eugene Burmakin
d99e6d6f50
Set redis as default cache store
2024-04-21 18:12:07 +02:00
Eugene Burmakin
b64301696e
Fix app_version check
2024-04-21 17:52:09 +02:00
Eugene Burmakin
efb4ecf19b
Implement version check from github with 24 cache
2024-04-21 17:39:10 +02:00
Eugene Burmakin
fe4110b0fd
Add support for Overland
2024-04-06 19:09:38 +02:00
Eugene Burmakin
2783cc5014
Allow user to download the exported data as a JSON file
2024-04-04 17:29:11 +02:00
Eugene Burmakin
5544bcd5ff
Move point creation to a background job, add months navigation to the sidebar
2024-04-02 17:37:38 +02:00
Eugene Burmakin
b6769676c3
Fix google import and add stats for countries and cities visited and distance traveled by year
2024-03-28 15:11:59 +01:00
Eugene Burmakin
96a9900661
Add a button to create/update stats
2024-03-24 19:25:33 +01:00
Eugene Burmakin
29ac8c1136
Add nice charts to the stat cards
2024-03-24 18:55:35 +01:00
Eugene Burmakin
7292115a44
Move import processing to background job & allow to disable reverse geocoding
2024-03-24 18:05:39 +01:00
Eugene Burmakin
accb4dc04c
Add frozen string literal comment to CreateStats service
2024-03-23 20:32:20 +01:00
Eugene Burmakin
e1193608ef
Add basic stats
2024-03-23 20:29:55 +01:00
Eugene Burmakin
5cb8af66e0
Save number of raw points and doubles in import file
2024-03-23 14:20:20 +01:00
Eugene Burmakin
18ed732c24
Fix owntracks import
2024-03-23 13:36:09 +01:00
Eugene Burmakin
3f146b34c7
Prevent doubles in the database when importing points
2024-03-21 22:56:55 +01:00
Eugene Burmakin
1f3ee41bcb
Implement calculation of cities and countries with the number of points and the last timestamp
2024-03-17 17:58:09 +01:00
Eugene Burmakin
e2095bae9c
Fix params deep_symbolize_keys in OwnTracks::Params
2024-03-16 00:01:00 +01:00
Eugene Burmakin
3c74bc2937
Migrate from old template
2024-03-15 23:27:31 +01:00