Commit graph

7 commits

Author SHA1 Message Date
Evgenii Burmakin
516cfabb06
Fix/pre epoch time (#2019)
* Use user timezone to show dates on maps

* Limit timestamps to valid range to prevent database errors when users enter pre-epoch dates.

* Limit timestamps to valid range to prevent database errors when users enter pre-epoch dates.

* Fix tests failing due to new index on stats table

* Fix failing specs
2025-12-09 00:17:24 +01:00
Evgenii Burmakin
1c9843dde7
Consider MIN_MINUTES_SPENT_IN_CITY during stats calculation (#2018)
* Consider MIN_MINUTES_SPENT_IN_CITY during stats calculation

* Remove raw data from visited cities api endpoint
2025-12-08 21:38:56 +01:00
Eugene Burmakin
6e4934a93d Introduce points counter cache to optimize performance 2025-08-21 22:32:29 +02:00
Eugene Burmakin
c3243bdba0 Fix authentication to GET /api/v1/countries/visited_cities 2025-01-22 10:53:33 +01:00
Eugene Burmakin
33401712e2 Allow api_key to be passed in to the visited cities endpoint 2025-01-14 23:33:07 +01:00
Eugene Burmakin
2ee7bb74a3 Fix some swagger specs and remove unused code 2024-12-16 15:42:26 +01:00
Eugene Burmakin
e7c393a776 Show visited cities on map page 2024-12-11 22:00:33 +01:00