Commit Graph

350 Commits

Author SHA1 Message Date
Travis Ralston
020166e76c
Merge branch 'master' into jitsi-audio-only 2020-12-28 20:34:39 -07:00
Travis Ralston
257beca7d6
Merge pull request #389 from turt2live/imgbot
[ImgBot] Optimize images
2020-12-28 20:32:00 -07:00
Travis Ralston
290136ff99 Fix minor lint concerns
Closes https://github.com/turt2live/matrix-dimension/pull/369
2020-12-28 20:31:34 -07:00
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
ImgBotApp
2fd4bf4688
[ImgBot] Optimize images
*Total -- 301.94kb -> 266.35kb (11.79%)

/web/public/img/logo/favicon/safari-pinned-tab.svg -- 0.64kb -> 0.40kb (38.05%)
/web/public/img/avatars/webhooks.png -- 4.03kb -> 2.82kb (29.91%)
/web/public/img/avatars/echo.png -- 4.71kb -> 3.57kb (24.05%)
/web/public/img/avatars/rssbot.png -- 7.20kb -> 5.69kb (20.97%)
/web/public/img/avatars/github.png -- 4.35kb -> 3.46kb (20.35%)
/web/public/img/avatars/etherpad.png -- 5.44kb -> 4.45kb (18.16%)
/web/public/img/avatars/spotify.png -- 4.58kb -> 3.76kb (17.9%)
/web/public/img/avatars/imgur.png -- 2.65kb -> 2.20kb (17.17%)
/web/public/img/avatars/twitch.png -- 2.89kb -> 2.40kb (17%)
/web/public/img/avatars/irc.png -- 3.69kb -> 3.16kb (14.41%)
/web/public/img/avatars/bigbluebutton.png -- 12.99kb -> 11.31kb (12.95%)
/web/public/img/screenshot.png -- 78.18kb -> 68.21kb (12.76%)
/web/public/img/avatars/tradingview.png -- 4.26kb -> 3.74kb (12.11%)
/web/public/img/logo/banner-sm.png -- 3.46kb -> 3.04kb (12.09%)
/web/public/img/avatars/custombots.png -- 1.13kb -> 1.00kb (11.38%)
/web/public/img/avatars/telegram.png -- 8.46kb -> 7.51kb (11.23%)
/web/public/img/avatars/google.png -- 3.94kb -> 3.54kb (10.21%)
/web/public/img/no_stickers.png -- 102.64kb -> 92.38kb (10%)
/web/public/img/avatars/slack.png -- 13.48kb -> 12.25kb (9.15%)
/web/public/img/avatars/googlecalendar.png -- 4.78kb -> 4.40kb (7.85%)
/web/public/img/avatars/grafana.png -- 5.44kb -> 5.02kb (7.73%)
/web/public/img/avatars/customwidget.png -- 12.66kb -> 11.76kb (7.1%)
/web/public/img/avatars/youtube.png -- 4.01kb -> 3.98kb (0.78%)
/web/public/img/logo/made-for-matrix.svg -- 6.33kb -> 6.30kb (0.48%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-12-29 03:29:27 +00:00
nurjinn jafar
9131ad9bb6 whiteboard avatar changed 2020-12-15 12:22:39 +01:00
nurjinn jafar
8e10af4c96 created new config component for whiteboard in admin area with editable board url 2020-12-10 16:00:01 +01:00
nurjinn jafar
4a524777a9 removed empty line from end of file 2020-12-10 15:59:42 +01:00
nurjinn jafar
7a2cfaf5df whiteboard avatar image added and integration added in db and home component 2020-12-10 15:59:36 +01:00
nurjinn jafar
3140b467b2 widget whiteboard added in widget model and in integrations registry 2020-12-10 15:59:15 +01:00
nurjinn jafar
402cec5b41 whiteboard component declaration added in app module and routing path added in app routing 2020-12-10 15:58:46 +01:00
nurjinn jafar
0bc860eab8 whiteboard component and code added 2020-12-10 15:58:14 +01:00
Steffen Kolmer
c0e836890e
Delete whiteboard.png 2020-12-10 12:54:54 +01:00
Ahmad
9dc4e99aca translation
- the traslation feature without the changes from other branches
2020-10-23 13:30:20 +02: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
Tony Stipanic
5ccb718f39
feat: Set audio-only conference and toggle video before joining 2020-03-28 15:44:59 +01: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
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
e2f27ad3a3 Read author and license information for sticker packs 2019-03-23 18:42:09 -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
Travis Ralston
99e0647cd7 Self-service Slack provisioning
Fixes https://github.com/turt2live/matrix-dimension/issues/5
Fixes https://github.com/turt2live/matrix-dimension/issues/8
2018-10-24 22:51:04 -06:00
Travis Ralston
02e58e7a8d Admin section for Slack bridges 2018-10-24 20:56:38 -06:00
Travis Ralston
a103f3ca6b Re-use existing sticker picker widgets
There's a potential for a race condition by deleting then recreating the widget. Instead, we'll just re-use the widget and change the properties of it.

Fixes https://github.com/turt2live/matrix-dimension/issues/200

Note that the actual change may not be reflected due to https://github.com/vector-im/riot-web/issues/7547
2018-10-24 00:28:09 -06:00
Travis Ralston
9ae83f3dae Improve "no stickers" view
Fixes https://github.com/turt2live/matrix-dimension/issues/186
2018-10-23 23:55:29 -06:00
Travis Ralston
f59d30c2b6 Fix promo page on narrow screens and update content
Fixes https://github.com/turt2live/matrix-dimension/issues/219
2018-10-22 22:28:26 -06:00
Travis Ralston
cc01a9ea93 Remove duplicate guggy from the promo page
Fixes https://github.com/turt2live/matrix-dimension/issues/220
2018-10-22 22:12:50 -06:00
Travis Ralston
82343da942 Support simple custom bots
Fixes https://github.com/turt2live/matrix-dimension/issues/165
2018-10-22 22:10:28 -06:00
Travis Ralston
c1a55ade7c Use the light theme when no theme is supplied 2018-10-22 01:16:55 -06:00
Travis Ralston
82e3e72037 Make the linter happy 2018-10-22 00:47:42 -06:00
Travis Ralston
c9bb3aba37 Add a dark theme
Fixes https://github.com/turt2live/matrix-dimension/issues/153
2018-10-22 00:41:35 -06:00
Travis Ralston
52708afa7c Add Spotify widget
Fixes https://github.com/turt2live/matrix-dimension/issues/133
2018-10-21 17:00:10 -06:00
Travis Ralston
ea834d826a Add TradingView widget
Fixes https://github.com/turt2live/matrix-dimension/issues/132
2018-10-21 16:26:57 -06:00
Travis Ralston
9bdba2d474 Add Grafana widget
Fixes https://github.com/turt2live/matrix-dimension/issues/86
2018-10-21 15:17:21 -06:00
Travis Ralston
1f5ca1f01b Add Gitter to the promo page 2018-10-21 14:32:00 -06:00