]> git.openstreetmap.org Git - rails.git/log
rails.git
11 years agoIgnore clicks on the add note button when it is disabled
Tom Hughes [Tue, 6 Aug 2013 09:40:05 +0000 (10:40 +0100)]
Ignore clicks on the add note button when it is disabled

11 years agoRecognise locations in the hash correctly
Tom Hughes [Tue, 6 Aug 2013 09:23:51 +0000 (10:23 +0100)]
Recognise locations in the hash correctly

11 years agoMerge remote-tracking branch 'osmlab/map-ui'
Tom Hughes [Tue, 6 Aug 2013 08:05:59 +0000 (09:05 +0100)]
Merge remote-tracking branch 'osmlab/map-ui'

11 years agoCreate linkloader iframe in script
John Firebaugh [Mon, 5 Aug 2013 23:30:45 +0000 (16:30 -0700)]
Create linkloader iframe in script

11 years agoDisable map key on non-default layers
John Firebaugh [Mon, 5 Aug 2013 23:22:49 +0000 (16:22 -0700)]
Disable map key on non-default layers

11 years agoPort fix for Leaflet issue #1919
John Firebaugh [Mon, 5 Aug 2013 21:30:50 +0000 (14:30 -0700)]
Port fix for Leaflet issue #1919

11 years agoRecenter marker on map pan/zoom
John Firebaugh [Mon, 5 Aug 2013 19:27:37 +0000 (12:27 -0700)]
Recenter marker on map pan/zoom

11 years agoAdd method specifiers to oauth routing tests
Tom Hughes [Mon, 5 Aug 2013 19:09:09 +0000 (20:09 +0100)]
Add method specifiers to oauth routing tests

11 years agoDo not fit map to search result (object) twice
Martin Raifer [Mon, 5 Aug 2013 11:10:37 +0000 (13:10 +0200)]
Do not fit map to search result (object) twice

When clicking on search results the respective osm object is loaded
asynchronously and afterwards shown on the map. Some objects can take
a few seconds to load however.

If a user already panned/zoomed the map manually during this time then
their actions are reverted because the map fits to the object again.

There is actually no need for this behaviour, because a good geocoder
already returns an appropriate bounding box for the search result.

11 years agoFix heart icon color
John Firebaugh [Mon, 5 Aug 2013 15:37:51 +0000 (08:37 -0700)]
Fix heart icon color

11 years agoReset filter bounds whenever it's enabled
John Firebaugh [Wed, 31 Jul 2013 22:10:29 +0000 (15:10 -0700)]
Reset filter bounds whenever it's enabled

11 years agoFix map control style on non-main page maps
John Firebaugh [Wed, 31 Jul 2013 21:11:56 +0000 (14:11 -0700)]
Fix map control style on non-main page maps

11 years agoMake the toggles themselves permalinks
John Firebaugh [Wed, 31 Jul 2013 21:07:28 +0000 (14:07 -0700)]
Make the toggles themselves permalinks

11 years agoAdd/remove active class on map UI buttons
John Firebaugh [Wed, 31 Jul 2013 20:56:51 +0000 (13:56 -0700)]
Add/remove active class on map UI buttons

11 years agoInclude object in share link
John Firebaugh [Wed, 31 Jul 2013 19:43:51 +0000 (12:43 -0700)]
Include object in share link

11 years agoTweak labels
John Firebaugh [Wed, 31 Jul 2013 19:24:26 +0000 (12:24 -0700)]
Tweak labels

11 years agoToggle between Link / Short Link / HTML
John Firebaugh [Wed, 31 Jul 2013 19:19:59 +0000 (12:19 -0700)]
Toggle between Link / Short Link / HTML

11 years agoPut link next to input and make it non-navigable
John Firebaugh [Tue, 30 Jul 2013 21:02:34 +0000 (14:02 -0700)]
Put link next to input and make it non-navigable

11 years agoAlways center map on marker
John Firebaugh [Tue, 30 Jul 2013 20:44:49 +0000 (13:44 -0700)]
Always center map on marker

Not centering is of dubious usefulness, and doesn't work
at all with a short link.

11 years agoreversed color on map controls and prepped active toggle
Saman Bemel-Benrud [Tue, 30 Jul 2013 17:50:50 +0000 (13:50 -0400)]
reversed color on map controls and prepped active toggle

11 years agoconsistent padding in sidebar menu.
Saman Bemel-Benrud [Tue, 30 Jul 2013 17:01:10 +0000 (13:01 -0400)]
consistent padding in sidebar menu.

11 years agodivide embed section from share section.
Saman Bemel-Benrud [Tue, 30 Jul 2013 16:58:47 +0000 (12:58 -0400)]
divide embed section from share section.

11 years agoFix embed
John Firebaugh [Mon, 29 Jul 2013 18:30:58 +0000 (11:30 -0700)]
Fix embed

11 years agoAdd "Center map on marker" option
John Firebaugh [Sat, 27 Jul 2013 03:19:51 +0000 (20:19 -0700)]
Add "Center map on marker" option

11 years agoDesign adjustments to Link / HTML sharing
John Firebaugh [Sat, 27 Jul 2013 01:17:36 +0000 (18:17 -0700)]
Design adjustments to Link / HTML sharing

11 years agoUpdate location filter checkbox state correctly
John Firebaugh [Fri, 19 Jul 2013 22:04:55 +0000 (15:04 -0700)]
Update location filter checkbox state correctly

11 years agoTighten vertical space
John Firebaugh [Fri, 19 Jul 2013 19:23:40 +0000 (12:23 -0700)]
Tighten vertical space

11 years agoFix textarea resizing
John Firebaugh [Fri, 19 Jul 2013 19:18:42 +0000 (12:18 -0700)]
Fix textarea resizing

11 years agoRecenter marker when shown
John Firebaugh [Fri, 19 Jul 2013 19:18:35 +0000 (12:18 -0700)]
Recenter marker when shown

11 years agoRemove marker and filter when closed
John Firebaugh [Fri, 19 Jul 2013 19:18:25 +0000 (12:18 -0700)]
Remove marker and filter when closed

11 years agoLink to sources for bulk downloads
John Firebaugh [Thu, 11 Jul 2013 01:20:38 +0000 (18:20 -0700)]
Link to sources for bulk downloads

11 years agoAdd option to include marker in permalinks
John Firebaugh [Thu, 11 Jul 2013 00:24:57 +0000 (17:24 -0700)]
Add option to include marker in permalinks

11 years agoReorganize share/export UI
John Firebaugh [Wed, 10 Jul 2013 18:52:33 +0000 (11:52 -0700)]
Reorganize share/export UI

"Image" and "Embeddable HTML" options move to share control.
Only XML export remains, and is now accessed via a sidebar
link rather than the tab bar.

11 years agoUpdate short link integration tests for hash links
Tom Hughes [Sun, 4 Aug 2013 11:50:05 +0000 (12:50 +0100)]
Update short link integration tests for hash links

11 years agoUpdate user location setting for zoomPrecision change
Tom Hughes [Sun, 4 Aug 2013 11:40:20 +0000 (12:40 +0100)]
Update user location setting for zoomPrecision change

11 years agoMerge remote-tracking branch 'osmlab/hash'
Tom Hughes [Sun, 4 Aug 2013 11:38:59 +0000 (12:38 +0100)]
Merge remote-tracking branch 'osmlab/hash'

11 years agoAdd functional tests for nodes/ways/relations API methods
Tom Hughes [Sun, 4 Aug 2013 10:12:09 +0000 (11:12 +0100)]
Add functional tests for nodes/ways/relations API methods

11 years agoMake the multi-get calls throw 400 errors on invalid input
Paul Norman [Sat, 3 Aug 2013 10:20:46 +0000 (03:20 -0700)]
Make the multi-get calls throw 400 errors on invalid input

Also refactor ways and relations to use the same structure as nodes

11 years agoFix language switching on user terms page
Tom Hughes [Thu, 1 Aug 2013 16:47:49 +0000 (17:47 +0100)]
Fix language switching on user terms page

11 years agoRefactor user creation actions
John Firebaugh [Wed, 31 Jul 2013 23:20:26 +0000 (16:20 -0700)]
Refactor user creation actions

Create a separate #create action that handles POSTs to
/user/new. This simplifies the other actions and ensures
that the URL is /user/new when validation errors occur,
rather than /user/terms.

Fixes #398

11 years agoAlways run tests using example.application.yml
John Firebaugh [Wed, 31 Jul 2013 23:19:01 +0000 (16:19 -0700)]
Always run tests using example.application.yml

This fixes an Oauth integration test failure when a
custom application.yml is present.

11 years agoInclude layers in hash
John Firebaugh [Wed, 24 Jul 2013 22:23:19 +0000 (15:23 -0700)]
Include layers in hash

11 years agoUpdate hash on P2 and iD edit pages and throttle
John Firebaugh [Wed, 24 Jul 2013 19:21:13 +0000 (12:21 -0700)]
Update hash on P2 and iD edit pages and throttle

11 years agoGenerate hash-based permalinks
John Firebaugh [Wed, 24 Jul 2013 17:09:56 +0000 (10:09 -0700)]
Generate hash-based permalinks

11 years agozoomPrecision doesn't need to be higher-order
John Firebaugh [Wed, 24 Jul 2013 00:32:54 +0000 (17:32 -0700)]
zoomPrecision doesn't need to be higher-order

11 years agoRefactor URL generating methods
John Firebaugh [Wed, 24 Jul 2013 00:30:24 +0000 (17:30 -0700)]
Refactor URL generating methods

11 years agoPrefer hash to other methods of determining location
John Firebaugh [Tue, 23 Jul 2013 22:52:37 +0000 (15:52 -0700)]
Prefer hash to other methods of determining location

11 years agoRedirect lat/lon/zoom query params to hash
John Firebaugh [Tue, 23 Jul 2013 20:37:09 +0000 (13:37 -0700)]
Redirect lat/lon/zoom query params to hash

11 years agoUse leaflet-hash
John Firebaugh [Fri, 19 Jul 2013 21:45:20 +0000 (14:45 -0700)]
Use leaflet-hash

11 years agoReload the object list when the data browser is reopened
Tom Hughes [Tue, 30 Jul 2013 20:38:16 +0000 (21:38 +0100)]
Reload the object list when the data browser is reopened

11 years agoAbort a running data browser load before starting a new one
Tom Hughes [Tue, 30 Jul 2013 20:30:16 +0000 (21:30 +0100)]
Abort a running data browser load before starting a new one

11 years agoReduce user location to be between -180 and 180 degrees
Tom Hughes [Tue, 30 Jul 2013 20:20:09 +0000 (21:20 +0100)]
Reduce user location to be between -180 and 180 degrees

11 years agoRemove italics from lists
Saman Bemel-Benrud [Tue, 30 Jul 2013 17:27:22 +0000 (13:27 -0400)]
Remove italics from lists

11 years agoRound user home location to a sensible precision
Tom Hughes [Tue, 30 Jul 2013 17:05:57 +0000 (18:05 +0100)]
Round user home location to a sensible precision

11 years agoChange the example database.yml to use unix socket connections
Tom Hughes [Tue, 30 Jul 2013 10:21:25 +0000 (11:21 +0100)]
Change the example database.yml to use unix socket connections

11 years agoFix search icon positioning
John Firebaugh [Tue, 30 Jul 2013 00:25:17 +0000 (17:25 -0700)]
Fix search icon positioning

11 years agoAdding a little more max width for buttons
Saman Bemel-Benrud [Mon, 29 Jul 2013 23:47:50 +0000 (19:47 -0400)]
Adding a little more max width for buttons

11 years agoSuccint button copy + force single line grouped buttons
Saman Bemel-Benrud [Mon, 29 Jul 2013 23:46:07 +0000 (19:46 -0400)]
Succint button copy + force single line grouped buttons

11 years agoMake input buttons and link buttons the same height in Firefox
Tom Hughes [Mon, 29 Jul 2013 23:50:54 +0000 (00:50 +0100)]
Make input buttons and link buttons the same height in Firefox

Set min-height on the input buttons to work around Firefox ignoring the
line height: https://bugzilla.mozilla.org/show_bug.cgi?id=697451#c13.

11 years agoRemove color repetition
Saman Bemel-Benrud [Mon, 29 Jul 2013 21:56:41 +0000 (17:56 -0400)]
Remove color repetition

11 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

11 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.

11 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)

11 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.

11 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)

11 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

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

11 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

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

11 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

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

11 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.

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

11 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)

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

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

11 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

11 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

11 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'

11 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.

11 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

11 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)

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

11 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

11 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

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

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

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

11 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.

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

11 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

11 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

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

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

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

11 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

11 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

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

11 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

11 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