Commit graph

395 commits

Author SHA1 Message Date
Eugene Burmakin
cebc4950e6 Add info modal for speed colored polylines 2025-01-13 21:57:19 +01:00
Eugene Burmakin
cd7cf8c4bb Return distance and points number in the custom control to the map 2025-01-13 21:30:08 +01:00
Eugene Burmakin
974f45a4c9 Remove REVERSE_GEOCODING_ENABLED env var 2025-01-07 13:41:09 +01:00
Eugene Burmakin
0276882db1 Start reverse geocoding after import is finished 2024-12-25 12:38:32 +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
81b5f69a30
Merge pull request #529 from Freika/feature/map-page-update
Map page update
2024-12-16 16:09:55 +01:00
Eugene Burmakin
2ee7bb74a3 Fix some swagger specs and remove unused code 2024-12-16 15:42:26 +01:00
Sven Anders
4ece5cb4a5 Add a "Delete Notifications" button 2024-12-15 17:28:59 +01:00
Eugene Burmakin
a4db806d29 Add togglable panel for months and years navigation 2024-12-11 20:34:49 +01:00
Eugene Burmakin
5cde596884 Rework countries and cities service 2024-12-11 17:14:26 +01:00
Eugene Burmakin
9713bd7afd Fix deleting points on the map 2024-12-11 16:18:40 +01:00
Eugene Burmakin
b1c48076e4 Add some minor changes 2024-12-11 14:21:44 +01:00
Eugene Burmakin
9bca8cfeaa Merge remote-tracking branch 'origin/master' into fix/reverse-geocoded-points 2024-12-10 20:15:42 +01:00
Eugene Burmakin
d6b88ae9cb Move photos fetching for trips to a separate service 2024-12-10 19:31:52 +01:00
Eugene Burmakin
b336172b31 Show photoprism photos on a trip page 2024-12-10 18:49:37 +01:00
Eugene Burmakin
3b115a85b1 Add missing tests and process reverse geocoding in batches 2024-12-06 17:32:45 +01:00
Evgenii Burmakin
c2605ed805
Merge pull request #475 from Freika/feature/photoprism-integration
Photoprism integration
2024-12-04 14:05:26 +01:00
Eugene Burmakin
e17b671c9c Add a button to import Photoprism geodata 2024-12-03 15:40:21 +01:00
Eugene Burmakin
1f9e1f2f97 Add basic Photoprism photos integration 2024-12-02 16:52:05 +01:00
Eugene Burmakin
9eea936782 Introduce reverse_geocoded_at to points 2024-12-02 14:44:22 +01:00
Nils Poltmann
402ebaaa10 Reset z-index on leaflet map 2024-12-01 20:34:39 +01:00
Nils
12ac078205
Reset z-index on leaflet map 2024-12-01 13:57:17 +01:00
Eugene Burmakin
238cbae5d4 Update default user credentials 2024-11-29 15:36:18 +01:00
Eugene Burmakin
a28752d161 Fix notifications dropdown z-index 2024-11-29 14:03:45 +01:00
Eugene Burmakin
b56c58f654 Exclude seconds from map search 2024-11-28 17:23:11 +01:00
Eugene Burmakin
fda09248da Add tests for trips controller and change map seach form 2024-11-28 17:13:04 +01:00
Eugene Burmakin
5c09e5b0f9 Move trip to partial 2024-11-28 16:11:04 +01:00
Eugene Burmakin
71cd9d507b Make each card a link and add hover effect 2024-11-28 15:58:30 +01:00
Eugene Burmakin
f2869347bc Fix margins on some pages 2024-11-28 15:54:36 +01:00
Eugene Burmakin
782aeb89af Add distance calculation and trip cards to trips index 2024-11-28 15:29:17 +01:00
Eugene Burmakin
be0bc35955 Fix showing photos on the trip edit page 2024-11-28 13:50:21 +01:00
Eugene Burmakin
e8842a9476 Implement rendering the route when the dates if the trip are changed 2024-11-28 13:20:03 +01:00
Eugene Burmakin
2cfc485f12 Add Trix editor to trips 2024-11-28 12:00:54 +01:00
Eugene Burmakin
b712332277 Update link to Immich search on the trip page 2024-11-28 10:51:11 +01:00
Eugene Burmakin
c689051472 Show some photos from the trip 2024-11-28 10:40:08 +01:00
Eugene Burmakin
9522f81abf Move fetchAndDisplayPhotos to maps/helpers.js 2024-11-27 21:37:21 +01:00
Eugene Burmakin
198bf3128a Add trips model and scaffold controller 2024-11-27 20:14:17 +01:00
Eugene Burmakin
79bf74add4 Move APP_VERSION to a constant 2024-11-24 14:56:20 +01:00
Eugene Burmakin
afa0446fb8 Add second pagination to the points index page 2024-11-12 15:55:49 +01:00
Eugene Burmakin
aa6a3d9c26 Fix points params preserved 2024-11-12 15:54:18 +01:00
Eugene Burmakin
4048f4dac6 Allow admins to create users with password and update user password 2024-11-12 14:56:48 +01:00
Eugene Burmakin
bae84d19d9 Hide admin settings from non-admin users 2024-11-12 14:47:41 +01:00
Eugene Burmakin
b97b30c88a Add separate page for user management 2024-11-08 17:56:14 +01:00
Eugene Burmakin
ea9ce874be Fix adding new notifications to the list and updating the badge count 2024-11-07 19:07:59 +01:00
Eugene Burmakin
23237b6c7c Add new notification to the list right away 2024-11-07 19:00:11 +01:00
Eugene Burmakin
4de6688827 Update daisyui version 2024-11-07 13:52:39 +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
bec9db1198 Use notifications badge 2024-11-03 15:21:29 +01:00
Eugene Burmakin
14b7397840 Add raw implementation of notifications interactive channel 2024-11-03 14:37:01 +01:00
Eugene Burmakin
f692e78159 Change directory used in the instructions to import Records.json from Google Takeout 2024-10-29 11:58:09 +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
c219e7a7b4 Add points rendering mode modal 2024-10-20 20:55:43 +02:00
Eugene Burmakin
a2f3aef608 Implement support for OwnTracks REC files 2024-10-15 22:17:51 +02:00
Eugene Burmakin
9316fe618c Update responsiveness for the map page 2024-10-02 23:41:46 +02:00
Eugene Burmakin
ec793fe4aa Fix incorrect timestamps for Google Location History (mobile device) points 2024-09-30 23:31:42 +02:00
Eugene Burmakin
7f61cbe31e Fix point page reloads when searching for points 2024-09-28 17:29:56 +02:00
Evgenii Burmakin
911794e9ee
Merge pull request #223 from eltociear/patch-1
chore: update index.html.erb
2024-09-28 16:25:31 +03:00
Eugene Burmakin
108120ce1c Update text on the landing page 2024-09-19 19:57:51 +02:00
Evgenii Burmakin
cbaf1956a3
Merge branch 'master' into fix/visits-notificaton-url 2024-09-15 20:58:13 +03:00
Eugene Burmakin
667a1b2e3d Add pagination headers to the API response 2024-09-14 22:52:25 +02:00
Eugene Burmakin
f285eedd58 Fix url to visits page in notification 2024-09-14 21:09:29 +02:00
Eugene Burmakin
0f3268e6b6 Add links to view import points on the map and on the Points page on the Imports page 2024-09-08 17:25:35 +02:00
Eugene Burmakin
d5cbae620e Update immich data importing service 2024-09-08 16:52:35 +02:00
Evgenii Burmakin
cb71a33623
Merge pull request #200 from Freika/feature/miles
Miles
2024-09-06 22:28:17 +03:00
Evgenii Burmakin
3c6d93f969
Merge pull request #138 from tetebueno/feature-default-to-today
Default to today in maps page
2024-09-06 22:27:34 +03:00
Eugene Burmakin
0ac3b025ed Merge remote-tracking branch 'origin/master' into feature/miles 2024-09-06 21:26:26 +02:00
Eugene Burmakin
f81e119283 Display number of points found on the Points page 2024-09-06 00:19:53 +02:00
Ikko Eltociear Ashimine
e358b0ccf2
chore: update index.html.erb
withing -> within
2024-09-05 00:39:03 +09:00
Eugene Burmakin
8bb6a9afb5 Implement GeoJSON import 2024-09-02 22:33:54 +02:00
Eugene Burmakin
ca9f3ef82e Enable export as GPX 2024-09-02 21:42:49 +02:00
Eugene Burmakin
942c84fb07 Implement GPX export 2024-09-02 21:35:08 +02:00
Eugene Burmakin
80b2f8831d Draft exporting as GeoJSON 2024-09-02 20:51:34 +02:00
Eugene Burmakin
41f0a713ea Draft of the GPX export feature 2024-09-02 18:32:21 +02:00
Eugene Burmakin
5d14b406bd Add DISTANCE_UNIT environment variable 2024-08-28 23:54:00 +02:00
Eugene Burmakin
df588d1e07 Move map settings to the map itself 2024-08-28 20:24:35 +02:00
Eugene Burmakin
ace93f7534 Updates here and there 2024-08-25 20:48:00 +02:00
Eugene Burmakin
7d7005063b Add places page 2024-08-25 20:19:02 +02:00
Eugene Burmakin
f9750133df Merge remote-tracking branch 'origin/master' into visit_detection 2024-08-25 19:31:19 +02:00
Eugene Burmakin
3336ac9864 Add counter cache for imports 2024-08-22 22:40:27 +02:00
Eugene Burmakin
7652dcce76 Implement the import of geodata from Immich to Dawarich 2024-08-21 18:40:54 +02:00
Eugene Burmakin
52ee90ac9c Replace google places api with photon api by komoot 2024-08-13 18:25:48 +02:00
Eugene Burmakin
382f937f29 Add lots of logic 2024-08-12 22:18:11 +02:00
Eugene Burmakin
5394e9dd52 Add visits detection 2024-08-05 21:23:08 +02:00
Eugene Burmakin
04a2150959 Add a bunch of small changes and fixes, see CHANGELOG.md for details 2024-07-31 19:35:35 +02:00
Eugene Burmakin
7a100f7e2a Fix name of background job to calculate visits 2024-07-27 15:05:08 +02:00
Eugene Burmakin
87258df41e Fix route popup distance and add areas swagger test 2024-07-27 12:22:56 +02:00
Eugene Burmakin
ffe0334ebc Add visits page 2024-07-24 20:25:16 +02:00
tetebueno
d44dbc8e9e
Adapt view buttons to new default. 2024-07-23 22:37:40 -03:00
Eugene Burmakin
254c28ae1d Make area popup look a bit nicer 2024-07-21 20:26:45 +02:00
Eugene Burmakin
151e5cf042 Add areas 2024-07-21 20:09:42 +02:00
Eugene Burmakin
1fb80ac6f6 Make admin know they're admin 2024-07-19 21:02:04 +02:00
Eugene Burmakin
f080b4c6ce Add tests for background jobs stuff 2024-07-12 21:59:03 +02:00
Eugene Burmakin
ac36a505dd Add reverse geocoding job to background jobs controller 2024-07-09 23:50:19 +02:00
Eugene Burmakin
b648c18f9d Scaffold background jobs settings 2024-07-09 20:28:59 +02:00
Eugene Burmakin
dd6430e185 Merge branch 'remove_map_center' 2024-07-08 23:22:00 +02:00
Eugene Burmakin
e1648c5cb0 Rework Google Phone Takeout import to support location-history.json another file format 2024-07-08 18:05:02 +02:00
Eugene Burmakin
6748bcf17c Add a note about logs when reporting a bug 2024-07-04 23:05:50 +02:00
Eugene Burmakin
ba265e3c26 Make notifications look nice 2024-07-04 23:00:07 +02:00
Eugene Burmakin
bb2beb519b Add notifications 2024-07-04 22:20:12 +02:00
Eugene Burmakin
02213d84b1 Update changelog 2024-06-30 17:57:13 +02:00
Eugene Burmakin
1dbf5cbda5 Implement support for Google Phone Takeout import 2024-06-30 17:47:36 +02:00
Eugene Burmakin
5b8ab3161b Remove MAP_CENTER env var 2024-06-30 13:16:19 +02:00
Eugene Burmakin
60b3d2a055 Remove links to registration 2024-06-30 12:57:09 +02:00
Eugene Burmakin
aa83e84d72 Updated changelog 2024-06-30 12:55:25 +02:00
Eugene Burmakin
68637c2798 Update version 2024-06-30 12:52:06 +02:00
Eugene Burmakin
21cc53b78a Remove unused files 2024-06-30 12:40:11 +02:00
Eugene Burmakin
2c9a88aba4 Disable registration and implement user creation in the settings page 2024-06-30 12:31:21 +02:00
Eugene Burmakin
81d13f548e Add settings for radius of clear fog in meters 2024-06-25 22:30:11 +02:00
Eugene Burmakin
61431ac64f Add fog overlay 2024-06-25 21:57:22 +02:00
Evgenii Burmakin
591eeb201f
Merge branch 'master' into countries-and-cities-revised 2024-06-25 20:51:10 +02:00
Eugene Burmakin
7844bf1f3c Update Visits::Calculate to return only one visit per city per day 2024-06-25 20:48:55 +02:00
Eugene Burmakin
a5ade39557 Update fields in settings form 2024-06-20 23:59:14 +02:00
Eugene Burmakin
d9aea95401 Add new settings page to allow user change route rendering options 2024-06-20 23:57:00 +02:00
Eugene Burmakin
747418c854 Implement GPX imports 2024-06-19 21:16:06 +02:00
Eugene Burmakin
bff2dd012e Fix version and add link to Dawarich's website in the footer 2024-06-18 22:11:12 +02:00
Eugene Burmakin
1257f295be Add debugging information to the export service 2024-06-14 19:33:24 +02:00
Eugene Burmakin
b7f648dc07 Add titles 2024-06-12 21:10:53 +02:00
Eugene Burmakin
7daac8a887 Change exposed volume 2024-06-12 21:02:42 +02:00
Eugene Burmakin
3f68ce5e37 Implement Exporting points to a file 2024-06-12 20:29:38 +02:00
Eugene Burmakin
08be01ebf6 Use Stat's toponyms to calculate the number of countries and cities visited in a month 2024-06-07 21:22:57 +02:00
Eugene Burmakin
94ae8a3c9f Add favicon and allow setting concurrency via BACKGROUND_PROCESSING_CONCURRENCY 2024-06-07 19:22:39 +02:00
Eugene Burmakin
c843132495 Update readme 2024-05-31 20:26:56 +02:00
Eugene Burmakin
fe73b5040a Update hovering over route to show time and distance to next and previous routes 2024-05-31 20:10:22 +02:00
Eugene Burmakin
4962d48910 Added new buttons to map page and removed "Your data" page 2024-05-30 23:36:12 +02:00
Eugene Burmakin
390b6c3d17 Update changelog 2024-05-25 20:50:25 +02:00
Eugene Burmakin
036b21b5a5 Let maps consider the timezone of the application 2024-05-25 20:23:33 +02:00
Eugene Burmakin
d52b538398 Add link to api rocs 2024-05-25 14:44:32 +02:00
Eugene Burmakin
b76f75a494 Add instructions to api key usagea and allow user generate new api key 2024-05-25 13:57:50 +02:00
Eugene Burmakin
cf71df3f0a Scope stats to user 2024-05-25 13:45:49 +02:00
Eugene Burmakin
5f18a3051d Fix interface inconsistencies 2024-05-25 13:36:15 +02:00
Eugene Burmakin
082cbf159d Scope points to a user 2024-05-25 13:26:56 +02:00
Eugene Burmakin
8c1d8a1470 Accept API key in query string for api/v1/overland/batches 2024-05-25 12:47:25 +02:00
Eugene Burmakin
b4116cfd72 Update importing instruction 2024-05-23 22:17:19 +02:00
Eugene Burmakin
3a9b2f7c84 Update import instructions to use rake task 2024-05-23 20:54:38 +02:00
Eugene Burmakin
589c12261c Update import instructions 2024-05-23 20:54:26 +02:00
Eugene Burmakin
d25468207d Add a rake task to import large files from Google Takeout 2024-05-23 20:35:31 +02:00
Eugene Burmakin
814095a4a2 Implement bulk points deletion 2024-05-23 20:12:23 +02:00
Eugene Burmakin
cb21fbcf54 Ignore raw_data column during requests to imports and points tables 2024-05-19 18:26:48 +02:00
Eugene Burmakin
5e46168cf8 Add link to how to import Google Takeout into Dawarich 2024-05-18 12:51:25 +02:00
Eugene Burmakin
90f6c82dc1 Persist app theme in user settings 2024-05-18 12:13:29 +02:00
Eugene Burmakin
8c70dd484a Add link to date of city visit to right sidebar 2024-05-18 11:49:36 +02:00
Eugene Burmakin
a333458756 Update docker-compose.yml to use latest docker image and add missing env var 2024-04-30 22:21:17 +02:00
Eugene Burmakin
ad78af59ac Rework calculation of cities visited 2024-04-26 18:59:58 +02:00
Eugene Burmakin
5315836c6a Update changelog 2024-04-21 17:58:13 +02:00
Eugene Burmakin
b64301696e Fix app_version check 2024-04-21 17:52:09 +02:00
Eugene Burmakin
efb4ecf19b Implement version check from github with 24 cache 2024-04-21 17:39:10 +02:00
Eugene Burmakin
4ff27edaaa Update version number to 0.1.7.3 2024-04-17 22:52:00 +02:00
Eugene Burmakin
9a6cc190a5 Update version number to 0.1.7.1 2024-04-17 22:13:08 +02:00
Eugene Burmakin
82fd9e2be6 Update version number to 0.1.7 2024-04-17 22:12:14 +02:00
Eugene Burmakin
aea8ec8c20 Add padding to the main content area and adjust the stats layout for mobile 2024-04-17 21:05:31 +02:00
Eugene Burmakin
8d7cbda26a Hide the API key instructions for now 2024-04-07 18:02:47 +02:00
Eugene Burmakin
d4329c8dbb Remove the test-docker-entrypoint.sh script and references to it in the Dockerfile 2024-04-06 22:36:08 +02:00
Eugene Burmakin
bd5259ddb1 Update changelog and version to 0.1.6 2024-04-06 19:21:23 +02:00
Eugene Burmakin
f6ae4aef8c Add changelog, version badge, and APPLICATION_HOST environment variable 2024-04-05 22:20:12 +02:00
Eugene Burmakin
f7b93ac8b5 Add callback to create API key for new users 2024-04-04 20:14:11 +02:00
Eugene Burmakin
2783cc5014 Allow user to download the exported data as a JSON file 2024-04-04 17:29:11 +02:00
Eugene Burmakin
5544bcd5ff Move point creation to a background job, add months navigation to the sidebar 2024-04-02 17:37:38 +02:00
Eugene Burmakin
b6769676c3 Fix google import and add stats for countries and cities visited and distance traveled by year 2024-03-28 15:11:59 +01:00
Eugene Burmakin
705c7ca7a2 Fix broken update stats button and add sidekiq to docker-compose.yml 2024-03-24 20:09:10 +01:00
Eugene Burmakin
64e5028514 Update import show page 2024-03-24 19:53:19 +01:00
Eugene Burmakin
bd0f5bb624 Don't show chart if no data is available for monthly stats 2024-03-24 19:48:07 +01:00
Eugene Burmakin
2953ca6499 Add a new page to show stats for a specific year 2024-03-24 19:46:55 +01:00
Eugene Burmakin
96a9900661 Add a button to create/update stats 2024-03-24 19:25:33 +01:00
Eugene Burmakin
d7670aeeb0 Add a margin to the navbar 2024-03-24 19:00:24 +01:00
Eugene Burmakin
29ac8c1136 Add nice charts to the stat cards 2024-03-24 18:55:35 +01:00
Eugene Burmakin
23805a6ef4 Hide reverse geocoding stats when disabled 2024-03-24 18:09:00 +01:00
Eugene Burmakin
7292115a44 Move import processing to background job & allow to disable reverse geocoding 2024-03-24 18:05:39 +01:00
Eugene Burmakin
2e4390f194 Add very basic export feature 2024-03-23 21:46:18 +01:00
Eugene Burmakin
fe496a64dc Move sidebar to points index page 2024-03-23 21:17:23 +01:00
Eugene Burmakin
2e6d05aa40 Add nice statistics 2024-03-23 21:16:11 +01:00
Eugene Burmakin
f7b4b6d51f Show number of cities in each country in the right sidebar 2024-03-23 20:58:22 +01:00
Eugene Burmakin
d1454c21a9 Add StatCreatingJob to create stats asynchronously 2024-03-23 20:40:05 +01:00
Eugene Burmakin
e1193608ef Add basic stats 2024-03-23 20:29:55 +01:00
Eugene Burmakin
5cb8af66e0 Save number of raw points and doubles in import file 2024-03-23 14:20:20 +01:00
Eugene Burmakin
18ed732c24 Fix owntracks import 2024-03-23 13:36:09 +01:00
Eugene Burmakin
2556e2ae70 Fix the sidebar and the map marker popup 2024-03-22 22:57:53 +01:00
Eugene Burmakin
4af91748f0 Allow to set the default map center via an environment variable. 2024-03-21 23:54:19 +01:00
Eugene Burmakin
1f3ee41bcb Implement calculation of cities and countries with the number of points and the last timestamp 2024-03-17 17:58:09 +01:00
Eugene Burmakin
fc3f2b52ad Set default timespan equal to 1 month to date 2024-03-16 23:15:44 +01:00
Eugene Burmakin
476701c5df Replace markers with circle markers and add right sidebar with countries and cities 2024-03-16 22:39:03 +01:00
Eugene Burmakin
fd43e8acc0 Add a form to filter the points by date range 2024-03-16 21:31:07 +01:00
Eugene Burmakin
07395d681e Implement leaflet map with points and polyline 2024-03-16 01:07:20 +01:00
Eugene Burmakin
830da9c900 Resize map 2024-03-16 00:28:49 +01:00
Eugene Burmakin
3c74bc2937 Migrate from old template 2024-03-15 23:27:31 +01:00
Eugene Burmakin
f74415217c Rename to Dawarich 2024-03-15 22:28:54 +01:00
Eugene Burmakin
a81b6ef723 Update devise to 4.9.3 and links to work with Turbo 2024-03-15 22:24:23 +01:00
Eugene Burmakin
cea7af3a19 Update gems and daisyui 2024-03-09 23:44:27 +01:00
Eugene Burmakin
887b84bb65 Add flashes with StumulusJS 2024-01-03 12:13:00 +01:00
Eugene Burmakin
2419aed92b Add basic landing page 2023-10-21 13:00:05 +02:00
Eugene Burmakin
1abb5507a2 Add night view 2023-10-21 12:56:46 +02:00
Eugene Burmakin
c4e00dcf8b Add import-maps and turbo with some devise views 2023-10-21 12:52:50 +02:00
Eugene Burmakin
682a388f0e Update to Rails 7.1.1 2023-10-21 12:43:31 +02:00
Eugene Burmakin
fb138b9f9a Fix starting issues 2022-04-07 20:45:38 +04:00
Eugene Burmakin
0722e2d991 Initial Rails 7.0.2.3 template w/ rspec, tailwind, and devise user 2022-04-06 22:46:10 +04:00