Commit graph

848 commits

Author SHA1 Message Date
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
cf71df3f0a Scope stats to user 2024-05-25 13:45:49 +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
b4116cfd72 Update importing instruction 2024-05-23 22:17:19 +02:00
Eugene Burmakin
3a9b2f7c84 Update import instructions to use rake task 2024-05-23 20:54:38 +02:00
Eugene Burmakin
589c12261c Update import instructions 2024-05-23 20:54:26 +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
22c8a210b1 Disable the ignored_columns feature for now 2024-05-21 23:09:21 +02:00
Eugene Burmakin
cb21fbcf54 Ignore raw_data column during requests to imports and points tables 2024-05-19 18:26:48 +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
5e46168cf8 Add link to how to import Google Takeout into Dawarich 2024-05-18 12:51:25 +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
ce7b391316 Add a new release to the CHANGELOG.md file and rename env var 2024-05-05 12:03:25 +02:00
Eugene Burmakin
a333458756 Update docker-compose.yml to use latest docker image and add missing env var 2024-04-30 22:21:17 +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
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
d99e6d6f50 Set redis as default cache store 2024-04-21 18:12:07 +02:00
Eugene Burmakin
5315836c6a Update changelog 2024-04-21 17:58:13 +02:00
Eugene Burmakin
b64301696e Fix app_version check 2024-04-21 17:52:09 +02:00
Eugene Burmakin
efb4ecf19b Implement version check from github with 24 cache 2024-04-21 17:39:10 +02:00
Eugene Burmakin
bdfa75cf70 Disable markersLayer in maps_controller.js by default to improve performance 2024-04-21 17:15:52 +02:00
Eugene Burmakin
581aac8352 Add precompiled tailwind.css 2024-04-18 09:40:17 +02:00
Eugene Burmakin
4ff27edaaa Update version number to 0.1.7.3 2024-04-17 22:52:00 +02:00
Eugene Burmakin
9a6cc190a5 Update version number to 0.1.7.1 2024-04-17 22:13:08 +02:00
Eugene Burmakin
82fd9e2be6 Update version number to 0.1.7 2024-04-17 22:12:14 +02:00
Eugene Burmakin
e0244335b7 Move js spaghetti to a tiny bit more structured codebase 2024-04-17 22:00:23 +02:00
Eugene Burmakin
44c2d7eaf2 Implement toggling visibility of polylines and points on the map 2024-04-17 21:54:04 +02:00
Eugene Burmakin
aea8ec8c20 Add padding to the main content area and adjust the stats layout for mobile 2024-04-17 21:05:31 +02:00
Eugene Burmakin
3ff35b3f8f Remove the permit list from the controller 2024-04-07 22:36:39 +02:00
Eugene Burmakin
8d7cbda26a Hide the API key instructions for now 2024-04-07 18:02:47 +02:00
Eugene Burmakin
d4329c8dbb Remove the test-docker-entrypoint.sh script and references to it in the Dockerfile 2024-04-06 22:36:08 +02:00
Eugene Burmakin
ce93aa159e Move import job scheduling to controller from model callback 2024-04-06 22:31:33 +02:00
Eugene Burmakin
bd5259ddb1 Update changelog and version to 0.1.6 2024-04-06 19:21:23 +02:00
Eugene Burmakin
fe4110b0fd Add support for Overland 2024-04-06 19:09:38 +02:00
Eugene Burmakin
f6ae4aef8c Add changelog, version badge, and APPLICATION_HOST environment variable 2024-04-05 22:20:12 +02:00
Eugene Burmakin
f7b93ac8b5 Add callback to create API key for new users 2024-04-04 20:14:11 +02:00
Eugene Burmakin
7c9ba57e16 Center map on latest point, not first one 2024-04-04 17:31:15 +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
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
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
705c7ca7a2 Fix broken update stats button and add sidekiq to docker-compose.yml 2024-03-24 20:09:10 +01:00
Eugene Burmakin
64e5028514 Update import show page 2024-03-24 19:53:19 +01:00
Eugene Burmakin
bd0f5bb624 Don't show chart if no data is available for monthly stats 2024-03-24 19:48:07 +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
d7670aeeb0 Add a margin to the navbar 2024-03-24 19:00:24 +01:00
Eugene Burmakin
29ac8c1136 Add nice charts to the stat cards 2024-03-24 18:55:35 +01:00
Eugene Burmakin
23805a6ef4 Hide reverse geocoding stats when disabled 2024-03-24 18:09:00 +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
fe496a64dc Move sidebar to points index page 2024-03-23 21:17:23 +01:00
Eugene Burmakin
2e6d05aa40 Add nice statistics 2024-03-23 21:16:11 +01:00
Eugene Burmakin
f7b4b6d51f Show number of cities in each country in the right sidebar 2024-03-23 20:58:22 +01:00
Eugene Burmakin
d1454c21a9 Add StatCreatingJob to create stats asynchronously 2024-03-23 20:40:05 +01:00
Eugene Burmakin
accb4dc04c Add frozen string literal comment to CreateStats service 2024-03-23 20:32:20 +01:00
Eugene Burmakin
e1193608ef Add basic stats 2024-03-23 20:29:55 +01:00
Eugene Burmakin
0a156b0966 Add markers as a layer 2024-03-23 16:54:01 +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
2556e2ae70 Fix the sidebar and the map marker popup 2024-03-22 22:57:53 +01:00
Eugene Burmakin
4af91748f0 Allow to set the default map center via an environment variable. 2024-03-21 23:54:19 +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
3f146b34c7 Prevent doubles in the database when importing points 2024-03-21 22:56:55 +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
e2095bae9c Fix params deep_symbolize_keys in OwnTracks::Params 2024-03-16 00:01:00 +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
f74415217c Rename to Dawarich 2024-03-15 22:28:54 +01:00
Eugene Burmakin
a81b6ef723 Update devise to 4.9.3 and links to work with Turbo 2024-03-15 22:24:23 +01:00
Eugene Burmakin
cea7af3a19 Update gems and daisyui 2024-03-09 23:44:27 +01:00
Eugene Burmakin
887b84bb65 Add flashes with StumulusJS 2024-01-03 12:13:00 +01:00
Eugene Burmakin
2419aed92b Add basic landing page 2023-10-21 13:00:05 +02:00
Eugene Burmakin
1abb5507a2 Add night view 2023-10-21 12:56:46 +02:00
Eugene Burmakin
c4e00dcf8b Add import-maps and turbo with some devise views 2023-10-21 12:52:50 +02:00
Eugene Burmakin
682a388f0e Update to Rails 7.1.1 2023-10-21 12:43:31 +02:00
Eugene Burmakin
6dbc206ed5 Fix frontend assets not being committed and update gems 2023-05-28 12:22:37 +02:00
Eugene Burmakin
6f791401de Add strong_migrations gem 2023-02-03 15:42:56 +01:00
Eugene Burmakin
9bfc268109 Extract some useful code from January of 2023 app 2023-02-01 14:30:09 +01:00
Eugene Burmakin
fb138b9f9a Fix starting issues 2022-04-07 20:45:38 +04: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