2024-04-05 16:20:12 -04:00
# Change Log
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog ](http://keepachangelog.com/ )
and this project adheres to [Semantic Versioning ](http://semver.org/ ).
2024-05-25 16:14:55 -04:00
## [0.4.1] — 2024-05-25
### Added
- Heatmap layer on the map to show the density of points
2024-05-25 16:27:18 -04:00
---
2024-05-25 14:50:25 -04:00
## [0.4.0] — 2024-05-25
**BREAKING CHANGES**:
- `/api/v1/points` is still working, but will be **deprecated** in nearest future. Please use `/api/v1/owntracks/points` instead.
- All existing points recorded directly to the database via Owntracks or Overland will be attached to the user with id 1.
### Added
- Each user now have an api key, which is required to make requests to the API. You can find your api key in your profile settings.
- You can re-generate your api key in your profile settings.
- In your user profile settings you can now see the instructions on how to use the API with your api key for both OwnTracks and Overland.
- Added docs on how to use the API with your api key. Refer to `/api-docs` for more information.
- `POST /api/v1/owntracks/points` endpoint.
- Points are now being attached to a user directly, so you can only see your own points and no other users of your applications can see your points.
### Changed
- `/api/v1/overland/batches` endpoint now requires an api key to be passed in the url. You can find your api key in your profile settings.
- All existing points recorded directly to the database will be attached to the user with id 1.
- All stats and maps are now being calculated and rendered based on the user's points only.
- Default `TIME_ZONE` environment variable is now set to 'UTC' in the `docker-compose.yml` file.
### Fixed
- Fixed a bug where marker on the map was rendering timestamp without considering the timezone.
---
2024-05-23 16:17:19 -04:00
## [0.3.2] — 2024-05-23
### Added
- Docker volume for importing Google Takeout data to the application
### Changed
- Instruction on how to import Google Takeout data to the application
2024-05-23 16:32:01 -04:00
---
2024-05-23 14:55:31 -04:00
## [0.3.1] — 2024-05-23
### Added
- Instruction on how to import Google Takeout data to the application
2024-05-23 16:32:01 -04:00
---
2024-05-23 14:55:31 -04:00
2024-05-23 14:12:23 -04:00
## [0.3.0] — 2024-05-23
### Added
- Add Points page to display all the points as a table with pagination to allow users to delete points
- Sidekiq web interface to monitor background jobs is now available at `/sidekiq`
- Now you can choose a date range of points to be exported
2024-05-23 14:35:31 -04:00
---
## [0.2.6] — 2024-05-23
2024-05-23 14:12:23 -04:00
### Fixed
- Stop selecting `raw_data` column during requests to `imports` and `points` tables to improve performance.
### Changed
- Rename PointsController to MapController along with all the views and routes
2024-05-23 14:35:31 -04:00
### Added
- Add Points page to display all the points as a table with pagination to allow users to delete points
2024-05-23 14:12:23 -04:00
---
2024-05-21 17:09:21 -04:00
## [0.2.5] — 2024-05-21
### Fixed
- Stop ignoring `raw_data` column during requests to `imports` and `points` tables. This was preventing points from being created.
2024-05-23 14:12:23 -04:00
---
2024-05-19 12:26:48 -04:00
## [0.2.4] — 2024-05-19
### Added
- In right sidebar you can now see the total amount of geopoints aside of kilometers traveled
### Fixed
- Improved overall performance if the application by ignoring `raw_data` column during requests to `imports` and `points` tables.
---
2024-05-18 09:08:46 -04:00
## [0.2.3] — 2024-05-18
### Added
- Now you can import `records.json` file from your Google Takeout archive, not just Semantic History Location JSON files. The import process is the same as for Semantic History Location JSON files, just select the `records.json` file instead and choose "google_records" as a source.
---
2024-05-18 07:58:02 -04:00
## [0.2.2] — 2024-05-18
### Added
- Swagger docs, can be found at `https:<your-host>/api-docs`
---
2024-05-18 06:17:47 -04:00
## [0.2.1] — 2024-05-18
### Added
- Cities, visited by user and listed in right sidebar now also have an active link to a date they were visited
### Fixed
- Dark/light theme switcher in navbar is now being saved in user settings, so it persists between sessions
2024-05-18 07:58:02 -04:00
---
2024-05-05 06:03:25 -04:00
## [0.2.0] — 2024-05-05
*Breaking changes:*
This release changes how Dawarich handles a city visit threshold. Previously, the `MINIMUM_POINTS_IN_CITY` environment variable was used to determine the minimum *number of points* in a city to consider it as visited. Now, the `MIN_MINUTES_SPENT_IN_CITY` environment variable is used to determine the minimum *minutes* between two points to consider them as visited the same city.
The logic behind this is the following: if you have a lot of points in a city, it doesn't mean you've spent a lot of time there, especially if your OwnTracks app was in "Move" mode. So, it's better to consider the time spent in a city rather than the number of points.
In your docker-compose.yml file, you need to replace the `MINIMUM_POINTS_IN_CITY` environment variable with `MIN_MINUTES_SPENT_IN_CITY` . The default value is `60` , in minutes.
2024-05-18 07:58:02 -04:00
---
2024-04-25 16:57:37 -04:00
## [0.1.9] — 2024-04-25
### Added
- A test for CheckAppVersion service class
### Changed
- Replaced ActiveStorage with Shrine for file uploads
### Fixed
- `ActiveStorage::FileNotFoundError` error when uploading export files
2024-05-18 07:58:02 -04:00
---
2024-04-25 16:57:37 -04:00
2024-04-21 12:12:07 -04:00
## [0.1.8.1] — 2024-04-21
### Changed
- Set Redis as default cache store
### Fixed
- Consider timezone when parsing datetime params in points controller
- Add rescue for check version service class
2024-05-18 07:58:02 -04:00
---
2024-04-21 11:58:13 -04:00
## [0.1.8] — 2024-04-21
### Added
- Application version badge to the navbar with check for updates button
- Npm dependencies install to Github build workflow
- Footer
### Changed
- Disabled map points rendering by default to improve performance on big datasets
2024-05-18 07:58:02 -04:00
---
2024-04-17 15:54:04 -04:00
## [0.1.7] — 2024-04-17
### Added
- Map controls to toggle polylines and points visibility
### Changed
- Added content padding for mobile view
- Fixed stat card layout for mobile view
2024-05-18 07:58:02 -04:00
---
2024-04-07 16:37:31 -04:00
## [0.1.6.3] — 2024-04-07
### Changed
- Removed strong_params from POST /api/v1/points
2024-05-18 07:58:02 -04:00
---
2024-04-06 16:36:08 -04:00
## [0.1.6.1] — 2024-04-06
### Fixed
- `ActiveStorage::FileNotFoundError: ActiveStorage::FileNotFoundError` error when uploading export files
2024-05-18 07:58:02 -04:00
---
2024-04-06 16:31:33 -04:00
## [0.1.6] — 2024-04-06
2024-04-06 13:21:23 -04:00
You can now use [Overland ](https://overland.p3k.app/ ) mobile app to track your location.
### Added
- Overland API endpoint (POST /api/v1/overland/batches)
### Changed
### Fixed
2024-05-18 07:58:02 -04:00
---
2024-04-06 16:31:33 -04:00
## [0.1.5] — 2024-04-05
2024-04-05 16:20:12 -04:00
You can now specify the host of the application by setting the `APPLICATION_HOST` environment variable in the `docker-compose.yml` file.
### Added
- Added version badge to navbar
- Added APPLICATION_HOST environment variable to docker-compose.yml to allow user to specify the host of the application
- Added CHANGELOG.md to keep track of changes
### Changed
- Specified gem version in Docker entrypoint
### Fixed