Commit Graph

211 Commits

Author SHA1 Message Date
Travis Ralston
836c3ad72a Clean up imports 2021-11-30 19:29:39 -07:00
Travis Ralston
43f795f4da Initial support for matrix-hookshot#jira 2021-11-30 19:25:57 -07:00
Travis Ralston
089925ee4c G I T H U B 2021-11-30 19:23:54 -07:00
Travis Ralston
2bd5ad15df Merge branch 'master' into travis/hookshot-github 2021-11-30 15:37:33 -07:00
Travis Ralston
5ee0254521 Remove removed option 2021-11-29 14:26:29 -07:00
Travis Ralston
eb7dfb4f64 Initial support for matrix-hookshot#github
Missing:
* Bridge repo
* Unbridge repo
* Ignore hooks?
* List orgs and repos (or other sensible format)
* GH Auth
2021-11-25 16:24:50 -07:00
Travis Ralston
c8d175275e Misc fixes 2021-11-24 13:53:55 -07:00
Travis Ralston
11f90c7825 Remove Gitter completely 2021-11-24 13:53:32 -07:00
Travis Ralston
4995129afa Fix verbose logging 2021-11-24 13:26:00 -07:00
Travis Ralston
123a45bb21 Switch logger to bot-sdk 2021-11-24 13:21:46 -07:00
Travis Ralston
6964bca40e Make db avatar migrations postgres compatible
Fixes https://github.com/turt2live/matrix-dimension/issues/431
2021-09-07 23:24:43 -06:00
Tony Stipanic
1cff2ff21b
Update URLs for neb bots 2021-09-06 23:10:47 +02:00
Tony Stipanic
f06ead08d8
ESLint config, fix easy eslint errors 2021-09-02 01:01:01 +02:00
Tony Stipanic
64596f863d
Revert "Use integrated URL instead of split-host"
This reverts commit dc54c50c39.
2021-09-01 00:01:32 +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
d6e4592cf4
Update packages including Telegraf 2021-08-29 23:07:13 +02:00
Tony Stipanic
dc54c50c39
Use integrated URL instead of split-host 2021-08-29 23:06:49 +02:00
Tony Stipanic
d4502a5e41
feat: Use integrated dnsPromises 2021-08-29 23:06:49 +02:00
Tony Stipanic
4878e46c9d
feat: Use built-in IP address check 2021-08-29 23:06:49 +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
a085be025f Return the moderator password instead of the attendee one 2021-05-07 17:26:42 +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
70608c2a96 Use MatrixStickerBot.getUserId 2021-05-07 11:49:46 +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
Andrew Morgan
3fef47e369 Add an endpoint for retrieving the widget from Dimension
Dummy data for now.
2021-04-28 18:47:58 +01: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
0e90e73414 Merge remote-tracking branch 'nordeck/nic/feat/configurable-whiteboard-widget' 2020-12-28 20:38:55 -07:00
Tdxdxoz
a3b17d1a9f able to remove stickerpacks 2020-12-28 20:30:26 -07:00
Travis Ralston
852bfe0667
Merge pull request #367 from anoadragon453/anoa/bigbluebutton
Add BigBlueButton widget support
2020-12-28 20:28:56 -07:00
Travis Ralston
e34de84b63
Merge pull request #350 from TheTimeWalker/remove-resize
feat: Use height and width from downloaded Telegram sticker
2020-12-28 20:25:16 -07: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
d62956fb8d removed whiteboard entry from add widget db file and added in a new db file specific for whiteboard 2020-12-10 15:59:50 +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
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
a768076c03
feat: Use height and width from downloaded Telegram sticker 2020-06-06 02:09:26 +02:00
Gavin Mogan
c864afaf4f the bulk insert was returning empty array, so switch to selecting the newly inserted row before more bulk inserts 2020-04-17 23:09:39 -07:00
Gavin Mogan
357fdd99dc Add support for storing data in postgres 2020-04-17 23:08:48 -07:00
Travis Ralston
fbf587823c Fix DimensionStore after sequelize-typescript update 2019-11-02 11:45:57 -06:00
Travis Ralston
0ab8e639ad Linting 2019-08-21 21:07:47 -06:00
Travis Ralston
915f1ebe4a Support .well-known on Dimension 2019-08-21 20:58:41 -06:00
Travis Ralston
41b56484c3 Hack around a scalar bug
See https://github.com/vector-im/riot-web/issues/10498
2019-08-21 18:19:38 -06:00
Travis Ralston
c4c5ee8571 Redact access token from request logging too 2019-08-21 18:16:01 -06:00
Travis Ralston
e8551659fd Include the upstream when signing terms 2019-08-03 12:40:52 -06:00