Quincy Morgan
e3e3fd1ad3
Fix Wikipedia field test
2019-04-15 15:32:57 -07:00
Quincy Morgan
50a0982d79
Merge pull request #6161 from jguthrie100/fix_closed_way_disconnect
...
Leave way as closed when disconnecting
2019-04-08 11:08:33 -07:00
J Guthrie
bd44cec2e8
Fix broken testcase!
2019-04-08 16:48:27 +01:00
Jamie Guthrie
a29da38230
Remove operationDisconnect test
2019-04-08 16:02:31 +01:00
J Guthrie
57a0358061
Add test cases
2019-04-08 15:19:21 +01:00
Quincy Morgan
6dd9e9ce48
Add code tests for incompatible_source validation
2019-04-05 13:53:57 -07:00
Bryan Housel
d18b951c67
Remove lodash flatten and flattenDeep
...
(re: #6087 )
2019-03-28 10:04:46 -04:00
Bryan Housel
3896b2282f
Remove lodash isNaN, isNumber, isString, bind, uniqBy
...
(re: 6087)
2019-03-27 23:11:45 -04:00
Bryan Housel
3d80e6505f
Remove lodash chunk, groupBy
...
(re: #6087 )
2019-03-27 16:18:41 -04:00
Bryan Housel
c5c0d27c85
Add util functions for set operations
2019-03-26 17:50:00 -04:00
Bryan Housel
4821bf0a68
Remove lodash omit
...
(re: #6087 )
2019-03-26 14:12:45 -04:00
Bryan Housel
9e4cf126c3
Remove unneeded utilGetPrototypeOf and just use Object.getPrototypeOf
2019-03-25 22:16:58 -04:00
Bryan Housel
daaab30d13
Add workaround for Array.from when running in PhantomJS
...
https://github.com/openstreetmap/iD/issues/6087#issuecomment-476219308
Also added `npm run phantom` to test workarounds like this quickly
2019-03-25 12:47:55 -04:00
Bryan Housel
0c7d98673a
Fix form of chai not called assertion
2019-03-25 10:03:27 -04:00
Bryan Housel
26113d0e25
Remove unneeded getOwnPropertySymbols polyfill
2019-03-24 01:48:36 -04:00
Bryan Housel
11bfeaabfc
Add browser-polyfills, remove lodash assign, compact, values
...
(re: #6087 )
2019-03-22 17:14:41 -04:00
J Guthrie
470d6c257d
Update to work on ways going in opposite directions
2019-03-22 15:29:48 -04:00
J Guthrie
d07418c654
Enforce either 0 or 2 selected vertices
2019-03-22 15:29:47 -04:00
J Guthrie
16513b1194
Update operationStraighten.available() function
...
- operationStraighten now allows for two vertices to be selected and straightened between
- Added test cases
2019-03-22 15:29:47 -04:00
J Guthrie
f2722fe95f
Add operationStraighten tests for 2 selected vertices
2019-03-22 15:29:47 -04:00
J Guthrie
5aecfcabc9
Update tests
2019-03-22 15:29:47 -04:00
J Guthrie
067d30227a
Add new test cases
2019-03-22 15:29:47 -04:00
Bryan Housel
c7e375cbd7
Preserve directionality of sided way when joining to non-sided ways
...
(closes #6033 )
2019-03-21 22:19:05 -04:00
Quincy Morgan
b841b0c242
Fix lint errors
2019-03-21 12:04:29 -04:00
Quincy Morgan
a2822caf2f
Add tests for generic_name validation
2019-03-21 12:00:04 -04:00
Quincy Morgan
f03066e580
Add tests for private_data validation
2019-03-21 11:44:30 -04:00
Quincy Morgan
59b1d4d28d
Add tests for unknown_road validation
2019-03-21 11:37:23 -04:00
Quincy Morgan
f114945628
Flag disconnected highway areas and multipolygons ( close #6075 )
...
Don't flag highways connected only to highway multipolygons
2019-03-21 10:13:59 -04:00
Quincy Morgan
7e92f6aa89
Combine vertex and point geometries into a single Point fallback preset
2019-03-18 12:36:20 -04:00
Quincy Morgan
7d0080a642
Persist the photo overlay layers via the URL query string (re: #5813 )
2019-03-14 16:48:08 -04:00
Quincy Morgan
17087f42c8
Adding mechanism for specifying an upgrade path for deprecated presets ( close #6045 )
2019-03-13 17:51:12 -04:00
Quincy Morgan
fb25a44017
Generalize deprecated_tags validation to outdated_tags validation
...
Add check for missing addTags go outdated_tags validation (close #6043 , close #6042 )
2019-03-12 17:08:20 -04:00
Quincy Morgan
93df5d42d9
Flag and upgrade deprecated tags in a semicolon-delimited tag value ( close #6038 )
2019-03-11 10:22:28 -04:00
Bryan Housel
6da2ba7b9d
Make sure pause/resumeChangeDispatch can be called multiple times
2019-03-06 15:41:12 -05:00
Bryan Housel
0ea69548ea
Add history.pauseChangeDispatch / history.resumeChangeDispatch
...
To avoid dispatching change events at improper times
2019-03-06 15:41:12 -05:00
Bryan Housel
322951bdc0
Add polyfill for Object.getOwnPropertySymbols for sinon
...
(closes #6001 )
2019-03-02 18:18:44 -05:00
Bryan Housel
3f8911c149
Merge pull request #5999 from openstreetmap/squarish
...
Improve orthogonalization action
2019-03-01 23:28:23 -05:00
Bryan Housel
fab6bd1d33
Support orthogonalizing a single vertex, add tests
...
(closes #2205 )
2019-03-01 23:20:50 -05:00
Bryan Housel
e64693eea5
Upgrade tests from legacy iD.Difference to iD.coreDifference
2019-03-01 16:03:21 -05:00
Bryan Housel
dd234df05b
Add tests for geoVecNormalize, geoVecNormalizedDot, geoVecProject
2019-03-01 14:09:33 -05:00
Bryan Housel
cb51c16c8f
Expand actionOrthogonalize tests, fix abs issue in canOrthogonalize
2019-03-01 13:45:00 -05:00
Quincy Morgan
4eabf2da07
Add unit tests for old multipolygon validation
2019-02-26 12:09:16 -05:00
Quincy Morgan
8a9399edb7
Add line geometry to traffic_calming=island preset (re: #5945 )
...
Add more unit tests for tag_suggests_area
Replace "finds" with "flags" in validation unit test labels
2019-02-26 11:30:03 -05:00
Quincy Morgan
12d770a05e
Add unit tests for missing role validation
2019-02-26 11:00:00 -05:00
Quincy Morgan
1f21b029fd
Move tag upgrade fix to an action and add unit tests
2019-02-26 10:42:12 -05:00
Quincy Morgan
12b1af7002
Don't say tags imply area for tags that iD doesn't have a preset for ( close #5933 )
2019-02-25 12:42:39 -05:00
Quincy Morgan
12a44421c3
Account for indoor features in crossing ways validation
...
Recommend using an appropriate structure/layer/level for crossing ways validation
Flag crossing highways on different levels but without bridges or tunnels
2019-02-19 11:43:05 -05:00
Quincy Morgan
c7e861c0ca
Merge branch 'master' into validation
2019-02-14 12:16:23 -05:00
Bryan Housel
c4fe42653a
s/coordinates/loc and replace legacy names in tests
...
In iD codebase `loc` is usually a single coordinate pair
and `coordinates` is usually an array of pairs
2019-02-12 21:18:25 -05:00
Quincy Morgan
bc5912881b
Add code tests for hidden boundary relation members (re: #5601 )
2019-02-11 16:31:51 -05:00