Commit Graph

62533 Commits

Author SHA1 Message Date
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
Michael Telatynski 7703108edb Merge pull request #17170 from dirkmueller/develop 2021-06-30 17:33:40 +01:00
Germain Souquet 72d762ea0d Deprecate postcss calc() 2021-06-30 17:17:27 +01:00
Germain Souquet 209344d443 improvements to bubble layout 2021-06-30 17:06:51 +01:00
J. Ryan Stinnett 34c308d0a4 Merge pull request #17847 from vector-im/jryans/rework-linting
Migrate to `eslint-plugin-matrix-org`
2021-06-30 14:39:21 +01: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
J. Ryan Stinnett 491b179971 Auto-fix lint errors 2021-06-30 13:28:31 +01:00
J. Ryan Stinnett 573698789e Migrate to eslint-plugin-matrix-org
This migrates to the new plugin form of our custom ESLint configs. As part of
this, some packages are de-duplicated, configs streamlined, etc.
2021-06-30 13:24:16 +01:00
J. Ryan Stinnett 160a1fd8c8 Use unquoted keys 2021-06-30 13:19:04 +01:00
J. Ryan Stinnett 77ea76a0e0 Remove Flow support
We no longer use Flow, so this removes linting and compiling support. New code
should use TypeScript for static typing.
2021-06-30 13:06:09 +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 Souquet d1c6cfe6b9 Improved message bubble layout (no reply) 2021-06-30 12:06:16 +01:00
Germain 6b8c38af3a Merge pull request #6290 from matrix-org/gsouquet/fix-17843 2021-06-30 11:22:34 +01:00
Jaiwanth 08d886e9d1 Delint 2021-06-30 14:08:22 +05:30
Germain Souquet f3b4a21815 Remove Tinter reference 2021-06-30 09:02:00 +01:00
Germain Souquet 6b9dfa37c5 Migrate UnknownBody to TypeScript 2021-06-30 09:00:14 +01:00
Germain Souquet d9eec1c03b Merge branch 'develop' into gsouquet/message-bubbles-4635 2021-06-30 08:58:20 +01:00
Germain Souquet fdced3da1b Remove reminescent references to the tinter 2021-06-30 08:09:55 +01:00
Jaiwanth 551639811b Merge and resolve conflicts 2021-06-30 12:29:13 +05:30
Jaiwanth f50604db78 missing semicolon 2021-06-30 12:13:39 +05:30
Jaiwanth a99b24ef83 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into spaces-jump-to-room 2021-06-30 11:20:01 +05:30
Jaiwanth 1b21c8f732 Remove unreadRoomId from summarized notification state 2021-06-30 10:53:46 +05:30
pvagner b2292268bc Update src/components/views/voip/CallView.tsx
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-30 07:06:10 +02:00
Jaiwanth 7d5db4689c Disable close icon during export 2021-06-30 10:03:33 +05:30
Robin Townsend 2021650d77 Merge branch 'develop' into watch-show-timestamps 2021-06-29 22:43:46 -04:00
Robin Townsend c0e10218d9 Fix lints
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-29 22:42:46 -04:00
Robin Townsend adb5df52a4 Merge branch 'develop' into text-for-event-perf 2021-06-29 22:13:18 -04: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 4bc53aaed1 Merge pull request #17647 from vector-im/t3chguy/fix/17282
Remove spurious overflow: auto on #matrixchat element
2021-06-29 22:23:49 +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
Peter Vágner 46f59be7f3 Merge branch 'develop' into voip-a11y 2021-06-29 23:08:13 +02: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
Germain 55121f6e81 Merge pull request #6287 from matrix-org/gsouquet/fix-17836
Avoid cyclic dependencies by moving watchers out of constructor
2021-06-29 17:23:13 +01:00
Germain Souquet d035151116 Avoid cyclic dependencies by moving watchers out of constructor 2021-06-29 17:04:51 +01:00
Germain 4ba0e6bdee Merge pull request #17818 from vector-im/gsouquet/fix-6162
Enhance security by disallowing CSP object-src rule
2021-06-29 15:33:32 +01:00
Germain 9a37f29841 Merge pull request #6284 from matrix-org/gsouquet/fix-17826
Add spacing between toast buttons with cross browser support in mind
2021-06-29 15:32:14 +01:00
J. Ryan Stinnett 07f057f381 Keep indent rule enabled 2021-06-29 15:30:38 +01:00
J. Ryan Stinnett 782e793925 Merge remote-tracking branch 'origin/develop' into jryans/rework-linting-2 2021-06-29 15:27:24 +01:00
J. Ryan Stinnett 21b8c81eb8 Merge remote-tracking branch 'origin/develop' into jryans/rework-linting-2 2021-06-29 15:25:30 +01:00
Michael Telatynski 623317cd47 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/8
 Conflicts:
	src/components/structures/MessagePanel.tsx
	src/components/structures/TimelinePanel.tsx
2021-06-29 15:22:54 +01:00
Germain 640fc591bb Merge pull request #6279 from matrix-org/gsouquet/deprecate-tinter
Deprecate Tinter and TintableSVG
2021-06-29 15:22:48 +01:00