Ref:  https://github.com/openstreetmap/openstreetmap-website/issues/7089

This PR covers the GPS visibility simplification, new trace uploads now only 
accept `trackable` and `identifiable`. I removed the `private` and `public` 
options from the upload and edit forms. User can still change their own 
existing traces to `trackable` or `identifiable` whenever they want.


Deloyed here: https://gpsvisibility.apis.dev.openstreetmap.org/

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/7146

-- Commit Summary --

  * Restrict new traces to trackable and  identifiable visibility
  * Show only trackable and identifiable in trace upload and edit forms
  * Default new trace upload visibility to trackable
  * Map legacy public API param to trackable or identifiable
  * Reject legacy public param on trace upload
  * Update api trace test to rejected public param

-- File Changes --

    M app/controllers/api/traces_controller.rb (8)
    M app/controllers/traces_controller.rb (11)
    M app/models/trace.rb (1)
    M app/views/traces/edit.html.erb (4)
    M app/views/traces/new.html.erb (4)
    M test/controllers/api/traces_controller_test.rb (37)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/7146.patch
https://github.com/openstreetmap/openstreetmap-website/pull/7146.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7146
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to