Commit Graph

3 Commits (1d8c9375cfb511b295dd6228963d8b5d0f687a2e)

Author SHA1 Message Date
J. Ryan Stinnett 388cb0e2c1 Add security customisation points
This adds various customisations point in the app for security related
decisions. By default, these do nothing, but would be customised at the
app level via module replacement (so that no changes are needed here in the
SDK).

Fixes https://github.com/vector-im/element-web/issues/15350
2020-10-16 11:21:44 +01:00
J. Ryan Stinnett 6498f3fcef Simplify types 2020-10-12 11:11:39 +01:00
J. Ryan Stinnett 2698a12a6f Convert `src/SecurityManager.js` to TypeScript
This includes a few small API tweaks as well, only in cases where TS revealed we
were doing something confusing or wrong.

Part of https://github.com/vector-im/element-web/issues/15350
2020-10-09 17:27:03 +01:00