16273 Commits

Author SHA1 Message Date
Tom MacWright
2079918e8f Fix for deleting elements 2013-01-08 16:52:00 -05:00
Ansis Brammanis
11232c080f Merge branch 'master' of github.com:systemed/iD 2013-01-08 16:41:00 -05:00
Ansis Brammanis
97bc2429dc Update background source for history 2013-01-08 16:26:28 -05:00
Tom MacWright
b244d37368 Fix bad typeof 2013-01-08 16:10:57 -05:00
Tom MacWright
9fc05f5e35 Zoom-dependent styles, optimize difference algorithm. 2013-01-08 16:07:16 -05:00
Ansis Brammanis
fe634f4f9f Tag commits with imagery used 2013-01-08 16:04:31 -05:00
Tom MacWright
4347b134de Optimize difference 2013-01-08 15:33:29 -05:00
Tom MacWright
2f8454e50e Add close button to modal 2013-01-08 15:33:22 -05:00
Tom MacWright
267a7b6c85 Brush up map and UI styles 2013-01-08 15:33:13 -05:00
Tom MacWright
9014886e18 Use HTTPS when oauth is not overriden. Fixes #326 2013-01-08 14:58:52 -05:00
Tom MacWright
8f194e717e Fix regression around styles. Fixes #339 2013-01-08 14:58:22 -05:00
Tom MacWright
2fc2d835ea Revert "Do not continue areas. Fixes #331"
This reverts commit e88508a123.
2013-01-08 13:53:34 -05:00
Tom MacWright
2e1ef585d4 Merge branch 'master' of github.com:systemed/iD 2013-01-08 13:48:37 -05:00
Tom MacWright
e88508a123 Do not continue areas. Fixes #331 2013-01-08 13:48:18 -05:00
Ansis Brammanis
9e2aca706c Merge branch 'master' of github.com:systemed/iD 2013-01-08 13:02:38 -05:00
Ansis Brammanis
8dc848e2a6 make bottom info css flexible 2013-01-08 13:01:24 -05:00
Tom MacWright
4d3de28891 Merge pull request #337 from systemed/update-attribution
Update attribution when background changes
2013-01-08 09:29:14 -08:00
Tom MacWright
80fc009497 Strict test against correct values 2013-01-08 12:28:48 -05:00
Ansis Brammanis
7d19dca582 Merge branch 'master' of github.com:systemed/iD into update-attribution 2013-01-08 12:23:08 -05:00
Tom MacWright
b1c1844941 jshint touchups 2013-01-08 12:21:53 -05:00
Ansis Brammanis
1e12062f16 Update attribution when background layer changes 2013-01-08 12:21:38 -05:00
Tom MacWright
85c8bdf0ff Refactor geolocate control 2013-01-08 12:14:05 -05:00
Tom MacWright
87169a898c Merge pull request #336 from ansis/tooltip-fix
Tooltip fix
2013-01-08 09:07:11 -08:00
Ansis Brammanis
cf5910d991 Merge branch 'master' of github.com:ansis/iD into tooltip-fix 2013-01-08 12:03:09 -05:00
Ansis Brammanis
6e5fbc0e4a Hide and refresh undo tooltips as needed 2013-01-08 11:59:13 -05:00
Tom MacWright
c4e88ad8e9 Add more explanatory helptext 2013-01-08 11:56:40 -05:00
Tom MacWright
32dad42ec4 Refactor contributor listing into ui component, hide it when none are
around.
2013-01-08 11:38:59 -05:00
Tom MacWright
8f6fcc0a4d Filter taginfo suggestions to make them more accurate. Fixes #327 2013-01-08 11:06:24 -05:00
Tom MacWright
2ce40c8ae5 Hide count when button has no count. Fixes #333 2013-01-08 10:41:50 -05:00
John Firebaugh
e5d79d5270 Fix various line and area drawing bugs
The way and vertex being drawn get an `active` class,
which can be used to hide the vertex and set
`pointer-events: none` on the line.

Use the correct cursors when connecting (fixes #293).

Splice into existing lines at the correct index and
location (fixes #246).
2013-01-07 21:58:01 -08:00
John Firebaugh
f8e2dfb9ce Preserve existing non-tag classes 2013-01-07 21:33:35 -08:00
John Firebaugh
b6beed5606 Prefix tag classes with tag-
When re-rendering, existing non-tag-related classes
such as `selected`, `active`, `hover`, etc. should be
preserved. Without a prefix, it's difficult to
distinguish them from tag classes.
2013-01-07 19:47:56 -08:00
John Firebaugh
ec0ca2a2da 'started a road' -> 'started a line' 2013-01-07 17:08:11 -08:00
John Firebaugh
bcb4de4305 Reverse directional tags and roles when reversing a way
Reverse known direction dependent tags other than `oneway`.
We assume that correcting a backwards oneway is the primary
reason for reversing a way.

The following transforms are performed:

Keys:
      *:right=* ⟺ *:left=*
    *:forward=* ⟺ *:backward=*
   direction=up ⟺ direction=down
     incline=up ⟺ incline=down
        *=right ⟺ *=left

Relation members:
   role=forward ⟺ role=backward

In addition, numeric-valued `incline` tags are negated.

The JOSM implementation was used as a guide, but transformations that 
were of unclear benefit or adjusted tags that don't seem to be used
in practice were omitted.

References:
   http://wiki.openstreetmap.org/wiki/Forward_%26_backward,_left_%26_right
   http://wiki.openstreetmap.org/wiki/Key:direction#Steps
   http://wiki.openstreetmap.org/wiki/Key:incline
   http://wiki.openstreetmap.org/wiki/Route#Members
   http://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java

Fixes #299.
2013-01-07 16:26:56 -08:00
Tom MacWright
d4af1032a3 Clear inspector when closed 2013-01-07 18:28:52 -05:00
Tom MacWright
52312e28fd Fix relative positioned tooltips. Fixes #319 2013-01-07 18:15:02 -05:00
Tom MacWright
ed032be98f Detect, pass, and display errors. Fixes #124 2013-01-07 17:51:50 -05:00
Tom MacWright
f5e2eeff9e Merge branch 'user-icon' 2013-01-07 17:37:24 -05:00
Tom MacWright
87671bb3e9 Test for boundary condition 2013-01-07 17:37:07 -05:00
Tom MacWright
4657828552 Merge pull request #330 from systemed/user-icon
Parse and display user image if available. Fixes #174 and #329
2013-01-07 14:30:42 -08:00
Tom MacWright
e357033ed8 Parse and display user image if available. Fixes #174 and #329 2013-01-07 17:30:07 -05:00
Tom MacWright
077992f0df Links should not redirect this page ever. 2013-01-07 16:56:24 -05:00
Tom MacWright
9695205e92 Guard against Firefox bug around hidden elements. Fixes #328 2013-01-07 16:23:43 -05:00
John Firebaugh
15099ee517 Define Relation#geometry 2013-01-07 12:15:16 -08:00
Tom MacWright
2a60bca919 Make area fill white instead of red. Fixes #323 2013-01-07 13:19:13 -05:00
Tom MacWright
2b5986a752 Merge branch 'master' of github.com:systemed/iD 2013-01-07 13:10:12 -05:00
Tom MacWright
b5639b8b45 Style active buttons with the custom cursor.
Fixes #291
2013-01-07 13:09:54 -05:00
John Firebaugh
f8ea7d1e98 Fix accuracy handles 2013-01-07 10:08:07 -08:00
John Firebaugh
57122c8968 Don't focus an existing key, only a blank one 2013-01-07 10:03:41 -08:00
John Firebaugh
4b63823130 Use Entity#geometry() 2013-01-07 09:54:00 -08:00