Commit graph

45 commits

Author SHA1 Message Date
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
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
c5108da67b Rename MSC things to be Matrix things 2019-07-10 22:10:10 -06:00
Travis Ralston
3b4aa7b0ba Use MSCSecurity for all auth 2019-07-10 19:30:06 -06:00
Travis Ralston
6c6ae5c5ed Render terms of service as a widget 2019-07-06 15:40:32 -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
77d652d6c0 Handle offline integrations better 2019-04-14 16:39:44 -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
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
32a639ef95 Support importing sticker packs from Telegram 2018-12-22 17:37:31 -07: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
97cd39ac4f Appease the linter 2018-10-22 22:38:35 -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
edbbd3b8c0 Add the frontend for Gitter bridging
Fixes https://github.com/turt2live/matrix-dimension/issues/4
Fixes https://github.com/turt2live/matrix-dimension/issues/7
2018-10-21 14:20:37 -06:00
Travis Ralston
509e985061 Linting 2018-10-20 18:59:26 -06:00
Travis Ralston
3823788cc2 Add the frontend for self-service of webhooks 2018-10-20 18:33:01 -06:00
Travis Ralston
5f0e9fec51 Fix rooms claiming they are bridged when they aren't 2018-10-19 19:34:11 -06:00
Travis Ralston
83c06c8591 Warn the user when they try to bridge chats that are already bridged 2018-10-17 21:37:29 -06:00
Travis Ralston
c0936745c0 Frontend interface for basic bridging and unbridging of chats
Requires https://github.com/tulir/mautrix-telegram/pull/235

Puppeting is scheduled to be handled in https://github.com/turt2live/matrix-dimension/issues/214

The TODO comments about asking for unbridge/permission denied will be handled in a later commit.
2018-10-17 21:09:19 -06:00
Travis Ralston
ad3c0d7f11 Appease the linter 2018-05-13 22:41:19 -06:00
Travis Ralston
8fa56de2bb Reset the user's cached sticker packs when they (de)select packs
Otherwise we'll display stale packs and the user won't see updates. Part of #156
2018-05-13 22:35:54 -06:00
Travis Ralston
7a0af05ac4 Sticker pack selection (without widget)
This is the UI where the user can pick which stickers they want. This does not add the widget yet though.

Helps towards #156
2018-05-12 23:51:31 -06:00
Travis Ralston
e8274c9d87 Sticker pack administration
The first step towards #156
2018-05-12 21:55:02 -06:00
Travis Ralston
39365fd00e Don't crash if widgets are not embeddable 2018-04-01 11:23:55 -06:00
Travis Ralston
a6dae219a5 Add the missing "embed-ability" api for widgets 2018-03-31 16:38:55 -06:00
Travis Ralston
9a8041ea38 Self-service removal of channel links 2018-03-31 15:48:20 -06:00
Travis Ralston
f33f7e5716 Self-service requests to bridge IRC channels 2018-03-31 14:37:36 -06:00
Travis Ralston
76931819af Add the shell for configuring IRC bridges 2018-03-30 19:22:15 -06:00
Travis Ralston
ff088e3e49 Add a whole lot more logging to the backend 2018-03-30 16:34:39 -06:00
Travis Ralston
39a71429f3 Add documentation for the backend APIs 2018-03-30 15:17:39 -06:00
Travis Ralston
4365cb0753 Support Travis CI completely
Webhooks are generated eagerly but have lazily set targets so that we can give the user a webhook URL to set in their config. go-neb (upstream & standalone) doesn't give a webhook URL until after the repositories are configured.

Fixes #16
2018-03-30 14:59:25 -06:00
Travis Ralston
18597db540 Add self-service configuration for the RSS bot
Fixes #14
2018-03-26 21:48:44 -06:00
Travis Ralston
1233be85e9 Add a health endpoint
For monitoring
2018-03-26 18:46:08 -06:00
Travis Ralston
2c1366d9d7 Very early support for configuring complex bots
Using the RSS Bot as an example. Notably missing features:
* Configuration (feeds) not retrieved
* No actual configuration page
2018-03-25 21:02:32 -06:00
Travis Ralston
87121150cc Support removing simple bots from rooms 2018-03-25 16:20:15 -06:00
Travis Ralston
009b510779 Special case each integration, forcing simple bots to go through an NebProxy
This is so the different needs of each can be accounted for. For example, widgets are fairly unrestricted, so nothing really needs to prevent them. Bots on the other hand require an upstream token otherwise we can't get the bot IDs from Modular.
2018-03-25 13:13:50 -06:00
Travis Ralston
947ecd43cd Early support for managing bots in the room
Known drawbacks:
* Cannot remove bots
* Cannot use upstream neb instances
2018-03-25 00:45:57 -06:00
Travis Ralston
7a2627ad76 Move admin routes to their own API namespace 2018-03-23 21:36:43 -06:00
Travis Ralston
8d6c2dfa00 Convert the frontend to the async/await pattern
We have to drop bluebird to be able to do this.
2018-03-23 21:01:56 -06:00
Travis Ralston
74054c3962 Add ability to create self-hosted go-neb instances
They can't be provisioned or configured correctly yet, but they exist.
2018-01-31 16:30:08 -07:00
Travis Ralston
8b3f6e37ce Support configuring the upstream go-neb bots 2017-12-28 18:22:50 -07:00
Travis Ralston
c5b803343e Move app from src-ts to src 2017-12-24 02:28:48 -07:00