Commit graph

204 commits

Author SHA1 Message Date
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
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
Evgenii Burmakin
620579d162
Merge branch 'master' into feature/api/points 2025-01-20 20:35:08 +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
11677b14ae Introduce self-hosted mode 2025-01-15 21:52:59 +01:00
Eugene Burmakin
485f23f82d Remove unused volumes from docker-compose.yml 2025-01-09 20:51:19 +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
5f93bf8522 Update to Rails 8.0.1 2024-12-17 12:56:21 +01:00
Eugene Burmakin
81dc03f7c9 Add swagger specs for tracked months and visited cities 2024-12-16 15:22:34 +01:00
Eugene Burmakin
d9930521c9 Refactor code a bit and add some specs 2024-12-16 15:10:46 +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
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
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
e17b671c9c Add a button to import Photoprism geodata 2024-12-03 15:40:21 +01:00
Eugene Burmakin
9eea936782 Introduce reverse_geocoded_at to points 2024-12-02 14:44:22 +01:00
Eugene Burmakin
f018f0c64c Add specs for trips model 2024-11-28 17:41:43 +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
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
130630b997 Move Immich API request to a separate service & add photos api controller 2024-11-26 14:46:26 +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
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
d218ed8151 Fix stats distances and rework stas calculating service 2024-10-24 16:59:15 +02:00
Eugene Burmakin
786ce722d1 Fix test according to new file format for Owntracks 2024-10-15 22:41:49 +02:00
Eugene Burmakin
a2f3aef608 Implement support for OwnTracks REC files 2024-10-15 22:17:51 +02:00
Eugene Burmakin
dde76fd41f Update test just a bit 2024-10-03 00:07:45 +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
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
4496cd948f Fix spec expectations 2024-09-15 19:55:00 +02:00
Eugene Burmakin
667a1b2e3d Add pagination headers to the API response 2024-09-14 22:52:25 +02:00
Eugene Burmakin
98520b0287 Add health check endpoint 2024-09-05 21:16:40 +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
d5ba51f113 Add stats API endpoint spec 2024-08-20 20:16:38 +02:00
Eugene Burmakin
7ed7f9795b Add stats API endpoint and serializer 2024-08-20 20:14:17 +02:00
Eugene Burmakin
52b56957bc Move tests around 2024-08-14 18:14:53 +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
5f233ef577 Remove user_id from attributes_for(:area) in areas_spec.rb 2024-07-27 13:54:42 +02:00
Eugene Burmakin
e71d7b0a92 Update users_spec.rb 2024-07-27 13:50:37 +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
Eugene Burmakin
151e5cf042 Add areas 2024-07-21 20:09:42 +02:00
Eugene Burmakin
9c2d2b8c02 Handle Sidekiq access for non-admin users 2024-07-19 20:57:14 +02:00
Eugene Burmakin
2d2eeda9e7 Update tests for admin flag 2024-07-19 20:37:57 +02:00
Eugene Burmakin
f080b4c6ce Add tests for background jobs stuff 2024-07-12 21:59:03 +02:00
Eugene Burmakin
b648c18f9d Scaffold background jobs settings 2024-07-09 20:28:59 +02:00
Eugene Burmakin
118c7b5704 Add spec for marking all notifications as read 2024-07-04 23:01:24 +02:00
Eugene Burmakin
bb2beb519b Add notifications 2024-07-04 22:20:12 +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
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
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
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
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
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
ad78af59ac Rework calculation of cities visited 2024-04-26 18:59:58 +02:00
Eugene Burmakin
1ef2c67133 Add some stubs to fix request specs 2024-04-25 22:46:20 +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
5544bcd5ff Move point creation to a background job, add months navigation to the sidebar 2024-04-02 17:37:38 +02:00
Eugene Burmakin
2e4390f194 Add very basic export feature 2024-03-23 21:46:18 +01:00
Eugene Burmakin
e1193608ef Add basic stats 2024-03-23 20:29:55 +01:00
Eugene Burmakin
e2095bae9c Fix params deep_symbolize_keys in OwnTracks::Params 2024-03-16 00:01:00 +01:00
Eugene Burmakin
3c74bc2937 Migrate from old template 2024-03-15 23:27:31 +01:00
Eugene Burmakin
ffa21a5e49 Update gems and fix tests 2024-01-02 13:24:23 +01:00
Eugene Burmakin
682a388f0e Update to Rails 7.1.1 2023-10-21 12:43:31 +02:00
Eugene Burmakin
b648784e88 Remove home_spec 2022-12-29 15:04:13 +01:00
Eugene Burmakin
ade3681219 Add some frozen_string_literal 2022-10-30 18:42:06 +01:00
Eugene Burmakin
ce0dcb66e2 Update gems and remove unused code 2022-10-13 12:00:39 +02: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