5051 Commits

Author SHA1 Message Date
Brian Vercelli cab5dfe861 added local storage for map hash, will now load last used map hash for user on map init 2022-06-03 14:24:57 -07:00
Martin Raifer 4bc770fb64 Set development version number 2022-06-03 17:26:05 +02:00
Minh Nguyễn 27f665b326 Ignore invalid units in field input 2022-06-03 08:04:57 -07:00
Martin Raifer 24c48627ac v2.21.0 2022-06-03 13:57:37 +02:00
Martin Raifer 280acfa661 Replace RapiD credentials with iD credentials 2022-06-02 14:46:11 +02:00
Bryan Housel 34a2af0330 Give user the opportunity to switch users when logging out
OAuth2's idea of "logout" is just to get rid of the bearer token.
If we try to "login" again, it will just grab the token again.
What a user probably _really_ expects is to logout of OSM so that they can switch users.
2022-06-02 13:29:41 +02:00
Bryan Housel 43fe6e9579 Update account component - Add ability to both login and logout 2022-06-02 13:07:50 +02:00
Bryan Housel 6058f89460 Upgrade to osm-auth v2 which uses OAuth2 to connect to OSM API 2022-06-02 13:07:50 +02:00
Kyle Hensel 8a4261ed7a always use the ref as the label 2022-05-29 20:04:35 +12:00
Milos Brzakovic 66c5007fc2 Update bing imagery key and api urls. Interval limiting for tiles vintage (#9133)
update bing imagery key, template, api url
BasicMetadata for vintage
handled 429 in getMetadata
2022-05-25 18:49:35 +02:00
Josh Lee 0c69018f96 Fix xss in user account display (#9097)
Only affects currently logged in user who has put HTML in their display name.

#8813
2022-05-25 13:47:11 +02:00
Martin Raifer 4a55249dee fix code style issues 2022-05-25 13:45:55 +02:00
Martin Raifer 29d4ab6866 search presets by tag "key=value" syntax
closes #8869
2022-05-25 10:58:08 +02:00
Martin Raifer d486ab197d sort preset search results by matching aliases, add tests 2022-05-25 10:25:29 +02:00
Martin Raifer 8796a412f8 support aliases in preset search
closes #6139
2022-05-24 17:15:01 +02:00
Martin Raifer b4d0f0cf9d render horse riding centers like farmyards
closes #9118
2022-05-24 15:54:53 +02:00
Martin Raifer 5810b61d5c Imply access=no for highway=construction objects, closes #9102 2022-05-24 14:39:02 +02:00
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