Commit graph

239 commits

Author SHA1 Message Date
Eugene Burmakin
6b356d24b1 Implement visits merging 2025-03-05 20:04:26 +01:00
Eugene Burmakin
414c9e831c Add possible places to visits 2025-03-03 20:11:21 +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
95717db1bf Add simple button to manage subscription 2025-02-26 21:06:43 +01:00
Eugene Burmakin
cf37c36999 Remove default map tiles URL 2025-02-15 18:38:59 +01:00
Eugene Burmakin
38573e703e Move base maps to a separate file 2025-02-15 17:42:10 +01:00
Eugene Burmakin
7dfec304e4 Restrict access to Sidekiq in non self-hosted mode 2025-02-15 11:50:56 +01:00
Eugene Burmakin
8fefcb9091 Merge remote-tracking branch 'origin/dev' into feature/self-hosted-mode 2025-02-15 11:14:50 +01:00
Eugene Burmakin
51e589e17f Implement map tiles usage tracking and chart in user settings. 2025-02-13 21:04:29 +01:00
Evgenii Burmakin
7e5440205e
Merge branch 'dev' into feature/custom-map-tiles 2025-02-11 21:13:59 +01:00
Eugene Burmakin
b2e6a141fc Rehash paths and add tests 2025-02-11 21:04:12 +01:00
Eugene Burmakin
1580fb8ade Export map tiles usage to Prometheus 2025-02-11 20:45:36 +01:00
Evgenii Burmakin
76fcfac012
Merge branch 'dev' into master 2025-02-10 21:03:54 +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
20d3862548 Update database config for CI 2025-01-29 11:49:15 +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
f4027551e6 Update StrongMigrations start_after 2025-01-22 15:06:35 +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
Aleksei Besogonov
3fe48f6685 Add support for Nominatim
This adds support for Nominatim-based reverse geocoding, along with
Photon and Geofi. To use it, set the environment variables:

NOMINATIM_API_HOST - the host name of the OSM Nominatim server
NOMINATIM_API_USE_HTTPS - use the HTTPS to connect
NOMINATIM_API_KEY - the API key
2025-01-20 23:16:51 -08:00
Evgenii Burmakin
620579d162
Merge branch 'master' into feature/api/points 2025-01-20 20:35:08 +01:00
Eugene Burmakin
112f13587c Add swagger docs for POST /api/v1/points 2025-01-20 20:17:27 +01:00
Eugene Burmakin
41bb2e07fb Add user endpoint 2025-01-20 15:17:56 +01:00
Eugene Burmakin
f85fd9e4d0 Implement polylines redraw on point drag 2025-01-19 12:59:12 +01:00
Eugene Burmakin
11677b14ae Introduce self-hosted mode 2025-01-15 21:52:59 +01:00
Eugene Burmakin
c13ebe8d3c Split docker files 2025-01-09 15:04:05 +01:00
Eugene Burmakin
abff239d97 Run rails server instead of foreman 2025-01-08 15:11:31 +01:00
Eugene Burmakin
1476816418 Update production environment 2025-01-07 16:04:03 +01:00
Eugene Burmakin
e2f1b2a26c Merge remote-tracking branch 'origin/master' into feature/production_env 2025-01-07 16:02:12 +01:00
Eugene Burmakin
e904d396c8 Make sure cache jobs are run only on server start 2025-01-07 15:02:35 +01:00
Eugene Burmakin
974f45a4c9 Remove REVERSE_GEOCODING_ENABLED env var 2025-01-07 13:41:09 +01:00
Eugene Burmakin
688440710f Remove APPLICATION_HOST env var. 2025-01-07 13:28:51 +01:00
Eugene Burmakin
ae6dc5ac8a Remove Photon API env vars and use DawarichSettings for reverse geocoding settings 2025-01-07 13:12:14 +01:00
Eugene Burmakin
10afb3fbc2 Fix Photon API for patreon supporters 2025-01-05 21:40:59 +01:00
Eugene Burmakin
cd31fb4cf0 Add database constraints for users table 2024-12-26 21:34:10 +01:00
Eugene Burmakin
d9bade8fe5 Fix specs for watcher and change z-index for markers and polylines 2024-12-25 13:05:42 +01:00
Eugene Burmakin
0dfdeac5c5 Move cache cleaning to a job 2024-12-24 17:01:26 +01:00
Eugene Burmakin
462df9e796 Make postgres config optional && add health check header && add photon api key 2024-12-24 16:51:26 +01:00
Eugene Burmakin
d640af4036 Add cache cleaning and preheating 2024-12-24 16:51:26 +01:00
Eugene Burmakin
d01e4f3b9e Update tests for stats requests 2024-12-20 15:43:06 +01:00
Eugene Burmakin
6c18fbe41f Add buttons to update stats for a year or a month 2024-12-20 15:26:25 +01:00
Evgenii Burmakin
68129f9eae
Merge pull request #516 from duckfullstop/bug-bind-ipv6
Bind to both IPv6 and IPv4 interfaces by default
2024-12-19 12:37:17 +01:00
Eugene Burmakin
de09d9b9d7 Remove old framework defaults 2024-12-17 12:57:06 +01:00
Eugene Burmakin
5f93bf8522 Update to Rails 8.0.1 2024-12-17 12:56:21 +01:00
Eugene Burmakin
fc97a0bdf2 Update framework defaults to 7.2 2024-12-17 12:22:16 +01:00
Eugene Burmakin
03aadb9544 Update files to Rails 7.2 2024-12-17 12:15:02 +01:00
Evgenii Burmakin
81b5f69a30
Merge pull request #529 from Freika/feature/map-page-update
Map page update
2024-12-16 16:09:55 +01:00
Evgenii Burmakin
0dc2493272
Merge pull request #540 from sheyabernstein/dev-log-level
Add support for changing log level in development
2024-12-16 14:32:31 +01:00
Sven Anders
4ece5cb4a5 Add a "Delete Notifications" button 2024-12-15 17:28:59 +01:00
Sheya Bernstein
0e384d99c1 Add support for changing log level in development 2024-12-13 11:20:10 +00:00
Eugene Burmakin
e7c393a776 Show visited cities on map page 2024-12-11 22:00:33 +01:00
Eugene Burmakin
a4db806d29 Add togglable panel for months and years navigation 2024-12-11 20:34:49 +01:00
Eugene Burmakin
9bca8cfeaa Merge remote-tracking branch 'origin/master' into fix/reverse-geocoded-points 2024-12-10 20:15:42 +01:00
duck.
9a2267abf4
Bind to both IPv6 and IPv4 interfaces by default
As discussed in https://github.com/Freika/dawarich/issues/498 - not tested as there appears to be no scaffolding to test this functionality?
2024-12-10 16:10:21 +00:00
Eugene Burmakin
3b115a85b1 Add missing tests and process reverse geocoding in batches 2024-12-06 17:32:45 +01:00
Eugene Burmakin
b7e4a017b8 Calculate only necessary stats 2024-12-06 16:52:36 +01:00
Eugene Burmakin
c8e910343c Fix test fixtures and add telemetry sending job 2024-12-05 17:37:50 +01:00
Eugene Burmakin
f095a7504c Merge remote-tracking branch 'origin/master' into feature/telemetry 2024-12-05 17:12:48 +01:00
Eugene Burmakin
f10f78999d Add basic telemetry 2024-12-05 17:12:35 +01:00
Eugene Burmakin
95706bc5b5 Update app version to 0.19.1 2024-12-05 11:10:00 +01:00
Eugene Burmakin
0236e81f74 Fix Prometheus exporter for Sidekiq 2024-12-04 15:00:28 +01:00
Eugene Burmakin
9eea936782 Introduce reverse_geocoded_at to points 2024-12-02 14:44:22 +01:00
Alex Barcelo
e23d4ba382
avoid unnecessary initialization for certain scenarios 2024-12-02 11:35:08 +01:00
Eugene Burmakin
5c09e5b0f9 Move trip to partial 2024-11-28 16:11:04 +01:00
Eugene Burmakin
2cfc485f12 Add Trix editor to trips 2024-11-28 12:00:54 +01:00
Eugene Burmakin
198bf3128a Add trips model and scaffold controller 2024-11-27 20:14:17 +01:00
Eugene Burmakin
7b160bfe2d Add specs for swagger 2024-11-26 20:18:08 +01:00
Eugene Burmakin
428e927432 Show individual photo markers on the map 2024-11-26 16:36:02 +01:00
Eugene Burmakin
130630b997 Move Immich API request to a separate service & add photos api controller 2024-11-26 14:46:26 +01:00
Eugene Burmakin
946377ef63 Add production environment configuration 2024-11-25 16:02:39 +01:00
Eugene Burmakin
6093f4cb33 Return sidekiq_rate_limiting 2024-11-24 15:28:09 +01:00
Eugene Burmakin
2b2583e275 Remove sidekiq_rate_limiting 2024-11-24 15:25:00 +01:00
Eugene Burmakin
559dbbfefa Use sidekiq_rate_limiter for rate limiting requests to photon.komoot.io 2024-11-24 15:21:02 +01:00
Eugene Burmakin
79bf74add4 Move APP_VERSION to a constant 2024-11-24 14:56:20 +01:00
Eugene Burmakin
55e24f3adb Change default number of Puma workers to 2 2024-11-20 22:00:24 +01:00
Eugene Burmakin
6b4da57f3d Don't start Prometheus Exporter unless PROMETHEUS_EXPORTER_ENABLED is set to true 2024-11-20 21:07:43 +01:00
Eugene Burmakin
342f025bf2 Add port 9394 to docker-compose.yml for Prometheus exporter 2024-11-20 21:05:02 +01:00
Eugene Burmakin
55a575f87a Update sidekiq configuration to include Prometheus instrumentation 2024-11-20 20:50:21 +01:00
Eugene Burmakin
d0e0158ef9 Update puma.rb to include prometheus exporter for single mode 2024-11-20 20:47:30 +01:00
Eugene Burmakin
cf5b414ae4 Use single condition in the prometheus initializer file 2024-11-20 17:16:26 +01:00
Eugene Burmakin
da19196660 Start Prometheus exporter along with the Rails server 2024-11-20 13:25:58 +01:00
Eugene Burmakin
055faac14f Add prometheus_exporter gem and instrumentation to the project 2024-11-20 12:02:31 +01:00
Eugene Burmakin
94e60c4974 Merge remote-tracking branch 'origin/master' into feature/user-management 2024-11-11 14:53:02 +01:00
Eugene Burmakin
51b521dc2a Fix ActionCable not respecting REDIS_URL env var 2024-11-10 22:00:52 +01:00
Eugene Burmakin
b97b30c88a Add separate page for user management 2024-11-08 17:56:14 +01:00
Eugene Burmakin
3e5ddb7183 Fix importing geojson from GPSLogger for Android 2024-11-08 14:22:23 +01:00
Eugene Burmakin
4a3f7d5e65 Implement live points count update for imports 2024-11-04 13:06:04 +01:00
Eugene Burmakin
9c99a835de Implement live map updates with WebSockets 2024-11-03 16:48:43 +01:00
Eugene Burmakin
14b7397840 Add raw implementation of notifications interactive channel 2024-11-03 14:37:01 +01:00
Eugene Burmakin
34c12a9536 Add GET /api/v1/countries/borders endpoint to get countries for scratch map feature 2024-11-01 20:49:59 +01:00
Eugene Burmakin
04551d6fbd Enable serving static files from the public directory in development mode. 2024-11-01 19:10:20 +01:00
Eugene Burmakin
bc28babf15 Use local countries.geojson 2024-11-01 14:05:16 +01:00
Eugene Burmakin
d3f6d0da7b Rework the app version checking to be performed in the background and update docker compose file to use different directories for gems cache 2024-10-29 11:53:44 +01:00
Eugene Burmakin
d218ed8151 Fix stats distances and rework stas calculating service 2024-10-24 16:59:15 +02:00
Eugene Burmakin
60d2ee1cec Use fixed time for start_at and end_at in suggest_spec.rb 2024-10-19 23:03:35 +02:00
Evgenii Burmakin
5accd16deb
Merge pull request #280 from saschazepter/fix/use-openssl-urandom
Fix missing urandom by using OpenSSL's random_bytes
2024-10-19 22:57:28 +02:00
Eugene Burmakin
750bb4976c Add use_https option to geocoder initializer 2024-10-19 18:39:01 +02:00
Christen Lofland
3bf47ba18d Add use_https option to photon call to fix Issue #333 2024-10-17 17:32:16 -05:00