Commit Graph

4428 Commits

Author SHA1 Message Date
Kyℓe Hensel
81f3b0666c support incrementing cardinal directions with the 🔼/🔽 buttons (#9141) 2022-07-15 16:48:47 +02:00
Martin Raifer
03d6bb0f55 fix some boundaries not hidden by the filter, closes #9171 2022-07-15 16:24:05 +02:00
Martin Raifer
7c9b47edb5 fix typo in flash module, make linter happy 2022-07-11 20:26:05 +02:00
Martin Raifer
7d546a8f60 refactor further modules to not rely on html injection 2022-06-24 19:31:41 +02:00
Martin Raifer
209cc23d92 don't inject html code in preset names 2022-06-24 19:11:00 +02:00
Martin Raifer
8bb1d39431 refactor validation modules to not inject html 2022-06-24 13:25:56 +02:00
Martin Raifer
6626ea0682 refactor panels to not inject html 2022-06-24 12:19:17 +02:00
Martin Raifer
28eae9ed87 refactor uiSections to not inject html 2022-06-24 11:45:54 +02:00
Martin Raifer
85022dcc6c render operations texts with lang attribute 2022-06-23 19:23:16 +02:00
Martin Raifer
ac77289b4d refactor localized text rendering in tooltips, flash messages 2022-06-23 18:55:57 +02:00
Martin Raifer
422861dbc7 render background source labels as text, not html 2022-06-23 10:56:17 +02:00
Martin Raifer
9576e95d83 change label of ui fields from raw html to a callback function
fixes #9159
2022-06-23 10:49:38 +02:00
Martin Raifer
edf711ca2b fix rendering of chip labels in localizable multiCombo fields
closes #9169
2022-06-22 14:57:58 +02:00
Martin Raifer
38dc298caa Merge remote-tracking branch '1ec5/1ec5-multicombo-raw-9164' into develop 2022-06-22 14:49:39 +02:00
Martin Raifer
5ce8eb139c add fallback values for access field for barriers 2022-06-20 19:03:50 +02:00
Martin Raifer
69edff39f0 fix missing vertex icon, improve fallback icons for untagged objects
closes #9157
2022-06-20 11:19:59 +02:00
Minh Nguyễn
2433664063 Fixed tagging of localizable keys by multiCombo fields 2022-06-15 16:49:26 -07:00
Minh Nguyễn
dc2e83ccaa Removed dotall regex flag (#9165)
Fixes compatibility with Chrome 61, Firefox 77, Safari 11.
2022-06-16 00:32:20 +02:00
Martin Raifer
977d680b3e fix "what's new" icon, fixes #9151 2022-06-14 11:52:11 +02:00
Kyℓe Hensel
e9759bd425 treat chipseal as a paved surface (#9139) 2022-06-09 18:20:08 +02:00
Martin Raifer
d787b2e055 fix rendering of relation membership combo dropdown 2022-06-06 17:03:32 +02:00
Kyℓe Hensel
a4ebc389e1 no auto complete for the via tag (#9140) 2022-06-06 16:54:08 +02:00
paulklie
ab96c3576f #8419 memorial stolperstein are ignored for close node check (#9089) 2022-06-06 16:50:45 +02:00
CommanderRoot
76738daff8 Replace deprecated String.prototype.substr() (#8988)
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-06-06 16:16:38 +02:00
Martin Raifer
c6a802b177 render lang attribute on combo field "chips" 2022-06-06 16:01:57 +02:00
Kyℓe Hensel
724462ec47 consider lifecycle prefixes in osmTagSuggestingArea (#8881) 2022-06-06 15:56:31 +02:00
Martin Raifer
8f79932ab1 prevent html injection in combobox dopdowns
and use returned wikidata label language for html `lang` metadata
2022-06-06 12:47:14 +02:00
Bryan Housel
b44c7e8741 Fix display of Wikidata combo field items 2022-06-06 12:44:58 +02:00
mukesh
180e554b7d Fixed bug Wikidata field displays [object Object] 2022-06-06 12:44:57 +02: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
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