Commit Graph

286 Commits

Author SHA1 Message Date
Tdxdxoz
c79cd46f49 clean up comments 2020-12-28 20:30:33 -07:00
Tdxdxoz
a3b17d1a9f able to remove stickerpacks 2020-12-28 20:30:26 -07:00
Andrew Morgan
259650ec7e Ensure the iframe can request mic/cam permissions
Found while fixing the same issue on Scalar:
https://github.com/vector-im/element-web/issues/14901
2020-08-18 11:30:12 +02:00
Andrew Morgan
aed5fde391 Drop m.bigbluebutton event type 2020-07-23 23:48:08 +02:00
Andrew Morgan
e3f27156e0 Add the client-side widget code
Here is where the actual code that runs in the widget's iframe is. This
includes the HTML/CSS stuff, the definitions for API request/responses,
some routing and the javascript which makes requests to the new /join
api endpoint.
2020-07-23 23:36:51 +02:00
Andrew Morgan
8041c07a68 Add API backend
This commit adds the join API endpoint that will be used by the widget
to transform a greenlight URL to a BigBlueButton meeting URL.

The full flow is defined within the code itself, but it roughly boils
down to taking a greenlight URL that the user pastes it, sending it to
Dimension, Dimension making some API calls to greenlight to "join" the
meeting and retrieving a join link, before passing that back down to the
client to load.

Unfortunately, while BigBlueButton's server has a nice API, it's useless
to us if all we have is a greenlight link, so we need to do this hacky
route instead.
2020-07-23 23:36:48 +02:00
Andrew Morgan
401812931a Add BigBlueButton widget to integration manager
This adds the widget and the configuration for it to the integration
manager, so that the user can add a BBB widget. The code that will
actually run inside of the widget is not yet here.

A few CSS things are updated as well to make them more generic, as
we reused a few things that were previously jitsi only.
2020-07-23 23:14:31 +02:00
Travis Ralston
76903e8c8c Riot -> Element 2020-07-15 18:24:23 -06:00
Tony Stipanic
f9402f5aaa
feat: Sticker pack list in sticker picker widget
This allows the user to jump to a specific sticker pack in the sticker picker. The list hides and shows when scrolling so no view size is lost. It also contains a quick shortcut to the sticker settings.
2020-03-29 18:28:39 +02:00
Jona Abdinghoff
9a3d6787a7
fix #308
adding a selfhosted slack bridge used to add it a gitter bridge instead
2019-12-09 22:51:10 +01:00
Peter Hormanns
f0237cc3f1 add meta-tag viewport 2019-07-31 20:32:20 +02:00
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
e8d876b5d2 Remove legacy @angular/http package 2019-07-01 20:48:55 -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
5aca4fde93 Fix colors of tables 2019-04-14 16:23:57 -06:00
Travis Ralston
1e98d60cf1 Override bootstrap styles for tables 2019-04-14 11:19:57 -06:00
Travis Ralston
77dddb270a
Merge pull request #272 from Perflyst/fix-256
Use local assets
2019-04-14 10:18:57 -06:00
Perflyst
8c8b296483
Fix build error 2019-04-14 09:06:11 +02:00
Perflyst
642a1d733d
Revert bootstrap changes 2019-04-14 08:57:02 +02:00
Perflyst
ae2ad21996
Use correct path 2019-04-14 08:49:05 +02: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
Perflyst
e31f975ae8
Move fonts into public folder 2019-04-12 14:58:45 +02:00
Perflyst
aad1f1fa40
Add opensans100-roboto300.ttf locally 2019-04-06 19:24:09 +02:00
Perflyst
2f66cd228a
Use local assets 2019-04-06 19:17:02 +02: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