Commit graph

109 commits

Author SHA1 Message Date
Aode (lion) 78b0c46c29 fix headers sent error 2021-11-10 17:44:41 -05:00
Tony Stipanic f06ead08d8
ESLint config, fix easy eslint errors 2021-09-02 01:01:01 +02:00
Tony Stipanic 406bdb773d
Fix general compiling issues that went lost 2021-08-29 23:21:01 +02:00
Tony Stipanic d4502a5e41
feat: Use integrated dnsPromises 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
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
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
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
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 c4c5ee8571 Redact access token from request logging too 2019-08-21 18:16:01 -06:00
Travis Ralston 3831f2f7bc Ensure the upstream is online before asking for terms 2019-08-03 12:40:43 -06:00
Travis Ralston e006851465 Make terms of service endpoint match MSC 2019-07-22 18:09:25 -06:00
Travis Ralston 2e19cec215 Format app code 2019-07-10 22:11:55 -06:00
Travis Ralston c5108da67b Rename MSC things to be Matrix things 2019-07-10 22:10:10 -06:00
Travis Ralston 8f537ee078 Handle upstream policies too 2019-07-10 22:04:08 -06:00
Travis Ralston c96366b647 Logout upstream as well (best effort) 2019-07-10 21:26:22 -06:00
Travis Ralston 18ee47fa49 Use the right scalar route for the request 2019-07-10 21:16:04 -06:00
Travis Ralston cf212d8f4e Support terms handling on legacy scalar route 2019-07-10 20:59:39 -06:00
Travis Ralston 3b4aa7b0ba Use MSCSecurity for all auth 2019-07-10 19:30:06 -06:00
Travis Ralston 7d54948d7e Support legacy auth on account endpoints 2019-07-10 18:40:30 -06:00
Travis Ralston 852e737e33 Use a cache for published policies 2019-07-10 18:34:21 -06:00
Travis Ralston ae42d673d7 Disable admin routes from policy checks 2019-07-10 18:12:23 -06:00
Travis Ralston 147d8a18ae Simple implementation of listing and accepting policies 2019-07-06 16:41:07 -06: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 a11e57db31 Early terms management UI 2019-06-30 23:05:33 -06:00
Travis Ralston d9637b1d3d Very simple terms of service auth requirement 2019-06-30 19:38:24 -06:00
Travis Ralston fbc1173529 Support access token auth in the query string 2019-06-30 19:13:01 -06:00
Travis Ralston 8882f4c8f6 Update Sequelize
Fixes https://github.com/turt2live/matrix-dimension/issues/287
2019-06-28 23:51:43 -06:00
Travis Ralston 57d585d68a Implement MSC1961
See https://github.com/matrix-org/matrix-doc/pull/1961
2019-06-27 21:46:00 -06:00
Travis Ralston be66dd04f9 Handle upstream tokens more safely 2019-04-17 23:34:14 -06:00
Travis Ralston 77d652d6c0 Handle offline integrations better 2019-04-14 16:39:44 -06:00
Travis Ralston d36436eca4 Don't fail to register for tokens when upstreams are offline 2019-04-13 17:25: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 0c0429df46 Merge branch 'travis/token-security' 2019-03-27 08:30:12 -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