Commit Graph

4384 Commits

Author SHA1 Message Date
Martin Raifer
2ca52e75ce Do not overwrite existing *=no tags by a preset's addTags 2022-05-24 14:18:17 +02:00
William Edmisten
67bd692bc0 Add multilingual field exceptions (#9124)
* Add multilingual field exceptions

* Add name:etymology

* Match language code in regex

* Restrict ISO 15924 code to 4 letters

* Allow country codes in name subkeys; match key case sensitively

Co-authored-by: Minh Nguyễn <mxn@1ec5.org>
2022-05-21 15:09:41 -07:00
Martin Raifer
5d2c5e63a5 lint, add to changelog 2022-04-19 11:47:43 +02:00
Milos Brzakovic (E-Search)
2b42adc06d validator reset deferred promise cleanup 2022-03-08 10:48:27 +01:00
Martin Raifer
352f244d68 trim hash part from custom imagery source URLs
before trying to detect the imagery source's type, fixes #8822
2022-02-16 21:57:03 +01:00
Martin Raifer
04a07092d2 Handle more "hybrid" area+line tags as area-by-default, fixes #8985 2022-02-16 15:56:28 +01:00
Martin Raifer
cd4f4f37f1 clear "None" placehoder in fields, fixes #8984 2022-02-15 18:34:30 +01:00
Martin Raifer
09d98b7095 slighty penalize non-searchable presets
as a tie-breaker in case a searchable preset also matches the same object,
see https://github.com/openstreetmap/id-tagging-schema/issues/399#issuecomment-1039902506
2022-02-15 12:25:27 +01:00
Martin Raifer
bd1836fd0c fix maki icons, tweak rendering of icons
* maki v7+ doesn't have provide "11px" icons anymore
* use 12px for icons on points & vertices on map (instead of 11px)
* use 12px for icons on QA tool (improveOSM, osmose) markers (instead of 13px)
* drop some unused code
2022-02-14 18:07:27 +01:00
Kyℓe Hensel
72af994b2c remove other token formats from imagery_used (#8976) 2022-02-11 20:00:05 +01:00
Martin Raifer
4fb490abfa fix rendering of html content in turn restriction editor 2022-02-11 17:24:21 +01:00
Martin Raifer
3d427df6d6 disable eslint for purposefully unused parameter 2022-02-11 17:01:01 +01:00
Martin Raifer
22bd62836d try key codes for all non-ascii input characters 2022-02-11 16:18:53 +01:00
Martin Raifer
bb3ab9257a Fix broken ⌥+w keyboard shortcut on MacOS in some keyboard layouts (#8905) 2022-02-11 16:00:52 +01:00
Martin Raifer
ad67f81cfd code quality improvements (unused vars, duplicate css selectors, etc.) (#8965)
* mark function parameter as currently unused
* refactor some unused function parameters
* consolidate some css selectors
2022-02-07 15:30:53 +01:00
Martin Raifer
04f77be5bc fix KeepRight warnings showing up as "Unknown" issues (close #8925) 2022-02-07 10:42:36 +01:00
Martin Raifer
fe15d69b0c fix rendering of keepright issues, fixes #8963 2022-02-07 10:19:31 +01:00
Martin Raifer
8e8d00ae8b more generously apply pattern for surface=grass/sand
and make golf=rough distinguishable from golf=fairway
2022-02-04 19:24:16 +01:00
Martin Raifer
37bc3025b6 render (some) golf features like grass areas (closes #8927) 2022-02-04 19:16:18 +01:00
Martin Raifer
d7cdab7f19 bump 'marked' to v4
closes #8952

see https://github.com/markedjs/marked/releases/tag/v4.0.0
2022-02-04 17:22:22 +01:00
Martin Raifer
609c9f63a8 make string "changelog" in welcome message translatable
closes #8948
2022-02-04 09:44:23 +01:00
Martin Raifer
f7d1459c97 Use value of vehicle tag as placeholder in derived access fields
see https://github.com/openstreetmap/id-tagging-schema/issues/378
2022-02-03 19:27:32 +01:00
Martin Raifer
6a9e0997c7 Handle indoor features like buildings when checking for crossing ways
see https://github.com/openstreetmap/iD/issues/8944#issuecomment-1029213558
2022-02-03 19:11:27 +01:00
Martin Raifer
fcd8a2b2e7 optimize order of values of access fields (closes #8945) 2022-02-03 18:46:42 +01:00
Martin Raifer
f6e4596b59 remove now unneeded refrences to and workarounds for phantomJS 2022-02-03 13:12:00 +01:00
Martin Raifer
632e24137a drop legacy builds, unneeded polyfills, document drop of IE11 support 2022-02-03 13:07:28 +01:00
Martin Raifer
b79cae5997 Merge branch 'issue-8930' into develop 2022-02-02 19:01:57 +01:00
Martin Raifer
d340a7dec5 Merge branch 'issue-8928' into develop 2022-02-02 19:01:33 +01:00
Martin Raifer
51f825c11e fix warning when local storage quota is exceeded 2022-02-02 18:57:13 +01:00
Martin Raifer
6c2f9a8f7d fix rendering of html of improveOSM issues 2022-02-02 18:55:33 +01:00
Martin Raifer
f990d5ac87 fix rendering of html of keepright issues 2022-02-02 18:55:33 +01:00
Martin Raifer
9bca3fff20 Set development version number 2022-01-31 17:24:40 +01:00
Martin Raifer
a04edad1c3 v2.20.3 2022-01-31 17:14:54 +01:00
ᴄʜʀɪsᴛᴏᴘʜᴇʀ ᴍᴇɴɢ
eb82698fa5 Remove accidental mismatch of "PAMAP" (#8889) 2022-01-28 15:34:19 +01:00
Martin Raifer
8c54287815 Merge remote-tracking branch 'k-yle/oneway-seamarks' into develop 2022-01-28 13:27:32 +01:00
Martin Raifer
fca9a67a6c Merge remote-tracking branch 'jtracey/accepted-file-types' into develop 2022-01-28 13:16:49 +01:00
Martin Raifer
55d38eba67 also render proposed paths, etc. with a thinner line
see #8913
2022-01-28 13:09:07 +01:00
Martin Raifer
d383f01351 Merge remote-tracking branch 'k-yle/8743-render-path-construction' into develop 2022-01-28 12:44:15 +01:00
Martin Raifer
e9cf283447 Merge remote-tracking branch 'hodigabi/issue-8871' into develop 2022-01-28 12:34:39 +01:00
Martin Raifer
ee30fb2371 Merge pull request #8907 from hodigabi/issue/8906
[Issue8906] Fix broken html in the Area part of the Walkthrough
2022-01-28 11:33:41 +01:00
Martin Raifer
765e8e3448 activate new access values (#8876) 2022-01-25 20:41:23 +01:00
Justin Tracey
3ec9a6cb6f only show accepted file types in custom data file chooser 2022-01-24 19:36:08 -05:00
Kyle Hensel
49e641dc9e render paths under construction thinner than roads 2022-01-24 16:31:16 +13:00
Gabor Hodi
2ecce0e47e [Issue8871] Do not open disabled localized combobox when clicking on it 2022-01-23 18:51:14 +01:00
Gabor Hodi
29697aa728 [Issue8906] Fix broken html in the Area part of the Walkthrough 2022-01-20 18:29:53 +01:00
Kyle Hensel
35e528946d seamark:type=separation_lane implies oneway 2022-01-07 18:05:26 +13:00
Martin Raifer
282695325c fix html injection in walkthrough
closes #8846
2021-12-29 09:59:45 +01:00
Bryan Housel
d1410bce00 perf: Compare regexes as strings otherwise they look different each frame
Regexes are objects so comparing them with === will always return false
This was causing the sources to be rechecked every frame.
2021-12-22 11:28:07 -05:00
Martin Raifer
69aa69153d fix html in tooltip on hidden presets 2021-12-15 13:11:16 +01:00
Martin Raifer
fe4f5c9548 add "cai_scale" to tags with upper case values
fixes #8706
2021-12-14 15:53:34 +01:00