Switch to using the zeitwork autoloader
Prefer string interpolation to concatenation
Move monkey patch modules to the OpenStreetMap namespace Having them in the OSM namespace risks blocking autoloading of the lib/osm.rb code by defining the OSM constant.
Fix up monkey patching of ActiveRecord for migrations
Replace alias_method_chain with Module#prepend
Fix some rubocop warnings
Fix most auto-correctable rubocop issues
Cleanup migrations Cleanup our migrations, replacing as much of our custom code and monkey patching with modern standard rails methods.
Update postgres connection adaptor patches
Reenable the note search API Add a postgress freetext index on the note comments, and enable note searching using freetext matching.
Drop renaming of sequences Rails seems to rename sequences automatically now when the corresponding table is renamed, so we don't need to do it.
Merge branch 'master' into openstreetbugs Conflicts: Gemfile Gemfile.lock lib/migrate.rb
Stop pretending we support MySQL
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
Don't try and monkey patch database drivers that aren't loaded
Remove compatibility code for old versions of rails
Require user names and emails to be case insensitively unique Any existing clashes are allowed to remain for now, byt any new accounts, or changes to names on existing accounts, must be unique without regard to case.
Mass rename of "bugs" as "notes" for increased user friendliness
Replace hard coded nwr enumeration support with a more generic system for defining enumerations.
Add a remove_foreign_key method and make migration 34 reversible.