Commit Graph

10984 Commits

Author SHA1 Message Date
Quincy Morgan c8c7d86e13 Add line geometry to tourism=attraction preset 2019-03-27 13:29:01 -04:00
Quincy Morgan bf31d86868 Merge pull request #6120 from prateeklal/flood-prone
Added checkbox for flood_prone key #6117
2019-03-27 13:14:51 -04:00
Quincy Morgan 4afd29a50a Hide ribbon and favoriting UI for now 2019-03-27 13:12:28 -04:00
Prateek Lal ee20d579c1 Added checkbox for flood_prone key #6117 2019-03-27 14:01:05 -03:00
Quincy Morgan d76baa9b83 Deprecated shop=fashion and shop=boutique (close #6109)
Add clothing-related search terms to Clothing Shop preset
2019-03-27 09:53:26 -04:00
Bryan Housel 8d210e8adb Remove lodash indexOf
(re: 6087)
2019-03-27 09:45:53 -04:00
Bryan Housel 710966801f Make sure community index filters on value array, not object
(closes #6092)

This is breakage related to #6087 in replacing lodash `_.filter`
(which can iterate (v,k) over an object) with `Array.filter`
2019-03-27 09:34:38 -04:00
Quincy Morgan 7f56a34b16 Add Building Part preset (close #6114) 2019-03-27 09:31:46 -04:00
Bryan Housel 31ae7fc800 Make sure hashtag checkers work with arrays and not nulls
(closes #6116)

This is breakage related to #6087 in replacing _.uniqBy with a Set
The lodash functions are much more tolerant of nulls and dodgy inputs.
2019-03-27 09:20:19 -04:00
Bryan Housel 5b4aa529de Replace lodash uniq
(re: 6087)
2019-03-27 02:43:25 -04:00
Bryan Housel 5e1ff74199 Replace lodash difference, intersects, union
(re: 6087)
2019-03-27 01:22:11 -04:00
Bryan Housel c5c0d27c85 Add util functions for set operations 2019-03-26 17:50:00 -04:00
Quincy Morgan bab9e6b2b4 Add uninstall functions to several toolbar items
Tweak toolbar item spacing
2019-03-26 16:36:30 -04:00
Quincy Morgan 67fc051632 Tweak newFeature in select mode 2019-03-26 16:34:23 -04:00
Bryan Housel 4821bf0a68 Remove lodash omit
(re: #6087)
2019-03-26 14:12:45 -04:00
Quincy Morgan e916d18473 Merge branch 'master' of https://github.com/openstreetmap/iD 2019-03-26 12:25:10 -04:00
Quincy Morgan db061d0dff Make the RTL shortcuts for recent and favorite presets the same as LTR (close #6107) 2019-03-26 12:24:39 -04:00
Bryan Housel 33a40f59eb Remove lodash includes and reduce from address.js
(re #6087)
2019-03-26 12:20:58 -04:00
Bryan Housel 5b9707004f Remove lodash includes from graph, switch parentWays/parentRels to Set
(re: #6087)
2019-03-26 11:55:38 -04:00
Bryan Housel 9e4cf126c3 Remove unneeded utilGetPrototypeOf and just use Object.getPrototypeOf 2019-03-25 22:16:58 -04:00
Bryan Housel eb0d0a35d1 Remove lodash pull
(re: #6087)
2019-03-25 22:03:39 -04:00
Bryan Housel 1ce4f0ad6a Remove lodash without
(re: #6087)
2019-03-25 21:56:54 -04:00
Quincy Morgan 5947272b91 Fix search results popover z-index 2019-03-25 17:35:51 -04:00
Quincy Morgan 2895ff9405 Break modes toolbar item into add favorites and add recent items 2019-03-25 17:00:33 -04:00
Quincy Morgan f8b8739855 Add optional uninstall function to tools 2019-03-25 13:48:59 -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
Quincy Morgan 776bf103d8 Reorganize toolbar code 2019-03-25 12:25:04 -04:00
Quincy Morgan c5e66816d3 Add labels to toolbar items (close #6098) 2019-03-25 11:45:51 -04:00
Bryan Housel 230e5d6aab Add more osmarender tags to discarded.json
(re: https://github.com/openstreetmap/iD/pull/6091#issuecomment-475982320)
2019-03-25 10:28:39 -04:00
Bryan Housel 9d27c806a2 Merge pull request #6091 from matkoniecz/kill-osmarender_nameDirection
Add osmarender:nameDirection to discarded tags
2019-03-25 10:27:19 -04:00
Bryan Housel 0c7d98673a Fix form of chai not called assertion 2019-03-25 10:03:27 -04:00
Quincy Morgan cd0762e9b9 Add Incline field to more highway presets 2019-03-25 09:48:34 -04:00
Quincy Morgan a126045b49 Add "room" field to indoor=room preset 2019-03-25 09:30:33 -04:00
Quincy Morgan 7fac65899f Remove "entrance" tag and add "door" tag to indoor/door preset (close #6089)
Add Door field to Entrance/Exit preset
2019-03-25 09:21:17 -04:00
Bryan Housel b5c2918a24 Remove lodash without and others from history imageryUsed
(re: #6087)

I ran into some trouble here, it looks like `Array.from()` polyfill
doesn't work for Sets in PhantomJS
2019-03-24 01:50:54 -04:00
Bryan Housel 963a4127db Remove lodash remove
(re: #6087)
2019-03-24 01:50:32 -04:00
Bryan Housel 26113d0e25 Remove unneeded getOwnPropertySymbols polyfill 2019-03-24 01:48:36 -04:00
Bryan Housel 5280d07bad Remove lodash reject (re: #6087) 2019-03-23 12:51:13 -04:00
Mateusz Konieczny decbe4f853 Add osmarender:nameDirection to discarded tags
There is currently ongoing discussion on talk mailing list about my proposed automatic edit that proposed to remove it.

It seems to be that there is a consensus to eliminate this tag (as unwanted rendering instruction for no longer existing renderer), but not everybody is happy about using bot edits. It was proposed to silently discard it during editing like created_by tag.

JOSM added this tag to list of automatically discarded ones - see https://josm.openstreetmap.de/changeset/14916/josm
2019-03-23 14:26:02 +01:00
Bryan Housel 76e0d13729 Remove lodash every and filter
(re: #6087)
2019-03-23 01:22:56 -04:00
Bryan Housel 7a6c63fcc5 Remove lodash extend (re: #6087) 2019-03-23 00:38:39 -04:00
Bryan Housel 7e6f68a1b2 Remove lodash some
(re: #6087)
2019-03-23 00:07:52 -04:00
Bryan Housel 0e90167513 Remove lodash clone
(re: #6087)
2019-03-22 23:18:25 -04:00
Bryan Housel ff4f8f005f Remove lodash find and findIndex
(re: #6087)
2019-03-22 17:31:41 -04:00
Bryan Housel 11bfeaabfc Add browser-polyfills, remove lodash assign, compact, values
(re: #6087)
2019-03-22 17:14:41 -04:00
Bryan Housel 547267d7b6 Improve highway=track icon
(closes #6088)
2019-03-22 15:53:01 -04:00
Bryan Housel f6c284a3be Minor code cleanups, swap some math for existing functions 2019-03-22 15:29:48 -04:00
J Guthrie 97dc659b0f Fixed linting - moved function out of loop 2019-03-22 15:29:48 -04:00
J Guthrie 9d452c9ffe Fix lint issue 2019-03-22 15:29:48 -04:00
J Guthrie c3295cc174 Remove left over logging statements 2019-03-22 15:29:48 -04:00