Commit Graph

180 Commits

Author SHA1 Message Date
Bryan Housel 00b426e951 Add snake_case field property (closes #2867)
The vast majority of tag values in OSM should be automatically snake_cased
(e.g. `amenity=place_of_worship`)
But there are a few exceptions, e.g. fields expected to include a unit
(e.g. `maxstay=1 day`)
So this allows a ui field to set whether or not to automatically snake_case
2015-12-09 13:46:30 -08:00
Bryan Housel d8e627b9b1 Translate operations icons rather than adding x,y attributes to the symbol
(Internet Explorer ignores the x,y attributes)
2015-11-05 10:43:06 -05:00
Bryan Housel 3853c0d993 Fix the rest of the icons (leave walkthrough graphics alone for now) 2015-11-02 20:46:08 -05:00
Bryan Housel 7a9acd84ee Restore almost all of the rest of the icons throughout the UI 2015-10-31 01:38:39 -04:00
Bryan Housel 0aa899a580 Fix turn restrictions involving circular ways (closes #2807) 2015-10-20 22:52:39 -04:00
Bryan Housel b96afcf132 Merge pull request #2688 from 1ec5/wikipedia-2682
Switch Wikipedia list to osmlab/wmf-sitematrix
2015-09-27 23:14:27 -04:00
Bryan Housel dc9f29fd09 Use stricter regex for localized field key (closes #2658)
Now it will no longer match `old_name`
2015-09-18 10:22:39 -04:00
Bryan Housel 522e593f11 Improvements to access field (closes #2763) 2015-09-08 00:03:34 -04:00
Bryan Housel 11c009ee70 Add bicycle=dismount access option (closes #2726) 2015-07-27 16:17:43 -04:00
Minh Nguyễn 042bb7fb24 Fixed lint errors 2015-07-15 08:57:45 -07:00
Bryan Housel a04abacf1e Merge pull request #2694 from 1ec5/1ec5-wikipedia-url
Tighten up Wikipedia URL handling
2015-06-17 00:31:47 -04:00
Eric Brelsford 95b1eb6cce Use the cycleway's strings.options property to get options 2015-06-15 16:37:42 -04:00
Eric Brelsford ca9dde8c33 Decide when to use cycleway itself or cycleway:* 2015-06-15 16:32:34 -04:00
Minh Nguyễn 2d8969dbe3 Fixed test & lint errors
The anchor may not always be present.
2015-06-14 17:11:27 -07:00
Minh Nguyễn cc51a2f038 Anchors in Wikipedia URLs
Corrected several issues with section anchors in Wikipedia URLs:

 - When normalizing a pasted-in URL into a tag value, try to decode the anchor.
 - Also when normalizing into a tag value, recognize variant paths such as zh.wikipedia.org/zh-hk/.
 - When the tag value contains an anchor, encode it before adding it to the link.
2015-06-14 10:18:04 -07:00
Minh Nguyễn ce101bdb02 Allow hyphens in Wikipedia subdomain
When recognizing a Wikipedia tag value as a URL, allow hyphens in the URL subdomain, e.g. zh-min-nan.wikipedia.org.
2015-06-14 09:30:43 -07:00
Minh Nguyễn bd595521fa Fall back to browser locale or English 2015-06-14 09:25:10 -07:00
Eric Brelsford a5dfee71b1 Use "none" as cycleway field placeholder
Ensure "no" is not saved to OSM
2015-06-09 15:15:48 -04:00
Eric Brelsford 31c57c01ce Add cycleway preset for highways with bike lanes 2015-06-09 14:49:50 -04:00
Christian Schwarz 1d580d3ca2 Fixed address input while nominatim is not available 2014-11-30 22:16:03 +01:00
Aaron Lidman 554dc77cef Dropdown fixes 2014-10-29 18:24:32 -04:00
Sajjad Anwar dab742a501 Make taginfo configurable and default to disabling taginfo related features 2014-10-24 16:26:37 -07:00
John Firebaugh a9964aaa1d Adjust width of state input 2014-10-20 17:19:13 -07:00
Bryan Housel 43777d5259 Better inferRestriction for no_u_turn
* where from.node === to.node
* where from.way and to.way are oneways joined at a narrow angle
2014-09-02 16:43:31 -04:00
Bryan Housel 2b96064ed3 Continue support for options array of keys 2014-07-22 12:14:13 -04:00
Bryan Housel 804a523388 handle async loading of strings from taginfo 2014-07-21 19:03:13 -04:00
Bryan Housel 0d5d0b19fc Try to use strings when generating placeholder 2014-07-21 15:56:03 -04:00
Bryan Housel a68cb30fd2 Support option strings for combo fields (#1259, #1709) 2014-07-21 14:37:42 -04:00
John Firebaugh 0a4192e591 Simplify 2014-07-13 09:22:19 -07:00
John Firebaugh ed6416d4a3 Use correct translation keys 2014-07-13 09:16:14 -07:00
John Firebaugh 963064713d Support placeholder for combo fields 2014-07-10 10:00:53 -07:00
John Firebaugh 8089185cc4 jshint 2014-06-13 11:40:38 -07:00
John Firebaugh 4590feab63 Calculate address field widths 2014-06-13 11:39:17 -07:00
John Firebaugh 257d3e07df number -> housenumber 2014-06-13 10:38:48 -07:00
John Firebaugh 199fd35173 Simplify CSS 2014-06-13 10:38:27 -07:00
Christian Schwarz 83e66b3705 Improved address preset 2014-06-10 21:08:50 +02:00
Christian Schwarz 13c1711d68 Switched to Nominatim api for now 2014-06-09 20:22:56 +02:00
Christian Schwarz 49eae8e389 Switched to a custom country code service 2014-06-05 20:30:12 +02:00
Christian Schwarz 5a51a6c8c2 Added gb address format with housename field 2014-06-05 00:42:15 +02:00
Christian Schwarz 60f51d7c79 Test country code lookup with nominatim 2014-06-04 01:05:46 +02:00
Christian Schwarz b3acd56bbb Added support for localization of address fields 2014-06-03 22:49:42 +02:00
John Firebaugh c30ba03606 Ensure combobox menus are closed on blur (fixes #2207)
See 7c20bd3 for explanation.
2014-05-28 17:37:31 -07:00
John Firebaugh e10bba980f Handle cases where current vertex disappears (fixes #2234) 2014-05-27 11:25:24 -07:00
Bryan Housel 89ac5f41db Merge pull request #2235 from bhousel/bhousel-fields
Allow checkbox fields to support custom strings
2014-05-23 22:16:14 -04:00
Bryan Housel 10bd86cb45 Check single source for implied onewayness #2220 2014-05-23 17:07:11 -04:00
Bryan Housel 40810dab04 Correctly trim whitespace in semicolon-separated multivalues #2236 2014-05-23 15:06:10 -04:00
Bryan Housel 1c3d0dacee Replace all matches, not just the first one.. 2014-05-23 15:04:35 -04:00
Bryan Housel 126f334c96 eliminate warning: 'context' is defined but never used 2014-05-23 14:57:52 -04:00
Bryan Housel 5fdbd6f9f4 Instead of using context.selectedIDs(), define a check.entity setter function 2014-05-23 11:27:27 -04:00
Bryan Housel 191c7002f4 Handle empty selectedIDs.. 2014-05-22 16:20:52 -04:00