2444 Commits

Author SHA1 Message Date
Minh Nguyễn
2433664063 Fixed tagging of localizable keys by multiCombo fields 2022-06-15 16:49:26 -07:00
Martin Raifer
977d680b3e fix "what's new" icon, fixes #9151 2022-06-14 11:52:11 +02:00
Martin Raifer
d787b2e055 fix rendering of relation membership combo dropdown 2022-06-06 17:03:32 +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
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
Minh Nguyễn
27f665b326 Ignore invalid units in field input 2022-06-03 08:04:57 -07: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
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
5810b61d5c Imply access=no for highway=construction objects, closes #9102 2022-05-24 14:39:02 +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
cd4f4f37f1 clear "None" placehoder in fields, fixes #8984 2022-02-15 18:34:30 +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
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
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
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
fcd8a2b2e7 optimize order of values of access fields (closes #8945) 2022-02-03 18:46:42 +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
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
fca9a67a6c Merge remote-tracking branch 'jtracey/accepted-file-types' into develop 2022-01-28 13:16:49 +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
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
Martin Raifer
282695325c fix html injection in walkthrough
closes #8846
2021-12-29 09:59:45 +01:00
Martin Raifer
69aa69153d fix html in tooltip on hidden presets 2021-12-15 13:11:16 +01:00
Milos Brzakovic (E-Search)
e2f2568c83 translate background nudge title 2021-12-07 17:16:26 +01:00
Martin Raifer
cc6f16d480 Merge branch 'develop' into accessible_ui 2021-12-07 16:22:01 +01:00
Jason Ghent
8111e5d427 clearer labels for OSM links in history panel (#8834) 2021-12-07 12:45:13 +01:00
Martin Raifer
144f3e9d22 Merge remote-tracking branch 'k-yle/custom-data-numbers-bug' into develop 2021-12-07 12:24:23 +01:00
Martin Raifer
4658df64e9 include privacy settings in splash modal
see #8831
2021-12-03 18:11:29 +01:00
Martin Raifer
b4bc7f49bb allow to change the key of a multi-valued tag
fixes #8836
2021-12-03 15:19:07 +01:00
Martin Raifer
250763882d fix code lint issues 2021-12-02 18:46:14 +01:00
Milos Brzakovic (E-Search)
6337e4d769 aria-pressed on modes/notes tablist/tab on raw_tag 2021-12-02 16:31:41 +01:00
Milos Brzakovic (E-Search)
8eba5db4e3 polish h2 .css, center header in shortcuts 2021-12-02 14:10:08 +01:00
Martin Raifer
b2d0ad680a fix icons not displaying correctly in walkthrough 2021-12-02 10:10:19 +01:00
Milos Brzakovic (E-Search)
30ef0b80e1 headings - more appropriate h2's and disclosure h3 2021-12-01 18:17:19 +01:00