Commit graph

330 commits

Author SHA1 Message Date
Eugene Burmakin
6bf8006c59 Implement simple points reducer 2024-10-20 00:28:54 +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
1a0d68ab58 Add map borders and change default timeframe on the Map page 2024-10-16 15:25:22 +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
b79bb9951c Add test for Import::WatcherJob 2024-10-03 15:27:30 +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
9316fe618c Update responsiveness for the map page 2024-10-02 23:41:46 +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
d2aa1e9381 Include id attribute in slim points response 2024-09-30 23:38:32 +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
7f61cbe31e Fix point page reloads when searching for points 2024-09-28 17:29:56 +02:00
Evgenii Burmakin
d76e1a4052
Merge pull request #268 from gboudreau/fix/gh-194-timespans-in-negative-tz
Bugfix: when calculating the timestamp (for months and years), ignore the Timezone
2024-09-28 18:17:22 +03:00
Eugene Burmakin
2d26418337 Add specs for GoogleMaps::SemanticHistoryParser 2024-09-28 17:09:44 +02:00
Eugene Burmakin
9a962bca72 Fix visits map not being rendered correctly in the Visits page 2024-09-28 16:58:17 +02:00
Eugene Burmakin
6f2486b8ec Fix bulk destroy redirect 2024-09-28 16:50:59 +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
Evgenii Burmakin
911794e9ee
Merge pull request #223 from eltociear/patch-1
chore: update index.html.erb
2024-09-28 16:25:31 +03:00
Eugene Burmakin
f50b11166b Fix GPX export 2024-09-28 12:58:22 +02:00
Eugene Burmakin
d517b72f69 Disable map layers from Stadia due to their requirement of an api key 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
Eugene Burmakin
7b876ea754 Fix GPX export timestamps and add slim version of points 2024-09-24 00:10:39 +02:00
Guillaume Boudreau
644b7f489d Bugfix: when calculating the timestamp (for months and years), ignore the Timezone
Fixes GH-194
2024-09-22 07:32:33 -04:00
Eugene Burmakin
108120ce1c Update text on the landing page 2024-09-19 19:57:51 +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
548d0b0e7a Fix map not loading due to invalid tile layer name 2024-09-16 20:52:51 +02:00
Eugene Burmakin
caa77be67f Add 17 new tile layers to choose from 2024-09-15 21:04:13 +02:00
Evgenii Burmakin
cbaf1956a3
Merge branch 'master' into fix/visits-notificaton-url 2024-09-15 20:58:13 +03:00
sunstep
6d05065659
Convert the headers to string
It seems like all HTTP headers are string, while other types may work, its more safe to convert the types to strings to ensure no trouble is caused by non string types. Even if it does work, at least now the types are consistent, as headers are being put as string and they are also retrieved as string.
2024-09-15 12:07:46 +02:00
Eugene Burmakin
667a1b2e3d Add pagination headers to the API response 2024-09-14 22:52:25 +02: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
0f3268e6b6 Add links to view import points on the map and on the Points page on the Imports page 2024-09-08 17:25:35 +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
Evgenii Burmakin
cb71a33623
Merge pull request #200 from Freika/feature/miles
Miles
2024-09-06 22:28:17 +03:00
Evgenii Burmakin
3c6d93f969
Merge pull request #138 from tetebueno/feature-default-to-today
Default to today in maps page
2024-09-06 22:27:34 +03: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
f81e119283 Display number of points found on the Points page 2024-09-06 00:19:53 +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
98520b0287 Add health check endpoint 2024-09-05 21:16:40 +02:00
Eugene Burmakin
0038f72155 Update gems and ruby version 2024-09-05 21:01:59 +02:00
Ikko Eltociear Ashimine
e358b0ccf2
chore: update index.html.erb
withing -> within
2024-09-05 00:39:03 +09:00
Eugene Burmakin
740d203647 Fix a bug where the confirmation alert was shown more than once when deleting a point. 2024-09-02 23:29:37 +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
88de60517e Update route popup with the correct distance unit 2024-08-29 00:17:51 +02:00
Eugene Burmakin
9f9debdb1d Update js files to support miles 2024-08-29 00:09:04 +02:00
Eugene Burmakin
5d14b406bd Add DISTANCE_UNIT environment variable 2024-08-28 23:54:00 +02:00
Eugene Burmakin
fbc5eba90a Move map settings to topleft 2024-08-28 21:34:26 +02:00
Eugene Burmakin
914ecd2f2d Remove console.log statements from maps_controller.js 2024-08-28 20:30:47 +02:00
Eugene Burmakin
df588d1e07 Move map settings to the map itself 2024-08-28 20:24:35 +02:00
Eugene Burmakin
d11cfd864f Fix a bug that prevented data migration from working correctly 2024-08-25 21:59:07 +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
7d7005063b Add places page 2024-08-25 20:19:02 +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
ca222b78ec Add pagination to the /api/v1/points endpoint 2024-08-21 19:20:04 +02:00
Eugene Burmakin
7652dcce76 Implement the import of geodata from Immich to Dawarich 2024-08-21 18:40:54 +02:00
Eugene Burmakin
7ed7f9795b Add stats API endpoint and serializer 2024-08-20 20:14:17 +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
3b600c1052 Fix call to the background job to calculate visits 2024-07-27 22:08:40 +02:00
Eugene Burmakin
7a100f7e2a Fix name of background job to calculate visits 2024-07-27 15:05:08 +02:00
Eugene Burmakin
1e3d9f358d Fix map areas functionality 2024-07-27 14:30:46 +02:00
Eugene Burmakin
9a818fd84e Add spec for creating visits with points 2024-07-27 13:36:02 +02:00
Eugene Burmakin
8bb966b546 Update visits specs 2024-07-27 12:35:47 +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