rails.git
6 years agoDifferentiate between minor and disabled buttons
Saman Bemel-Benrud [Mon, 29 Jul 2013 21:55:21 +0000 (17:55 -0400)]
Differentiate between minor and disabled buttons

6 years agoRemove geolink class from add note button while adding notes
Tom Hughes [Mon, 29 Jul 2013 21:49:59 +0000 (22:49 +0100)]
Remove geolink class from add note button while adding notes

This was lost in the recent UI work but is important to stop changes
in map location causing the button to be reenabled.

6 years agoCorrect sprite CSS for permalink (#352)
John Firebaugh [Fri, 19 Jul 2013 17:58:47 +0000 (10:58 -0700)]
Correct sprite CSS for permalink (#352)

6 years agoSingle tab keypress focus on map for keyboard users
Richard Finegold [Sat, 20 Jul 2013 00:07:03 +0000 (17:07 -0700)]
Single tab keypress focus on map for keyboard users

When one goes to the default map page, the first tabindex is set to the
search field, which is good. But, to use the keyboard with the map (arrows
for scrolling, =/- for zooming), one must press the tab key many times.

This modification quickly gets the keyboard to a much-used location via
a single keypress.

6 years agoSearch sidebar: don't scroll heading ('close' stays visible)
Dan Stowell [Sat, 20 Jul 2013 13:22:16 +0000 (14:22 +0100)]
Search sidebar: don't scroll heading ('close' stays visible)

6 years agoReturn "action" of a note comment in the xml formatting to
Kai Krueger [Sat, 20 Jul 2013 20:06:29 +0000 (14:06 -0600)]
Return "action" of a note comment in the xml formatting to

This fixes #360

6 years agoFix print CSS (fixes #379)
John Firebaugh [Thu, 25 Jul 2013 00:15:06 +0000 (17:15 -0700)]
Fix print CSS (fixes #379)

6 years agoMake the node controller return the modified time for deleted nodes
Paul Norman [Sun, 28 Jul 2013 23:24:33 +0000 (16:24 -0700)]
Make the node controller return the modified time for deleted nodes

Fixes #384

6 years agoFix invalid interpolation variables
Tom Hughes [Sun, 28 Jul 2013 11:41:44 +0000 (12:41 +0100)]
Fix invalid interpolation variables

6 years agoFix "lego" translation in message notification email
Tom Hughes [Sun, 28 Jul 2013 11:38:28 +0000 (12:38 +0100)]
Fix "lego" translation in message notification email

6 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Mon, 22 Jul 2013 15:52:27 +0000 (15:52 +0000)]
Localisation updates from translatewiki.net.

6 years agoEnsure URL used for oauth header is absolute
John Firebaugh [Sun, 21 Jul 2013 01:40:41 +0000 (18:40 -0700)]
Ensure URL used for oauth header is absolute

Fixes #356.

6 years agoFix layer map bounciness (#361)
John Firebaugh [Sat, 20 Jul 2013 19:58:43 +0000 (12:58 -0700)]
Fix layer map bounciness (#361)

6 years agoFix scrolling in search sidebar (fixes #353)
John Firebaugh [Fri, 19 Jul 2013 18:11:41 +0000 (11:11 -0700)]
Fix scrolling in search sidebar (fixes #353)

6 years agoRemove autogrowtextarea from Vendorfile
John Firebaugh [Fri, 19 Jul 2013 22:01:21 +0000 (15:01 -0700)]
Remove autogrowtextarea from Vendorfile

6 years agoPass correct arguments to updatelink
Tom Hughes [Fri, 19 Jul 2013 13:07:48 +0000 (14:07 +0100)]
Pass correct arguments to updatelink

6 years agoIncrease width of coordinate fields in export panel
Tom Hughes [Fri, 19 Jul 2013 11:29:37 +0000 (12:29 +0100)]
Increase width of coordinate fields in export panel

6 years agoDon't try and look at params.layers when it isn't set
Tom Hughes [Fri, 19 Jul 2013 11:12:58 +0000 (12:12 +0100)]
Don't try and look at params.layers when it isn't set

6 years agoMerge remote-tracking branch 'osmlab/map-ui'
Tom Hughes [Fri, 19 Jul 2013 10:18:12 +0000 (11:18 +0100)]
Merge remote-tracking branch 'osmlab/map-ui'

6 years agoReplace `:nothing => true` with `:text => ""`
Tom Hughes [Fri, 19 Jul 2013 10:14:55 +0000 (11:14 +0100)]
Replace `:nothing => true` with `:text => ""`

Using `:nothing => true` confusingly actually causes a single space
to be sent as the content by rails.

6 years agoRestore prohibition on low-zoom notes
John Firebaugh [Thu, 18 Jul 2013 18:45:44 +0000 (11:45 -0700)]
Restore prohibition on low-zoom notes

6 years agoFix rendering of note comments (#333)
John Firebaugh [Thu, 18 Jul 2013 17:20:48 +0000 (10:20 -0700)]
Fix rendering of note comments (#333)

6 years agoAdd outline: none to buttons
John Firebaugh [Thu, 18 Jul 2013 16:39:39 +0000 (09:39 -0700)]
Add outline: none to buttons

6 years agoDrop base layer blurb, tighten vertical space
John Firebaugh [Thu, 18 Jul 2013 16:35:14 +0000 (09:35 -0700)]
Drop base layer blurb, tighten vertical space

6 years agoRefine map UI for small screens
John Firebaugh [Wed, 17 Jul 2013 21:21:17 +0000 (14:21 -0700)]
Refine map UI for small screens

6 years agoFix minzoom alert
John Firebaugh [Fri, 12 Jul 2013 21:07:07 +0000 (14:07 -0700)]
Fix minzoom alert

6 years agoRTL support
John Firebaugh [Fri, 12 Jul 2013 20:38:47 +0000 (13:38 -0700)]
RTL support

6 years agoIE compatibility
John Firebaugh [Fri, 12 Jul 2013 20:35:05 +0000 (13:35 -0700)]
IE compatibility

6 years agoSimplify sidebar/resize
John Firebaugh [Fri, 12 Jul 2013 19:17:51 +0000 (12:17 -0700)]
Simplify sidebar/resize

Float sidebars left/right and use overflow: hidden.
Fixes a bug on Opera where mouse events propagate to
the map.

6 years agoFix search
John Firebaugh [Thu, 11 Jul 2013 19:57:19 +0000 (12:57 -0700)]
Fix search

6 years agoFix undefined=undefined in query strings
John Firebaugh [Thu, 11 Jul 2013 18:53:08 +0000 (11:53 -0700)]
Fix undefined=undefined in query strings

6 years agoSwitch back to links for sharing
John Firebaugh [Wed, 10 Jul 2013 22:17:42 +0000 (15:17 -0700)]
Switch back to links for sharing

6 years agoAuto-select share link text
John Firebaugh [Tue, 9 Jul 2013 22:55:04 +0000 (15:55 -0700)]
Auto-select share link text

6 years agoMatch the other sidebar better
John Firebaugh [Tue, 9 Jul 2013 18:33:32 +0000 (11:33 -0700)]
Match the other sidebar better

6 years agoRemove unused/obsolete CSS
John Firebaugh [Tue, 9 Jul 2013 17:53:51 +0000 (10:53 -0700)]
Remove unused/obsolete CSS

6 years agoFix zoom out button style on non-main page maps
John Firebaugh [Tue, 9 Jul 2013 00:01:43 +0000 (17:01 -0700)]
Fix zoom out button style on non-main page maps

6 years agoUse a radio button for base layers
John Firebaugh [Mon, 8 Jul 2013 21:27:13 +0000 (14:27 -0700)]
Use a radio button for base layers

6 years agoFix export tab bugs
John Firebaugh [Mon, 1 Jul 2013 19:57:06 +0000 (15:57 -0400)]
Fix export tab bugs

6 years agoMove base layer UI above overlay layer UI
John Firebaugh [Mon, 1 Jul 2013 19:49:48 +0000 (15:49 -0400)]
Move base layer UI above overlay layer UI

6 years agoInclude current non-OSM.org hostname in share URL
John Firebaugh [Mon, 1 Jul 2013 19:46:10 +0000 (15:46 -0400)]
Include current non-OSM.org hostname in share URL

6 years agoUse custom zoom control everywhere
John Firebaugh [Thu, 13 Jun 2013 22:19:03 +0000 (15:19 -0700)]
Use custom zoom control everywhere

6 years agoFix add note
John Firebaugh [Thu, 13 Jun 2013 21:56:42 +0000 (14:56 -0700)]
Fix add note

6 years agoAdd sprite and geolocate alternate color
Tom MacWright [Thu, 13 Jun 2013 21:56:01 +0000 (17:56 -0400)]
Add sprite and geolocate alternate color

6 years agoAdd clearer close action, refactor base layer code
Tom MacWright [Thu, 13 Jun 2013 17:21:24 +0000 (13:21 -0400)]
Add clearer close action, refactor base layer code

6 years agoFocus share link by default
Tom MacWright [Thu, 13 Jun 2013 16:45:16 +0000 (12:45 -0400)]
Focus share link by default

6 years agoAdd layers code to share link
Tom MacWright [Thu, 13 Jun 2013 16:34:25 +0000 (12:34 -0400)]
Add layers code to share link

6 years agoReuse styles for map-ui panel
Tom MacWright [Thu, 13 Jun 2013 16:15:43 +0000 (12:15 -0400)]
Reuse styles for map-ui panel

6 years agoImplement long URL option, toggling, and labeling for share
Tom MacWright [Thu, 13 Jun 2013 16:04:54 +0000 (12:04 -0400)]
Implement long URL option, toggling, and labeling for share

6 years agoFix minimap event bindings
John Firebaugh [Wed, 12 Jun 2013 21:37:50 +0000 (14:37 -0700)]
Fix minimap event bindings

6 years agoOnly one pane visible at a time
John Firebaugh [Wed, 12 Jun 2013 21:11:38 +0000 (14:11 -0700)]
Only one pane visible at a time

6 years agoFix export
John Firebaugh [Wed, 12 Jun 2013 20:31:18 +0000 (13:31 -0700)]
Fix export

6 years agoFix locate button style
John Firebaugh [Wed, 12 Jun 2013 19:29:19 +0000 (12:29 -0700)]
Fix locate button style

6 years agoFix attribution width
John Firebaugh [Wed, 12 Jun 2013 19:25:52 +0000 (12:25 -0700)]
Fix attribution width

6 years agoPort map key to new UI
John Firebaugh [Wed, 12 Jun 2013 19:09:16 +0000 (12:09 -0700)]
Port map key to new UI

6 years agoConsistent JavaScript style
John Firebaugh [Wed, 12 Jun 2013 18:34:43 +0000 (11:34 -0700)]
Consistent JavaScript style

6 years agoArrange and group map buttons
John Firebaugh [Wed, 12 Jun 2013 17:59:25 +0000 (10:59 -0700)]
Arrange and group map buttons

6 years agoKeep zoom buttons together
John Firebaugh [Wed, 12 Jun 2013 17:48:45 +0000 (10:48 -0700)]
Keep zoom buttons together

6 years agoLayers work
John Firebaugh [Tue, 11 Jun 2013 23:13:11 +0000 (16:13 -0700)]
Layers work

6 years agoComplete de-globalization of map
John Firebaugh [Tue, 11 Jun 2013 22:15:41 +0000 (15:15 -0700)]
Complete de-globalization of map

6 years agoLayers work
John Firebaugh [Tue, 11 Jun 2013 20:48:12 +0000 (13:48 -0700)]
Layers work

6 years agoRefactor out 'globals' from more functions
Tom MacWright [Tue, 11 Jun 2013 20:09:19 +0000 (13:09 -0700)]
Refactor out 'globals' from more functions

6 years agoScope map variable.
Tom MacWright [Tue, 11 Jun 2013 19:33:50 +0000 (12:33 -0700)]
Scope map variable.

6 years agoWork on layers UI
John Firebaugh [Mon, 10 Jun 2013 22:21:08 +0000 (15:21 -0700)]
Work on layers UI

6 years agoRefactor layer persistence
John Firebaugh [Mon, 10 Jun 2013 22:49:07 +0000 (15:49 -0700)]
Refactor layer persistence

6 years agoCustomize and style map zoom controls
Tom MacWright [Mon, 10 Jun 2013 23:31:25 +0000 (16:31 -0700)]
Customize and style map zoom controls

6 years agoRefactoring 4 life
Tom MacWright [Mon, 10 Jun 2013 23:00:36 +0000 (16:00 -0700)]
Refactoring 4 life

6 years agoRefactor forever
Tom MacWright [Mon, 10 Jun 2013 22:14:59 +0000 (15:14 -0700)]
Refactor forever

6 years agoUse querystring, stop manually building urls
Tom MacWright [Mon, 10 Jun 2013 22:04:07 +0000 (15:04 -0700)]
Use querystring, stop manually building urls

6 years agoRename to L.OSM.Layers and continue implementation
John Firebaugh [Mon, 10 Jun 2013 21:26:55 +0000 (14:26 -0700)]
Rename to L.OSM.Layers and continue implementation

6 years agoEven more map ui js refactor
Tom MacWright [Mon, 10 Jun 2013 21:38:08 +0000 (14:38 -0700)]
Even more map ui js refactor

6 years agoMore refactoring of map js
Tom MacWright [Mon, 10 Jun 2013 21:10:18 +0000 (14:10 -0700)]
More refactoring of map js

6 years agostarting to cleanup+style map controls.
Saman Bemel-Benrud [Mon, 10 Jun 2013 23:14:34 +0000 (16:14 -0700)]
starting to cleanup+style map controls.

6 years agoRestore attribution on main map
John Firebaugh [Mon, 10 Jun 2013 20:55:27 +0000 (13:55 -0700)]
Restore attribution on main map

6 years agoStart to refactor updatelinks
Tom MacWright [Mon, 10 Jun 2013 20:58:15 +0000 (13:58 -0700)]
Start to refactor updatelinks

6 years agoAdd attrib
Tom MacWright [Mon, 10 Jun 2013 20:51:47 +0000 (13:51 -0700)]
Add attrib

6 years agoRefactor mapLayers to create layers up front
Tom MacWright [Mon, 10 Jun 2013 20:45:21 +0000 (13:45 -0700)]
Refactor mapLayers to create layers up front

6 years agoClean up some of the map JS, reduce scope of globals
John Firebaugh [Mon, 10 Jun 2013 20:36:28 +0000 (13:36 -0700)]
Clean up some of the map JS, reduce scope of globals

6 years agoActually toggle note layer on click.
Tom MacWright [Mon, 10 Jun 2013 20:38:55 +0000 (13:38 -0700)]
Actually toggle note layer on click.

6 years agoStart refactoring notes layer
Tom MacWright [Mon, 10 Jun 2013 20:22:51 +0000 (13:22 -0700)]
Start refactoring notes layer

6 years agoRemove unnecessary abstraction around rectangles
Tom MacWright [Mon, 10 Jun 2013 19:46:48 +0000 (12:46 -0700)]
Remove unnecessary abstraction around rectangles

6 years agoPrevent click propagation on ui panes
Tom MacWright [Mon, 10 Jun 2013 19:40:59 +0000 (12:40 -0700)]
Prevent click propagation on ui panes

6 years agogenerate short link kind of
Tom MacWright [Mon, 10 Jun 2013 19:35:10 +0000 (12:35 -0700)]
generate short link kind of

6 years agoStart layers pane
John Firebaugh [Mon, 10 Jun 2013 19:08:52 +0000 (12:08 -0700)]
Start layers pane

6 years agoAdd share button to map
Tom MacWright [Mon, 10 Jun 2013 19:09:34 +0000 (12:09 -0700)]
Add share button to map

6 years agoadding icons to sprite.
Saman Bemel-Benrud [Mon, 10 Jun 2013 18:48:34 +0000 (11:48 -0700)]
adding icons to sprite.

6 years agoAdd locate widget to map
Tom MacWright [Mon, 10 Jun 2013 18:36:45 +0000 (11:36 -0700)]
Add locate widget to map

6 years agoRemove permalink/add note links
John Firebaugh [Mon, 10 Jun 2013 18:24:47 +0000 (11:24 -0700)]
Remove permalink/add note links

6 years agoAdd back basic zoom control
John Firebaugh [Mon, 10 Jun 2013 18:15:58 +0000 (11:15 -0700)]
Add back basic zoom control

6 years agoRemove unused styles
John Firebaugh [Mon, 10 Jun 2013 18:04:08 +0000 (11:04 -0700)]
Remove unused styles

6 years agoAdd leaflet-locate control, invisible currently.
Tom MacWright [Mon, 10 Jun 2013 18:20:29 +0000 (11:20 -0700)]
Add leaflet-locate control, invisible currently.

6 years agoBasic framework for map UI
John Firebaugh [Mon, 10 Jun 2013 17:24:02 +0000 (10:24 -0700)]
Basic framework for map UI

6 years agoRemove pan and zoom controls
Tom MacWright [Mon, 10 Jun 2013 16:46:00 +0000 (09:46 -0700)]
Remove pan and zoom controls

6 years agoImprove styling of rails validation errors
Tom Hughes [Thu, 18 Jul 2013 14:54:16 +0000 (15:54 +0100)]
Improve styling of rails validation errors

6 years agoGive up on automatic resizing of text areas
Tom Hughes [Thu, 18 Jul 2013 14:31:51 +0000 (15:31 +0100)]
Give up on automatic resizing of text areas

6 years agoTone down the highlighting of Nominatim search results
Tom Hughes [Thu, 18 Jul 2013 14:29:01 +0000 (15:29 +0100)]
Tone down the highlighting of Nominatim search results

6 years agoUpdate Leaflet to 0.6.3
Tom Hughes [Wed, 17 Jul 2013 18:18:13 +0000 (19:18 +0100)]
Update Leaflet to 0.6.3

6 years agoRemove references to opengeodata.org
Harry Wood [Mon, 15 Jul 2013 16:38:10 +0000 (17:38 +0100)]
Remove references to opengeodata.org

6 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 14 Jul 2013 21:28:13 +0000 (21:28 +0000)]
Localisation updates from translatewiki.net.

6 years agoUse the standard ruby instance_methods call
Tom Hughes [Tue, 9 Jul 2013 17:21:34 +0000 (18:21 +0100)]
Use the standard ruby instance_methods call

Rails 3 has an instance_methods_name extension that returns strings
instead of symbols, but that goes away in Rails 4 so just use the
standard routine instead.

6 years agoThe ActiveRecord exists? method may not return an explicit true/false
Tom Hughes [Tue, 9 Jul 2013 16:52:15 +0000 (17:52 +0100)]
The ActiveRecord exists? method may not return an explicit true/false

https://github.com/rails/rails/issues/10062