Commit Graph

1220 Commits

Author SHA1 Message Date
Bryan Housel
4c9ef45448 Merge pull request #5149 from vershwal/mvt_test
Some mvt tests.
2018-07-17 01:15:28 -04:00
Bryan Housel
73d0f30453 Merge branch 'notes' 2018-07-16 16:59:35 -04:00
vershwal
213fa3706d Created new file for pbf test in test/data. 2018-07-16 22:10:59 +05:30
Thomas Hervey
7ad765d408 added simple tests for loading and retrieving notes 2018-07-16 10:54:40 -04:00
vershwal
0b32f4c4ee Some mvt tests. 2018-07-15 22:20:43 +05:30
Thomas Hervey
bd1586500e added tests for notes service 2018-07-13 15:01:43 -04:00
Bryan Housel
4fda478f57 Merge branch 'check' of https://github.com/vershwal/iD into vershwal-check 2018-07-09 09:32:15 -04:00
Bryan Housel
de12396654 Fix projection so the map is where the point is
Also remove gj redundancy
2018-07-08 00:50:26 -04:00
Bryan Housel
ef771211b7 Merge branch 'gpxtext' of https://github.com/vershwal/iD into vershwal-gpxtext 2018-07-07 23:28:48 -04:00
Bryan Housel
416ae66f71 Support more direction tags for reversal in Reverse action
(closes #5121)

This commit also refactors some of the logic to make it simpler and more efficient
(removes lodash _transform too) and updates the comment that was out of date.
2018-07-05 14:47:56 -04:00
Tom Hughes
d617d9c588 Fix wikipedia UI tests to mock XHR instead of JSONP 2018-07-04 17:07:27 +01:00
vershwal
73ac628880 gpx tests. 2018-07-04 19:56:51 +05:30
Bryan Housel
535208beb5 Move tests to spec/services/osm.js and remove old notes.js files 2018-07-01 23:35:10 -04:00
Bryan Housel
9517635d4d Merge branch 'master' into notes 2018-06-29 21:54:24 -04:00
Bryan Housel
76d21c8293 stub test/spec/svg/gpx.js 2018-06-29 02:23:42 -04:00
Bryan Housel
3943364852 Merge pull request #5106 from openstreetmap/remove_test_user_mocks
removed: user mocks from image service test specs
2018-06-26 21:11:23 -04:00
Thomas Hervey
dab46d2778 updated: notes rendering 2018-06-22 17:43:07 -04:00
Bryan Housel
0c34ebdfed Dont fetch margin tiles when testing
(spy should be called 1 time, not 25 times)
2018-06-22 15:32:35 -04:00
Thomas Hervey
db1c896ef2 removed: user mocks from image service test specs 2018-06-22 14:00:52 -04:00
Thomas Hervey
e16b411576 added: first test (failing) 2018-06-21 15:26:05 -04:00
Thomas Hervey
db0fe7e539 merged from master 2018-06-21 11:06:57 -04:00
Bryan Housel
4458b94fc5 Add test coverage for streetside service
(closes #5081)
2018-06-19 23:09:06 -04:00
Thomas Hervey
1ed915e69c added: map data notes toggle 2018-06-19 10:31:26 -04:00
Bryan Housel
7de54a3c2b Fix feature test - amenity=shelter no longer matches building rule 2018-06-18 13:58:49 -04:00
vershwal
7919f59a53 Fixed test file layers.js. 2018-06-18 01:30:21 +05:30
Bryan Housel
d24790f17a Merge branch 'master' into jharpster-streetside 2018-06-11 23:51:23 -04:00
Bryan Housel
470835b38f Extract all graphics from iD sprite, reassemble with svg-sprite
All iD sprite graphics are now prefixed with `iD-`
Also includes support for sending the preset logos to taginfo
2018-06-08 16:06:46 -04:00
Bryan Housel
e149c6be8e Remove old Mapillary signs code and assets
(closes #4145)
2018-06-07 01:35:12 -04:00
Bryan Housel
b7997d3c64 Begin replacing mapillary signs html with svg spritesheet
(re: #4145)
2018-06-06 23:16:49 -04:00
Bryan Housel
91dbd6c9c4 Merge branch 'streetside' of https://github.com/jharpster/iD into jharpster-streetside
(also cleanup whitespace and lint)
2018-05-25 16:52:28 -04:00
Bryan Housel
6ed20d7762 actionMergeNodes can just use actionConnect 2018-04-25 22:26:34 -04:00
Bryan Housel
2909162158 Rename merge_way_nodes to merge_nodes, update tests 2018-04-25 20:57:40 -04:00
Bryan Housel
9bf4799b56 Merge branch 'merge-way-nodes-feature' of https://github.com/ferdibiflator/iD into ferdibiflator-merge-way-nodes-feature 2018-04-25 16:19:32 -04:00
Bryan Housel
00e5e8efa0 Avoid reversing osmWays in order to "prefer a forward path"
(closes #4872, related #4859)
2018-04-18 23:43:19 -04:00
Bryan Housel
0efa81f1e8 Fix hover/target cursor tests
(re #4887)
2018-04-18 22:40:26 -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
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
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
540f0f11dd Add failing test for alternate path matching a restrictionID 2018-04-11 00:24:20 -04:00
Bryan Housel
56dba67b42 Add via 2 way tests 2018-04-10 22:11:06 -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
12f7f68dda Fix debug flag test 2018-04-07 22:23:37 -04:00
Bryan Housel
63b73c59b4 Add tests for complex intersections, no/only restrictions, via node/way
(tests cover #4951, #4928, #4849)
2018-03-29 23:13:22 -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
c08d79e488 Extract tag cleaning code to utilCleanTags, add tests
(closes #4925)
2018-03-22 14:46:36 -04:00
Shawna Paradee
2b50d36f65 adding points for streetside images 2018-03-20 13:05:33 -07:00