Commit graph

454 commits

Author SHA1 Message Date
Eugene Burmakin
0905ef65a5 Don't pass h3_resolution from frontend; use default in backend service 2025-09-18 19:45:53 +02:00
Eugene Burmakin
5b3fe84933 Update onborading popup 2025-09-18 18:29:46 +02:00
Eugene Burmakin
c67532bb10 Reimplement hexagons with H3 2025-09-17 01:55:42 +02:00
Eugene Burmakin
eb16959b9a Extract logic to service classes 2025-09-16 20:41:53 +02:00
Eugene Burmakin
8c45404420 Fix hexagons render 2025-09-15 20:10:53 +02:00
Eugene Burmakin
6314442770 Calculate only centers of hexagons 2025-09-14 12:41:16 +02:00
Eugene Burmakin
a2aa1be271 Precalculate hexagons for stats 2025-09-13 23:11:42 +02:00
Eugene Burmakin
f80b2a1aff Fix last failing specs 2025-09-13 18:30:26 +02:00
Eugene Burmakin
0ed71c3cc6 Fix failing specs 2025-09-13 17:46:45 +02:00
Eugene Burmakin
bfeeeee234 Merge branch 'dev', remote-tracking branch 'origin' into feature/follow-up-emails 2025-09-13 14:03:04 +02:00
Eugene Burmakin
5fe7a47ee2 Fix last failing test 2025-09-13 12:44:47 +02:00
Eugene Burmakin
52a69ecf3d Fix hexagons 2025-09-12 22:23:17 +02:00
Eugene Burmakin
88e9c85766 Extract hexagon query to separate class 2025-09-12 21:38:25 +02:00
Eugene Burmakin
612c30026c Add hexagons to public stats page 2025-09-12 08:33:51 +02:00
Eugene Burmakin
acd3b20ef5 Add stats month page 2025-09-11 00:19:34 +02:00
Eugene Burmakin
8604effbe1 Refactor some bits 2025-09-10 21:46:03 +02:00
Eugene Burmakin
17b09c91da Refactor daily track generation to avoid cleaning existing tracks 2025-09-08 21:09:28 +02:00
Eugene Burmakin
410cd86c4e Implement a new daily track generation job to replace the old cleanup job. 2025-09-08 20:46:30 +02:00
Eugene Burmakin
68a0a8f23c Add follow up emails 2025-09-05 19:39:50 +02:00
Eugene Burmakin
e3b2fcd415 Sanitize input 2025-09-04 00:12:33 +02:00
Eugene Burmakin
9967434edc Escape search query 2025-09-03 23:27:59 +02:00
Eugene Burmakin
2b1f6d66bc Fix missing var 2025-09-03 20:05:03 +02:00
Eugene Burmakin
689b8cb0f1 Remove caching from geocoder 2025-09-03 19:56:38 +02:00
Eugene Burmakin
690f80766e Update location search to instantiate GeocodingService with query 2025-09-03 19:48:41 +02:00
Eugene Burmakin
b276828af3 Remove provider detection 2025-09-03 19:28:26 +02:00
Eugene Burmakin
e965c8c67c Remove system spec 2025-09-03 18:51:00 +02:00
Eugene Burmakin
83fc3106a0 Fix failing specs 2025-09-02 23:25:21 +02:00
Eugene Burmakin
71bb224524 Fix some tests 2025-09-02 21:55:47 +02:00
Eugene Burmakin
4f402a0c2a Make search look nicer 2025-09-02 21:21:22 +02:00
Eugene Burmakin
99dace21e4 Put search to a sidebar 2025-09-01 22:04:55 +02:00
Eugene Burmakin
2d240c2094 Implement search by user's points 2025-08-31 12:08:33 +02:00
Eugene Burmakin
1709aa612d Add search bar 2025-08-30 23:18:16 +02:00
Eugene Burmakin
006456966d Fix last failing spec 2025-08-29 14:32:04 +02:00
Eugene Burmakin
30fb51940c Remove logs and unused code 2025-08-29 13:59:46 +02:00
Eugene Burmakin
504bb92cdb Update points relation 2025-08-29 11:05:25 +02:00
Eugene Burmakin
5ab382936d Merge branch 'dev', remote-tracking branch 'origin' into feature/tracks-on-ruby 2025-08-29 10:57:08 +02:00
Eugene Burmakin
b8d69a6797 Reset counters for points counter cache 2025-08-26 15:26:05 +02:00
Evgenii Burmakin
02e6fb8a85
Merge branch 'dev' into feature/points-counter-cache 2025-08-26 15:09:48 +02:00
Eugene Burmakin
625b8e614f Fix failing spec 2025-08-23 21:57:25 +02:00
Eugene Burmakin
d400d3c9fd Fix minor issues 2025-08-23 19:09:18 +02:00
Eugene Burmakin
a6f4a931af Make sure no errors raised if source is nil or unknown 2025-08-23 18:46:00 +02:00
Eugene Burmakin
5a85a56897 Update imports table 2025-08-23 16:37:53 +02:00
Eugene Burmakin
b049c11542 Fix import detection 2025-08-23 16:07:15 +02:00
Eugene Burmakin
001d294885 Source to_s 2025-08-22 22:14:03 +02:00
Eugene Burmakin
76a7c12133 Fix range issue 2025-08-22 21:27:50 +02:00
Eugene Burmakin
7b122f2780 Merge branch 'dev', remote-tracking branch 'origin' into feature/points-counter-cache 2025-08-22 21:01:51 +02:00
Eugene Burmakin
7eb3103645 Rename a method 2025-08-22 20:40:06 +02:00
Eugene Burmakin
96c9f1030c Move json loading to a module 2025-08-22 20:13:10 +02:00
Eugene Burmakin
ed3bb4fb67 Unify imports form 2025-08-22 19:10:40 +02:00
Eugene Burmakin
6e4934a93d Introduce points counter cache to optimize performance 2025-08-21 22:32:29 +02:00
Eugene Burmakin
a4605f9b3e Add swagger spec for visits api 2025-08-21 20:53:23 +02:00
Eugene Burmakin
e68bbc9220 Add test for visits creation API 2025-08-21 19:09:43 +02:00
Eugene Burmakin
efc7ffa579 Extract visit creation to a service 2025-08-21 18:58:59 +02:00
Eugene Burmakin
1da3ef5c44 Add visits manual creation 2025-08-21 18:42:45 +02:00
Eugene Burmakin
6708e11ab3 Add limits for import size for trial users 2025-08-14 20:50:22 +02:00
Eugene Burmakin
71488c9fb1 Add trial mode 2025-08-13 20:25:48 +02:00
Eugene Burmakin
0918bb1b8d Extract scratch map to a separate file. 2025-08-03 22:19:57 +02:00
Eugene Burmakin
ad5670072e Merge branch 'dev' into feature/tracks-on-ruby 2025-08-01 20:37:32 +02:00
Eugene Burmakin
599af37109 Implement language-sided tracks generation 2025-07-28 22:30:36 +02:00
Eugene Burmakin
f492a69fbb Add country_name to points and fix some bugs. 2025-07-28 18:53:19 +02:00
Eugene Burmakin
25b74716ee Fix chart 2025-07-27 20:14:36 +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
2e6d1bdef6 Return 0.0 if speed is nil 2025-07-26 13:37:50 +02:00
Eugene Burmakin
b2d8f85d35 Implement Basecamp GPX import 2025-07-26 13:32:13 +02:00
Eugene Burmakin
17340079ce Expose prometheus metrics at /metrics 2025-07-26 12:14:08 +02:00
Eugene Burmakin
94f6dbe18e Extract timestamp range calculation to separate methods 2025-07-23 20:27:55 +02:00
Eugene Burmakin
bf199de2a0 Fix non-selfhosted users export and import 2025-07-23 20:17:07 +02:00
Eugene Burmakin
7ea149bd4e Fix specs 2025-07-23 20:02:38 +02:00
Eugene Burmakin
88e3f53cc5 Remove old code 2025-07-23 19:48:39 +02:00
Eugene Burmakin
d8033a1e27 Update track generation 2025-07-23 18:21:21 +02:00
Eugene Burmakin
9803ccc6a8 Remove unused method 2025-07-22 22:44:41 +02:00
Eugene Burmakin
0c904a6b84 Fix stats calculation performance 2025-07-22 22:41:12 +02:00
Eugene Burmakin
7afc399724 Add cache to points limit exceeded check 2025-07-21 22:27:20 +02:00
Eugene Burmakin
59a4d760bf Fix owntracks points creation 2025-07-21 18:59:13 +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
9d616c7957 Remove logging from tracks generator 2025-07-17 21:02: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
91f4cf7c7a Fix range objects in generator 2025-07-17 20:36:21 +02:00
Eugene Burmakin
f5ef2ab9ef Fix potential issue with time range data types 2025-07-17 20:20:14 +02:00
Eugene Burmakin
10777714b1 Clean up a bit 2025-07-17 19:19:50 +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
7885374993 Refactor Tracks::BulkTrackCreator to use start_at and end_at as datetime objects 2025-07-12 23:45:43 +02:00
Eugene Burmakin
244fb2b192 Move bulk track creation to service 2025-07-12 23:04:15 +02:00
Eugene Burmakin
43bc8c444c Fix name fetcher 2025-07-12 17:57:22 +02:00
Eugene Burmakin
bc36882e73 Add name fetcher for places and visits 2025-07-12 11:21:38 +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
0295d3f2a0 Fix year page charts 2025-07-08 21:23:55 +02:00
Eugene Burmakin
b3e8155e43 Don't use bang save 2025-07-08 20:24:07 +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
e64e706b0f Unify timestamps 2025-07-07 23:38:10 +02:00
Eugene Burmakin
a66f41d9fb Add documentation 2025-07-07 23:12:02 +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