]> git.openstreetmap.org Git - rails.git/commit
Add extra visibility options for GPS traces, and enhance the API call
authorTom Hughes <tom@compton.nu>
Thu, 13 Aug 2009 17:06:11 +0000 (17:06 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 13 Aug 2009 17:06:11 +0000 (17:06 +0000)
commit565171486f6d90321e0291d5ccc3cf6a1c12e730
tree88c4f21a74b51e3215bac0ee94e4a41cf8aed402
parent7a7c56743656fdcc1a2fdbcb4362b4dc550b8a4d
Add extra visibility options for GPS traces, and enhance the API call
that returns trace data to return more information if the owner of the
trace has allowed it. Based on a patch from Matt Amos.
16 files changed:
app/controllers/api_controller.rb
app/controllers/trace_controller.rb
app/models/trace.rb
app/models/tracepoint.rb
app/models/user.rb
app/views/trace/_trace_form.html.erb
app/views/trace/edit.html.erb
app/views/trace/view.html.erb
config/locales/en.yml
config/routes.rb
db/migrate/039_add_more_controls_to_gpx_files.rb [new file with mode: 0644]
test/fixtures/gps_points.yml
test/fixtures/gpx_files.yml
test/functional/api_controller_test.rb
test/unit/trace_test.rb
test/unit/tracepoint_test.rb