Commit graph

361 commits

Author SHA1 Message Date
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