Commit graph

242 commits

Author SHA1 Message Date
Eugene Burmakin
9c7084a10b Fix request to a user in partial 2025-07-26 12:37:46 +02:00
Eugene Burmakin
9fb251fa4a Sanitize input in distanceable 2025-07-23 20:52:02 +02:00
Eugene Burmakin
7920209187 Return tailwind.css 2025-07-23 20:35:42 +02:00
Eugene Burmakin
2e46069fcc Clean up code a bit 2025-07-23 20:08:24 +02:00
Eugene Burmakin
d8033a1e27 Update track generation 2025-07-23 18:21:21 +02:00
Eugene Burmakin
bdcfb5eb62 Stats calculation is now timezone-aware. 2025-07-22 23:57:25 +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
0bfddd932f Disable specs for track generation 2025-07-22 20:28:46 +02:00
Eugene Burmakin
7c8a7e7f38 Temporary disable track creation 2025-07-22 20:25:44 +02:00
Eugene Burmakin
88909b3e9f Optimize stats page performance 2025-07-22 19:17:28 +02:00
Eugene Burmakin
f969d5d3e6 Clean up some mess 2025-07-20 18:57:53 +02:00
Eugene Burmakin
c31d09e5c3 Refactor tracks jobs and services 2025-07-16 22:22:33 +02:00
Eugene Burmakin
0dff80e12b Fix some tests 2025-07-12 13:43:15 +02:00
Eugene Burmakin
9a326733c7 Return missing map buttons 2025-07-09 00:58:33 +02:00
Eugene Burmakin
0295d3f2a0 Fix year page charts 2025-07-08 21:23:55 +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
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
862f601e1d Add tracks calculation and storage in the database 2025-07-03 20:18:18 +02:00
Eugene Burmakin
32a00db9b9 Clean up some code 2025-06-30 22:29:28 +02:00
Eugene Burmakin
f37039ad8e Add export and import specs 2025-06-30 20:29:47 +02:00
Eugene Burmakin
aeac8262df Update importing process 2025-06-29 11:49:44 +02:00
Eugene Burmakin
8ad0b20d3d Add import data feature 2025-06-28 12:22:56 +02:00
Eugene Burmakin
2088b769d7 Add tests 2025-06-26 19:24:40 +02:00
Eugene Burmakin
36e426433e Extract exporting data to services 2025-06-25 22:23:43 +02:00
Eugene Burmakin
7988fadd5f User export: exporting exports and imports data with files 2025-06-25 21:14:33 +02:00
Eugene Burmakin
6defd4d8d0 Update distance unit in trip page 2025-05-19 19:10:07 +02:00
Eugene Burmakin
168e33dedd Use iso_a2 from the countries table 2025-05-18 11:17:25 +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
5688d66972 Rework settings pages 2025-05-17 21:44:22 +02:00
Eugene Burmakin
06aee05602 Move distance unit settings to user settings 2025-05-17 20:35:38 +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
48e73b4f1d Use protomaps in trips 2025-05-15 22:25:47 +02:00
Eugene Burmakin
088d8b14c2 Calculate trip data in the background 2025-05-15 21:33:01 +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
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
Eugene Burmakin
c786671d95 Refactor points creation to be synchronous 2025-05-03 22:40:44 +02:00
Eugene Burmakin
37c95d966e Remove sample points 2025-05-02 20:05:12 +02:00
Eugene Burmakin
e433ed4d1c Use secure file downloader for imports 2025-04-23 23:27:55 +02:00
Eugene Burmakin
dae1733320 Remove telemetry 2025-04-11 19:13:46 +02:00
Eugene Burmakin
50144fddf2 Added export migration task. 2025-04-06 16:31:39 +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
f3e4ff1a7e Add deprecation notice for the status column. 2025-04-04 21:15:33 +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
f25f7db70f Remove condition on purging file 2025-04-03 18:43:30 +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
41380ddf7c Move some beds 2025-03-24 20:58:43 +01:00
Eugene Burmakin
fc8d0d8ddc Fix failing tests and move testing imports to files 2025-03-24 20:46:16 +01:00
Eugene Burmakin
1e54d87d53 Implement support for storing import files in S3. 2025-03-23 22:00:41 +01:00
Eugene Burmakin
477ef709c3 Update changelog 2025-03-23 21:06:23 +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
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
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
43c7e64efb Add osm_id, osm_key, osm_value, osm_type to places 2025-03-08 19:40:28 +01:00
Eugene Burmakin
52fd54e39f Implement area selecting to show visits 2025-03-07 23:32:56 +01:00
Eugene Burmakin
adf923542d Move visits to different panes 2025-03-06 00:13:47 +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
a4123791aa Add visits to the map page 2025-03-02 21:24:57 +01:00
Eugene Burmakin
3ebf492b14 Accept subscription updates from Dawarich Manager 2025-02-27 22:32:03 +01:00
Eugene Burmakin
e368df4e10 Add JWT authentication to the Manager app 2025-02-26 22:08:12 +01:00
Eugene Burmakin
080da9f2de Update tests 2025-02-25 00:16:42 +01:00
Eugene Burmakin
85049b398b Fix user status 2025-02-25 00:04:05 +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
217d6249e2 Use lonlat in maps controller 2025-02-23 22:59:14 +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
Eugene Burmakin
fc01cda5c6 Fix whole bunch of specs 2025-02-22 00:32:30 +01:00
Eugene Burmakin
4fa3c35fb8 Calculate distance using PostGIS ST_Distance with LAG 2025-02-22 00:02:13 +01:00
Eugene Burmakin
d9eac91834 Introduce latlon to Points and use it instead of latitude and longitude. 2025-02-21 23:45:36 +01:00
Eugene Burmakin
6fac14675b Restrict to some functionality access for inactive users 2025-02-19 21:23:11 +01:00
Eugene Burmakin
d2d6f95322 Fix accessing nested settings 2025-02-10 20:48:16 +01:00
Eugene Burmakin
0b362168c9 Implement custom map tiles and user settings with default values 2025-02-10 20:37:20 +01:00
Eugene Burmakin
8a309a2186 Remove tracks 2025-01-29 12:18:03 +01:00
Eugene Burmakin
fd47bf7d5d Update trip path calculation 2025-01-29 11:43:02 +01:00
Eugene Burmakin
01275d0d2e Add some tests 2025-01-24 15:58:44 +01:00
Eugene Burmakin
380dd9235d Calculate path and distance before saving trip 2025-01-24 15:03:57 +01:00
Eugene Burmakin
7db7fb17d5 Add path to trips 2025-01-24 12:01:54 +01:00
Eugene Burmakin
774de9991b Add tracks model 2025-01-23 16:03:21 +01:00
Eugene Burmakin
be779fe333 Merge remote-tracking branch 'origin/dev' into chore/database-user-constraints 2025-01-22 15:03:55 +01:00
Eugene Burmakin
b43810b1fb Import Google Records JSON in batches 2025-01-21 19:14:36 +01:00