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
8604effbe1
Refactor some bits
2025-09-10 21:46:03 +02:00
Eugene Burmakin
492cf1290a
Fix tests
2025-09-08 23:52:07 +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
e95ad88382
Remove obsolete specs
2025-08-29 14:23:38 +02:00
Eugene Burmakin
cf987894fe
Fix failing specs
2025-08-29 11:52:56 +02:00
Eugene Burmakin
504bb92cdb
Update points relation
2025-08-29 11:05:25 +02:00
Eugene Burmakin
ad5670072e
Merge branch 'dev' into feature/tracks-on-ruby
2025-08-01 20:37:32 +02:00
Eugene Burmakin
4506d30f42
Fix track builder spec
2025-08-01 14:23:59 +02:00
Eugene Burmakin
6870be2045
Fix country name in points
2025-07-29 21:17:33 +02:00
Eugene Burmakin
599af37109
Implement language-sided tracks generation
2025-07-28 22:30:36 +02:00
Eugene Burmakin
7ea149bd4e
Fix specs
2025-07-23 20:02:38 +02:00
Eugene Burmakin
f969d5d3e6
Clean up some mess
2025-07-20 18:57:53 +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
c31d09e5c3
Refactor tracks jobs and services
2025-07-16 22:22:33 +02:00
Eugene Burmakin
244fb2b192
Move bulk track creation to service
2025-07-12 23:04:15 +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
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
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
862f601e1d
Add tracks calculation and storage in the database
2025-07-03 20:18:18 +02:00
Eugene Burmakin
7c766a4d92
Fix the rest of the tests
2025-02-22 22:37:21 +01:00
Eugene Burmakin
01275d0d2e
Add some tests
2025-01-24 15:58:44 +01:00