Commit graph

265 commits

Author SHA1 Message Date
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