Commit graph

848 commits

Author SHA1 Message Date
Eugene Burmakin
cb2b2c465b Added minimum password length to 6 characters. #1373 2025-06-09 11:27:32 +02:00
Evgenii Burmakin
f99775994a
Revert "fix map container height to fit viewport" 2025-06-09 11:20:44 +02:00
Evgenii Burmakin
4da1cba18b
Merge pull request #1350 from rtuszik/fix_viewport
fix map container height to fit viewport
2025-06-08 23:45:47 +02:00
Eugene Burmakin
1435f20aa3 Fix missing popup 2025-06-08 23:44:53 +02:00
Eugene Burmakin
3426f2d66b Fixed a bug where points from Immich and Photoprism did not have lonlat attribute set. #1318 2025-06-08 16:41:01 +02:00
Robin Tuszik
5a0ea4306f fix map container height to fit viewport 2025-06-08 15:31:04 +02:00
Eugene Burmakin
3d2666c4ee Fix a few issues and implement location iq support 2025-06-05 21:10:40 +02:00
Eugene Burmakin
6d39f4306f Remove Redis and Sidekiq from Dawarich 2025-06-02 20:53:35 +02:00
Eugene Burmakin
551c6e7629 Use sqlite for cable in development 2025-05-31 21:27:20 +02:00
Eugene Burmakin
855872d166 Merge remote-tracking branch 'origin' into feature/solid-queue-rewamp 2025-05-30 19:20:58 +02:00
Evgenii Burmakin
89c286a69b
Merge branch 'dev' into tests/system 2025-05-29 12:42:48 +02:00
Evgenii Burmakin
05018b6e6c
Merge pull request #610 from arne182/patch-2
Fix logic for grouping consecutive points in CountriesAndCities
2025-05-29 12:42:01 +02:00
Eugene Burmakin
e8d49662a2 Remove cypress 2025-05-26 21:05:36 +02:00
Eugene Burmakin
f5cefdbd03 Add system tests for map interaction 2025-05-26 20:33:48 +02:00
Eugene Burmakin
64d33f5e6e Fix few issues 2025-05-22 19:09:43 +02:00
Eugene Burmakin
8308354ac5 Move points jobs to the points queue 2025-05-21 18:57:29 +02:00
Eugene Burmakin
8113fbba04 Fix some issues with dockerfiles and app version 2025-05-20 19:40:54 +02:00
Eugene Burmakin
8728a22974 Update safe settings 2025-05-19 23:28:33 +02:00
Eugene Burmakin
bee03d7c5e Disable importing button until files are uploaded 2025-05-19 20:29:33 +02:00
Eugene Burmakin
0b13b7c3b6 Change "Yesterday" to "Today" on the map page. 2025-05-19 20:14:30 +02:00
Eugene Burmakin
7c0d1f9841 Fix distance unit in view 2025-05-19 19:26:08 +02:00
Eugene Burmakin
6defd4d8d0 Update distance unit in trip page 2025-05-19 19:10:07 +02:00
Eugene Burmakin
34c82e82a5 Update trips page and dockerfiles 2025-05-19 19:00:34 +02:00
Eugene Burmakin
ce0c38e6e8 Remove comments 2025-05-18 11:19:01 +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
35a0533b2b Move to solid_queue 2025-05-17 23:05:52 +02:00
Eugene Burmakin
f738956959 Minor changes 2025-05-17 21:53:50 +02:00
Eugene Burmakin
e511eb7548 Update changelog 2025-05-17 21:50:34 +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
630c813f0b Fix visits overlapping issue 2025-05-17 20:10:03 +02:00
Eugene Burmakin
abd4325891 Address N+1 queries in Place::FetchData and skip locationless points 2025-05-17 19:14:28 +02:00
Evgenii Burmakin
52fe105230
Merge pull request #1185 from Freika/feature/store-geodata
Feature/store geodata
2025-05-16 20:12:46 +02:00
Eugene Burmakin
e9661bdfac Hide points usage for self-hosted instances 2025-05-16 19:55:05 +02:00
Eugene Burmakin
c69d4f45f1 Update views and specs 2025-05-16 19:53:42 +02:00
Eugene Burmakin
d7f6f95c47 Update maps_controller.js to make scratch map work again 2025-05-16 19:02:50 +02:00
Eugene Burmakin
5be5c1e584 Put countries into database 2025-05-16 18:51:48 +02:00
Eugene Burmakin
96108b12d0 Update tests a bit 2025-05-15 22:58:04 +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
Evgenii Burmakin
0501c15ab6
Merge pull request #1177 from Freika/feature/store-geodata
Feature/store geodata
2025-05-15 21:29:22 +02:00
Eugene Burmakin
a48cff098b Some frontend fixes 2025-05-15 18:23:24 +02:00
MeijiRestored
e5075d59d3 configurable time threshold 2025-05-14 21:04:47 +02:00
MeijiRestored
5fa4d953f7 Improved fog of war 2025-05-14 18:56:30 +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
857f1da942 Unify name builder usage 2025-05-12 23:36:46 +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
Evgenii Burmakin
f571d1ebad
Merge branch 'dev' into fix/small-fixes 2025-05-12 21:44:42 +02:00
Eugene Burmakin
52aefa109e Skip points without lonlat and timestamp from Owntracks 2025-05-12 21:41:55 +02:00
Eugene Burmakin
fa80658904 Fix GeoJSON import speed/velocity 2025-05-08 17:28:06 +02:00
Eugene Burmakin
e2d0807e9a Fix the self-hosted flag 2025-05-04 11:50:47 +02:00
Eugene Burmakin
e6fddddc01 Fix tests 2025-05-04 00:16:02 +02:00
Eugene Burmakin
ac5d14f4a7 Simply load protomaps-leaflet.js 2025-05-03 23:25:50 +02:00
Eugene Burmakin
c786671d95 Refactor points creation to be synchronous 2025-05-03 22:40:44 +02:00
Eugene Burmakin
ffc945708c Fix deletion of imports on error 2025-05-03 21:46:30 +02:00
Eugene Burmakin
acf024b0e1 Implement direct upload of import files with progress bar 2025-05-03 21:35:02 +02:00
Eugene Burmakin
8087229d87 Fix pmtiles map 2025-05-03 20:36:09 +02:00
Eugene Burmakin
72927379b7 Show datetime with seconds in the Points page. 2025-05-02 20:43:53 +02:00
Eugene Burmakin
bf4a900089 Merge remote-tracking branch 'origin' into feature/pmtiles 2025-05-02 20:06:32 +02:00
Eugene Burmakin
37c95d966e Remove sample points 2025-05-02 20:05:12 +02:00
Eugene Burmakin
f0ded59f37 Update app version and changelog 2025-04-29 19:06:08 +02:00
Eugene Burmakin
7dcd4f95ab Add support for protomaps in non-selfhosted mode 2025-04-27 17:13:19 +02:00
MeijiRestored
1083e1c07d var fix 2025-04-24 09:00:24 +02:00
Evgenii Burmakin
2d9882810c
Merge pull request #1020 from MeijiRestored/dev
Add speed color scale setting
2025-04-23 23:44:12 +02:00
Eugene Burmakin
b3e38a24ce Remove comment 2025-04-23 23:41:11 +02:00
Eugene Burmakin
07d00f189d Rename parsers to importers 2025-04-23 23:36:16 +02:00
Eugene Burmakin
e433ed4d1c Use secure file downloader for imports 2025-04-23 23:27:55 +02:00
Eugene Burmakin
45a310319f Fix failing specs 2025-04-23 23:07:58 +02:00
Eugene Burmakin
deeb250910 Extract file downloader 2025-04-23 22:46:39 +02:00
Eugene Burmakin
2e53f39a7f Update import edit view 2025-04-19 13:18:39 +02:00
MeijiRestored
7bea02dc95
Merge branch 'Freika:dev' into dev 2025-04-18 20:22:15 +02:00
Eugene Burmakin
02490c62a4 Implemented imports editing 2025-04-18 19:48:02 +02:00
Eugene Burmakin
d6b5ce0549 Implement SMTP mailing and fix some bugs 2025-04-15 21:34:02 +02:00
Eugene Burmakin
396a8415b8 Update changelog and Dockerfile 2025-04-13 23:30:57 +02:00
Eugene Burmakin
5fe503f745 Extract latitude and longitude from raw_data 2025-04-13 23:25:26 +02:00
Eugene Burmakin
b0b0a11c30 Fix few errors 2025-04-12 13:06:32 +02:00
Eugene Burmakin
3996d4c9dc Add register link to login page 2025-04-12 00:08:51 +02:00
Eugene Burmakin
dae1733320 Remove telemetry 2025-04-11 19:13:46 +02:00
MeijiRestored
2ca003f39e color scale editor 2025-04-10 12:09:18 +02:00
MeijiRestored
227d3b1f0c tooltip 2025-04-07 12:20:09 +02:00
MeijiRestored
94a07a89b5 Custom color scale 2025-04-06 23:57:41 +02:00
Eugene Burmakin
5ab8b17cdd Update records storage importer to process all records 2025-04-06 16:49:50 +02:00
Eugene Burmakin
50144fddf2 Added export migration task. 2025-04-06 16:31:39 +02:00
Eugene Burmakin
85d04eb75c Show subscription expiration date nicely 2025-04-04 22:31:15 +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
4fcfdc7bd7 Update timestamps 2025-04-04 20:15:05 +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
Evgenii Burmakin
07ad244e99
Merge branch 'dev' into feature/bucket-import-export 2025-04-02 21:00:20 +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
5335c912c3 Update the rake task to also reindex the points table. 2025-03-24 18:56:58 +01:00
Eugene Burmakin
24a148b181 Fix moving points on the map 2025-03-24 00:01:18 +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
b66e18818b Fix rest of the tests and re-enable visit suggesting 2025-03-23 21:00:31 +01:00
Eugene Burmakin
5758f9a923 Use attached file to import geojson and phone takeout 2025-03-23 19:13:59 +01:00
Eugene Burmakin
f3b98ac83d Use attached import file to import own tracks data 2025-03-23 19:00:04 +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
52e0bc572c Fix point coordinates on the points page 2025-03-16 20:46:50 +01:00
Eugene Burmakin
29da64400b Update changelog and fix visits pane z-index 2025-03-16 13:36:06 +01:00
Eugene Burmakin
28b9e9d61d Add a button to cancel visit selection 2025-03-12 21:57:30 +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
9a4a6481d0 Use short month names in visits list 2025-03-09 17:41:45 +01:00
Eugene Burmakin
c86921a29b Update tests and refactor some code 2025-03-09 16:29:16 +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
ad32abb43c Update changelog 2025-03-08 21:29:07 +01:00
Eugene Burmakin
761aaa3cb8 Highlight visits on map when clicked on 2025-03-08 21:04:56 +01:00
Eugene Burmakin
16333c58e0 Show number of visits in drawer on selection 2025-03-08 20:53:13 +01:00
Eugene Burmakin
c39c26a430 Show points with dates in selected area 2025-03-08 20:31:12 +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
d78482f1bf Get 20 places results and dont round coordinates 2025-03-08 19:08:47 +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
1ce66a1494 Prevent places duplicates 2025-03-05 22:36:56 +01:00
Eugene Burmakin
6b356d24b1 Implement visits merging 2025-03-05 20:04:26 +01:00
Eugene Burmakin
c00bd2e387 Extract visits code from maps controller 2025-03-04 21:50:46 +01:00
Eugene Burmakin
bc91004713 Fix smart detect spec 2025-03-04 21:16:45 +01:00
Eugene Burmakin
9d68458622 Fix some more tests 2025-03-03 23:54:39 +01:00
Eugene Burmakin
70d754b397 Fix some tests 2025-03-03 22:39:43 +01:00
Eugene Burmakin
ebde7d32fb Use tighter place search for suggested places 2025-03-03 21:45:09 +01:00
Eugene Burmakin
d769861e69 Use postgis to find existing places 2025-03-03 21:34:06 +01:00
Eugene Burmakin
c2f6224421 Add lonlat to places 2025-03-03 20:50:49 +01:00
Eugene Burmakin
5521d8e6b2 Make drawer button bigger and add styles 2025-03-03 20:38:36 +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
e368df4e10 Add JWT authentication to the Manager app 2025-02-26 22:08:12 +01:00
Eugene Burmakin
95717db1bf Add simple button to manage subscription 2025-02-26 21:06:43 +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
85b7a9edf8 Update changelog 2025-02-23 23:34:49 +01:00
Eugene Burmakin
56046a6965 Broadcast import progress after GPX import 2025-02-23 23:12:12 +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
699e498670 Recalculate stats upon import deletion 2025-02-15 18:49:30 +01:00
Eugene Burmakin
053bfc525c Fix point deletion 2025-02-15 18:32:44 +01:00
Eugene Burmakin
fb5086e97e Simplify maps loading 2025-02-15 18:16:48 +01:00
Eugene Burmakin
62f4ec4910 Update flash message styles 2025-02-15 17:58:33 +01:00
Eugene Burmakin
38573e703e Move base maps to a separate file 2025-02-15 17:42:10 +01:00
Eugene Burmakin
aaa3c77162 Inherit all stimulus controllers from base_controller 2025-02-15 16:48:03 +01:00
Eugene Burmakin
9e34d30383 Restrict user settings to self-hosted mode 2025-02-15 11:45:53 +01:00
Eugene Burmakin
74cfc9020e Restrict background jobs to self-hosted mode 2025-02-15 11:40:51 +01:00
Eugene Burmakin
86fd2311f9 Fix importing Immich and Photoprism geolocation data for non-admin users 2025-02-15 11:32:52 +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
838d85c62e
Merge pull request #876 from Freika/revert-875-revert-732-patch-3
Revert 875 revert 732 patch 3
2025-02-13 20:28:36 +01:00
Evgenii Burmakin
3d01bead20
Revert "Revert "Add radius param of 10"" 2025-02-13 20:28:09 +01:00
Evgenii Burmakin
46fbb4a1b1
Revert "Add radius param of 10" 2025-02-13 20:27:51 +01:00
Evgenii Burmakin
43e54a7388
Merge pull request #732 from arne182/patch-3
Add radius param of 10
2025-02-13 20:26:40 +01:00
Evgenii Burmakin
f924bb9f82
Merge pull request #851 from chnikel/fix/Fog-of-War-overlay-gets-displaced-when-dragging-map
Fix fog gets displaced when dragging map
2025-02-13 20:25:05 +01:00
Eugene Burmakin
8997d10658 Fix speed units on the Points page 2025-02-11 21:38:41 +01:00
Eugene Burmakin
5b2834599e Update prometheus metric name 2025-02-11 21:17:33 +01:00
Eugene Burmakin
06da91df27 Fix live map enabled default value 2025-02-11 21:12:35 +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
Christian Nikel
01fd9f6e35 Fix fog gets displaced when dragging map
Also recalculates the size of the fog when resizing the browser window.

Closes #774
2025-02-11 00:12:01 +00: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
b8c69c2a76 Fix importing of GPX files with empty tracks and reduce number of points created for other GPX files. 2025-02-08 23:52:37 +01:00
Eugene Burmakin
1f6d711ccf Don't log apiKey in handleAreaCreated 2025-02-08 23:01:32 +01:00
Eugene Burmakin
0b08af87af Clean up some code 2025-02-08 23:00:34 +01:00
Evgenii Burmakin
d101d5e544
Merge branch 'master' into dev 2025-02-08 22:53:58 +01:00
Eugene Burmakin
3a555065d3 Make popups a bit nicer 2025-02-08 12:08:01 +01:00
Eugene Burmakin
51724db874 Remove test circle 2025-02-07 21:19:34 +01:00
Eugene Burmakin
ffee59b7c3 Fix deleting an area 2025-02-07 21:17:38 +01:00
Eugene Burmakin
dd48ef4177 Implement area clicks 2025-02-07 21:08:31 +01:00
Eugene Burmakin
fea87b85bb Add docs and few fixes 2025-02-07 19:17:28 +01:00
Eugene Burmakin
085ceb16e2 Fix export file deletion 2025-02-06 22:52:19 +01:00
Evgenii Burmakin
41da68a4c8
Revert "Fix deleting points" 2025-02-06 22:24:53 +01:00
Evgenii Burmakin
df45bb1a6c
Merge branch 'master' into fix/deleting-point-after-point 2025-02-06 20:15:30 +01:00
Eugene Burmakin
0a27dfefbe Fix deleting points 2025-02-06 20:08:14 +01:00
Eugene Burmakin
bd39b295a4 Return app version in health response 2025-02-06 19:50:03 +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
Arne Schwarck
908232d397
Fix reverse geocoding issue
Previously, reverse geocoding queries in the Photon lookup did not properly
limit results within a specified search radius, leading to inaccurate or
unexpected locations being returned. This fix ensures that the :radius
parameter is passed directly, just like :limit and :distance_sort, instead
of being nested under :params.
By aligning with the Photon lookup implementation in Geocoder, this change
improves accuracy and ensures that results are correctly filtered based on
proximity, resolving issues where points were incorrectly matched due to
missing radius constraints.

Resolves: Reverse geocoding mismatch for close proximity queries
2025-01-25 22:11:35 +01:00
Arne Schwarck
e5ee29617e
Add radius param of 10
https://github.com/Freika/dawarich/discussions/652
2025-01-25 21:55:25 +01:00
Eugene Burmakin
5bd6a6c072 Don't trim time from start and end dates 2025-01-24 16:37:28 +01:00
Eugene Burmakin
01275d0d2e Add some tests 2025-01-24 15:58:44 +01:00
Eugene Burmakin
6e9c981329 Fix photos fetching with trip dates 2025-01-24 15:35:35 +01:00