Commit Graph

5228 Commits

Author SHA1 Message Date
Bryan Housel dcea7e08d6 Merge pull request #2810 from kriscarle/patch-1
Better support for browser language preferences
2015-10-19 17:00:53 -04:00
Kris Carle 3cda5e1f7c better support for browser language preferences
Use navigator.languages preferences when available. This allows a preferred language to be set in Chrome without needing to change the primary language of the OS.  This appears to only apply when iD is running outside of openstreetmap.org, as we are doing for the loggingroads.org project. When it is framed inside osm, the osm user profile language settings appear to override the browser settings.

also see: https://alicoding.com/detect-browser-language-preference-in-firefox-and-chrome-using-javascript/ and http://www.w3.org/html/wg/drafts/html/master/webappapis.html#dom-navigator-languages
2015-10-19 16:47:48 -04:00
Bryan Housel 66e8f78aa7 Prefer suggested capitalization over user value in combobox (closes #2791) 2015-10-17 23:17:17 -04:00
Bryan Housel 084825bfe2 Discard yh:WIDTH tags (closes #2806) 2015-10-17 21:48:34 -04:00
Martin Raifer a08f3f78b9 Merge pull request #2801 from rtepowers/patch-1
Remove Strange HTML file from lib folder
2015-10-12 08:22:14 +02:00
R. Powers 38ea738cd7 Remove strange html file
Seems to have been added by accident.
2015-10-11 15:14:43 -07:00
Martin Raifer d376210ef6 Merge pull request #2798 from openstreetmap/tyrasd-patch-taginfo_reltypes
Fetch proper tag-references for relation types in raw tag editor
2015-10-08 08:43:22 +02:00
Martin Raifer b980c40dab fetch proper tag-references for relation types in raw tag editor
relation types need to be fetched from a dedicated taginfo endpoint.

fixes #2797
2015-10-08 08:40:27 +02:00
Bryan Housel 0543f684d2 Handle multipolygons - use outer for linestring perimeter (re: 2789) 2015-09-28 17:02:54 -04:00
Bryan Housel 19e1c47e53 Use LineString when calculating perimeter (closes #2789) 2015-09-28 15:51:21 -04:00
Bryan Housel 2c902b2f93 Improve handling of pointer events in footer (closes #2490) 2015-09-28 11:42:53 -04:00
Bryan Housel fda733de28 Make mouseout use container coordinates (closes #2758) 2015-09-28 11:16: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 12409e48e1 Add traffic signal type field 2015-09-27 23:00:07 -04:00
Bryan Housel c592acb759 Improve autocompletion for raw tag editor (closes #2748)
* Don't shorten the user's query
* Drop pouplar key threshold from 10000 to 5000
* Always show key if it has a wiki page (`d.in_wiki`)
2015-09-27 22:39:41 -04:00
Bryan Housel 0d71d5fd27 Add amenity=motorcycle_parking preset (closes #2787) 2015-09-27 22:17:36 -04:00
Bryan Housel 9122c76370 Update Travis to use modern infrastructure 2015-09-27 21:43:35 -04:00
Bryan Housel 48819b9db0 Skip iD.ui.cmd for 'f11' fullscreen 2015-09-27 21:37:48 -04:00
Bryan Housel b365a2062c Handle multi-character keys in iD.ui.cmd (closes #2786) 2015-09-27 21:28:04 -04:00
Bryan Housel 110b8b6b6d Rename "Allotments" to "Community Garden" 2015-09-19 01:11:28 -04:00
Bryan Housel 5868c3b138 Merge pull request #2777 from bagage/master
Trim extra whitespace that might be present in terms list
2015-09-18 21:17:16 -04:00
Bryan Housel 51ad6d006c Disable save button when changeset comment is empty (closes #1488) 2015-09-18 11:55:09 -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 d2fcae4119 Change Semi-Detached Houses => Semi-Detached House
https://github.com/openstreetmap/iD/issues/2776#issuecomment-141093644
2015-09-17 10:15:26 -04:00
Bryan Housel 2d0a3a9b54 Add preset for building=semidetached_house (closes #2776) 2015-09-16 14:34:25 -04:00
Bryan Housel 2318a170c5 Add FAQ entries for translation and imagery issues 2015-09-16 11:10:20 -04:00
Bryan Housel 546144c8a1 1.7.4 2015-09-15 23:52:25 -04:00
Bryan Housel 6513bba843 make imagery 2015-09-15 17:20:17 -04:00
Bryan Housel 43151e1ce7 make translations 2015-09-15 17:19:42 -04:00
Gautier Pelloux-Prayer 79b4c37733 preset.js: trim terms when retrieving translations to avoid white spaces 2015-09-14 19:15:59 +02:00
Bryan Housel 0083977a27 Merge pull request #2774 from M1dgard/value-docs
Make raw tag editor show docs for key=value
2015-09-08 20:22:02 -04:00
M1dgard 670cc3d81c Add test case for callback function returning false 2015-09-08 17:07:09 +02:00
M1dgard 5f2d136cc8 Merge branch 'master' of github.com:openstreetmap/iD into value-docs 2015-09-08 16:51:10 +02:00
M1dgard 41fd5e07d5 Correct coding style 2015-09-08 16:19:55 +02:00
M1dgard 9248ad7d5b Make raw tag editor show docs for key=value (closes #2754)
instead of just key.

* Pass the value to iD.ui.TagReference in the `context` function of iD.ui.RawTagEditor
* Let iD.taginfo query the docs for the key when its callback returns false.
* Let the callback function defined inside iD.ui.TagReference return false when both of these are met:
  * it isn't happy with the docs results AND
  * it was called with its softfail argument set to true.
2015-09-08 12:04:19 +02:00
Bryan Housel 522e593f11 Improvements to access field (closes #2763) 2015-09-08 00:03:34 -04:00
Bryan Housel 473f410d2e Merge pull request #2772 from M1dgard/fix-terms
Fix "terms" translations (closes #2756)
2015-09-06 00:14:52 -04:00
Bryan Housel 08bbe48d60 Merge branch 'PaulAnnekov-full-screen-mode' 2015-09-05 23:17:41 -04:00
Bryan Housel 594b4c19cf Disable fullscreen button, add keyboard shortcuts 2015-09-05 23:11:11 -04:00
Martin Raifer d7d3bb4cf8 update tests to reflect changes in dd32ec39
(The version attribute of the osmChange XML should read `0.6`)
2015-09-05 16:50:13 +02:00
Martin Raifer dd32ec39b3 Correct API version in osmChange and changeset XML
The version attribute of the osmChange and changeset XML should read `0.6` (the version of the OSM API the data is created for), even though the attribute is actually ignored by the OSM API (see http://wiki.openstreetmap.org/wiki/OsmChange).
2015-09-05 15:35:43 +02:00
Bryan Housel 93e2e6ab94 Merge branch 'full-screen-mode' of https://github.com/PaulAnnekov/iD into PaulAnnekov-full-screen-mode 2015-09-05 09:20:22 -04:00
M1dgard 209b324bc2 Fix "terms" translations (closes #2756)
Make them lowercase and split them on any combination of commas and whitespace.
2015-09-05 10:28:06 +02:00
Bryan Housel 90bc645e44 Remove Raven code (closes #2769) 2015-09-03 22:14:22 -04:00
Bryan Housel 701731485e Less strict polygon intersection test in findOuter (closes #2755) 2015-09-01 14:48:40 -04:00
Bryan Housel 6afefb7510 Use different leaf_cycle/leaf_type for singular tree (closes #2753)
And don't show "mixed" options for singular tree (closes #2752)
2015-09-01 13:47:04 -04:00
Bryan Housel 794cac6ef1 Change caption "Access" -> "Allowed Access" (closes #2761) 2015-09-01 13:19:25 -04:00
Bryan Housel a478fcd918 Fix broken link and other help improvements (closes #2760) 2015-09-01 13:15:53 -04:00
Martin Raifer 6707063a53 don't try to label if centroid is undefined
updates fix from 09642b1e to updated d3 path.centroid return value structure (see https://github.com/mbostock/d3/commit/492215ad42e4b23bb713c012c449fa262007ec88#diff-fa5fbee10216651a004363cf56fb3602L43)

fixes #2757
refs #1180
2015-08-26 09:47:07 +02:00
Bryan Housel 3b7f3d50b5 Remove unnecessary PhantomJS install step
(as mocha-phantomjs is already included as dev dependency)
2015-08-23 03:16:46 -04:00