Commit Graph

3458 Commits

Author SHA1 Message Date
Bryan Housel 546144c8a1 1.7.4 2015-09-15 23:52:25 -04: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 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 701731485e Less strict polygon intersection test in findOuter (closes #2755) 2015-09-01 14:48:40 -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 1db51501a5 switch jshint to eslint (closes #2733) 2015-08-23 03:14:20 -04:00
Bryan Housel df2fcb82fa Replace 'X' with Cancel button on save panel (closes #2378) 2015-07-30 14:03:31 -04:00
Bryan Housel 7288806012 Add styling for ephemeral tags (closes #2740)
includes various forms of:
 'proposed', 'construction', 'disused', 'abandoned', 'dismantled',
 'razed', 'demolished', 'obliterated'
2015-07-28 17:18:16 -04:00
Bryan Housel 11c009ee70 Add bicycle=dismount access option (closes #2726) 2015-07-27 16:17:43 -04:00
Paul Annekov 739876de99 Images to sprite, fixed tooltip position, fixed spinner position if fullscreen is not supported 2015-07-23 22:30:14 +03:00
Paul Annekov fb1af6afe3 Added icons, changed button style. 2015-07-22 00:14:48 +03:00
Bryan Housel bc7b78179b Merge pull request #2681 from frewsxcv/patch-1
Use HTTPS if location protocol is HTTPS in iD.Connection
2015-07-17 15:01:26 -04:00
Bryan Housel 4c6b75a868 In mergeChildren(), not a conflict if child versions same 2015-07-17 10:02:21 -04:00
Paul Annekov 8a933a5fa5 Moved the button, updated text 2015-07-11 20:42:46 +03:00
Paul Annekov 1a3c75da2b Added ability to exit from full screen 2015-07-11 20:26:50 +03:00
Paul Annekov 61ac67ac6c Added tooltip, cross browser requestFullScreen call and key binding 2015-07-11 10:21:49 +03:00
Paul Annekov 24802c9399 Added button to switch to full screen mode 2015-07-10 23:44:03 +03:00
Bryan Housel 845999558f Preset searching should consider tag values (closes #2719) 2015-07-01 13:20:23 -04:00
Bryan Housel 58cb66f472 Add highway=corridor and universal level field
For now, `highway=corridor`:
  * styled like highway=pedestrian
  * and matches 'paths' feature filter.

(closes #2687, closes #2218)
2015-06-30 22:02:22 -04:00
Bryan Housel 56a563d345 Use space key to toggle radial menu (closes #2706) 2015-06-30 17:44:25 -04:00
Bryan Housel b785b906b4 Put success close click handler on button, not span (closes #2717) 2015-06-30 15:33:27 -04:00
Corey Farwell 56708858fb Use HTTPS if location protocol is HTTPS in iD.Connection
Relevant to https://github.com/strava/iD/issues/5#issuecomment-109800372
2015-06-27 14:06:58 -07:00
Bryan Housel 728036be51 Don't write unsavable changes to localStorage (closes #2705) 2015-06-20 12:21:29 -04:00
Bryan Housel 60fdb60a8a Refactor validations 2015-06-19 14:58:09 -04:00
Bryan Housel ca47d2662d Let conflict resolution restore deleted childnodes if force_local 2015-06-18 11:48:49 -04:00
Bryan Housel ee6479ff48 During localstorage restore, fetch older version of childnode if needed
This together with 8398fd7 closes #2142
2015-06-18 11:47:14 -04:00
Bryan Housel f4d93c442e Add connection#loadEntityVersion to fetch specific version 2015-06-18 11:46:43 -04:00
Bryan Housel 8398fd7cf1 Fetch missing childnodes when restoring from localstorage
(see #2142)
TODO: fetch older version if the node has been deleted.
2015-06-18 09:56:11 -04:00
Bryan Housel 4c3ebbec2b Merge branch 'rhokbrisbane-keyboard_shortcuts' 2015-06-17 00:55:32 -04:00
Bryan Housel d1253c6ef1 use iD.ui.cmd for fast pan and zoom shortcuts 2015-06-17 00:41:35 -04: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
Bryan Housel cc9612f3ea jshint 2015-06-15 22:51:15 -04:00
Bryan Housel 6aa4b3a873 Merge branch 'keyboard_shortcuts' of https://github.com/rhokbrisbane/iD into rhokbrisbane-keyboard_shortcuts 2015-06-15 22:32:20 -04:00
Bryan Housel 641cf98e70 Add tooltip to minimap toggle control 2015-06-15 22:28:40 -04:00
Bryan Housel 26ca610d0d Merge branch 'add-task-outline-to-minimap' of https://github.com/rhokbrisbane/iD into rhokbrisbane-add-task-outline-to-minimap 2015-06-15 22:02:42 -04:00
Bryan Housel fda8146972 Merge pull request #2686 from ebrelsford/cycleway-preset
Add cycleway preset field for highways with bike lanes
2015-06-15 21:35:03 -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
Rowan Hogan 336f7420e5 Merge branch master into add-task-outline-to-minimap 2015-06-15 10:14:07 +10:00
Rowan Hogan 42c99a4400 Merge branch 'master' into keyboard_shortcuts 2015-06-15 10:12:31 +10:00
Minh Nguyễn 2d8969dbe3 Fixed test & lint errors
The anchor may not always be present.
2015-06-14 17:11:27 -07:00
Denys Digtiar be1e3738f1 Error handling is added to the GPX loading callback.
Previously erroneous response was corrupting the GpxLayer, which could
potential corrupt the whole Map, if user were to use 'Zoom to GPX'
feature. Callback logic is wrapped in the error guard to fix this.
2015-06-14 16:46:20 -07:00