Commit graph

211 commits

Author SHA1 Message Date
Eugene Burmakin
e688f8837f Fix immich spec 2024-09-08 17:34:02 +02:00
Eugene Burmakin
ca571b8cea Fix import geodata spec 2024-09-08 17:04:12 +02: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
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
8279a8de45 Fix health controller spec description 2024-09-05 21:18:05 +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
Eugene Burmakin
28190cebfd Merge remote-tracking branch 'origin/master' into feature/gpx-export 2024-09-02 22:43:51 +02:00
Eugene Burmakin
1ae3f4ad96 Add basic test for Geojson::ImportParser 2024-09-02 22:42:29 +02:00
Eugene Burmakin
3238fb64e6 Add a very lousy spec for GPX serializer 2024-09-02 22:01:51 +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
942c84fb07 Implement GPX export 2024-09-02 21:35:08 +02:00
Eugene Burmakin
69c19df3cb Fix export_serializer_spec and update changelog 2024-09-02 20:14:38 +02:00
Eugene Burmakin
5d14b406bd Add DISTANCE_UNIT environment variable 2024-08-28 23:54:00 +02:00
Eugene Burmakin
bd9fc7d30e Mark optional parameters in the Swagger API 2024-08-28 20:36:56 +02:00
Eugene Burmakin
932c9016d7 Update swagger docs with missing page and per_page query parameters 2024-08-28 20:34:08 +02:00
Eugene Burmakin
df588d1e07 Move map settings to the map itself 2024-08-28 20:24:35 +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
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
4e861fa22e Add a test for when the user has no stats 2024-08-20 20:21: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
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
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
3d63b29651 Ensure that the service does not create duplicate visits 2024-07-27 13:57:01 +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
9a818fd84e Add spec for creating visits with points 2024-07-27 13:36:02 +02:00
Eugene Burmakin
345733c5dd Update ruby version 2024-07-27 12:45:27 +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
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
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
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
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
50798b5bb1 Fix overland batch payload processing 2024-07-08 23:56:08 +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
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
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
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
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
3f68ce5e37 Implement Exporting points to a file 2024-06-12 20:29:38 +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
4afbdd3b64 Add gpx file to experiment with 2024-05-31 23:18:57 +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
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
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
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
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
ce7b391316 Add a new release to the CHANGELOG.md file and rename env var 2024-05-05 12:03:25 +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
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
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
f7b93ac8b5 Add callback to create API key for new users 2024-04-04 20:14:11 +02:00
Eugene Burmakin
52ad7b3535 Add test for ExportSerializer 2024-04-04 17:43:35 +02:00
Eugene Burmakin
904fdaf8be Add spec for MINIMUM_POINTS_IN_CITY = 3 2024-04-02 23:33:03 +02:00
Eugene Burmakin
0afea82aae Add spec for CountriesAndCities service 2024-04-02 23:31:42 +02:00
Eugene Burmakin
111667ce5a Add a spec for CreateStats service 2024-04-02 23:26:26 +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
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
18ed732c24 Fix owntracks import 2024-03-23 13:36:09 +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
9bfc268109 Extract some useful code from January of 2023 app 2023-02-01 14:30:09 +01: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