5051 Commits

Author SHA1 Message Date
Bryan Housel
1ab3ba2369 Merge pull request #3302 from 1ec5/network-combo
Combo field with taginfo for road networks
2016-08-02 15:41:55 -04:00
Bryan Housel
647090dcff Merge pull request #3298 from 1ec5/relation-taginfo
Fix taginfo for relation presets
2016-08-02 14:06:58 -04:00
Bryan Housel
3779d21197 Add 5, 10, 15 to imperial maxspeed values 2016-08-02 12:28:27 -04:00
Minh Nguyễn
e861e08c68 Fixed missing comma 2016-08-02 07:33:04 -07:00
Minh Nguyễn
d1d6b5399e Filter taginfo by country code prefix
taginfo returns results that match anywhere within the string. So in Canada, you might get results like US:CA:SF. This change filters out such results.
2016-08-02 07:26:50 -07:00
Minh Nguyễn
05ecac64cc Compare lowercase value to country code 2016-08-02 07:23:17 -07:00
Minh Nguyễn
4922a37b00 Combo field with taginfo for road networks
Added a variation of the combo field for road networks. If the field’s value is blank or shares a prefix with the current country code, search taginfo for values beginning with the country code and a colon.
2016-08-02 07:23:17 -07:00
Minh Nguyễn
3e9d7c2b63 Prefer cycle_network over network 2016-08-02 07:06:09 -07:00
Minh Nguyễn
c469152925 Removed workaround for joto/taginfo#179 2016-08-02 00:18:52 -07:00
Minh Nguyễn
e99afbe1c1 Fixed taginfo for relation presets
taginfo’s relation/wiki_pages method no longer places results in a data property.

Also, only use relation/wiki_pages for top-level relation presets. More specific presets behave like non-relation presets. For example, the bicycle route relation has the tags type=route route=bicycle, so route=bicycle is what we’re interested in.

Fixes #3297.
2016-08-02 00:18:52 -07:00
Minh Nguyễn
ee74066b5c Added 75, 80 mph speed limits 2016-08-01 23:10:20 -07:00
Bryan Housel
1c3a250576 Add missing 60 mph maxspeed option 2016-08-01 23:16:05 -04:00
Bryan Housel
d307221612 Space around operators 2016-07-31 23:57:39 -04:00
Bryan Housel
a85bad8c8c Restructure lane data (cherry pick) 2016-07-31 23:53:07 -04:00
Bryan Housel
fbce168809 Draw rectangles (cherry pick) 2016-07-31 23:50:57 -04:00
Minh Nguyễn
e1bdae7800 taginfo tooltips for combo values (#3299)
Each combo value obtained from taginfo now has a tooltip describing the value, if available.
2016-07-31 23:37:09 -04:00
Minh Nguyễn
969cb19b78 Include network in relation display name
If a relation is tagged with a network, the network is needed alongside the ref to identify the relation.
2016-07-31 03:29:15 -07:00
Bryan Housel
1fd79ade15 Merge branch 'multiselect-remove-item' of https://github.com/ebrelsford/iD into ebrelsford-multiselect-remove-item 2016-07-30 20:57:19 -04:00
Minh Nguyễn
6ba497e64b Allow uppercase in network taginfo (#3280)
When suggesting values for network or cycle_network from taginfo, include values that contain uppercase letters.
2016-07-29 16:16:44 -04:00
Eric Brelsford
6083ce2d14 Fix deselect entity on Firefox
Includes splitting select/deselect elements into separate buttons
2016-07-27 13:47:53 -04:00
Bryan Housel
018e7f207e Wrap selection list geometry icon in a span
This is important so d3 update selection can select the geometry icon but not
the close icon.
2016-07-26 15:51:09 -04:00
Eric Brelsford
d15a2e5aa3 Remove an item from the multiselect list
Fixes #2950
2016-07-25 15:46:54 -04:00
Bryan Housel
747b9f37d5 Pacify eslint 2016-07-24 17:39:06 -07:00
Bryan Housel
fd0803f89c Don't limit movement if this is vertex joins 2 endpoints..
(closes #2731)
2016-07-24 17:30:35 -07:00
Bryan Housel
2450782c3e Allow movement of any node that is in the selectedIDs list..
(closes #3195)
2016-07-24 17:08:07 -07:00
Bryan Housel
f4979db992 Don't use checkboxes in walkthrough navigation
(closes #3247)
2016-07-24 12:31:57 -07:00
Bryan Housel
0755847401 Default Wikipedia language field to the user's detected language
(fixes #3265)
2016-07-23 16:17:38 -07:00
Eduard Popov
ab190f085b fix critical error on save changes (#3264) 2016-07-22 11:52:19 -04:00
Tom MacWright
af776501d3 Require locale, second pass (#3259)
* Require locale, second pass

* Remove t global, remove t where it isn't needed
2016-07-21 16:20:13 -04:00
Bryan Housel
244dd1f46e Cleanup .eslint in spec folder 2016-07-19 12:31:02 -04:00
Bryan Housel
26c274f91c .eslint updates
1. combine into single root level .eslint file
2. remove sort imports rule
3. change no-undef to warning to catch uses of global iD
4. use text descriptions "off","warn","error" instead of numeric codes
2016-07-19 12:05:40 -04:00
Tom MacWright
604d1e2719 import lodash (#3257) 2016-07-19 12:04:16 -04:00
Tom MacWright
3856b1ff2f Inter-require iD instead of relying on the global (#3256) 2016-07-19 10:30:50 -04:00
Bryan Housel
7ca6d06254 Replace iD global with iD.Context() module (#3254) 2016-07-19 10:15:32 -04:00
Bryan Housel
0d8fb87f93 Treat entities on addr:interpolation lines as points, not vertices
(closes #3241)
2016-07-14 13:00:36 -04:00
Bryan Housel
cb71e90384 Module for iD.Detect() (#3243)
* convert iD.Detect() iife to a module

* iD.Detect() should return loaded locale (except for 'en')

(The previous code was a hack to replace the detected locale with the loaded
locale.  Now that Detect is a module, we can not replace the detected locale
from external code, but we can have Detect() return the locale we really want)
2016-07-13 09:15:47 -04:00
Bryan Housel
ee4f11390c Merge pull request #3231 from openstreetmap/module_services
External modules for services
2016-07-11 13:06:10 -04:00
Bryan Housel
0b3df36da0 Replace diacritics when doing fuzzy searches
(closes #3159)
2016-07-07 23:54:00 -04:00
Martin Raifer
50bae40f5c fix crash when using move operations on "intersection" vertices
_.all doesn't exist anymore in the latest releases of lodash
-> use _.every instead
2016-07-07 13:20:17 +02:00
Kushan Joshi
fc680a2e9a external modules for services 2016-07-06 14:39:58 -04:00
Kushan Joshi
b3492b17a0 external modules for SVG 2016-07-06 14:39:14 -04:00
Tom MacWright
9c82bba6fb [wip] use diff3 like a module (#3228)
* [wip] use diff3 like a module

* Fix diff3 style, comment out diff3 test
2016-07-06 14:16:25 -04:00
Kushan Joshi
39c82af158 Sort modules [eslint rule] 2016-07-06 12:12:08 +05:30
Tom MacWright
ecea55ba00 Const is verboten 2016-07-05 21:44:00 -04:00
Tom MacWright
1ef83b925c Make JXON pass style check 2016-07-05 19:12:33 -04:00
Tom MacWright
b15338b964 Use local jxon 2016-07-05 19:00:12 -04:00
Tom MacWright
712d471a6b Use togeojson package 2016-07-05 18:29:15 -04:00
Tom MacWright
869725551f Use marked as a dependency 2016-07-05 18:22:43 -04:00
Tom MacWright
8f68221b9b Use osm-auth as a package. 2016-07-05 18:14:36 -04:00
Tom MacWright
a8295e9706 Merge master 2016-07-05 18:03:54 -04:00