Commit Graph

2135 Commits

Author SHA1 Message Date
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
Martin Raifer a3e65e553b Merge branch 'colour-preview' into develop 2021-12-01 12:16:42 +01:00
Martin Raifer e4008b4229 show native colour picker when clicking on colour preview
further tweaks:
* hide the box on invalid colours
* only affect field with a tag key that included "colour" separated by ":"
2021-12-01 12:11:13 +01:00
Martin Raifer d062c1b0da emphasise when split affects multiple ways
* new icon with two "sciscors" indicates that there will be more than one split perfomed
* the tooltip mentions that one can limit to a single line

closes #8818
2021-11-30 16:27:56 +01:00
Martin Raifer eec5032251 fix labeling of "reverse" button 2021-11-30 16:22:13 +01:00
Martin Raifer 27ec86c64f fix rendering of validation issues 2021-11-30 15:30:13 +01:00
Martin Raifer 7015fae91c only allow to click on valid website URLs
closes #8827
2021-11-30 15:30:02 +01:00
Milos Brzakovic (E-Search) e91dc1b4f6 states - aria selected/expanded 2021-11-30 14:28:43 +01:00
Milos Brzakovic (E-Search) 041332045d role=button on disclosure 2021-11-30 14:26:42 +01:00
Martin Raifer 195e287923 fix rendering of combobox items 2021-11-30 13:49:24 +01:00