Commit graph

316 commits

Author SHA1 Message Date
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
MeijiRestored
94a07a89b5 Custom color scale 2025-04-06 23:57:41 +02:00
Eugene Burmakin
41604d71a6 Add brakeman and some tests 2025-04-04 22:16:52 +02:00
Eugene Burmakin
600c88ae01 Merge remote-tracking branch 'origin/dev' into feature/subscription 2025-04-04 21:28:13 +02:00
Eugene Burmakin
6839ecdbda Update specs for new user active_until column 2025-04-04 21:12:42 +02:00
Eugene Burmakin
99bb982792 Merge from dev 2025-04-04 20:14:44 +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
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
24a148b181 Fix moving points on the map 2025-03-24 00:01:18 +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
a93b49ee80 Use Active Storage to import GPX files 2025-03-23 18:37:10 +01:00
Eugene Burmakin
342cb23b58 Merge remote-tracking branch 'origin' into feature/subscription 2025-03-18 16:50:26 +01:00
Eugene Burmakin
29da64400b Update changelog and fix visits pane z-index 2025-03-16 13:36:06 +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
52fd54e39f Implement area selecting to show visits 2025-03-07 23:32:56 +01:00
Eugene Burmakin
6b356d24b1 Implement visits merging 2025-03-05 20:04:26 +01:00
Eugene Burmakin
414c9e831c Add possible places to visits 2025-03-03 20:11:21 +01:00
Eugene Burmakin
a4123791aa Add visits to the map page 2025-03-02 21:24:57 +01:00
Eugene Burmakin
3ebf492b14 Accept subscription updates from Dawarich Manager 2025-02-27 22:32:03 +01:00
Eugene Burmakin
95717db1bf Add simple button to manage subscription 2025-02-26 21:06:43 +01:00
Eugene Burmakin
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
217d6249e2 Use lonlat in maps controller 2025-02-23 22:59:14 +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
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
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
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