Commit Graph

1312 Commits

Author SHA1 Message Date
Bryan Housel 9f6f49bcb9 Use unicode characters for forward/backward buttons, not images 2015-10-22 16:11:36 -04:00
Bryan Housel 0aa899a580 Fix turn restrictions involving circular ways (closes #2807) 2015-10-20 22:52:39 -04: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 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 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 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
M1dgard 5f2d136cc8 Merge branch 'master' of github.com:openstreetmap/iD into value-docs 2015-09-08 16:51:10 +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 594b4c19cf Disable fullscreen button, add keyboard shortcuts 2015-09-05 23:11:11 -04: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
Bryan Housel df2fcb82fa Replace 'X' with Cancel button on save panel (closes #2378) 2015-07-30 14:03:31 -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
Minh Nguyễn 042bb7fb24 Fixed lint errors 2015-07-15 08:57:45 -07: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 b785b906b4 Put success close click handler on button, not span (closes #2717) 2015-06-30 15:33:27 -04:00
Bryan Housel 60fdb60a8a Refactor validations 2015-06-19 14:58:09 -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
Minh Nguyễn 2d8969dbe3 Fixed test & lint errors
The anchor may not always be present.
2015-06-14 17:11:27 -07:00
Rowan Hogan 21526aff2a Syncs minimap toggle button and keyboard shortcut (using same method). 2015-06-15 09:38:07 +10:00
Rowan Hogan fb34b953b8 Fix alignment of gpx on minimap when panning 2015-06-15 08:17:25 +10: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
Rowan Hogan 5c860be877 Moved minimap gpx layer methods to the background gpx layer handlers 2015-06-14 12:37:37 +10:00
Rowan Hogan bd5eb5e972 Adds minimap toggle to background menu. Also resolves CSS issue with GPX layer in minimap. 2015-06-14 11:11:56 +10:00
Rowan Hogan adcad80950 WIP on minimap custom GPX 2015-06-13 18:18:52 +10:00
Denys Digtiar ba4312ed80 [WIP] GPX Layer is added to the mini-map. 2015-06-13 15:27:24 +10:00
Rowan Hogan 9aa1ffa227 Adds increased zoom keyboard shortcuts. 2015-06-13 15:24:48 +10:00
Brad Parker 304ac66c5f [WIP] attempting to add task outline gpxLayer to map_in_map 2015-06-13 12:15:57 +10:00
Bryan Housel 5799b7fc33 Enter Browse mode before switching API server
(Because if in Select mode, the selected entity will be missing
and cause an error to be thrown)
2015-06-09 23:26:36 -04:00