Eugene Burmakin
0b362168c9
Implement custom map tiles and user settings with default values
2025-02-10 20:37:20 +01:00
Eugene Burmakin
085ceb16e2
Fix export file deletion
2025-02-06 22:52:19 +01:00
Eugene Burmakin
bd39b295a4
Return app version in health response
2025-02-06 19:50:03 +01:00
Eugene Burmakin
1e7efbc9af
Render trips using precalculated paths instead of list of coordinates
2025-01-24 14:54:10 +01:00
Eugene Burmakin
c3243bdba0
Fix authentication to GET /api/v1/countries/visited_cities
2025-01-22 10:53:33 +01:00
Evgenii Burmakin
620579d162
Merge branch 'master' into feature/api/points
2025-01-20 20:35:08 +01:00
Eugene Burmakin
983768a572
Assign user_id to points on parsing
2025-01-20 20:07:46 +01:00
Eugene Burmakin
6644fc9a13
Introduce uniqueness index and validation for points
2025-01-20 17:59:13 +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
33401712e2
Allow api_key to be passed in to the visited cities endpoint
2025-01-14 23:33:07 +01:00
Eugene Burmakin
4fc8992f73
Rename Polylines to Routes in the interface
2025-01-13 22:05:25 +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
2e18b35e3c
Add settings for speed-colored polylines
2025-01-11 00:42:44 +01:00
Eugene Burmakin
485f23f82d
Remove unused volumes from docker-compose.yml
2025-01-09 20:51:19 +01:00
Eugene Burmakin
69af9710f5
Clean up dockerfiles
2025-01-09 13:04:22 +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
6c58a446ee
Support API key in Authorization header
2024-12-20 16:02:17 +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
Eugene Burmakin
d9930521c9
Refactor code a bit and add some specs
2024-12-16 15:10:46 +01:00
Sven Anders
aa497a050d
See coderview https://github.com/Freika/dawarich/pull/548
2024-12-16 14:23:24 +01:00
Sven Anders
4ece5cb4a5
Add a "Delete Notifications" button
2024-12-15 17:28:59 +01: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
463e8e6d9b
Fix specs
2024-12-11 14:42:26 +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
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
b7e4a017b8
Calculate only necessary stats
2024-12-06 16:52:36 +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
955f8946ad
Add test for photos integration not being configured
2024-12-04 12:32:13 +01:00
Eugene Burmakin
93e91e7944
Fix swagger docs for /api/v1/photos/{id}/thumbnail
2024-12-03 16:05:38 +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
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
Eugene Burmakin
782aeb89af
Add distance calculation and trip cards to trips index
2024-11-28 15:29:17 +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
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
7b160bfe2d
Add specs for swagger
2024-11-26 20:18:08 +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
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
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
ebee214982
Add live map enabled setting
2024-11-07 13:07:54 +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
db880a0d5d
Add very raw scratch map
2024-11-01 13:29:24 +01:00
Eugene Burmakin
d218ed8151
Fix stats distances and rework stas calculating service
2024-10-24 16:59:15 +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
1a0d68ab58
Add map borders and change default timeframe on the Map page
2024-10-16 15:25:22 +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
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
Eugene Burmakin
d2aa1e9381
Include id attribute in slim points response
2024-09-30 23:38:32 +02:00
Eugene Burmakin
7f61cbe31e
Fix point page reloads when searching for points
2024-09-28 17:29:56 +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
Eugene Burmakin
7b876ea754
Fix GPX export timestamps and add slim version of points
2024-09-24 00:10:39 +02:00
Eugene Burmakin
caa77be67f
Add 17 new tile layers to choose from
2024-09-15 21:04:13 +02: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
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
Eugene Burmakin
98520b0287
Add health check endpoint
2024-09-05 21:16:40 +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
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
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
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
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
1e3d9f358d
Fix map areas functionality
2024-07-27 14:30:46 +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
59e540995b
Default to today on map view.
2024-07-23 11:54:44 -03:00
Eugene Burmakin
151e5cf042
Add areas
2024-07-21 20:09:42 +02:00
Eugene Burmakin
4371d28ef7
Allow users to delete points from the map
2024-07-21 16:45:29 +02:00
Eugene Burmakin
2d2eeda9e7
Update tests for admin flag
2024-07-19 20:37:57 +02:00
Eugene Burmakin
b1f7b98c11
Add admin flag to users
2024-07-16 22:26:16 +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
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
1dbf5cbda5
Implement support for Google Phone Takeout import
2024-06-30 17:47:36 +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
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
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
4fe13a7d3f
Merge branch 'master' into gpx-imports
2024-06-17 17:30:49 +02:00
Eugene Burmakin
b7f648dc07
Add titles
2024-06-12 21:10:53 +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
4afbdd3b64
Add gpx file to experiment with
2024-05-31 23:18:57 +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
5e4e686492
Highlight route on hover and show start and end timestamps in popup
2024-05-30 11:50:12 +02:00
Eugene Burmakin
390b6c3d17
Update changelog
2024-05-25 20:50:25 +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
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
814095a4a2
Implement bulk points deletion
2024-05-23 20:12:23 +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
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
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
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
3ff35b3f8f
Remove the permit list from the controller
2024-04-07 22:36:39 +02:00
Eugene Burmakin
ce93aa159e
Move import job scheduling to controller from model callback
2024-04-06 22:31:33 +02:00
Eugene Burmakin
fe4110b0fd
Add support for Overland
2024-04-06 19:09:38 +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
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
29ac8c1136
Add nice charts to the stat cards
2024-03-24 18:55:35 +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
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
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
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
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
2419aed92b
Add basic landing page
2023-10-21 13:00:05 +02:00
Eugene Burmakin
682a388f0e
Update to Rails 7.1.1
2023-10-21 12:43:31 +02:00
Eugene Burmakin
6f791401de
Add strong_migrations gem
2023-02-03 15:42:56 +01: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