Convert some model mixins to concerns
Fix new rubocop warnings
Rework coordinates to avoid scientific formatting of small numbers. Fixes #1509
Improve test coverage
Fix most auto-correctable rubocop issues
Cleanup trailing whitespace
Eliminate deprecated scope and association arguments
Merge branch 'master' into openstreetbugs Conflicts: app/views/browse/_map.html.erb app/views/site/index.html.erb config/initializers/mime_types.rb config/routes.rb lib/map_boundary.rb lib/migrate.rb lib/osm.rb vendor/assets/openlayers/OpenLayers.js
Refactor bounding box code Moved duplicated code into the BoundingBox class, and pass around BoundingBox objects instead of lists of bounds.
Update ActiveRecord queries to use arel
Declare callbacks explicitly
Use quad tiling to select bugs in an area Remove the _no_quadtile versiond of the selection routines and switch to using the ordinary ones but with a (large) limit applied on the size of the area to prevent us spending ages working out the list of tiles to be selected.
Tidy up some of the map bugs code
Don't limit get map_bugs to a small Area, by disabling the quadtile index for those searches The volumn of bugs seem small enough to get away with normal or GiST indexes (not included yet) Also includes some other fixes
moving the check consistency to it's own file so that checks will be able to be loaded into the way and relation models, without loading the node stuff.
Fixed node functional tests. A couple of changes to the old_node model and node controller for changesets.
additional consistency checks. making the error message for the number of nodes use the configured number of nodes, rather than a hard coded number. minor improvements to the way controller functional tests. Not sure if they should be turned into integration tests.
moving the conistency checks for updates and deletes to library, hopefully got the updates and deletes working now.
Doing a resync from mainline 8633:10895. There was one simple to resolve conflict on app/models/node.rb. Also moving the migrations for API0.6 to new sequence numbers since there was some new migrations added to mainline, where the migration numbers would conflict if not moved.
Remote Potlatch projection routines as they are no longer needed.