Commit Graph

1315 Commits

Author SHA1 Message Date
Bryan Housel 89815d7d8a v2.8.0 2018-04-16 14:03:25 -04:00
Bryan Housel ce77538185 Allow connecting FROM nodes to TO nodes if it's a u-turn 2018-04-16 08:00:44 -04:00
Bryan Housel 7a0d0352d2 Use connection.disabled to prevent dragging from breaking a relation
(closes #4921)
2018-04-14 23:12:53 -04:00
Bryan Housel b2df343f2d Allow connecting to nodes in the turn restriction from outside 2018-04-14 23:12:19 -04:00
Bryan Housel 87841fc403 Stricter checks to prevent turn restriction breakage when dragging
(re: #4921)
2018-04-13 22:50:51 -04:00
Bryan Housel 8fb083578f Prevent drag/connect which could damage relations
(closes #4921)
2018-04-12 17:32:16 -04:00
Bryan Housel 08d9a0267b Guard code to avoid deleting a turn twice
(see #4968, #4928)
2018-04-12 13:18:49 -04:00
Bryan Housel d20c537e46 Don't match a simple from-via-to restriction by taking a longer path 2018-04-11 22:54:49 -04:00
Bryan Housel 7ca23bf51d Merge branch 'master' into tyrasd-patch4968-onlyrestrictions 2018-04-10 17:28:19 -04:00
Martin Raifer d2d464d9ee only drop restrictions from FROM towards VIA when adding new only
partially adresses bugs in #4968:

* doesn't crash anymore in complex situations (short FROM ways where both ends connect to a TO way)
* adding a only-restriction at one end of a short FROM doesn't delete restrictions on the other end of the same FROM anymore
2018-04-10 13:19:20 +02:00
Bryan Housel f9c1cbf6bc Show a message on the History Panel if the feature is new
(closes #4975)
2018-04-09 14:33:39 -04:00
Bryan Housel b09c712fc5 When connecting nodes, prefer to keep an existing (not new) node
(closes #4974, closes #4674)
2018-04-09 14:20:40 -04:00
Bryan Housel c42556ec96 When boundaries are shared with roads, consider them as roads.
(closes #4973)

This is same as existing logic in the feature matching code
for the "rail" and "past_future" rules.
2018-04-09 12:59:13 -04:00
Bryan Housel 7bf544c28a Don't click cycle through alternating or reversible oneway states
(closes #4970)

They are still supported as translated strings, and user can still enter these
values in the raw tag editor, but they should not toggle with clicks in the
checkbox field.  This is because novice users are confused by what they mean.
2018-04-09 10:48:21 -04:00
Bryan Housel f0d8583f74 Adjust sort weight by community type 2018-04-09 09:20:55 -04:00
Bryan Housel 514ddffd22 Add link to report missing info in the community list 2018-04-08 23:41:51 -04:00
Bryan Housel c35b4906fd Add support for translated i18n events 2018-04-08 22:23:26 -04:00
Bryan Housel cab78c2c6b Add notification badge for events, default disclosures to closed 2018-04-08 21:55:36 -04:00
Bryan Housel cd2d42799e Show events 2018-04-08 21:23:05 -04:00
Bryan Housel 8a0a5e309e Show languages 2018-04-08 08:59:49 -04:00
Bryan Housel 30d94db9a2 Precompute areas and sort communities by area ascending
Note: Currently unreliable because the polygons have inconsistent winding,
but this will be fixed in the next release of osm-community-index
2018-04-08 01:20:35 -04:00
Bryan Housel 4f855d50a4 Expand/contract extended description 2018-04-07 23:07:34 -04:00
Bryan Housel 4eaa2a98ce Fix global community resources (e.g. Reddit) 2018-04-07 22:16:50 -04:00
Bryan Housel 1c440f0db4 Remove the share links 2018-04-07 22:16:39 -04:00
Bryan Housel 775525a74e Linkify the links 2018-04-07 22:02:47 -04:00
Bryan Housel 55e55e2021 More style and language adjustments 2018-04-07 21:45:23 -04:00
Bryan Housel 8ea2c7ff9a Add community icons, add icons and descriptions to post-save screen 2018-04-07 14:51:04 -04:00
Bryan Housel 0731a120c6 Improve "View on OSM" save section 2018-04-07 12:39:03 -04:00
Bryan Housel 712b4cb19e Add communities to save screen 2018-04-06 18:51:59 -04:00
Bryan Housel 2ed2d79aef Thank the user for their contribution 2018-04-04 23:49:42 -04:00
Bryan Housel 242a01a3e1 Import osm-community-index and debug flag so we can look at it 2018-04-03 22:44:52 -04:00
Bryan Housel 5a97f54317 Fix zoom scaleExtent to allow zoom out to z2 (full map)
(closes #4959)

Also includes some code formatting and cleanup
2018-04-02 15:26:52 -04:00
Bryan Housel 7e61ef0dc1 Clearer conditional 2018-03-29 16:31:52 -04:00
Bryan Housel 4041ab48fe Only restriction along viaway can enter either at either end
(closes #4951)

Previously it would only count if the connecting node was the first one.
I guess I was only thinking about oneways only the day I wrote that code.
2018-03-29 16:19:18 -04:00
Bryan Housel 0d262e5bb5 Stricter test for whether a via way restriction matches the path
(closes #4928)
2018-03-28 23:49:08 -04:00
Bryan Housel a160c00c35 Hide Turn Restriction field on trivial junctions
(closes #4934)
2018-03-27 23:54:26 -04:00
Bryan Housel 4840fea0bc Don't autocomplete numeric values in the combobox
(closes #4935)
2018-03-27 22:15:19 -04:00
Bryan Housel 734957f283 Handle variants of 'stop' and 'platform' when identifying PTv2 members
(closes #4946)
2018-03-27 21:52:52 -04:00
Bryan Housel 08ac17f49c Split pane content into header and content, move close button 2018-03-27 18:38:39 -04:00
Bryan Housel 3bf618add8 Merge branch 'fix4599' of https://github.com/vershwal/iD into vershwal-fix4599 2018-03-26 11:19:10 -04:00
Bryan Housel df5383c1b4 Merge pull request #4908 from vershwal/icon_edit
Added pencil icon.
2018-03-23 15:40:52 -04:00
Bryan Housel aea3b6feb5 Fix reference typo introduced in c44551be7 2018-03-23 13:30:37 -04:00
Bryan Housel 1dbf273878 Remove flow
https://github.com/openstreetmap/iD/issues/3744#issuecomment-374950519
2018-03-22 16:51:53 -04:00
Bryan Housel c08d79e488 Extract tag cleaning code to utilCleanTags, add tests
(closes #4925)
2018-03-22 14:46:36 -04:00
Bryan Housel c44551be77 Don't trim spaces around semicolons in conditional: tag values
This commit also includes code formatting, and removes some lodash
2018-03-22 14:46:36 -04:00
Bryan Housel be85cd8e89 Drop support for node 4 / npm 2
(closes #4853)

This fixes several issues with dependency resolution
2018-03-19 11:59:41 -04:00
Bryan Housel 448ad5157a Merge pull request #4904 from vershwal/remove-undo-icon
Hint text for Remove and Undo button.
2018-03-18 18:58:34 -04:00
vershwal 9d9be8fd26 Added button to close Map controls. 2018-03-18 17:17:28 +05:30
vershwal 1c047f5ac8 Added pencil icon. 2018-03-17 20:22:26 +05:30
Bryan Housel efddfd271c More flow coverage of geo submodule
(re: #3744)

also:
- Move types to index and export/import them
- add return types
2018-03-17 09:29:12 -04:00