Commit graph

505 commits

Author SHA1 Message Date
Eugene Burmakin
f492a69fbb Add country_name to points and fix some bugs. 2025-07-28 18:53:19 +02:00
Eugene Burmakin
d0bb9ef8d1 Add test for places reverse geocoding. 2025-07-27 01:39:39 +02:00
Eugene Burmakin
66e6112ad8 Eliminate some n-plus-ones. 2025-07-27 01:08:29 +02:00
Eugene Burmakin
60802a6f44 Disable settings panel functionality spec. 2025-07-26 15:06:08 +02:00
Eugene Burmakin
31b23745f8 Add spec for no points selected. 2025-07-26 14:46:53 +02:00
Eugene Burmakin
7ea149bd4e Fix specs 2025-07-23 20:02:38 +02:00
Eugene Burmakin
0bfddd932f Disable specs for track generation 2025-07-22 20:28:46 +02:00
Eugene Burmakin
c14054fdc3 Disable track generation failure notification for self-hosted users 2025-07-22 20:15:52 +02:00
Eugene Burmakin
da38c12819 Extract stats query 2025-07-22 19:43:27 +02:00
Eugene Burmakin
7afc399724 Add cache to points limit exceeded check 2025-07-21 22:27:20 +02:00
Eugene Burmakin
9bcd522e25 Update specs 2025-07-21 20:22:18 +02:00
Eugene Burmakin
59a4d760bf Fix owntracks points creation 2025-07-21 18:59:13 +02:00
Eugene Burmakin
b7aa05f4ea Fix specs 2025-07-20 21:29:05 +02:00
Eugene Burmakin
f969d5d3e6 Clean up some mess 2025-07-20 18:57:53 +02:00
Eugene Burmakin
708bca26eb Fix owntracks point creation 2025-07-20 17:43:55 +02:00
Eugene Burmakin
002b3bd635 Fix settings controller spec and tracks popup 2025-07-20 17:06:45 +02:00
Eugene Burmakin
7cdb7d2f21 Add some more tests to make sure points are properly cleaned up 2025-07-17 20:57:55 +02:00
Eugene Burmakin
dc8460a948 Fix tracks create job spec 2025-07-17 20:46:07 +02:00
Eugene Burmakin
c31d09e5c3 Refactor tracks jobs and services 2025-07-16 22:22:33 +02:00
Eugene Burmakin
878d863569 Fix some tests 2025-07-14 21:15:45 +02:00
Eugene Burmakin
24378b150d Add user serializer and update CHANGELOG.md 2025-07-13 12:50:24 +02:00
Eugene Burmakin
244fb2b192 Move bulk track creation to service 2025-07-12 23:04:15 +02:00
Eugene Burmakin
418df71c53 Fixes for bulk creating job 2025-07-12 22:04:14 +02:00
Eugene Burmakin
6b96e1f0be Revert specs 2025-07-12 17:21:53 +02:00
Eugene Burmakin
0dff80e12b Fix some tests 2025-07-12 13:43:15 +02:00
Eugene Burmakin
bc36882e73 Add name fetcher for places and visits 2025-07-12 11:21:38 +02:00
Eugene Burmakin
ee6666e7bf Skip some tests in map interaction spec. 2025-07-09 22:09:27 +02:00
Eugene Burmakin
ceef7702fa Add data migration to recalculate trips distance. 2025-07-09 21:51:48 +02:00
Eugene Burmakin
13fd9da1f9 Add a scheduled job to create tracks for all users for the past 24 hours. 2025-07-09 21:25:56 +02:00
Eugene Burmakin
9a326733c7 Return missing map buttons 2025-07-09 00:58:33 +02:00
Eugene Burmakin
f4605989b6 Fix rest of failing tests 2025-07-08 20:04:19 +02:00
Eugene Burmakin
6dd048cee3 Fix a few tests 2025-07-08 19:23:08 +02:00
Eugene Burmakin
f1720b859b Store distance in meters in the database and convert to user's preferred unit on the fly. 2025-07-08 18:10:10 +02:00
Eugene Burmakin
81eb759fb8 Remove tracks api 2025-07-08 00:05:22 +02:00
Eugene Burmakin
e64e706b0f Unify timestamps 2025-07-07 23:38:10 +02:00
Eugene Burmakin
f33dcdfe21 Store track distance in user's preferred unit 2025-07-07 22:23:37 +02:00
Eugene Burmakin
0d657b9d6e Add incremental track generation 2025-07-07 21:48:07 +02:00
Eugene Burmakin
92a15c8ad3 Handle unfinished tracks 2025-07-07 18:59:42 +02:00
Eugene Burmakin
15be46b604 Fix tests 2025-07-04 20:55:05 +02:00
Eugene Burmakin
1468f1f9dc Remove tracks api endpoint 2025-07-04 20:09:06 +02:00
Eugene Burmakin
565f92c463 Add tracks to map 2025-07-04 19:49:56 +02:00
Eugene Burmakin
7bd098b54f Extract tracks calculation to serializer 2025-07-03 20:34:41 +02:00
Eugene Burmakin
862f601e1d Add tracks calculation and storage in the database 2025-07-03 20:18:18 +02:00
Eugene Burmakin
3b474704ea Fixes for visits suggestions. 2025-07-02 23:50:32 +02:00
Eugene Burmakin
12a53aac20 Don't check for new version in production. 2025-07-02 21:58:19 +02:00
Eugene Burmakin
d518603719 Update importing process 2025-07-02 20:22:40 +02:00
Eugene Burmakin
c75e037a5a Clean up and fix specs 2025-06-30 23:49:07 +02:00
Eugene Burmakin
1ebe2da84a Update changelog 2025-06-30 22:51:25 +02:00
Eugene Burmakin
d10ca668a9 Map country codes instead of guessing 2025-06-30 22:08:34 +02:00
Eugene Burmakin
cabd63344a Fix failing test 2025-06-30 20:51:18 +02:00
Eugene Burmakin
f37039ad8e Add export and import specs 2025-06-30 20:29:47 +02:00
Eugene Burmakin
8ad0b20d3d Add import data feature 2025-06-28 12:22:56 +02:00
Eugene Burmakin
4898cd82ac Update specs 2025-06-26 22:05:32 +02:00
Eugene Burmakin
8dd7ba8363 Fix specs 2025-06-26 20:05:26 +02:00
Eugene Burmakin
631ee0e64c Clean up specs a bit 2025-06-26 19:48:42 +02:00
Eugene Burmakin
2088b769d7 Add tests 2025-06-26 19:24:40 +02:00
Eugene Burmakin
7988fadd5f User export: exporting exports and imports data with files 2025-06-25 21:14:33 +02:00
Eugene Burmakin
767629b21e Remove solid trifecta 2025-06-09 13:50:43 +02:00
Eugene Burmakin
b76602d9c8 Return sidekiq and redis to Dawarich 2025-06-09 13:39:25 +02:00
Eugene Burmakin
b6a7896119 Revert cities and countries logic 2025-06-09 12:09:42 +02:00
Eugene Burmakin
3426f2d66b Fixed a bug where points from Immich and Photoprism did not have lonlat attribute set. #1318 2025-06-08 16:41:01 +02:00
Eugene Burmakin
3d2666c4ee Fix a few issues and implement location iq support 2025-06-05 21:10:40 +02:00
Eugene Burmakin
29a74fa08c Update tests 2025-06-02 21:17:06 +02:00
Eugene Burmakin
6d39f4306f Remove Redis and Sidekiq from Dawarich 2025-06-02 20:53:35 +02:00
Eugene Burmakin
48eb55f621 Update changelog and add a spec 2025-05-31 21:58:50 +02:00
Eugene Burmakin
855872d166 Merge remote-tracking branch 'origin' into feature/solid-queue-rewamp 2025-05-30 19:20:58 +02:00
Eugene Burmakin
3902bc25f8 Update countries and cities spec 2025-05-29 13:17:31 +02:00
Eugene Burmakin
c843ff1577 Update countries and cities spec 2025-05-29 13:07:30 +02:00
Evgenii Burmakin
89c286a69b
Merge branch 'dev' into tests/system 2025-05-29 12:42:48 +02:00
Evgenii Burmakin
05018b6e6c
Merge pull request #610 from arne182/patch-2
Fix logic for grouping consecutive points in CountriesAndCities
2025-05-29 12:42:01 +02:00
Eugene Burmakin
d885796576 Clean up tests a bit 2025-05-29 12:22:08 +02:00
Eugene Burmakin
68165c47f6 Update circleci config 2025-05-29 12:05:50 +02:00
Eugene Burmakin
2f1d428a40 Update circle ci config 2025-05-29 11:58:13 +02:00
Eugene Burmakin
fd90e28ba8 Update circle config 2025-05-29 11:52:56 +02:00
Eugene Burmakin
4c6bd5c6ae Update test setup 2025-05-26 22:18:20 +02:00
Eugene Burmakin
e8d49662a2 Remove cypress 2025-05-26 21:05:36 +02:00
Eugene Burmakin
f5cefdbd03 Add system tests for map interaction 2025-05-26 20:33:48 +02:00
Eugene Burmakin
64d33f5e6e Fix few issues 2025-05-22 19:09:43 +02:00
Eugene Burmakin
8728a22974 Update safe settings 2025-05-19 23:28:33 +02:00
Eugene Burmakin
38a32f245f Enable home spec back 2025-05-18 11:45:45 +02:00
Eugene Burmakin
605ceee820 Add modal to show countries and cities visited in a year 2025-05-18 00:15:25 +02:00
Eugene Burmakin
35a0533b2b Move to solid_queue 2025-05-17 23:05:52 +02:00
Eugene Burmakin
15b20fd2c3 Fix spec 2025-05-17 22:12:35 +02:00
Eugene Burmakin
06aee05602 Move distance unit settings to user settings 2025-05-17 20:35:38 +02:00
Eugene Burmakin
630c813f0b Fix visits overlapping issue 2025-05-17 20:10:03 +02:00
Eugene Burmakin
c69d4f45f1 Update views and specs 2025-05-16 19:53:42 +02:00
Eugene Burmakin
5be5c1e584 Put countries into database 2025-05-16 18:51:48 +02:00
Eugene Burmakin
96108b12d0 Update tests a bit 2025-05-15 22:58:04 +02:00
Eugene Burmakin
108239f41c Fix countries spec 2025-05-15 18:36:05 +02:00
Eugene Burmakin
a48cff098b Some frontend fixes 2025-05-15 18:23:24 +02:00
Eugene Burmakin
5fbc1fb884 Make sure geocoder errors are reported 2025-05-13 20:33:04 +02:00
Eugene Burmakin
556af7fd02 Replace stubs with Geocoder search 2025-05-13 20:21:18 +02:00
Eugene Burmakin
79f2522f54 Fetch countries for a trip via geocoding service 2025-05-13 19:43:02 +02:00
Eugene Burmakin
857f1da942 Unify name builder usage 2025-05-12 23:36:46 +02:00
Eugene Burmakin
aa521dba9b Extract place name suggester 2025-05-12 22:49:30 +02:00
Eugene Burmakin
ed7b6d6d24 Add a STORE_GEODATA environment variable to control whether to store geodata in the database. 2025-05-12 22:33:47 +02:00
Evgenii Burmakin
f571d1ebad
Merge branch 'dev' into fix/small-fixes 2025-05-12 21:44:42 +02:00
Eugene Burmakin
52aefa109e Skip points without lonlat and timestamp from Owntracks 2025-05-12 21:41:55 +02:00
Eugene Burmakin
fa80658904 Fix GeoJSON import speed/velocity 2025-05-08 17:28:06 +02:00
Eugene Burmakin
e6fddddc01 Fix tests 2025-05-04 00:16:02 +02:00
Eugene Burmakin
c786671d95 Refactor points creation to be synchronous 2025-05-03 22:40:44 +02:00
Eugene Burmakin
ffc945708c Fix deletion of imports on error 2025-05-03 21:46:30 +02:00
Eugene Burmakin
acf024b0e1 Implement direct upload of import files with progress bar 2025-05-03 21:35:02 +02:00
Eugene Burmakin
bf4a900089 Merge remote-tracking branch 'origin' into feature/pmtiles 2025-05-02 20:06:32 +02:00
Eugene Burmakin
37c95d966e Remove sample points 2025-05-02 20:05:12 +02:00
Eugene Burmakin
6d30824167 Select user_id for points when extracting longitude and latitude from raw_data 2025-04-24 21:42:54 +02:00
Eugene Burmakin
07d00f189d Rename parsers to importers 2025-04-23 23:36:16 +02:00
Eugene Burmakin
e433ed4d1c Use secure file downloader for imports 2025-04-23 23:27:55 +02:00
Eugene Burmakin
45a310319f Fix failing specs 2025-04-23 23:07:58 +02:00
Eugene Burmakin
deeb250910 Extract file downloader 2025-04-23 22:46:39 +02:00
Eugene Burmakin
2e53f39a7f Update import edit view 2025-04-19 13:18:39 +02:00
Eugene Burmakin
02490c62a4 Implemented imports editing 2025-04-18 19:48:02 +02:00
Eugene Burmakin
5fe503f745 Extract latitude and longitude from raw_data 2025-04-13 23:25:26 +02:00
Eugene Burmakin
b0b0a11c30 Fix few errors 2025-04-12 13:06:32 +02:00
Eugene Burmakin
dae1733320 Remove telemetry 2025-04-11 19:13:46 +02:00
Eugene Burmakin
5ab8b17cdd Update records storage importer to process all records 2025-04-06 16:49:50 +02:00
Eugene Burmakin
41604d71a6 Add brakeman and some tests 2025-04-04 22:16:52 +02:00
Eugene Burmakin
67916c10c4 Fix tests 2025-04-04 21:39:59 +02:00
Eugene Burmakin
600c88ae01 Merge remote-tracking branch 'origin/dev' into feature/subscription 2025-04-04 21:28:13 +02:00
Eugene Burmakin
6839ecdbda Update specs for new user active_until column 2025-04-04 21:12:42 +02:00
Eugene Burmakin
99bb982792 Merge from dev 2025-04-04 20:14:44 +02:00
Eugene Burmakin
73edb35bb1 Implement Records.json import via the UI 2025-04-03 18:41:05 +02:00
Eugene Burmakin
2f9cacba61 Rename format column to file_format in exports table 2025-04-02 21:19:02 +02:00
Eugene Burmakin
652a51281b Add an optional task to migrate existing imports to the new storage. 2025-04-02 20:58:35 +02:00
Eugene Burmakin
fc8d0d8ddc Fix failing tests and move testing imports to files 2025-03-24 20:46:16 +01:00
Eugene Burmakin
b66e18818b Fix rest of the tests and re-enable visit suggesting 2025-03-23 21:00:31 +01:00
Eugene Burmakin
5758f9a923 Use attached file to import geojson and phone takeout 2025-03-23 19:13:59 +01:00
Eugene Burmakin
f3b98ac83d Use attached import file to import own tracks data 2025-03-23 19:00:04 +01:00
Eugene Burmakin
a93b49ee80 Use Active Storage to import GPX files 2025-03-23 18:37:10 +01:00
Eugene Burmakin
dbd9b7f31f Add rake tasks for data cleanup and user activation 2025-03-21 18:09:58 +01:00
Eugene Burmakin
342cb23b58 Merge remote-tracking branch 'origin' into feature/subscription 2025-03-18 16:50:26 +01:00
Eugene Burmakin
d4503083bc Fix sample points import 2025-03-12 21:19:48 +01:00
Eugene Burmakin
4a6c5bf97c Create sample import after user is created 2025-03-12 20:26:53 +01:00
Eugene Burmakin
b8e6b1a372 Enable visit suggesting job 2025-03-09 20:07:39 +01:00
Eugene Burmakin
c86921a29b Update tests and refactor some code 2025-03-09 16:29:16 +01:00
Eugene Burmakin
5ee3d43b10 Fix some more tests and rework visit_suggesting_job a bit 2025-03-09 15:37:32 +01:00
Eugene Burmakin
4a859fb350 Add bunch of tests and refactor some stuff 2025-03-09 14:58:30 +01:00
Eugene Burmakin
6b356d24b1 Implement visits merging 2025-03-05 20:04:26 +01:00
Eugene Burmakin
bc91004713 Fix smart detect spec 2025-03-04 21:16:45 +01:00
Eugene Burmakin
9d68458622 Fix some more tests 2025-03-03 23:54:39 +01:00
Eugene Burmakin
70d754b397 Fix some tests 2025-03-03 22:39:43 +01:00
Eugene Burmakin
c2f6224421 Add lonlat to places 2025-03-03 20:50:49 +01:00
Eugene Burmakin
414c9e831c Add possible places to visits 2025-03-03 20:11:21 +01:00
Eugene Burmakin
a4123791aa Add visits to the map page 2025-03-02 21:24:57 +01:00
Eugene Burmakin
95717db1bf Add simple button to manage subscription 2025-02-26 21:06:43 +01:00
Eugene Burmakin
080da9f2de Update tests 2025-02-25 00:16:42 +01:00
Eugene Burmakin
173af225d7 Merge remote-tracking branch 'origin/dev' into feature/user-features-access 2025-02-24 21:40:36 +01:00
Eugene Burmakin
56046a6965 Broadcast import progress after GPX import 2025-02-23 23:12:12 +01:00
Eugene Burmakin
383b88ab04 Speed up some importing processes 2025-02-22 23:14:23 +01:00
Eugene Burmakin
7c766a4d92 Fix the rest of the tests 2025-02-22 22:37:21 +01:00