Rename trace_controller to traces_controller
Use lazy translations where possible
Ask for confirmation before deleting a trace Fixes #1812
Use named paths for a few trace links
Use user_path links. Fixes #1785
Allow admins and moderators to delete traces Fixes #1625
Add marker at trace start coordinate Fixes #1676 Closes #1731
Remove inline styles
Fix more links to use new style #map links
Use new joined buttons style for groups of buttons
Site cleanup I set out to do a quick and dirty typography overhaul to make things more consistent and a bit cleaner, but I kept running into things I didn't like, so this lead me down something of a rabbit hole of design tweaks to the OSM site. Goals here are to have better content hierarchy, better vertical rhythm, more consistent UI, cleaner markup with less tables, all while keeping the basics pretty much intact. There are a lot of things I didn't touch even though they need to be updated (lots of tables where stuff shouldn't be tables, mostly). Basic overview of changes: I added a new persistent header that helps segment pages. It's now a lot easier to know what you're looking at. The header has a page title, a description, plus a submenu of actions. There is now a pattern of 20px/10px margins and padding for more rhythm and breathing room throughout the site. I know there are other problems here or things I've missed - would love another set of eyes to look over this! I am still getting comfortable working on the site - it's my first time ever digging into a ruby or rails so I'm not familiar with the templating language yet.
Make helpers return text instead of appending to the output buffer
Mark some strings that shouldn't be escaped as raw
Rework application configuration Use a preinitializer to load the settings from application.yml so that they are available as early as possible. All settings can also be overridden using environment variables. The ad-hoc settins in environment.rb are then moved to this new system so we have one consistent location for settings.
Convert trace views to use CSS based user specific components
Add a "friendly" date/time format and use it whenever we are printing dates and times on the web site. Also try and improve formatting of message pages a but, and include the image of the recipient when viewing a sent message.
Add ability to take GPX storage offline.
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.
Use join to construct tag strings instead of mucking around counting position in the string.
Introducing comma as tag separator (if present, otherwise it behaves as before), allowing spaces in tags. fixes #2032