23 Commits

Author SHA1 Message Date
Eugene Burmakin 186b27e703 Update views and scopes for lite users 2026-03-08 17:47:42 +01:00
Eugene Burmakin 7184f2da99 Escape html and add skeleton for timeline feed loading in Map v2 2026-02-17 22:49:13 +01:00
Eugene Burmakin 4df4255623 Introduce a proper timeline 2026-02-17 21:57:11 +01:00
Evgenii Burmakin e0a04d9af0 Introduce timeline tool to Map V2 (#2235)
* Introduce timeline tool to Map V2

* Change track default color and make animation on selected track smoother

* Fix issues and add tests

* Fix e2e tests for timeline feature

* Fix biome issues

* Fix biome issues

* Update Claude instruction

* Update changelog

* Change the look of timeline

* Use simple marker for replay

* Fix duplicate tracks and add unique index and fix layers enabling

* Couple of fixes

* Fixes and specs

* Fix rubocop

* Fix some e2e specs
2026-02-07 00:57:48 +01:00
Eugene Burmakin b70833d5a3 Speed up /api/v1/stats 2026-02-04 19:08:07 +01:00
Eugene Burmakin a77a090785 Fix some issues 2026-01-31 16:55:21 +01:00
Evgenii Burmakin cd3dba9f0c Feature/insights page (#2179)
* Update stuff

* Extract insights controller logic to services

* Fix failing specs

* Refactorings

* Add indicies with if_not_exists to migrations

* Recalculate tracks transportation modes upon settings change

* Block transportation modes settings form while a recalculation is in progress.

* Add top visited locations

* Bit of a refactoring

* Update navbar

* Add activity heatmap feature and update insights header

* Add activity streak to insights page and changelog

* Add caching for insights page

* Preheat cache for insights

* Move digest cache preheating to a service
2026-01-25 23:01:48 +01:00
Evgenii Burmakin c3c5410258 Add tracks to map v2 (#2142)
* Add tracks to map v2

* Remove console log

* Update tracks generation behavior to ignore distance threshold for frontend parity

* Extract logic to services from TracksController#index and add tests

* Move query logic for track listing into a service object.
2026-01-11 13:31:36 +01:00
Eugene Burmakin 5455228b80 Bring points_count to integer 2025-12-30 16:57:17 +01:00
Eugene Burmakin c67532bb10 Reimplement hexagons with H3 2025-09-17 01:55:42 +02:00
Eugene Burmakin a2aa1be271 Precalculate hexagons for stats 2025-09-13 23:11:42 +02:00
Eugene Burmakin 1394d6202c Fix potential sql injection 2025-09-13 17:04:48 +02:00
Eugene Burmakin dcd1c7ab2b Add some refactorings 2025-09-13 16:41:28 +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 e583a8fb52 Remove unused js code 2025-09-12 23:08:11 +02:00
Eugene Burmakin 88e9c85766 Extract hexagon query to separate class 2025-09-12 21:38:25 +02:00
Eugene Burmakin 68a0a8f23c Add follow up emails 2025-09-05 19:39:50 +02:00
Eugene Burmakin 25a185b206 Add timezone validation to Stats::DailyDistanceQuery 2025-07-23 00:10:48 +02:00
Eugene Burmakin bdcfb5eb62 Stats calculation is now timezone-aware. 2025-07-22 23:57:25 +02:00
Eugene Burmakin 0c904a6b84 Fix stats calculation performance 2025-07-22 22:41:12 +02:00
Eugene Burmakin cbdef5fa43 Parameterize stats query 2025-07-22 19:56:12 +02:00
Eugene Burmakin 6e5dd4bed6 Update stats query 2025-07-22 19:52:24 +02:00
Eugene Burmakin da38c12819 Extract stats query 2025-07-22 19:43:27 +02:00