Commit Graph

41 Commits (74628120bfbf70644670bfbc6b37e6fab101df48)

Author SHA1 Message Date
Richard Lewis 53b716bad6 Throw capability request exception. 2018-03-13 10:51:01 +00:00
Richard Lewis b2d23b6999 Switch to 'm.sticker' message events. Allow whitelisting of wisget capabilities. 2018-03-12 13:56:02 +00:00
Richard Lewis b64736aa44 Add listener to close stickerpicker. 2018-02-26 13:43:16 +00:00
Richard Lewis 14d52c9f25 Open integration manager from widget postMessage. 2018-02-26 13:29:16 +00:00
Richard Lewis c93faf7de7 Fix promise wrapping. 2018-02-25 22:21:30 +00:00
Richard Lewis 57b027b776 Fix API names. 2018-02-23 15:11:28 +00:00
Richard Lewis 23bef68a8f Fix duplicate message listeners 2018-01-18 13:16:06 +00:00
Richard Lewis 7b313b7acf Comment logging. 2018-01-04 22:38:52 +00:00
Richard Lewis d20aebfbd7 Correctly handle sticker message events. 2018-01-04 18:58:55 +00:00
Richard Lewis da199da798 Merge branch 'rxl881/snapshot' of https://github.com/matrix-org/matrix-react-sdk into rxl881/snapshot 2018-01-04 18:43:18 +00:00
Richard Lewis 32aecd0630 Fix event call 2018-01-04 18:43:08 +00:00
Richard Lewis eb4053bc99 Handle sticker message payloads 2018-01-04 18:41:47 +00:00
Richard Lewis b85efa08ce Merge branch 'rxl881/snapshot' of github.com:matrix-org/matrix-react-sdk into rxl881/snapshot 2018-01-04 09:53:29 +00:00
Richard Lewis e96d199b28 Inject stickers 2018-01-04 09:53:26 +00:00
Richard Lewis a408b98504 Set widget ID on WidgetMessaging instance. 2017-12-29 14:34:52 +00:00
Richard Lewis 7b59774b34 Update comment. 2017-12-28 17:08:50 +00:00
Richard Lewis 536d4efc40 Fix comments. 2017-12-19 17:11:36 +00:00
Richard Lewis 83f9a4162b Request capabilities (e.g. ability to take snapshots) from widgets. 2017-12-16 09:16:24 +00:00
Richard Lewis e63f5696a6 Screenshot handlers 2017-12-15 21:36:02 +00:00
Richard Lewis 954c6eecd6 Set correct API name. 2017-12-15 19:42:06 +00:00
Richard Lewis 9f733ebc94 Fix binding and promise handling 2017-12-15 16:55:33 +00:00
Richard Lewis 56f497d39e Add comments and outbound postmessage action to request a widget screenshot. 2017-12-15 16:39:04 +00:00
Richard Lewis c234e209fb Add postmessage api and move functions in to class 2017-12-15 15:24:22 +00:00
Richard Lewis e20db416f2 Add field to bypass riot widget loading screen. 2017-12-06 16:44:41 +00:00
Richard Lewis ac36f93c3f Remove logging. 2017-12-05 11:00:38 +00:00
Richard Lewis 59f9e388d4 Remove logging. 2017-12-05 00:11:01 +00:00
Richard Lewis 49a2985515 Register message endpoints.
Store endpoint origins only.
2017-12-05 00:08:17 +00:00
Richard Lewis 8595053d28 Update API data docs. 2017-12-04 18:06:05 +00:00
Richard Lewis df1fa80ff6 Use global object for listener count and messaging endpoints. 2017-12-04 17:54:00 +00:00
Richard Lewis dd7358cbb4 Use strict equality. 2017-12-01 16:39:07 +00:00
Richard Lewis 9dabf19d1b Improve readability. 2017-12-01 16:35:55 +00:00
Richard Lewis 81f7f805fa Fix check 2017-12-01 16:31:39 +00:00
Richard Lewis 024aefe131 Use ES6 style exports. 2017-12-01 16:17:18 +00:00
Richard Lewis 58616a45ef Add API endpoints to get current widget postMessage API version and supported API versions. 2017-12-01 15:56:30 +00:00
Richard Lewis 5239729e8e Return a response to widget postMessage request (inline with scalarMessaging API). 2017-12-01 14:56:27 +00:00
Richard Lewis 81fdccb109 Add API description comment. 2017-12-01 14:44:14 +00:00
Richard Lewis 87eab7573c Handle widget content loaded events. 2017-11-30 12:26:40 +00:00
Richard Lewis be603fecb0 Register and de-register widget postMessage endpoints. 2017-11-30 11:30:30 +00:00
Richard Lewis 2cfbbb000e Refactor messaging listerners. 2017-11-30 10:20:29 +00:00
Richard Lewis 4f5f44ff38 Add widget postmessage API stub. 2017-11-29 22:16:22 +00:00
Richard Lewis b571ab02dc Add widget messaging stub. 2017-11-29 18:11:03 +00:00