Commit graph

39 commits

Author SHA1 Message Date
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
Tdxdxoz a3b17d1a9f able to remove stickerpacks 2020-12-28 20:30:26 -07:00
Tony Stipanic a768076c03
feat: Use height and width from downloaded Telegram sticker 2020-06-06 02:09:26 +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 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 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 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 f894af79b6 Contain Telegram stickers in a 512x512 box
Fixes https://github.com/turt2live/matrix-dimension/issues/251
2019-03-23 19:36:01 -06:00
Travis Ralston 2ff5fa404c
Scale, not crop, thumbnails for Telegram stickers
Fixes https://github.com/turt2live/matrix-dimension/issues/250
2019-03-17 14:25:35 -06:00
Travis Ralston 0287e472f8 Add a button to log everyone out 2019-03-15 22:00:38 -06:00
Travis Ralston 38ea8d30db Support MSC1708 (and co.) and prepare for MSC1711
Fixes https://github.com/turt2live/matrix-dimension/issues/234

Later support for MSC1711 will be done in https://github.com/turt2live/matrix-dimension/issues/238
2019-02-07 21:18:58 -07:00
Travis Ralston 32a639ef95 Support importing sticker packs from Telegram 2018-12-22 17:37:31 -07: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 2e844a707f Add admin section for Gitter bridge configuration 2018-10-21 13:22:55 -06:00
Travis Ralston af095cd801 Clear the correct cache for webhooks 2018-10-21 13:00:09 -06:00
Travis Ralston 7b5285cd57 Add the admin section for the webhooks bridge 2018-10-20 14:07:30 -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 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 a1210761eb Clear the token cache when creating upstreams
Otherwise we'll flood ourselves with token errors in the backend
2018-03-31 22:10:13 -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 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 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 21aba80f54 Add the configuration screen for Giphy 2018-03-24 21:17:44 -06:00
Travis Ralston 8cdae3359d Support explicit setting of the federation/client URLs
The client/server URL is needed for go-neb to work correctly, and to remove our complete dependence on federation.

The federation URL is also configurable so servers that don't wish to federate can specify a local address.
2018-03-24 17:09:34 -06:00
Travis Ralston bc4319da7d Remove unused APIs 2018-03-24 14:54:20 -06:00
Travis Ralston 58f8ca8335 Support provisioning bots in go-neb
This is so far only possible for the bots that don't require additional configuration in go-neb.
2018-03-24 14:54:12 -06:00
Travis Ralston 62d81ed842 Show the appservice configuration after saving; Make the show config button work
Includes the ability to 'test' the appservice. This doesn't bother checking if the URL is set up correctly because we don't actually care about the transactions.
2018-03-24 12:18:38 -06:00
Travis Ralston 7a2627ad76 Move admin routes to their own API namespace 2018-03-23 21:36:43 -06:00