David Baker
eb1a22ab19
Add types
2021-07-01 21:00:54 +01:00
David Baker
38ed53d5d1
Oops, don't just blindly insert the commented type
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-07-01 20:58:51 +01:00
David Baker
3db95d607d
Use semicolons
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-07-01 20:57:56 +01:00
David Baker
e121e5bf8a
nice try, vscode
2021-07-01 19:58:25 +01:00
David Baker
8bbb768825
Convert RoomHeader to TS
...
Also add a type of OOBData... possibly this should be in the js-sdk,
but threepid invites themselves have a type in react-sdk so it can
live alongside it I guess (also I'm not entirely sure we actually
use it anymore...)
2021-07-01 19:54:05 +01:00
David Baker
e3201eb20f
Merge pull request #6300 from matrix-org/dbkr/kill_ratelimitedfunc
...
Remove rateLimitedFunc
2021-07-01 19:01:15 +01:00
David Baker
9ea4ca39c6
Be more like other arrow functions
2021-07-01 18:54:51 +01:00
David Baker
ae16efcf5b
Remove rateLimitedFunc
2021-07-01 18:35:38 +01:00
David Baker
fdef1f9b68
Merge pull request #6299 from matrix-org/dbkr/tsify_setupencryptionbody
...
Convert some Key Verification classes to TypeScript
2021-07-01 15:33:15 +01:00
David Baker
5e3c8fae5c
put this just on the buttons
2021-07-01 15:22:44 +01:00
David Baker
404aa96f48
i18n
2021-07-01 15:13:24 +01:00
David Baker
c6d1dc7e8e
lint
2021-07-01 15:11:18 +01:00
David Baker
7e8bb70621
Never mind, it wasn't even used
2021-07-01 14:55:00 +01:00
David Baker
66d95ed7b2
Fix button styling in verification bubbles
2021-07-01 14:51:20 +01:00
David Baker
676163d5cd
convert NewSessionReviewDialog
2021-07-01 14:51:07 +01:00
David Baker
5d3b94b7c9
Convert VerificationRequestDialog
2021-07-01 14:22:58 +01:00
Michael Telatynski
04902fa2e4
Merge pull request #6292 from matrix-org/t3chguy/ts/9
2021-07-01 14:11:17 +01:00
David Baker
16fb24fa09
Remove unused prop
2021-07-01 14:03:01 +01:00
David Baker
642405dbd0
Use new types
2021-07-01 13:55:57 +01:00
David Baker
70a3679d43
more ts
2021-07-01 13:49:58 +01:00
David Baker
46b2f0404a
Basic ts-ification of SetupEncryptionBody
2021-07-01 13:45:33 +01:00
Germain
8520a11fc3
Merge pull request #6298 from matrix-org/gsouquet/fix-browserlist-warning
...
Upgrade browserlist target versions
2021-07-01 12:56:35 +01:00
Germain
77968032ea
Merge pull request #6297 from matrix-org/gsouquet/fix-17852
2021-07-01 12:56:25 +01:00
Germain Souquet
c9fa347015
Upgrade browserlist target versions
2021-07-01 12:27:06 +01:00
Germain Souquet
9c93b9002f
Add extra context for filtering out '>' for sanitizeHtml
2021-07-01 12:23:36 +01:00
Germain Souquet
04db8333e3
Fix typing and unused import
2021-07-01 12:13:43 +01:00
Germain Souquet
ede87129b2
Add a layout fallback for EventTile
2021-07-01 11:45:29 +01:00
Germain Souquet
6f62233634
Prevent browser to crash when unclosed HTML tag is sent to sanitizeHtml
2021-07-01 11:18:07 +01:00
Germain Souquet
d47194e61d
Migrate SearchResultTile to TypeScript
2021-07-01 11:17:44 +01:00
Michael Telatynski
30d027d2b4
fix js-sdk lib import
2021-07-01 08:29:53 +01:00
Michael Telatynski
6693993d08
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/9
2021-07-01 08:21:59 +01:00
Travis Ralston
3d5117c631
Merge pull request #6264 from matrix-org/travis/new-audio
...
Add custom audio player
2021-06-30 15:17:48 -06:00
Travis Ralston
da8a783ca0
lint
2021-06-30 14:51:18 -06:00
J. Ryan Stinnett
8c143b8d8c
Merge pull request #6293 from matrix-org/jryans/lint-media-apis
...
Lint MXC APIs to centralise access
2021-06-30 21:00:35 +01:00
Travis Ralston
a5a4f2ed7d
Fix linter + merge
2021-06-30 13:29:37 -06:00
Travis Ralston
12d7be2b6a
Merge branch 'develop' into travis/new-audio
2021-06-30 13:25:41 -06:00
J. Ryan Stinnett
2baace7658
Apply restricted property rules to all files
2021-06-30 14:27:10 +01:00
J. Ryan Stinnett
a9f35e8c69
Lint MXC APIs to centralise access
...
This adds linting rules to ensure that MXC APIs are only accessed via the
`Media` helper so they can be customised easily when desired.
Fixes https://github.com/vector-im/element-web/issues/16933
2021-06-30 14:19:39 +01:00
Michael Telatynski
3a80df4222
Fix react context not being assigned during construction
2021-06-30 13:45:43 +01:00
Michael Telatynski
0a5abb09f4
Fixes identified by TS
2021-06-30 13:03:29 +01:00
Michael Telatynski
e768ecb3d0
Typescript conversion of Composer components and more
2021-06-30 13:01:26 +01:00
Germain
6b8c38af3a
Merge pull request #6290 from matrix-org/gsouquet/fix-17843
2021-06-30 11:22:34 +01:00
Germain Souquet
f3b4a21815
Remove Tinter reference
2021-06-30 09:02:00 +01:00
Germain Souquet
fdced3da1b
Remove reminescent references to the tinter
2021-06-30 08:09:55 +01:00
Michael Telatynski
29904a7ffc
Merge pull request #6263 from matrix-org/t3chguy/ts/4
2021-06-29 22:31:16 +01:00
Michael Telatynski
3fa89f3294
Merge pull request #6243 from matrix-org/t3chguy/ts/8
2021-06-29 22:27:16 +01:00
Michael Telatynski
6250d9ba61
Merge branch 'develop' into t3chguy/ts/4
2021-06-29 22:24:47 +01:00
Michael Telatynski
a59e94b907
delint
2021-06-29 22:21:05 +01:00
Michael Telatynski
8f4879ea96
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/8
...
Conflicts:
src/components/structures/MessagePanel.tsx
src/components/structures/ScrollPanel.tsx
src/components/structures/TimelinePanel.tsx
src/components/views/elements/ErrorBoundary.tsx
src/components/views/elements/EventListSummary.tsx
src/components/views/messages/TileErrorBoundary.tsx
2021-06-29 22:14:40 +01:00
J. Ryan Stinnett
9d6d8fc666
Merge pull request #6285 from matrix-org/jryans/rework-linting-2
...
Migrate to `eslint-plugin-matrix-org`
2021-06-29 17:45:10 +01:00