Commit Graph

97 Commits

Author SHA1 Message Date
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
Travis Ralston
f7ed739423 Remove legacy gitter bridge support 2020-12-28 21:10:23 -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
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
402cec5b41 whiteboard component declaration added in app module and routing path added in app routing 2020-12-10 15:58:46 +01:00
Ahmad
9dc4e99aca translation
- the traslation feature without the changes from other branches
2020-10-23 13:30:20 +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
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
77d34197c9 Early mockup of admin management for policies 2019-07-01 20:49:44 -06:00
Travis Ralston
a11e57db31 Early terms management UI 2019-06-30 23:05:33 -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
5a7997450d Upgrade web packages too 2019-04-13 14:37:56 -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
Travis Ralston
0287e472f8 Add a button to log everyone out 2019-03-15 22:00:38 -06:00
Travis Ralston
11ed6342f6 First iteration of OpenID reauth widget example 2019-03-15 20:36:52 -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
82343da942 Support simple custom bots
Fixes https://github.com/turt2live/matrix-dimension/issues/165
2018-10-22 22:10:28 -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
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
2e844a707f Add admin section for Gitter bridge configuration 2018-10-21 13:22:55 -06:00
Travis Ralston
3823788cc2 Add the frontend for self-service of webhooks 2018-10-20 18:33:01 -06:00
Travis Ralston
7b5285cd57 Add the admin section for the webhooks bridge 2018-10-20 14:07:30 -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
242ad3bf3a Admin interface for managing Telegram bridges
Currently only one bridge is supported at a time, however in the future we may wish to load balance between bridges or something.
2018-09-16 02:26:10 -06:00
Travis Ralston
6c4e8f75d4 Add a sticker picker
The useful bit for sending stickers. Implements the rest of #156
2018-05-13 22:32:13 -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
17656e8cf7 Implement basic postMessage widget API components
This implements a 'screenshot' button on the generic widget wrapper, although there's several bugs with the current Riot implementation that prevent it from working and that is why it is commented out.

Fixes #155. Even if it doesn't work.
2018-05-11 21:58:10 -06:00
Travis Ralston
f33f7e5716 Self-service requests to bridge IRC channels 2018-03-31 14:37:36 -06:00
Travis Ralston
1e437a2f8b Add ability to add self-hosted IRC bridges 2018-03-31 11:45:19 -06:00
Travis Ralston
aa8ec0ed58 API and UI for toggling IRC networks 2018-03-31 11:26:00 -06:00
Travis Ralston
61ca805b19 Initial admin APIs for managing IRC bridges
Missing functionality:
* Toggle networks
* Add self-hosted
2018-03-30 23:12:31 -06:00
Travis Ralston
76931819af Add the shell for configuring IRC bridges 2018-03-30 19:22:15 -06:00
Travis Ralston
606b6d9f56 Front end for travis-ci self-service management
TODO:
* Backend (needs research)
* Webhook URL (probably proxy this)
2018-03-28 22:18:33 -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
b5aec06c04 Add a dialog for configuring simple bots 2018-03-25 19:17:09 -06:00
Travis Ralston
6b4f33de24 Add the configuration screen for Imgur 2018-03-24 21:55:35 -06:00
Travis Ralston
0ccd0cbb81 Add the configuration screen for Google 2018-03-24 21:50:30 -06:00
Travis Ralston
d00058cbff Add the configuration screen for Guggy 2018-03-24 21:44:05 -06:00