Ansis Brammanis
e893f686ca
add postal code field, fixes #1292
2013-04-18 16:45:48 -04:00
Ansis Brammanis
5ed5968b76
fix reverting tag values
...
broke with dc0a6576
2013-04-18 16:29:03 -04:00
Ansis Brammanis
b3ee67bee8
Allow suggested maxspeed units to be overridden
...
fixes #947
2013-04-18 15:09:15 -04:00
Ansis Brammanis
9983c0be43
make difference calculation stricter
...
Changed entities with the exact same properties no longer get counted as
modified.
issue #1287
2013-04-18 13:58:22 -04:00
Ansis Brammanis
77403f62ec
force blur and tag change when closing inspector
...
Firefox doesn't fire a blur if the element is just
removed from the dom.
2013-04-18 12:49:26 -04:00
John Firebaugh
ab56cc5207
Clean up how OAuth keys are handled
...
Connection defaults to osm.org URL and keys for the simple
case. Customization is done via connection.switch().
Externalize SourceSwitch's use of iD.data.keys.
2013-04-17 17:43:25 -07:00
John Firebaugh
dca9bec450
Move Connection to core
2013-04-17 17:35:34 -07:00
John Firebaugh
a63e17ef15
Remove context dependency from Connection
2013-04-17 17:32:48 -07:00
John Firebaugh
a0edf68cbf
URL, not Url
2013-04-17 17:25:04 -07:00
John Firebaugh
001078876f
Add a preauth method
2013-04-17 16:43:35 -07:00
John Firebaugh
a7a58d0775
Restore source switch for development
2013-04-17 16:24:12 -07:00
John Firebaugh
a1d368e05c
Use Connection#userUrl
2013-04-17 16:24:12 -07:00
John Firebaugh
d04695da3b
Update osm-auth
2013-04-17 16:23:38 -07:00
Ansis Brammanis
e2f9f57410
improve navigating saving with keyboard
2013-04-17 18:45:42 -04:00
Ansis Brammanis
a18c9f1c6d
fix id in intro, fixes #1323
2013-04-17 18:14:22 -04:00
John Firebaugh
4399ddb023
Don't hard-code "view on openstreetmap.org" URL
...
Fixes #1325
2013-04-17 14:54:42 -07:00
Ansis Brammanis
e698854f01
d3.xml for status so that it works without auth
2013-04-16 23:12:21 -04:00
Ansis Brammanis
690f2d94a5
disable reset button when background not offset
...
also, only start the fast adjustment after 500ms to
prevent slow clicks from triggering multiple nudges
fixes #1312
2013-04-16 22:58:13 -04:00
Ansis Brammanis
63f2df89b3
Fix drawing areas
...
the way that the vertex is being added to is the original one,
not the one with the 'end' node, so there is no need to remove it.
The new node de-dupe code was making this break area drawing.
Fixes #1322
2013-04-16 22:25:48 -04:00
John Firebaugh
5d88bce00f
Fix Loading
2013-04-16 18:20:23 -07:00
John Firebaugh
90383a4591
Look through all stylesheets for sprites
...
Needed for concantenated iD.css.
2013-04-16 17:57:58 -07:00
John Firebaugh
77ce20c8c1
Add configurable image path
2013-04-16 17:20:21 -07:00
Ansis Brammanis
7403b9b9e8
Fix maxspeed unit detection
...
Centroid calculations were failing for two node ways.
It just uses the middle node now.
2013-04-16 19:08:52 -04:00
Ansis Brammanis
6636d9ace4
fill in localizations using wikipedia
...
If a feature has a wikipedia tag, then all
translated page titles are fetched. If a user
starts adding a localized name for a language with
an available translation, that translation gets
filled in automatically.
2013-04-16 17:43:39 -04:00
Ansis Brammanis
6fc290cf5c
insert blank name localization field at top
2013-04-16 17:43:04 -04:00
Ansis Brammanis
dd35ed91d9
name field is now localizable
2013-04-16 16:32:39 -04:00
Ansis Brammanis
7e75ea4bad
Notify users of API status
2013-04-16 12:36:58 -04:00
Ansis Brammanis
c0c71a54d5
switch back to github for bug reporting
...
fix #1230
2013-04-16 11:12:02 -04:00
John Firebaugh
dc0a65768d
Trim tag values ( fixes #1276 )
2013-04-15 18:40:45 -07:00
John Firebaugh
7f498c2a10
Fix "Remove" translation in radio field ( fixes #1317 )
2013-04-15 17:06:37 -07:00
John Firebaugh
19bcd711ec
Split categories into separate files; translate
2013-04-15 16:09:49 -07:00
Ansis Brammanis
f981724448
improve wikipedia input
...
- more careful about parsing existing values
- if an wikipedia url is entered, convert it to the
preferred format
2013-04-15 18:07:43 -04:00
John Firebaugh
e196a67555
Remove source switch
2013-04-15 11:31:25 -07:00
John Firebaugh
5e354018a8
Hide account/logout when embedded ( fixes #1229 )
2013-04-15 11:29:24 -07:00
Tom MacWright
115ed4b4bb
Update osmauth to support pre-auth
2013-04-15 11:29:23 -07:00
Tom MacWright
f091237b70
JSHint fixes
2013-04-15 12:59:29 -04:00
Saman Bemel-Benrud
541ac0ad51
friendlier access form.
2013-04-15 12:27:53 -04:00
saman bb
c87bf425e7
styled radio menus.
2013-04-14 23:37:19 -04:00
John Firebaugh
52929b9312
Show preset grid for untagged features ( fixes #1258 )
2013-04-12 18:15:56 -04:00
John Firebaugh
cf60d344f1
Fix AddPoint's use of Select mode
2013-04-12 11:26:03 -04:00
John Firebaugh
71dda769f2
FF can't focus an SVG element
2013-04-12 11:24:25 -04:00
John Firebaugh
94e2c8d8d6
Prevent duplicate consecutive nodes ( #1296 )
2013-04-12 10:55:53 -04:00
John Firebaugh
5dda54ea52
Refine focus behavior for inspector ( fixes #1277 )
...
Auto-focus the search field only right after finishing drawing.
At that point, the radial menu isn't shown anyway. So then the
flow for correcting geometry before assigning a preset is:
1. Draw.
2. Finish drawing. The search field is focused, and no
radial menu is open.
3. Click again to reselect the feature and show menu.
Now the search field is blurred.
In other words: when the menu is shown, search should not be
focused. When search is focused, the menu should not be shown.
2013-04-12 10:08:44 -04:00
John Firebaugh
4a960216d1
Camel case
2013-04-11 10:11:10 -04:00
John Firebaugh
0540060f2e
Fix global leak
2013-04-11 10:10:38 -04:00
Saman Bemel-Benrud
4158b1c48e
use svg for radial menu.
2013-04-09 12:34:57 -04:00
Saman Bemel-Benrud
bce352f27a
reworked background reset button.
2013-04-08 19:21:21 -04:00
John Firebaugh
1f44b45570
Rename variable
2013-04-06 17:57:59 -07:00
John Firebaugh
872b148bc0
Add access field ( #934 )
2013-04-06 17:55:53 -07:00
Ansis Brammanis
a8f41b8c57
Prevent creation of ways with duplicate nodes
...
Related to #1249
2013-04-05 16:35:51 -04:00