Commit Graph

136 Commits (23bef68a8f0a3f08ff3a5d22646c26c41a8dbffa)

Author SHA1 Message Date
Richard Lewis 6aa1d923ce Add comment 2017-07-28 16:48:13 +01:00
Richard Lewis 9935dd0051 Add comment to explain "fullWidth" component porperty. 2017-07-28 16:46:21 +01:00
Richard Lewis aff1cd9469 Add allow-presentation permission to iframe sandbox permissions 2017-07-28 11:14:04 +01:00
Richard Lewis d69c9a36b3 Factor out check permissions code. 2017-07-27 23:38:26 +01:00
Richard Lewis 5e23d676b4 Remove comments. 2017-07-27 23:05:43 +01:00
Richard Lewis 51d160e7d6 Hide edit button when user does not have permission to edit. 2017-07-27 20:18:31 +01:00
Richard Lewis ab7fcbb5e7 Add function to determine if a user can modify widgets and style UI components as a result. 2017-07-27 18:10:28 +01:00
Michael Telatynski bf98c0da7c
un-i18n Modal Analytics
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-07-27 17:19:18 +01:00
Richard Lewis 8e4f1f0989 Add message spinner. 2017-07-27 16:41:52 +01:00
Richard Lewis 9f52c13bea Grant permission to load app widget. 2017-07-26 16:47:58 +01:00
Richard Lewis 76f4f88fcd App tile permissions -- broken 2017-07-26 11:28:43 +01:00
Richard Lewis b589fcc3b0 Merge pull request #1240 from matrix-org/rxl881/deleteWidgets
Hide widget panel while it is being deleted.
2017-07-21 11:14:42 +01:00
Richard Lewis 6aa0f68ee9 Show beta testing icon and help message for widgets tile. 2017-07-14 23:31:57 +01:00
Kegsay 5274cf59a0 Hook up the edit widget button (#1218)
* Hook up the edit widget button

* Review comments
2017-07-14 11:17:59 +01:00
Richard Lewis 9a1e7ad170 Hide widget panel while it is being deleted. 2017-07-13 00:27:03 +01:00
David Baker a48c7d2364 Only allow http and https widget URLs 2017-07-12 14:16:47 +01:00
David Baker 918f5abe81 Lint correctly 2017-07-12 10:34:50 +01:00
David Baker 53316a76f4 Sandbox app iframes 2017-07-12 10:22:14 +01:00
Kegsay cf158530f5 Implement new widget API (#1201)
* Implement new widget API

This allows clients to see who provisioned which widgets.

* Update to make state_key the wid

* Update to latest API

* Only show widgets which have required fields

* Don't constantly show apps dialog

* Fix example to include data key
2017-07-11 12:15:27 +01:00
Kegan Dougal 42ba3ff410 Linting 2017-07-06 10:44:32 +01:00
Kegsay e0e321783b Append the scalar_token to the widget URL if the widget URL is a scalar URL (#1182) 2017-07-06 09:28:48 +01:00
Richard Lewis ea83d7eee2 Add missing import and fix apps reference. 2017-06-28 15:53:18 +01:00
Richard Lewis 93bdfc99df i18n "Cancel" alt text. 2017-06-28 12:25:36 +01:00
Richard Lewis ddea1f35d2 Fix header. 2017-06-28 12:23:33 +01:00
Richard Lewis ad2517bd8b Uppercase the first letter of the app tile name. 2017-06-28 10:27:06 +01:00
Richard Lewis e343e99355 Cleaned up unused files and removed commented code 2017-06-27 11:28:38 +01:00
Robert Swain 91eabbba60 MessageComposer: Trigger Jitsi app from call buttons 2017-06-13 15:35:13 +02:00
Robert Swain b63edcb390 AppTile: Support deletion of apps from room state 2017-06-13 15:33:17 +02:00
Robert Swain bcb2f8408b AppTile: Fix typo in property name 2017-06-13 15:32:40 +02:00
Richard Lewis e8353edb06 Disable test postmessag 2017-06-06 15:57:40 +01:00
Richard Lewis dc4f321707 Pass room and user id to apps draw 2017-06-05 18:21:31 +01:00
Richard Lewis c6991fd33c Periodically pass messages to embedded iframe 2017-06-04 23:00:52 +01:00
Richard Lewis dac154f828 Add full width widgets 2017-05-31 10:08:39 +01:00
Richard Lewis ec03cf4de3 disable iframe sandboxing. Remove BBC news iframe 2017-05-30 10:46:51 +01:00
Richard Lewis b111579aed App tile events 2017-05-22 18:00:17 +01:00
Richard Lewis e8837d28ef App tile and app dialog styling 2017-05-22 12:34:27 +01:00