Closed timcowlishaw closed 1 week ago
Addresses #307
We're not convinced that 3dp + noise is quite as "imprecise" as we were hoping: will possibly send a follow up PR to make imprecise locations a little noisier
This pull request was deployed and Sentry observed the following issues:
V0::MeController#index
View Issueapp/models/device.rb in forward_readings?
View Issueapp/models/device.rb in forward_readings?
View IssueV0::DevicesController#create
View IssueDid you find this useful? React with a 👍 or 👎
Suspect Issues
This pull request was deployed and Sentry observed the following issues:
* ‼️ **ActionView::Template::Error: undefined method `data_policy' for #<Device id: 16254, owner_id: 7346, name: "CitzenFACE", descri...** `V0::MeController#index` [View Issue](https://iaac.sentry.io/issues/5544588186/?referrer=github-pr-bot)
Did you find this useful? React with a 👍 or 👎
(This was just momentary due to the migrations not being run yet)
enable_forwarding allows forwarding to be enabled or disabled per device
precise_location allows users to choose whether precise (5dp) or approxmite (3dp + 2dp of noise) locations are stored.
On deploying we will need to run migrations, then run rake devices:truncate_and_fuzz_locations in order to truncate the existing locations to 5dp.