Commit graph

38 commits

Author SHA1 Message Date
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 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
Travis Ralston d021974a22 Post JSON correctly to homeserver
Fixes https://github.com/turt2live/matrix-dimension/issues/284
2019-06-27 18:36:28 -06:00
Travis Ralston 74cbe160db Validate certificates as per Matrix 1.0
Fixes https://github.com/turt2live/matrix-dimension/issues/238

See https://matrix.org/blog/2019/05/24/final-countdown-to-1-0
2019-06-02 15:27:15 -06:00
Travis Ralston be66dd04f9 Handle upstream tokens more safely 2019-04-17 23:34:14 -06:00
Travis Ralston 8cd5067e73 Assume upstream tokens are valid if they are offline 2019-04-13 16:58:20 -06:00
Travis Ralston 4712bdc9b7 Reduce chance of sticker duplication
Fixes https://github.com/turt2live/matrix-dimension/issues/264
2019-03-29 18:47:10 -06:00
Travis Ralston e2f27ad3a3 Read author and license information for sticker packs 2019-03-23 18:42:09 -06:00
Travis Ralston 147ef2104e Support custom stickerpacks 2019-03-20 22:32:29 -06:00
Travis Ralston 968fb18a57 Verify the utility user belongs to a dedicated user
Fixes https://github.com/turt2live/matrix-dimension/issues/252
2019-03-20 21:24:16 -06:00
Travis Ralston aac94bc757 Appease the linter 2019-02-07 21:26:09 -07: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 82343da942 Support simple custom bots
Fixes https://github.com/turt2live/matrix-dimension/issues/165
2018-10-22 22:10:28 -06:00
Travis Ralston e8274c9d87 Sticker pack administration
The first step towards #156
2018-05-12 21:55:02 -06:00
Travis Ralston 8f98716217 Use the correct hostname when calling federated servers
Fixes #175
2018-05-06 12:21:40 -06:00
Travis Ralston e490007cec Update the profile for self-hosted go-neb instances
Fixes #166
2018-03-31 22:01:23 -06:00
Travis Ralston 766700ffd9 Fix a potential error related to some DNS records 2018-03-31 18:11:34 -06:00
Travis Ralston ff088e3e49 Add a whole lot more logging to the backend 2018-03-30 16:34:39 -06:00
Travis Ralston 87121150cc Support removing simple bots from rooms 2018-03-25 16:20:15 -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 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 7c757a79e6 Use async/await throughout the backend 2018-03-23 21:26:14 -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 1ae69bc563 Remove old files 2017-12-28 18:25:40 -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
Travis Ralston c0336f65ca Add widget title API
Adds #130

This is backed by a homeserver's media repository.
2017-12-11 13:17:54 -07:00
turt2live f2733b2d26 Allow self-signed certificates on the federation lookup
Fixes #109
2017-09-11 20:58:57 -06:00
turt2live aa075ef9ca Don't overwrite server name in open ID info when doing SRV lookups
Otherwise we don't end up asking for a token for matrix.org, we ask on behalf of matrix.org:8448
2017-09-08 21:12:26 -06:00
turt2live ab4d5ac76d Always use https when contacting homeserver
Fixes #106
2017-09-08 20:31:56 -06:00
turt2live 7cee8c99c4 Lookup SRV records when trying to get open ID information
Fixes #58
2017-08-26 23:49:27 -06:00
turt2live 35559c9373 Change up bot structure to support hosted bots. Adds #12 2017-05-28 00:41:00 -06:00
turt2live 16e28019bc Support adding/removing matrix.org's simple bots.
This adds #11
2017-05-27 17:45:07 -06:00
turt2live afeb2c7bfe Respond to /register requests from Riot.
Implements #1
2017-05-26 23:08:24 -06:00