Commit Graph

328 Commits

Author SHA1 Message Date
Tony Stipanic
e81d147ce7
Revert changing my to app 2021-09-02 01:29:24 +02:00
Tony Stipanic
f06ead08d8
ESLint config, fix easy eslint errors 2021-09-02 01:01:01 +02:00
Tony Stipanic
87d15d8e01
Fix breadcrumb scss 2021-09-02 00:05:38 +02:00
Tony Stipanic
74c36cae64
fix: Dark mode for modals, remove fade hack 2021-09-01 01:02:53 +02:00
Tony Stipanic
5ffb65861a
Docker and tsconfig updates, fix config loading, downgrade typescript-rest for compilation 2021-08-30 23:52:19 +02:00
Tony Stipanic
406bdb773d
Fix general compiling issues that went lost 2021-08-29 23:21:01 +02:00
Tony Stipanic
e4db4e462e
Fix empty widget in braedcrumb 2021-08-29 23:06:49 +02:00
Tony Stipanic
e77d712afd
Replace ngx-modialog with ng-bootstrap modals 2021-08-29 23:06:47 +02:00
Tony Stipanic
4954de2a96
Upgrade everything to Angular 12 and more + build changes
This is a very big commit that does an initial job of upgrading everything to the latest version. TSLint gets replaced by ESLint. Instead of plain node, now ts-node is being used. Old modules also get replaced with new ones (mostly ng2 to ngx). Also obsolete configs have been replaced with how it's used today with Angular.

This includes:

* Upgrade to:
** Angular 12
** Typescript 4
** ESLint 7 and replace TSLint
** Bootstrap 5
** Eerything connected to these
* Run with ts-node
* Convert wepack config to angular config
* Remove typescript-ioc
* Update tsconfigs
* Run a git command instead of using a library for sshort hash
* Move assets to a new location align with default Angular settings
* Database migration for new avatarUrl locations
* Simplify Model extension align with newest sequelize version
* Remove breadcrumb hack
* Fix homeserver typo
* A few general fixes that are necessary with newest Typescript rules
* Define Express.User interface
2021-08-29 19:39:43 +02:00
Andrew Morgan
a385c5eeaf Fix the Greenlight URL method of BigBlueButton
We were accidentally setting the createMeeting query parameter when
creating a widget through Dimension's UI, which tells the widget to use
the non-UI method of connecting to a meeting.
2021-06-02 18:59:31 +01:00
Andrew Morgan
688442ed31 Switch getJoinUrl to a POST request as it contains meeting join details 2021-05-07 16:00:50 +01:00
Andrew Morgan
85bcab3df7 Fix translation of BigBlueButton conference 2021-05-07 12:03:06 +01:00
Andrew Morgan
a06e002c28 Distinguish between an unknown meeting, and an meeting that's ended 2021-05-06 20:09:25 +01:00
Andrew Morgan
a1e12f353a Create meeting on /widget_state, deal with dead/unknown meetings 2021-05-06 19:30:47 +01:00
Andrew Morgan
32d0bd3aec Fix communication with BBB, fix widget query parameters etc. 2021-05-05 20:47:48 +01:00
Andrew Morgan
5c28ec1d94 Fleshing out the Dimension API, widget code 2021-05-05 20:38:24 +01:00
wuyingren
4c41c29ef0 Fix Bad JSON value: float 2021-01-23 21:42:14 +08:00
Travis Ralston
9dfa45a8a0 Too many curly braces 2020-12-28 21:15:35 -07:00
Travis Ralston
f7ed739423 Remove legacy gitter bridge support 2020-12-28 21:10:23 -07:00
Travis Ralston
88b155d81f Appease the linter 2020-12-28 21:05:45 -07:00
Travis Ralston
587c3611d3 Update German translation 2020-12-28 20:59:48 -07:00
Travis Ralston
80c7a0c813 Add i18n extract scripts 2020-12-28 20:58:31 -07:00
Travis Ralston
2e517ec2c2 Update whiteboard URLs again 2020-12-28 20:51:21 -07:00
Travis Ralston
afd5fd3f90 Add translation services 2020-12-28 20:49:24 -07:00
Travis Ralston
798e348354 Update BBB translations 2020-12-28 20:47:35 -07:00
Travis Ralston
1de57af5f8 Update translations in whiteboard area 2020-12-28 20:45:04 -07:00
Travis Ralston
5d6bf0dda3 Merge remote-tracking branch 'nordeck/nic/feat/translation' 2020-12-28 20:41:53 -07:00
Travis Ralston
0e90e73414 Merge remote-tracking branch 'nordeck/nic/feat/configurable-whiteboard-widget' 2020-12-28 20:38:55 -07:00
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