Commit graph

217 commits

Author SHA1 Message Date
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
9eea936782 Introduce reverse_geocoded_at to points 2024-12-02 14:44:22 +01:00
Eugene Burmakin
dca27b319c Fix trips spec 2024-11-29 12:03:00 +01:00
Eugene Burmakin
f018f0c64c Add specs for trips model 2024-11-28 17:41:43 +01:00
Eugene Burmakin
fda09248da Add tests for trips controller and change map seach form 2024-11-28 17:13:04 +01:00
Eugene Burmakin
c689051472 Show some photos from the trip 2024-11-28 10:40:08 +01:00
Eugene Burmakin
198bf3128a Add trips model and scaffold controller 2024-11-27 20:14:17 +01:00
Eugene Burmakin
7b160bfe2d Add specs for swagger 2024-11-26 20:18:08 +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
11762d528b Use POST /api/search/metadata endpoint to get geodata from Immich 2024-11-18 15:41:43 +01:00
Eugene Burmakin
4048f4dac6 Allow admins to create users with password and update user password 2024-11-12 14:56:48 +01:00
Eugene Burmakin
abf46a7436 Fix redirect after creating a user in spec 2024-11-08 21:28:45 +01:00
Eugene Burmakin
d09a4f3305 Return a GPX::GPXFile object instead of a string in Points::GpxSerializer 2024-11-08 16:47:20 +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
92c9702b23 Add very basic tests for the websockets channels 2024-11-07 19:15:03 +01:00
Eugene Burmakin
23237b6c7c Add new notification to the list right away 2024-11-07 19:00:11 +01:00
Eugene Burmakin
4a3f7d5e65 Implement live points count update for imports 2024-11-04 13:06:04 +01:00
Eugene Burmakin
9c99a835de Implement live map updates with WebSockets 2024-11-03 16:48:43 +01:00
Eugene Burmakin
14b7397840 Add raw implementation of notifications interactive channel 2024-11-03 14:37:01 +01:00
Eugene Burmakin
34c12a9536 Add GET /api/v1/countries/borders endpoint to get countries for scratch map feature 2024-11-01 20:49:59 +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
a4aaa0294f Limit stats update after import to the timespan of the imported data 2024-10-24 17:20:37 +02:00
Eugene Burmakin
d218ed8151 Fix stats distances and rework stas calculating service 2024-10-24 16:59:15 +02:00
Eugene Burmakin
60d2ee1cec Use fixed time for start_at and end_at in suggest_spec.rb 2024-10-19 23:03:35 +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
4e0b4b90f3 Use static time in visits prepare test for consistency 2024-10-16 10:43:28 +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
49efd777d3 Change time resolution in RSpec for RecordsParser 2024-10-07 13:54:54 +00:00
Sascha Zepter
b9a4a9c530 Merge branch 'fix/import-google-timeline' of https://github.com/saschazepter/dawarich into fix/import-google-timeline 2024-10-07 13:44:05 +00:00
Sascha Zepter
11ad2165ae
Merge branch 'Freika:master' into fix/import-google-timeline 2024-10-07 15:34:00 +02:00
Sascha Zepter
40a94c16f1 Fix missing iso_timestamp variable by using time.iso8601 directly 2024-10-07 00:16:37 +00:00
Sascha Zepter
f1f6d2c715 Adding tests for RecordsParser and SemanticHistoryParser. 2024-10-06 22:16:58 +00:00
Eugene Burmakin
6febd40b4f Change watcher to look into user directories 2024-10-05 12:53:35 +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
dde76fd41f Update test just a bit 2024-10-03 00:07:45 +02:00
Eugene Burmakin
e2e2c88a77 Update changelog and visits/suggest spec 2024-10-02 22:05:12 +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
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
Eugene Burmakin
17b1980ceb Add a test for GoogleMaps::RecordsParser 2024-09-28 17:12:32 +02: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
7b876ea754 Fix GPX export timestamps and add slim version of points 2024-09-24 00:10:39 +02:00
Eugene Burmakin
4496cd948f Fix spec expectations 2024-09-15 19:55:00 +02:00
Eugene Burmakin
667a1b2e3d Add pagination headers to the API response 2024-09-14 22:52:25 +02:00
Eugene Burmakin
e688f8837f Fix immich spec 2024-09-08 17:34:02 +02:00
Eugene Burmakin
ca571b8cea Fix import geodata spec 2024-09-08 17:04:12 +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
8279a8de45 Fix health controller spec description 2024-09-05 21:18:05 +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
Eugene Burmakin
28190cebfd Merge remote-tracking branch 'origin/master' into feature/gpx-export 2024-09-02 22:43:51 +02:00
Eugene Burmakin
1ae3f4ad96 Add basic test for Geojson::ImportParser 2024-09-02 22:42:29 +02:00
Eugene Burmakin
3238fb64e6 Add a very lousy spec for GPX serializer 2024-09-02 22:01:51 +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
942c84fb07 Implement GPX export 2024-09-02 21:35:08 +02:00
Eugene Burmakin
69c19df3cb Fix export_serializer_spec and update changelog 2024-09-02 20:14:38 +02:00
Eugene Burmakin
5d14b406bd Add DISTANCE_UNIT environment variable 2024-08-28 23:54:00 +02:00
Eugene Burmakin
bd9fc7d30e Mark optional parameters in the Swagger API 2024-08-28 20:36:56 +02:00
Eugene Burmakin
932c9016d7 Update swagger docs with missing page and per_page query parameters 2024-08-28 20:34:08 +02:00
Eugene Burmakin
df588d1e07 Move map settings to the map itself 2024-08-28 20:24:35 +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
f9750133df Merge remote-tracking branch 'origin/master' into visit_detection 2024-08-25 19:31:19 +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
4e861fa22e Add a test for when the user has no stats 2024-08-20 20:21:54 +02:00
Eugene Burmakin
d5ba51f113 Add stats API endpoint spec 2024-08-20 20:16:38 +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
52b56957bc Move tests around 2024-08-14 18:14:53 +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
04a2150959 Add a bunch of small changes and fixes, see CHANGELOG.md for details 2024-07-31 19:35:35 +02:00
Eugene Burmakin
3d63b29651 Ensure that the service does not create duplicate visits 2024-07-27 13:57:01 +02:00
Eugene Burmakin
5f233ef577 Remove user_id from attributes_for(:area) in areas_spec.rb 2024-07-27 13:54:42 +02:00
Eugene Burmakin
e71d7b0a92 Update users_spec.rb 2024-07-27 13:50:37 +02:00
Eugene Burmakin
9a818fd84e Add spec for creating visits with points 2024-07-27 13:36:02 +02:00
Eugene Burmakin
345733c5dd Update ruby version 2024-07-27 12:45:27 +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
Eugene Burmakin
ab700c8f25 Experiment with visit calculation service 2024-07-23 00:40:48 +02:00
Eugene Burmakin
3fd176ad6e Add Visit model and associations 2024-07-21 20:32:29 +02:00