Commit Graph

230 Commits

Author SHA1 Message Date
Travis Ralston
9cc1454527 Merge branch 'master' into travis/msc2140-tos 2019-07-10 22:22:50 -06:00
Travis Ralston
2737850e6f Format web code 2019-07-10 22:17:16 -06:00
Travis Ralston
c5108da67b Rename MSC things to be Matrix things 2019-07-10 22:10:10 -06:00
Benno Evers
ee72ba7579 Add non-emptiness check for array.
The unconditional access to `widgets.response[0]` would fail if
results was null or empty, leading to an exception that prevented
replacing the sticker picker.
2019-07-09 23:54:36 +02:00
Benno Evers
7c1b0094b5 Always show dialog to add new sticker packs when custom packs are enabled.
The text box allowing a user to add a new sticker pack was behind
a `packs > 0` check, making it impossible to add new packs unless
at least one other pack was already present.
2019-07-09 23:54:11 +02:00
Travis Ralston
6c6ae5c5ed Render terms of service as a widget 2019-07-06 15:40:32 -06:00
Travis Ralston
1c8b523114 Support editing and publishing terms 2019-07-06 15:22:47 -06:00
Travis Ralston
b9e616639e Support creating drafts of policies 2019-07-04 22:55:13 -06:00
Travis Ralston
77d34197c9 Early mockup of admin management for policies 2019-07-01 20:49:44 -06:00
Travis Ralston
a11e57db31 Early terms management UI 2019-06-30 23:05:33 -06:00
Travis Ralston
293097f6fb Use new etherpad domain 2019-06-29 00:51:26 -06:00
Travis Ralston
f83268fbbc Upgrade angular 2019-06-29 00:40:24 -06:00
Travis Ralston
b79005d868 Use the new angular HttpClient 2019-06-29 00:21:56 -06:00
Travis Ralston
109bceb924 Make ngbtooltip happier and not remount
When we use detectChanges(), ngbTooltip gets annoyed at us and stops working correctly. This commit also cleans up some of the attributes on the sticker button.

Fixes https://github.com/turt2live/matrix-dimension/issues/276
2019-04-17 22:58:18 -06:00
Travis Ralston
a3952a880c Don't replace sticker picker unless we have to 2019-04-17 22:57:30 -06:00
Travis Ralston
52f3c72db6 Add a bit of safety around the IRC bridge and other integrations 2019-04-13 16:31:02 -06:00
Travis Ralston
0c66f0f5d2 Don't let the title attribute carry into child elements 2019-04-13 16:29:53 -06:00
Travis Ralston
5a7997450d Upgrade web packages too 2019-04-13 14:37:56 -06:00
Travis Ralston
f8b7f9dd82 Acknowledge OpenID credentials are received
This stops Riot from printing irrelevant stack traces
2019-04-01 19:40:40 -06:00
Travis Ralston
0c0429df46 Merge branch 'travis/token-security' 2019-03-27 08:30:12 -06:00
Travis Ralston
71a1491548 Ensure stickers actually load when the widget is reopened 2019-03-25 22:48:24 -06:00
Travis Ralston
97fb43d233 Use m.* widget types where possible
Fixes https://github.com/turt2live/matrix-dimension/issues/260
2019-03-24 18:03:21 -06:00
Travis Ralston
4e414d8236 Unpack Etherpad widgets from scalar correctly
Fixes https://github.com/turt2live/matrix-dimension/issues/142
2019-03-24 17:45:55 -06:00
Travis Ralston
f10abf95e5 Add a url parameter to all widgets for compatibility
Fixes https://github.com/turt2live/matrix-dimension/issues/181
Fixes https://github.com/turt2live/matrix-dimension/issues/177
Fixes https://github.com/turt2live/matrix-dimension/issues/180
Part of https://github.com/turt2live/matrix-dimension/issues/141
2019-03-24 17:30:19 -06:00
Travis Ralston
3ab0bbbfd2 Use template variables and convert Google Calendar widgets to new format
Fixes https://github.com/turt2live/matrix-dimension/issues/179

Part of https://github.com/turt2live/matrix-dimension/issues/141
2019-03-24 16:56:14 -06:00
Travis Ralston
5f6658a194 Use template variables and proper data attributes for Jitsi
Fixes https://github.com/turt2live/matrix-dimension/issues/176
Part of https://github.com/turt2live/matrix-dimension/issues/141
2019-03-24 15:37:39 -06:00
Travis Ralston
a529fc5f9f Fix 'no stickerpacks' placeholder to not have a scrollbar 2019-03-24 15:09:40 -06:00
Travis Ralston
2a5351404f Try requesting the user's identity when the stickerpick fails to auth
Fixes https://github.com/turt2live/matrix-dimension/issues/259
2019-03-24 15:07:03 -06:00
Travis Ralston
5e50e9641c Use new utility functions in reauth demo 2019-03-24 14:52:55 -06:00
Travis Ralston
bb874b1fa0 Add an integration manager test widget
Fixes https://github.com/turt2live/matrix-dimension/issues/244
2019-03-24 14:37:51 -06:00
Travis Ralston
83b2062d87 Move API version check to CapableWidget 2019-03-24 13:13:30 -06:00
Travis Ralston
630a236d7d Always add the stickerpicker widget when importing packs
Fixes https://github.com/turt2live/matrix-dimension/issues/255
2019-03-23 18:44:06 -06:00
Travis Ralston
0405d76ebf Add some documentation for custom stickers and support disabling them 2019-03-20 23:53:10 -06:00
Travis Ralston
147ef2104e Support custom stickerpacks 2019-03-20 22:32:29 -06:00
Travis Ralston
dce6bcde56 Require ?v=1.1 on Scalar /register and /account
For upstream compatibility and security.
2019-03-15 22:05:35 -06:00
Travis Ralston
0287e472f8 Add a button to log everyone out 2019-03-15 22:00:38 -06:00
Travis Ralston
70c5471df7 Clear state message after the client is known to be supported 2019-03-15 20:53:38 -06:00
Travis Ralston
d29e8531d9 Detect API version of Riot before rendering widget 2019-03-15 20:49:48 -06:00
Travis Ralston
11ed6342f6 First iteration of OpenID reauth widget example 2019-03-15 20:36:52 -06:00
Travis Ralston
34653eb223 Fix Jitsi widget not staying on screen correctly
The "Join Conference" screen should not be sticky. We also need to make sure we have a widget ID set so that when we say to be stuck on screen or not, the request actually passes.
2019-03-15 20:32:54 -06:00
Travis Ralston
43473f7d4d Fix indentation of jitsi widget wrapper 2019-03-15 20:32:54 -06:00
Travis Ralston
005b471dc7 Always send a request_id to Riot
Fixes https://github.com/turt2live/matrix-dimension/issues/241

Cherry picked from 17eb46e48d3bd40a76579735966eff3fd535e479
2019-03-15 20:16:13 -06:00
Travis Ralston
38ea8d30db Support MSC1708 (and co.) and prepare for MSC1711
Fixes https://github.com/turt2live/matrix-dimension/issues/234

Later support for MSC1711 will be done in https://github.com/turt2live/matrix-dimension/issues/238
2019-02-07 21:18:58 -07:00
Travis Ralston
31b802f9c3 Fix local development builds 2019-02-07 20:40:11 -07:00
Travis Ralston
363003199a Add an option to force a default jitsi domain on the widget
Fixes https://github.com/turt2live/matrix-dimension/issues/231
2018-12-22 19:30:25 -07:00
Travis Ralston
32a639ef95 Support importing sticker packs from Telegram 2018-12-22 17:37:31 -07:00
Travis Ralston
9d88e59aae
Merge pull request #226 from anoadragon453/anoa/jitsi_ptt
Jitsi widget supports audio mute manipulation
2018-11-06 19:30:46 -07:00
Andrew Morgan
490df9a21f Remove TODO comment 2018-11-07 03:07:27 +01:00
Andrew Morgan
8eb52712bf Jitsi widget supports muting/unmuting at will 2018-11-01 19:48:05 +01:00
Travis Ralston
4eae11f624 Add Slack to the promo page 2018-10-24 23:10:32 -06:00