discourse/app
Martin Brennan cecdef83a8
FIX: Fall back to clipboard.writeText if ClipboardItem not supported (#16419)
Firefox does not support window.ClipboardItem yet (it is behind
a flag (dom.events.asyncClipboard.clipboardItem) as at version 87.)
so we need to fall back to the normal non-async clipboard copy, that
works in every browser except Safari.

This commit also tests the clipboardCopyAsync function by stubbing out
the clipboard on the window.navigator.

This fixes an issue in the discourse-chat plugin, where the
"Quote in Topic" button errored in Firefox.
2022-04-11 13:00:45 +10:00
..
assets FIX: Fall back to clipboard.writeText if ClipboardItem not supported (#16419) 2022-04-11 13:00:45 +10:00
controllers SECURITY: Category group permissions leaked to normal users. 2022-04-08 13:46:20 +08:00
helpers FIX: include crawler content on old mobile browsers (#16387) 2022-04-06 11:09:12 +01:00
jobs FIX: Do not attempt to pull_hotlinked_image for raw_html 2022-04-05 16:39:38 +08:00
mailers FEATURE: Allow sending group SMTP emails with from alias (#15687) 2022-02-07 13:52:01 +10:00
models FIX: Prevent duplicates in API scope allowed URLs 2022-04-07 02:09:11 +03:00
serializers SECURITY: Category group permissions leaked to normal users. 2022-04-08 13:46:20 +08:00
services FIX: Exclude automatic anchors from search index (#16396) 2022-04-06 16:06:45 -04:00
views UX: Make header/footer HTML consistent for crawler and noscript 2022-04-07 15:27:06 +01:00