element-portable/src/components/views
Oliver Sand 2e6f616e91
Allow downloads from widgets (#7502)
Notes: Allow downloads from widgets.

We are working on a widget that allows the user to download a file (a ICS calendar entry). Right now the sandbox of the widget iframe doesn't allow downloading. Instead, the following error is displayed in the console (for Google Chrome):

```
Download is disallowed. The frame initiating or instantiating the download is sandboxed, but the flag ‘allow-downloads’ is not set. See https://www.chromestatus.com/feature/5706745674465280 for more details.
```

Therefore this PR adds `allow-downloads` to the sandbox capabilities.

Steps to reproduce:
1. Create a simple widget with an `index.html` file like, e.g.
   ```
     <a href="index.html" download>Download</a>
   ```
2. Host the widget somewhere, add it to the room and open the widget
3. Click on the download button
  * Without the fix: Nothing happens, there is a warning in the console (see above)
  * With the fix: The file is downloaded

Signed-off-by: Oliver Sand <oliver.sand@nordeck.net>
2022-01-20 16:52:06 -07:00
..
audio_messages Auto fix 2021-10-22 17:23:37 -05:00
auth A11y - fix anchors-as-buttons (#7444) 2022-01-07 10:40:53 +01:00
avatars History based navigation with new right panel store (#7398) 2022-01-05 17:25:41 +01:00
beta Change spaces beta feedback to not be so beta-centric 2021-07-23 15:47:11 +01:00
context_menus Replace home icon with new one (#7571) 2022-01-18 15:29:01 +00:00
dialogs Fix wrong icon being used for appearance tab in space preferences dialog (#7570) 2022-01-18 17:56:49 -07:00
directory Improve ThreadPanel ctx menu accessibility (#7217) 2021-11-29 17:42:53 +00:00
elements Allow downloads from widgets (#7502) 2022-01-20 16:52:06 -07:00
emojipicker Use lazy rendering in the AddExistingToSpaceDialog (#7369) 2021-12-15 09:55:53 +00:00
groups Right panel store refactor (#7313) 2022-01-05 16:14:44 +01:00
host_signup Auto fix 2021-10-22 17:23:37 -05:00
location Set initial zoom level to 1 to make zooming to location faster (#7541) 2022-01-14 12:21:22 +00:00
messages Enable the polls feature (#7581) 2022-01-20 09:40:47 +00:00
right_panel Replace kick terminology with Remove from chat (#7469) 2022-01-14 13:08:34 +00:00
room_settings Disable "Publish this room" option in invite only rooms (#7441) 2022-01-10 11:46:30 +00:00
rooms Show a tile at beginning of visible history (#5887) 2022-01-20 09:51:31 +00:00
settings Fix /jumptodate using wrong MSC feature flag (#7563) 2022-01-18 09:51:25 -06:00
spaces Wrap inputs in fieldsets in Space visibility settings (#7350) 2022-01-06 10:09:26 +00:00
terms Merge branch 'develop' into sort-imports 2021-12-09 08:34:20 +00:00
toasts History based navigation with new right panel store (#7398) 2022-01-05 17:25:41 +01:00
typography Add Heading components (#7362) 2021-12-15 11:00:10 +01:00
verification Consistently use the word "device", rather than "session" or "login", in verification dialog (#7474) 2022-01-06 16:57:49 -05:00
voip truncate room name on pip header (#7538) 2022-01-14 10:37:30 +00:00