Commit Graph

2295 Commits

Author SHA1 Message Date
Ansis Brammanis
b59cd62304 Don't include empty tags in taglist count
fixes #1289
2013-04-19 16:30:14 -04:00
Tom MacWright
c79becb78a Prevent error on localgpx.js. Fixes #1207 2013-04-19 15:35:24 -04:00
Tom MacWright
8ec9ba3378 Don't close geocoder on result click. Fixes #1234 2013-04-19 15:22:24 -04:00
Ansis Brammanis
d21d52d905 add maki as dependency, new sprite script
issue #1319
2013-04-19 14:51:48 -04:00
Ansis Brammanis
21c89f22dc export line preset sprite straight from inkscape
We could also use an svg sprite, just swapping the
one line in line-presets.css, but it seemed to
make scrolling the preset grid significantly
less smooth in Firefox.
2013-04-19 12:27:57 -04:00
Tom MacWright
1e5a0fc4a7 Stop nudging when users drag outside of the window. Fixes #1326 2013-04-18 18:31:34 -04:00
Tom MacWright
c91dab1b2c Soft-encode separators 2013-04-18 17:50:15 -04:00
Tom MacWright
f1604df4d0 Add custom layer option to URL hash, fixes #1024.
Layer format is custom:http://url.com/{z}/{x}/{y}.jpg
2013-04-18 17:34:27 -04:00
John Firebaugh
c8dcba31ad Auto-zoom to entity specified by id param 2013-04-18 14:24:10 -07:00
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