Commit graph

1109 commits

Author SHA1 Message Date
Eugene Burmakin
7a83afd857 Speed up polylines coloring 2025-01-13 21:10:49 +01:00
Eugene Burmakin
216727b9e7 Fix polylines color update when settings updated 2025-01-13 21:04:18 +01:00
Eugene Burmakin
badeff3d0a Enable or disable speed colored polylines 2025-01-13 20:34:57 +01:00
Eugene Burmakin
2e18b35e3c Add settings for speed-colored polylines 2025-01-11 00:42:44 +01:00
Eugene Burmakin
43e4e8d81a Color polylines based on speed 2025-01-10 23:03:07 +01:00
Eugene Burmakin
485f23f82d Remove unused volumes from docker-compose.yml 2025-01-09 20:51:19 +01:00
Eugene Burmakin
4d25dbca21 Move some files around 2025-01-09 13:38:13 +01:00
Eugene Burmakin
69af9710f5 Clean up dockerfiles 2025-01-09 13:04:22 +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
73fc9be3fb Fix inconsistent password for the dawarich_db service in docker-compose_mounted_volumes.yml. 2025-01-07 14:31:06 +01:00
Eugene Burmakin
974f45a4c9 Remove REVERSE_GEOCODING_ENABLED env var 2025-01-07 13:41:09 +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
1e9f539dac Revert "Imported points will now be reverse geocoded only after import is finished." 2025-01-04 21:31:21 +01:00
Arne Schwarck
c1b767d791
Fix logic for grouping consecutive points in CountriesAndCities
This update corrects the logic for grouping consecutive points in the group_points_with_consecutive_cities method. It ensures sessions are properly split when transitioning between cities or encountering significant time gaps, leading to accurate grouping and filtering of points based on session duration.
2025-01-01 13:06:07 +01:00
Arne Schwarck
a6b04ba49a
Add Logging for Immich 2024-12-27 21:52:33 +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
Evgenii Burmakin
d9c4c5d16e
Merge pull request #592 from Freika/fix/import-reverse-geocoding
Start reverse geocoding after import is finished
2024-12-25 12:43:11 +01:00
Eugene Burmakin
0276882db1 Start reverse geocoding after import is finished 2024-12-25 12:38:32 +01:00
Evgenii Burmakin
52a032acb0
Merge branch 'master' into import_google_formats 2024-12-25 11:53:40 +01:00
GED
af8b3b4f5d fix: remove debbuging messages 2024-12-25 05:06:56 +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
GED
1f223142f3 error: watcher does not create points 2024-12-24 13:08:14 +01:00
Evgenii Burmakin
4870e7718d
Merge pull request #564 from whimsical-c4lic0/fix/incorrect-locale-on-map-popup
Update map popup to format dates with the locale from the browser
2024-12-20 16:48:04 +01:00
Eugene Burmakin
6bdb103814 Expand map borders for New Zealanders 2024-12-20 16:11:46 +01:00
Eugene Burmakin
6c58a446ee Support API key in Authorization header 2024-12-20 16:02:17 +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
whimsical-c4lic0
b9d3ac9bb0 Set en-GB as the fallback locale 2024-12-19 12:50:08 -06:00
whimsical-c4lic0
bf8dc7f872 Update map popup to format dates with the locale from the browser 2024-12-19 12:39:50 -06:00
Evgenii Burmakin
9ee70269b8
Merge pull request #559 from Freika/fix/scratch-map-mk
Add point id to popup and fix scratch map for North Macedonia
2024-12-17 13:39:17 +01:00
Eugene Burmakin
5f93bf8522 Update to Rails 8.0.1 2024-12-17 12:56:21 +01:00
Eugene Burmakin
bd43b97fcf Add point id to popup and fix scratch map for North Macedonia 2024-12-17 12:01:19 +01:00
GED
ef8882037f refactor: rubocop 2024-12-17 11:29:19 +01:00
GED
a3614abdfa fix: raw_data parsing json since all formats are expecting import and user_id, but not a file 2024-12-17 11:19:15 +01:00
GED
409e3b745d feat: added certain files for watcher_spec with valid and invalid users 2024-12-16 20:53:48 +01:00
Eugene Burmakin
3554e405db Move setting reverse_geocoded_at to background job 2024-12-16 20:32:28 +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
Eugene Burmakin
d9930521c9 Refactor code a bit and add some specs 2024-12-16 15:10:46 +01:00
Eugene Burmakin
41dfbfc1f4 Don't close point popup when hovering over a polyline 2024-12-16 14:27:45 +01:00
Evgenii Burmakin
41ac715fc5
Merge pull request #548 from tabacha/2024-12-15-delete-notifications-on-gui
Feature: Add a "Delete Notifications" button
2024-12-16 14:27:29 +01:00
Sven Anders
aa497a050d See coderview https://github.com/Freika/dawarich/pull/548 2024-12-16 14:23:24 +01:00
Sven Anders
a5bd75b27d On Map Point delete: Make Polyline Layer visible, if it was before 2024-12-16 12:23:02 +01:00
GED
ab84d282d3 feat: added formats(google_phone_takeout, google_records, google_semantic_history, owntracks to the watcher 2024-12-16 12:13:38 +01:00
Sven Anders
4ece5cb4a5 Add a "Delete Notifications" button 2024-12-15 17:28:59 +01:00
Eugene Burmakin
cddbace10e Cache responses from api endpoints made from the map right panel 2024-12-13 13:21:04 +01:00
GED
c8960d46f2 feat: added google_phone_takeout and google_semantic_histo into imports_controller for creating a new import 2024-12-12 22:05:36 +01:00
Eugene Burmakin
e7c393a776 Show visited cities on map page 2024-12-11 22:00:33 +01:00
Eugene Burmakin
cab70839b9 Color buttons a bit 2024-12-11 21:21:24 +01:00
Eugene Burmakin
a1368b2e68 Add link to whole year 2024-12-11 20:41:51 +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
b364f33db1 Remove event handler 2024-12-11 16:23:34 +01:00
Eugene Burmakin
9713bd7afd Fix deleting points on the map 2024-12-11 16:18:40 +01:00
Eugene Burmakin
4bb39a2bbd Disable telemetry by default 2024-12-11 14:53:07 +01:00
Eugene Burmakin
463e8e6d9b Fix specs 2024-12-11 14:42:26 +01:00
Eugene Burmakin
866b10ceca Change mapping for redis container and add logs to export process 2024-12-11 14:34:59 +01:00
Eugene Burmakin
b1c48076e4 Add some minor changes 2024-12-11 14:21:44 +01:00
Eugene Burmakin
1733b2b732 Fix map and visits pages 2024-12-10 23:10:36 +01:00
Eugene Burmakin
9bca8cfeaa Merge remote-tracking branch 'origin/master' into fix/reverse-geocoded-points 2024-12-10 20:15:42 +01:00
Evgenii Burmakin
60c8a03ce0
Merge pull request #490 from whimsical-c4lic0/fix/incorrect-distance-units-on-map-popup
Update map popup to use configured distance unit
2024-12-10 20:09:42 +01:00
Eugene Burmakin
dbb737a0c4 Update swagger docs and changelog 2024-12-10 19:43:52 +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
Sven Anders
8a5f5883ba Add Source to thumbnail image. Perhabs a fix to #506 untested. 2024-12-09 07:58:14 +01: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
whimsical-c4lic0
32224628e7 Update map popup to use configured distance unit 2024-12-05 16:14:56 -06:00
Eugene Burmakin
82b3e26bd3 Update readme and log telemetry data 2024-12-05 17:46:24 +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
Evgenii Burmakin
60dc5c6b59
Merge pull request #476 from jduar/fix/owntracks-import-fix-when-not-location
fix imports of owntracks .rec files containing log types other than events
2024-12-04 15:39:55 +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
cabce29ee2 Update changelog 2024-12-04 13:59:49 +01:00
Eugene Burmakin
d2bffdf1f1 Add spec for Photos::Thumbnail 2024-12-04 13:50:41 +01:00
Eugene Burmakin
1030bd5c37 Rename Photos::Request to Photos::Search and add test for it 2024-12-04 13:45:19 +01:00
Eugene Burmakin
9d573d90f3 Add spec for photo serializer 2024-12-04 13:17:15 +01:00
Eugene Burmakin
955f8946ad Add test for photos integration not being configured 2024-12-04 12:32:13 +01:00
João Duarte
16817718aa fix imports of owntracks .rec files containing events other than locations 2024-12-03 22:05:05 +00:00
Eugene Burmakin
e32ad54f35 Fix failing tests 2024-12-03 16:26:28 +01:00
Eugene Burmakin
93e91e7944 Fix swagger docs for /api/v1/photos/{id}/thumbnail 2024-12-03 16:05:38 +01:00
Eugene Burmakin
ba2a95233c Implement importing geodata from photoprism 2024-12-03 15:59:34 +01:00
Eugene Burmakin
e17b671c9c Add a button to import Photoprism geodata 2024-12-03 15:40:21 +01:00
Eugene Burmakin
42b74ecd52 Consider both Immich and Photoprism integrations in trips controller 2024-12-03 15:12:20 +01:00
Eugene Burmakin
83078c5b29 Refactor photo links code 2024-12-03 15:05:40 +01:00
Eugene Burmakin
bea7f28172 Update link to photos in maps photo popup 2024-12-03 15:02:11 +01:00
Eugene Burmakin
0a201d74ac Update marker rendering code to adapt to new photo format 2024-12-03 14:53:10 +01:00
Eugene Burmakin
bf569da921 Implement thumbnail fetching for photoprism 2024-12-03 14:44:24 +01:00
Eugene Burmakin
8849a5e0a5 Add source to photos 2024-12-03 13:50:05 +01:00
Eugene Burmakin
be45af95fb Implement photos serializer 2024-12-02 18:21:12 +01:00
Eugene Burmakin
202396a93d Implement photos request for both immich and photoprism in single service class 2024-12-02 17:34:16 +01:00
Eugene Burmakin
360828250f Add test for photoprism request photos 2024-12-02 17:22:36 +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
2cc2a84089 build assets 2024-12-02 10:23:08 +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
ce88452be0 Fix trips when Immich integration is not configured 2024-11-29 11:52:57 +01:00
Eugene Burmakin
f018f0c64c Add specs for trips model 2024-11-28 17:41:43 +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
4dca91b62d Don't set size of images on the popups 2024-11-28 13:56:50 +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
3ba7a657e4 Fix retrieving photos from Immich with timeframes 2024-11-27 16:43:12 +01:00
Eugene Burmakin
336654270d Add logging for Immich response with no items 2024-11-27 14:06:49 +01:00
Eugene Burmakin
5ed9b3518b Add hover reaction to photos in the map 2024-11-26 20:27:16 +01:00
Eugene Burmakin
7b160bfe2d Add specs for swagger 2024-11-26 20:18:08 +01:00
Eugene Burmakin
c5044781b9 Add an active link to the photo in Immich 2024-11-26 18:03:46 +01:00
Eugene Burmakin
3c6f2e5ce3 Add loading spinner and checkmark 2024-11-26 17:36:22 +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
6093f4cb33 Return sidekiq_rate_limiting 2024-11-24 15:28:09 +01:00
Eugene Burmakin
79bf74add4 Move APP_VERSION to a constant 2024-11-24 14:56:20 +01:00
Eugene Burmakin
8891313b5a Move url to the initializer 2024-11-18 15:57:41 +01:00
Eugene Burmakin
11762d528b Use POST /api/search/metadata endpoint to get geodata from Immich 2024-11-18 15:41:43 +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
a66d3b3b6c Include file extension in the export name 2024-11-12 15:25:00 +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
abf46a7436 Fix redirect after creating a user in spec 2024-11-08 21:28:45 +01:00
Eugene Burmakin
b97b30c88a Add separate page for user management 2024-11-08 17:56:14 +01:00
Eugene Burmakin
d09a4f3305 Return a GPX::GPXFile object instead of a string in Points::GpxSerializer 2024-11-08 16:47:20 +01:00
Eugene Burmakin
fb50b2944e Merge remote-tracking branch 'origin/master' into fix/gpx-valid-export 2024-11-08 16:33:34 +01:00
Eugene Burmakin
00619837df Add test for parsing speed from Garmin GPX files 2024-11-08 14:54:37 +01:00
Eugene Burmakin
5c127f913a Make sure speed is recorded when importing GPX files 2024-11-08 14:42:18 +01:00
Eugene Burmakin
3e5ddb7183 Fix importing geojson from GPSLogger for Android 2024-11-08 14:22:23 +01:00
Eugene Burmakin
a5198f3a14 Update gpx serializer to make it a valid gpx file 2024-11-08 13:45:51 +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
36cd82b240 Resubscribe to the channel when the live map is enabled 2024-11-07 13:34:22 +01:00
Eugene Burmakin
31ecedb851 Enable subscription only when Live Mode is enabled 2024-11-07 13:30:58 +01:00
Eugene Burmakin
ebee214982 Add live map enabled setting 2024-11-07 13:07:54 +01:00
Eugene Burmakin
853d02cd80 Add Imports::Broadcaster to Immich::ImportParser 2024-11-04 13:14:26 +01:00
Eugene Burmakin
3ba70e906f Add Imports::Broadcaster to some more parsers 2024-11-04 13:14:06 +01:00
Eugene Burmakin
4a3f7d5e65 Implement live points count update for imports 2024-11-04 13:06:04 +01:00
Eugene Burmakin
9cc9632b6d Remove unused parser from imports create service 2024-11-04 11:58:15 +01:00
Eugene Burmakin
31f0ee5eab Remove unnecessary code 2024-11-03 20:09:53 +01:00
Eugene Burmakin
d6c3a7ba03 Show popup with timestamp when new point is added 2024-11-03 19:28:33 +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
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
fd0ce76e22 Remove unused constant 2024-11-01 14:07:09 +01:00
Eugene Burmakin
bc28babf15 Use local countries.geojson 2024-11-01 14:05:16 +01:00
Eugene Burmakin
dd91b581f5 Update changelog 2024-11-01 13:53:38 +01:00
Eugene Burmakin
1c62ef61b1 Disable scratch map layer by default 2024-11-01 13:43:21 +01:00
Eugene Burmakin
ef7b4c1fba Reorder js functions for scratch map a bit 2024-11-01 13:40:37 +01:00
Eugene Burmakin
db880a0d5d Add very raw scratch map 2024-11-01 13:29:24 +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
609688f144 Write Immich debug data and fix Sidekiq healthcheck 2024-10-29 11:53:44 +01:00
Eugene Burmakin
2574f2e4f3 Remove comments 2024-10-24 17:22:54 +02:00
Eugene Burmakin
a4aaa0294f Limit stats update after import to the timespan of the imported data 2024-10-24 17:20:37 +02:00
Eugene Burmakin
19b12462b8 Remove CreateStats service 2024-10-24 17:00:36 +02:00
Eugene Burmakin
d218ed8151 Fix stats distances and rework stas calculating service 2024-10-24 16:59:15 +02:00
Eugene Burmakin
c0b0716f28 Update radio buttons 2024-10-22 12:02:12 +02:00
Eugene Burmakin
c219e7a7b4 Add points rendering mode modal 2024-10-20 20:55:43 +02:00
Eugene Burmakin
eee33d13fa Remove PointsReduce class 2024-10-20 20:34:34 +02:00
Eugene Burmakin
54825f0d0a Move the showFlashMessage function to the helpers.js file and export it 2024-10-20 20:32:51 +02:00
Eugene Burmakin
b4db5f9376 Move the code for handling areas, markers and polylines to separate files 2024-10-20 20:23:58 +02:00
Eugene Burmakin
d0c373b30b Use strong instead of b tag for the popup content 2024-10-20 19:06:37 +02:00
Eugene Burmakin
6bf8006c59 Implement simple points reducer 2024-10-20 00:28:54 +02:00
Eugene Burmakin
50b77cc493 Fix Owntracks .rec file import 2024-10-19 19:29:43 +02:00
Evgenii Burmakin
2015a6f7d1
Merge pull request #281 from saschazepter/fix/import-google-timeline
Allow different timestamp formats in Google exports to be parsed
2024-10-18 13:37:31 +02:00
Eugene Burmakin
1a0d68ab58 Add map borders and change default timeframe on the Map page 2024-10-16 15:25:22 +02:00
Eugene Burmakin
10734f26ae Use RecParser in ExportParser 2024-10-16 10:54:56 +02:00
Eugene Burmakin
786ce722d1 Fix test according to new file format for Owntracks 2024-10-15 22:41:49 +02:00
Eugene Burmakin
11d024127e Update owntracks params spec 2024-10-15 22:30:16 +02:00
Eugene Burmakin
a2f3aef608 Implement support for OwnTracks REC files 2024-10-15 22:17:51 +02:00
Sascha Zepter
11ad2165ae
Merge branch 'Freika:master' into fix/import-google-timeline 2024-10-07 15:34:00 +02:00
Eugene Burmakin
6febd40b4f Change watcher to look into user directories 2024-10-05 12:53:35 +02:00
Eugene Burmakin
40e5477a00 Disable retries for some background jobs 2024-10-03 15:33:31 +02:00
Eugene Burmakin
b79bb9951c Add test for Import::WatcherJob 2024-10-03 15:27:30 +02:00
Eugene Burmakin
d4e2e5006e Implement creating imports from watched directory 2024-10-03 15:08:23 +02:00
Eugene Burmakin
6566455a2f Move import jobs to the Import namespace 2024-10-03 14:04:37 +02:00
Eugene Burmakin
9316fe618c Update responsiveness for the map page 2024-10-02 23:41:46 +02:00
Eugene Burmakin
9d4cc7a4cf Move point serializers to API namespace 2024-10-02 21:58:19 +02:00
Eugene Burmakin
df430851ce Add optional order query parameter to GET /api/v1/points 2024-10-02 21:29:56 +02:00
Sascha Zepter
b8172c86e3
Merge branch 'Freika:master' into fix/import-google-timeline 2024-09-30 23:48:00 +02:00
Eugene Burmakin
d2aa1e9381 Include id attribute in slim points response 2024-09-30 23:38:32 +02:00
Eugene Burmakin
ec793fe4aa Fix incorrect timestamps for Google Location History (mobile device) points 2024-09-30 23:31:42 +02:00
Sascha Zepter
2231c0aab9
Merge branch 'Freika:master' into fix/import-google-timeline 2024-09-30 22:38:16 +02:00
Sascha Zepter
eb892dde9a Refactor parse_timestamp: move to lib/timestamps.rb 2024-09-30 14:49:11 +00:00
Eugene Burmakin
7f61cbe31e Fix point page reloads when searching for points 2024-09-28 17:29:56 +02:00
Evgenii Burmakin
d76e1a4052
Merge pull request #268 from gboudreau/fix/gh-194-timespans-in-negative-tz
Bugfix: when calculating the timestamp (for months and years), ignore the Timezone
2024-09-28 18:17:22 +03:00
Eugene Burmakin
2d26418337 Add specs for GoogleMaps::SemanticHistoryParser 2024-09-28 17:09:44 +02:00
Eugene Burmakin
9a962bca72 Fix visits map not being rendered correctly in the Visits page 2024-09-28 16:58:17 +02:00
Eugene Burmakin
6f2486b8ec Fix bulk destroy redirect 2024-09-28 16:50:59 +02:00
Eugene Burmakin
4d743ae314 Preserve start_at and end_at parameters when deleting points from the Points page 2024-09-28 16:50:59 +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
f50b11166b Fix GPX export 2024-09-28 12:58:22 +02:00
Eugene Burmakin
d517b72f69 Disable map layers from Stadia due to their requirement of an api key 2024-09-28 12:58:22 +02:00
Sascha Zepter
6077776880
Allow different timestamp formats in Google exports to be parsed 2024-09-24 22:46:52 +02:00
Eugene Burmakin
7b876ea754 Fix GPX export timestamps and add slim version of points 2024-09-24 00:10:39 +02:00
Guillaume Boudreau
644b7f489d Bugfix: when calculating the timestamp (for months and years), ignore the Timezone
Fixes GH-194
2024-09-22 07:32:33 -04:00
Eugene Burmakin
108120ce1c Update text on the landing page 2024-09-19 19:57:51 +02:00
tetebueno
e2c45bad46
Creating exports directory if it doesn't exist.
On my first export I found out that it failed because the exports directory didn't exist. Creating the directory and retrying the export fixed it.
2024-09-16 16:10:19 -03:00
Eugene Burmakin
548d0b0e7a Fix map not loading due to invalid tile layer name 2024-09-16 20:52:51 +02:00
Eugene Burmakin
caa77be67f Add 17 new tile layers to choose from 2024-09-15 21:04:13 +02:00
Evgenii Burmakin
cbaf1956a3
Merge branch 'master' into fix/visits-notificaton-url 2024-09-15 20:58:13 +03:00
sunstep
6d05065659
Convert the headers to string
It seems like all HTTP headers are string, while other types may work, its more safe to convert the types to strings to ensure no trouble is caused by non string types. Even if it does work, at least now the types are consistent, as headers are being put as string and they are also retrieved as string.
2024-09-15 12:07:46 +02: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
979aa06005 Flatten immich data before processing it 2024-09-12 22:41:26 +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
d2a8180a7f Use map instead of flat_map 2024-09-08 17:06:06 +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
662eae81fd Add miles tests and refactor CreateStats service a bit 2024-09-06 21:22:13 +02:00
Eugene Burmakin
f81e119283 Display number of points found on the Points page 2024-09-06 00:19:53 +02:00
Eugene Burmakin
3592f46492 Rework GeoJSON import to support FeatureCollection as a root object and remove points counter for imports 2024-09-06 00:07:06 +02:00
Eugene Burmakin
90bfd13f95 Improve GeoJSON import service to work with FeatureCollection 2024-09-05 23:12:21 +02:00
Eugene Burmakin
98520b0287 Add health check endpoint 2024-09-05 21:16:40 +02:00
Eugene Burmakin
0038f72155 Update gems and ruby version 2024-09-05 21:01:59 +02:00
Ikko Eltociear Ashimine
e358b0ccf2
chore: update index.html.erb
withing -> within
2024-09-05 00:39:03 +09:00
Eugene Burmakin
740d203647 Fix a bug where the confirmation alert was shown more than once when deleting a point. 2024-09-02 23:29:37 +02:00
Eugene Burmakin
28190cebfd Merge remote-tracking branch 'origin/master' into feature/gpx-export 2024-09-02 22:43:51 +02:00
Eugene Burmakin
8bb6a9afb5 Implement GeoJSON import 2024-09-02 22:33:54 +02:00
Eugene Burmakin
24726aa4d1 Add PointSerializer spec 2024-09-02 21:56:48 +02:00
Eugene Burmakin
5df4ec8d24 Rename the format variable to file_format 2024-09-02 21:45:27 +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
ff9735b972 Update changelog 2024-09-02 18:34:57 +02:00
Eugene Burmakin
fb8b2958b6 Remove format from ExportJob.perform_later call 2024-09-02 18:33:40 +02:00
Eugene Burmakin
41f0a713ea Draft of the GPX export feature 2024-09-02 18:32:21 +02:00
Eugene Burmakin
2a960826eb Add resource limits to docker-compose.yml file and fix Immich import bug 2024-09-02 18:28:17 +02:00
Eugene Burmakin
88de60517e Update route popup with the correct distance unit 2024-08-29 00:17:51 +02:00
Eugene Burmakin
9f9debdb1d Update js files to support miles 2024-08-29 00:09:04 +02:00
Eugene Burmakin
5d14b406bd Add DISTANCE_UNIT environment variable 2024-08-28 23:54:00 +02:00
Eugene Burmakin
fbc5eba90a Move map settings to topleft 2024-08-28 21:34:26 +02:00
Eugene Burmakin
914ecd2f2d Remove console.log statements from maps_controller.js 2024-08-28 20:30:47 +02:00
Eugene Burmakin
df588d1e07 Move map settings to the map itself 2024-08-28 20:24:35 +02:00
Eugene Burmakin
d11cfd864f Fix a bug that prevented data migration from working correctly 2024-08-25 21:59:07 +02:00
Eugene Burmakin
656dc97490 Return previos radius calculatuion logic 2024-08-25 20:51:58 +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
0e90bdf15d Update changelog 2024-08-25 19:46:50 +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
ca222b78ec Add pagination to the /api/v1/points endpoint 2024-08-21 19:20:04 +02:00
Eugene Burmakin
7652dcce76 Implement the import of geodata from Immich to Dawarich 2024-08-21 18:40:54 +02:00
Eugene Burmakin
7ed7f9795b Add stats API endpoint and serializer 2024-08-20 20:14:17 +02:00
Eugene Burmakin
5c16cc6dca Fix owntracks params 2024-08-15 19:47:59 +02:00
Evgenii Burmakin
3b5a2713fc
Merge pull request #126 from bluemaex/improve_gpx_import
Improve GPX Parser
2024-08-14 20:24:49 +02:00
Eugene Burmakin
8197624d5e Fix Google's Records.json import 2024-08-14 20:12:24 +02:00
Eugene Burmakin
39bc6aa58a Implement support for custom Photon API host 2024-08-14 18:06:37 +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
1e207f297c Experiment with visits detection 2024-08-04 14:03:52 +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
3b600c1052 Fix call to the background job to calculate visits 2024-07-27 22:08:40 +02:00
Eugene Burmakin
7a100f7e2a Fix name of background job to calculate visits 2024-07-27 15:05:08 +02:00
Eugene Burmakin
1e3d9f358d Fix map areas functionality 2024-07-27 14:30:46 +02:00
Eugene Burmakin
9a818fd84e Add spec for creating visits with points 2024-07-27 13:36:02 +02:00
Eugene Burmakin
8bb966b546 Update visits specs 2024-07-27 12:35:47 +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
tetebueno
59e540995b
Default to today on map view. 2024-07-23 11:54:44 -03:00
Eugene Burmakin
ab700c8f25 Experiment with visit calculation service 2024-07-23 00:40:48 +02:00
Eugene Burmakin
3fd176ad6e Add Visit model and associations 2024-07-21 20:32:29 +02: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
bd8517709b Remove unused function 2024-07-21 16:49:26 +02:00
Eugene Burmakin
4371d28ef7 Allow users to delete points from the map 2024-07-21 16:45:29 +02:00
Eugene Burmakin
66e1feaf29 Extract some code from maps_controller.js into separate files 2024-07-21 15:13:16 +02:00
Eugene Burmakin
1fb80ac6f6 Make admin know they're admin 2024-07-19 21:02:04 +02:00
Eugene Burmakin
2d2eeda9e7 Update tests for admin flag 2024-07-19 20:37:57 +02:00
Eugene Burmakin
578f46ab08 Merge branch 'master' into admin_flag 2024-07-19 20:24:07 +02:00
Eugene Burmakin
9104e612cb Convert meters to kilometers in route hover 2024-07-19 20:23:50 +02:00
Eugene Burmakin
1006606870 Fix route tooltip and map movement when hovering over a route 2024-07-19 07:55:45 +02:00
Max Stockner
958c792bf1 A GPX File can have multiple tracks 2024-07-16 23:06:55 +02:00
Eugene Burmakin
b1f7b98c11 Add admin flag to users 2024-07-16 22:26:16 +02:00
Eugene Burmakin
d660d6f6e7 Fix total reverse geocoded points calculation 2024-07-12 22:51:10 +02:00
Eugene Burmakin
0a006807f6 Update CHANGELOG.md and User#total_reverse_geocoded method 2024-07-12 22:11:42 +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
54446f1c3c Update logging settings 2024-07-09 20:09:43 +02:00
Eugene Burmakin
50798b5bb1 Fix overland batch payload processing 2024-07-08 23:56:08 +02:00
Eugene Burmakin
dd6430e185 Merge branch 'remove_map_center' 2024-07-08 23:22:00 +02:00
Eugene Burmakin
da01fd1a47 Update tailwindcss 2024-07-08 23:20:32 +02:00
Eugene Burmakin
4f25c81a93 Update reverse proxy guide 2024-07-08 23:19:25 +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
09152b505d Update readme 2024-06-30 20:53:06 +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
2a4bf5e9d4 Rename guides 2024-06-30 13:23:15 +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
ad164b0edd Use old calculation of city visits in right sidebar on Map page due to performance issues 2024-06-25 22:42:05 +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
Eugene Burmakin
3e2f9f77d7 Change order of points on the Points page 2024-06-25 21:26:28 +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
f0e94f38f9 Rework cities and countries visits calculation 2024-06-25 20:19:15 +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
98211351b8 Merge branch 'master' into gpx-imports 2024-06-19 11:09:24 +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
4fe13a7d3f Merge branch 'master' into gpx-imports 2024-06-17 17:30:49 +02:00
Eugene Burmakin
da8792bbe1 Change count to size in the export service 2024-06-14 19:52:05 +02:00
Eugene Burmakin
1257f295be Add debugging information to the export service 2024-06-14 19:33:24 +02:00
Eugene Burmakin
6af4d6d7ef Fix a bug where the export file was not being created in the public folder 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
6ed9a27040 Update Records.json importing script 2024-06-10 22:48:05 +02:00
Eugene Burmakin
96a5240729 Add Google Maps Phone Takeout parser 2024-06-08 22:10:10 +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
674d87cc31 Change minutes to days and hours on route popup 2024-05-31 23:25:04 +02:00
Eugene Burmakin
4afbdd3b64 Add gpx file to experiment with 2024-05-31 23:18:57 +02:00
Eugene Burmakin
c843132495 Update readme 2024-05-31 20:26:56 +02:00
Eugene Burmakin
12985e1fee Shorten route popup 2024-05-31 20:17:14 +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
36767ffa77 Split routes based on time as well 2024-05-30 16:22:28 +02:00
Eugene Burmakin
e235ff66b0 Add changelog and time spent on route to the popup 2024-05-30 11:56:04 +02:00
Eugene Burmakin
5e4e686492 Highlight route on hover and show start and end timestamps in popup 2024-05-30 11:50:12 +02:00
Eugene Burmakin
a90d6f1f39 Check OwnTracks/Overland point for duplicates before saving it 2024-05-29 23:12:00 +02:00
Eugene Burmakin
8559449355 Prevent creating a point if it already exists 2024-05-29 23:06:58 +02:00
Eugene Burmakin
de3339ae22 Split Polylines Based on Distance in Leaflet Maps 2024-05-29 23:00:35 +02:00
Eugene Burmakin
2d78fe4d6c Lower the intensity of the heatmap markers 2024-05-27 22:36:57 +02:00
Eugene Burmakin
e2cc9a9992 Increase the concurrency of the Sidekiq workers to 10 and add the user_id to the records parsed from the Google Maps Timeline Export. 2024-05-25 22:27:18 +02:00
Eugene Burmakin
21f663a090 Add a heatmap layer to the map to show the density of points 2024-05-25 22:14:55 +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
bc8647f5e4 Fix the API key authentication for Owntracks points 2024-05-25 14:08:40 +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
df687db91f Add Owntracks API endpoint with api_key authentication 2024-05-25 12:57:39 +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
22c8a210b1 Disable the ignored_columns feature for now 2024-05-21 23:09:21 +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
494eb2c0ec Implement Google Maps records parser 2024-05-18 15:00:44 +02:00
Eugene Burmakin
1f7338a096 Add Swagger docs for overland api endpoint 2024-05-18 13:58:02 +02:00
Eugene Burmakin
e488dc9e4a Add swagger along with api/v1/points swagger doc 2024-05-18 13:35: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
ce7b391316 Add a new release to the CHANGELOG.md file and rename env var 2024-05-05 12:03:25 +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
23a691b014 Don't postpone the import job for 5 seconds, just run it immediately 2024-04-25 22:53:55 +02:00
Eugene Burmakin
98d33da3d1 Add spec for CheckAppVersion service 2024-04-25 22:40:51 +02:00
Eugene Burmakin
e00f614b9a Use shrine to upload files instead of ActiveStorage 2024-04-25 22:28:34 +02:00
Eugene Burmakin
d99e6d6f50 Set redis as default cache store 2024-04-21 18:12:07 +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
bdfa75cf70 Disable markersLayer in maps_controller.js by default to improve performance 2024-04-21 17:15:52 +02:00
Eugene Burmakin
581aac8352 Add precompiled tailwind.css 2024-04-18 09:40:17 +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
e0244335b7 Move js spaghetti to a tiny bit more structured codebase 2024-04-17 22:00:23 +02:00
Eugene Burmakin
44c2d7eaf2 Implement toggling visibility of polylines and points on the map 2024-04-17 21:54:04 +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
3ff35b3f8f Remove the permit list from the controller 2024-04-07 22:36:39 +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
ce93aa159e Move import job scheduling to controller from model callback 2024-04-06 22:31:33 +02:00
Eugene Burmakin
bd5259ddb1 Update changelog and version to 0.1.6 2024-04-06 19:21:23 +02:00
Eugene Burmakin
fe4110b0fd Add support for Overland 2024-04-06 19:09:38 +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
7c9ba57e16 Center map on latest point, not first one 2024-04-04 17:31:15 +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
48962e87e8 Add some unit tests 2024-04-02 23:20:25 +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
accb4dc04c Add frozen string literal comment to CreateStats service 2024-03-23 20:32:20 +01:00
Eugene Burmakin
e1193608ef Add basic stats 2024-03-23 20:29:55 +01:00
Eugene Burmakin
0a156b0966 Add markers as a layer 2024-03-23 16:54:01 +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
7bc1efef58 Fix distance calculation 2024-03-21 23:36:22 +01:00
Eugene Burmakin
e232376ef0 Add popups 2024-03-21 23:24:47 +01:00
Eugene Burmakin
3f146b34c7 Prevent doubles in the database when importing points 2024-03-21 22:56:55 +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
4680b80284 Fix points controller to filter by start_at and end_at 2024-03-16 22:51:46 +01:00
Eugene Burmakin
bb528b429b Fix the error when start_at or end_at is nil 2024-03-16 22:48:26 +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
e2095bae9c Fix params deep_symbolize_keys in OwnTracks::Params 2024-03-16 00:01:00 +01:00
Eugene Burmakin
bb1f82076a Update the docker-compose.yml file to use the dawarich network 2024-03-15 23:45:48 +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
6dbc206ed5 Fix frontend assets not being committed and update gems 2023-05-28 12:22:37 +02:00
Eugene Burmakin
6f791401de Add strong_migrations gem 2023-02-03 15:42:56 +01:00
Eugene Burmakin
9bfc268109 Extract some useful code from January of 2023 app 2023-02-01 14:30:09 +01: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