diff --git a/.app_version b/.app_version index be14282b..a918a2aa 100644 --- a/.app_version +++ b/.app_version @@ -1 +1 @@ -0.5.3 +0.6.0 diff --git a/README.md b/README.md index 2694842a..c6effece 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ You can see the number of countries and cities visited, the distance traveled, a You can import your Google Maps Timeline data into Dawarich as well as Owntracks data. +⚠️ **Note**: Import of huge Google Maps Timeline files may take a long time and consume a lot of memory. It also might temporarily consume a lot of disk space due to logs. Please make sure you have enough resources before starting the import. After import is completed, you can restart your docker container and logs will be removed. + ## How to start the app locally `docker-compose up` to start the app. The app will be available at `http://localhost:3000`. diff --git a/app/controllers/exports_controller.rb b/app/controllers/exports_controller.rb index 64957778..5a89eafb 100644 --- a/app/controllers/exports_controller.rb +++ b/app/controllers/exports_controller.rb @@ -33,7 +33,6 @@ class ExportsController < ApplicationController @export = current_user.exports.find(params[:id]) end - # Only allow a list of trusted parameters through. def export_params params.require(:export).permit(:name, :url, :status) end diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 8d4cdb6b..c5515349 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -104,4 +104,9 @@ module ApplicationHelper def active_class?(link_path) 'btn-active' if current_page?(link_path) end + + def full_title(page_title = '') + base_title = 'Dawarich' + page_title.empty? ? base_title : "#{page_title} | #{base_title}" + end end diff --git a/app/views/imports/index.html.erb b/app/views/imports/index.html.erb index 54e4ca37..734b07cd 100644 --- a/app/views/imports/index.html.erb +++ b/app/views/imports/index.html.erb @@ -1,3 +1,5 @@ +<% content_for :title, 'Imports' %> +