Skip to content

Commit fa3ada0

Browse files
Merge tag 'v3.9.0' into AMP.chat
[Full Changelog](matrix-org/matrix-react-sdk@v3.9.0-rc.1...v3.9.0) * Upgrade JS SDK to 9.2.0 * [Release] Fix encrypted video playback in Chrome-based browsers [\matrix-org#5431](matrix-org#5431) Change-Id: Ida809f1cc310ab1012333d9fa50a613f377a7893
2 parents 5a1fdea + 5ca1859 commit fa3ada0

File tree

298 files changed

+15294
-6153
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

298 files changed

+15294
-6153
lines changed

.eslintignore.errorfiles

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,15 @@
11
# autogenerated file: run scripts/generate-eslint-error-ignore-file to update.
22

3+
src/Markdown.js
4+
src/Velociraptor.js
35
src/components/structures/RoomDirectory.js
4-
src/components/structures/RoomStatusBar.js
5-
src/components/structures/ScrollPanel.js
6-
src/components/structures/SearchBox.js
7-
src/components/structures/UploadBar.js
8-
src/components/views/avatars/MemberAvatar.js
9-
src/components/views/create_room/RoomAlias.js
10-
src/components/views/dialogs/SetPasswordDialog.js
11-
src/components/views/elements/AddressSelector.js
12-
src/components/views/elements/DirectorySearchBox.js
13-
src/components/views/elements/MemberEventListSummary.js
14-
src/components/views/elements/UserSelector.js
15-
src/components/views/globals/NewVersionBar.js
16-
src/components/views/messages/MFileBody.js
17-
src/components/views/messages/TextualBody.js
18-
src/components/views/room_settings/ColorSettings.js
19-
src/components/views/rooms/Autocomplete.js
20-
src/components/views/rooms/AuxPanel.js
21-
src/components/views/rooms/LinkPreviewWidget.js
22-
src/components/views/rooms/MemberInfo.js
236
src/components/views/rooms/MemberList.js
24-
src/components/views/rooms/RoomList.js
25-
src/components/views/rooms/RoomPreviewBar.js
26-
src/components/views/rooms/SearchResultTile.js
27-
src/components/views/settings/ChangeAvatar.js
28-
src/components/views/settings/ChangePassword.js
29-
src/components/views/settings/DevicesPanel.js
30-
src/components/views/settings/Notifications.js
31-
src/HtmlUtils.js
32-
src/ImageUtils.js
33-
src/Markdown.js
34-
src/notifications/ContentRules.js
35-
src/notifications/PushRuleVectorState.js
36-
src/PlatformPeg.js
37-
src/rageshake/rageshake.js
387
src/ratelimitedfunc.js
39-
src/Rooms.js
40-
src/Unread.js
41-
src/utils/DecryptFile.js
42-
src/utils/DirectoryUtils.js
438
src/utils/DMRoomMap.js
44-
src/utils/FormattingUtils.js
459
src/utils/MultiInviter.js
46-
src/utils/Receipt.js
47-
src/Velociraptor.js
4810
test/components/structures/MessagePanel-test.js
4911
test/components/views/dialogs/InteractiveAuthDialog-test.js
5012
test/mock-clock.js
51-
test/notifications/ContentRules-test.js
52-
test/notifications/PushRuleVectorState-test.js
5313
src/component-index.js
5414
test/end-to-end-tests/node_modules/
5515
test/end-to-end-tests/riot/

CHANGELOG.md

Lines changed: 265 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,268 @@
1+
Changes in [3.9.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.9.0) (2020-11-23)
2+
===================================================================================================
3+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.9.0-rc.1...v3.9.0)
4+
5+
* Upgrade JS SDK to 9.2.0
6+
* [Release] Fix encrypted video playback in Chrome-based browsers
7+
[\#5431](https://github.com/matrix-org/matrix-react-sdk/pull/5431)
8+
9+
Changes in [3.9.0-rc.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.9.0-rc.1) (2020-11-18)
10+
=============================================================================================================
11+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.8.0...v3.9.0-rc.1)
12+
13+
* Upgrade JS SDK to 9.2.0-rc.1
14+
* Translations update from Weblate
15+
[\#5429](https://github.com/matrix-org/matrix-react-sdk/pull/5429)
16+
* Fix message search summary text
17+
[\#5428](https://github.com/matrix-org/matrix-react-sdk/pull/5428)
18+
* Shrink new room intro top margin to half for encryption bubble tile
19+
[\#5427](https://github.com/matrix-org/matrix-react-sdk/pull/5427)
20+
* Small delight tweaks to improve rough corners in the app
21+
[\#5418](https://github.com/matrix-org/matrix-react-sdk/pull/5418)
22+
* Fix DM logic to always pick a more reliable DM room
23+
[\#5424](https://github.com/matrix-org/matrix-react-sdk/pull/5424)
24+
* Update styling of the Analytics toast
25+
[\#5408](https://github.com/matrix-org/matrix-react-sdk/pull/5408)
26+
* Fix vertical centering of the Homepage and button layout
27+
[\#5420](https://github.com/matrix-org/matrix-react-sdk/pull/5420)
28+
* Fix BaseAvatar sometimes messing up and duplicating the url
29+
[\#5422](https://github.com/matrix-org/matrix-react-sdk/pull/5422)
30+
* Disable buttons when required by MSC2790
31+
[\#5412](https://github.com/matrix-org/matrix-react-sdk/pull/5412)
32+
* Fix drag drop file to upload for Safari
33+
[\#5414](https://github.com/matrix-org/matrix-react-sdk/pull/5414)
34+
* Fix poorly i18n'd string
35+
[\#5416](https://github.com/matrix-org/matrix-react-sdk/pull/5416)
36+
* Fix the feedback not closing without feedback/countly
37+
[\#5417](https://github.com/matrix-org/matrix-react-sdk/pull/5417)
38+
* Fix New Room Intro invite to this room button
39+
[\#5419](https://github.com/matrix-org/matrix-react-sdk/pull/5419)
40+
* Change how we expose Role in User Info and hide in DMs
41+
[\#5413](https://github.com/matrix-org/matrix-react-sdk/pull/5413)
42+
* Disallow sending of empty messages
43+
[\#5390](https://github.com/matrix-org/matrix-react-sdk/pull/5390)
44+
* hide some validation tooltips if fields are valid.
45+
[\#5403](https://github.com/matrix-org/matrix-react-sdk/pull/5403)
46+
* Improvements around new room empty space interactions
47+
[\#5398](https://github.com/matrix-org/matrix-react-sdk/pull/5398)
48+
* Implement call hold
49+
[\#5366](https://github.com/matrix-org/matrix-react-sdk/pull/5366)
50+
* Fix Skeleton UI showing up when not intended.
51+
[\#5407](https://github.com/matrix-org/matrix-react-sdk/pull/5407)
52+
* Close context menu when user clicks the Home button
53+
[\#5406](https://github.com/matrix-org/matrix-react-sdk/pull/5406)
54+
* Skip e2ee warn logout prompt if user has no megolm sessions to lose
55+
[\#5410](https://github.com/matrix-org/matrix-react-sdk/pull/5410)
56+
* Allow country names to be translated
57+
[\#5405](https://github.com/matrix-org/matrix-react-sdk/pull/5405)
58+
* Support thirdparty lookup for phone numbers
59+
[\#5396](https://github.com/matrix-org/matrix-react-sdk/pull/5396)
60+
* Change "Password" to "New Password"
61+
[\#5371](https://github.com/matrix-org/matrix-react-sdk/pull/5371)
62+
* Add customisation point for dehydration key
63+
[\#5397](https://github.com/matrix-org/matrix-react-sdk/pull/5397)
64+
* Rebrand Riot -> Element in the permalink classes
65+
[\#5386](https://github.com/matrix-org/matrix-react-sdk/pull/5386)
66+
* Invite / Create DM UX tweaks
67+
[\#5387](https://github.com/matrix-org/matrix-react-sdk/pull/5387)
68+
* Tweaks to toasts and post-registration landing
69+
[\#5383](https://github.com/matrix-org/matrix-react-sdk/pull/5383)
70+
71+
Changes in [3.8.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.8.0) (2020-11-09)
72+
===================================================================================================
73+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.8.0-rc.1...v3.8.0)
74+
75+
* Upgrade JS SDK to 9.1.0
76+
77+
Changes in [3.8.0-rc.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.8.0-rc.1) (2020-11-04)
78+
=============================================================================================================
79+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.7.1...v3.8.0-rc.1)
80+
81+
* Upgrade JS SDK to 9.1.0-rc.1
82+
* Log when saving profile
83+
[\#5394](https://github.com/matrix-org/matrix-react-sdk/pull/5394)
84+
* Translations update from Weblate
85+
[\#5395](https://github.com/matrix-org/matrix-react-sdk/pull/5395)
86+
* Hide prompt to add email for notifications if 3pid ui feature is off
87+
[\#5392](https://github.com/matrix-org/matrix-react-sdk/pull/5392)
88+
* Fix room list message preview copy for hangup events
89+
[\#5388](https://github.com/matrix-org/matrix-react-sdk/pull/5388)
90+
* Track UISIs as Countly Events
91+
[\#5382](https://github.com/matrix-org/matrix-react-sdk/pull/5382)
92+
* Don't let users accidentally redact ACL events
93+
[\#5384](https://github.com/matrix-org/matrix-react-sdk/pull/5384)
94+
* Two more easy files to remove from eslintignore
95+
[\#5378](https://github.com/matrix-org/matrix-react-sdk/pull/5378)
96+
* Fix Widget OpenID Permissions for realsies
97+
[\#5381](https://github.com/matrix-org/matrix-react-sdk/pull/5381)
98+
* Fix regression with OpenID permissions on widgets
99+
[\#5380](https://github.com/matrix-org/matrix-react-sdk/pull/5380)
100+
* Fix room directory events happening in the wrong order for Funnels
101+
[\#5379](https://github.com/matrix-org/matrix-react-sdk/pull/5379)
102+
* Remove a couple more files from eslintignore
103+
[\#5377](https://github.com/matrix-org/matrix-react-sdk/pull/5377)
104+
* Fix countly method bindings and errors
105+
[\#5376](https://github.com/matrix-org/matrix-react-sdk/pull/5376)
106+
* Fix a bunch of silly lint errors
107+
[\#5375](https://github.com/matrix-org/matrix-react-sdk/pull/5375)
108+
* Typescript: ImageUtils
109+
[\#5374](https://github.com/matrix-org/matrix-react-sdk/pull/5374)
110+
* Convert AuxPanel to TypeScript
111+
[\#5373](https://github.com/matrix-org/matrix-react-sdk/pull/5373)
112+
* Only pass metrics if they exist otherwise Countly will be unhappy!
113+
[\#5372](https://github.com/matrix-org/matrix-react-sdk/pull/5372)
114+
* Fix CountlyAnalytics NPE on MatrixClientPeg
115+
[\#5370](https://github.com/matrix-org/matrix-react-sdk/pull/5370)
116+
* fix CountlyAnalytics canEnable on wrong target
117+
[\#5369](https://github.com/matrix-org/matrix-react-sdk/pull/5369)
118+
* Initial Countly work
119+
[\#5365](https://github.com/matrix-org/matrix-react-sdk/pull/5365)
120+
* Fix videos not playing in non-encrypted rooms
121+
[\#5368](https://github.com/matrix-org/matrix-react-sdk/pull/5368)
122+
* Fix custom tag layout which regressed in #5309
123+
[\#5367](https://github.com/matrix-org/matrix-react-sdk/pull/5367)
124+
* Watch replyToEvent at RoomView to prevent races
125+
[\#5360](https://github.com/matrix-org/matrix-react-sdk/pull/5360)
126+
* Add a UI Feature flag for room history settings
127+
[\#5362](https://github.com/matrix-org/matrix-react-sdk/pull/5362)
128+
* Hide inline images when preference disabled
129+
[\#5361](https://github.com/matrix-org/matrix-react-sdk/pull/5361)
130+
* Fix React warning by moving handler to each button
131+
[\#5359](https://github.com/matrix-org/matrix-react-sdk/pull/5359)
132+
* Do not preload encrypted videos|images unless autoplay or thumbnailing is on
133+
[\#5352](https://github.com/matrix-org/matrix-react-sdk/pull/5352)
134+
* Fix theme variable passed to Jitsi
135+
[\#5357](https://github.com/matrix-org/matrix-react-sdk/pull/5357)
136+
* docs: added comment explanation
137+
[\#5349](https://github.com/matrix-org/matrix-react-sdk/pull/5349)
138+
* Modal Widgets - MSC2790
139+
[\#5252](https://github.com/matrix-org/matrix-react-sdk/pull/5252)
140+
* Widgets fixes
141+
[\#5350](https://github.com/matrix-org/matrix-react-sdk/pull/5350)
142+
* Fix User Menu avatar colouring being based on wrong string
143+
[\#5348](https://github.com/matrix-org/matrix-react-sdk/pull/5348)
144+
* Support 'answered elsewhere'
145+
[\#5345](https://github.com/matrix-org/matrix-react-sdk/pull/5345)
146+
147+
Changes in [3.7.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.7.1) (2020-10-28)
148+
===================================================================================================
149+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.7.0...v3.7.1)
150+
151+
* Upgrade JS SDK to 9.0.1
152+
* [Release] Fix theme variable passed to Jitsi
153+
[\#5358](https://github.com/matrix-org/matrix-react-sdk/pull/5358)
154+
* [Release] Widget fixes
155+
[\#5351](https://github.com/matrix-org/matrix-react-sdk/pull/5351)
156+
157+
Changes in [3.7.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.7.0) (2020-10-26)
158+
===================================================================================================
159+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.7.0-rc.2...v3.7.0)
160+
161+
* Upgrade JS SDK to 9.0.0
162+
163+
Changes in [3.7.0-rc.2](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.7.0-rc.2) (2020-10-21)
164+
=============================================================================================================
165+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.7.0-rc.1...v3.7.0-rc.2)
166+
167+
* Fix JS SDK dependency to use 9.0.0-rc.1 as intended
168+
169+
Changes in [3.7.0-rc.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.7.0-rc.1) (2020-10-21)
170+
=============================================================================================================
171+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.6.1...v3.7.0-rc.1)
172+
173+
* Upgrade JS SDK to 9.0.0-rc.1
174+
* Update Weblate URL
175+
[\#5346](https://github.com/matrix-org/matrix-react-sdk/pull/5346)
176+
* Translations update from Weblate
177+
[\#5347](https://github.com/matrix-org/matrix-react-sdk/pull/5347)
178+
* Left Panel Widget support
179+
[\#5247](https://github.com/matrix-org/matrix-react-sdk/pull/5247)
180+
* Pinned widgets work
181+
[\#5266](https://github.com/matrix-org/matrix-react-sdk/pull/5266)
182+
* Convert resizer to Typescript
183+
[\#5343](https://github.com/matrix-org/matrix-react-sdk/pull/5343)
184+
* Hide filtering microcopy when left panel is minimized
185+
[\#5338](https://github.com/matrix-org/matrix-react-sdk/pull/5338)
186+
* Skip editor confirmation of upgrades
187+
[\#5344](https://github.com/matrix-org/matrix-react-sdk/pull/5344)
188+
* Spec compliance, /search doesn't have to return results
189+
[\#5337](https://github.com/matrix-org/matrix-react-sdk/pull/5337)
190+
* Fix excessive hosting link padding
191+
[\#5336](https://github.com/matrix-org/matrix-react-sdk/pull/5336)
192+
* Adjust for new widget messaging APIs
193+
[\#5341](https://github.com/matrix-org/matrix-react-sdk/pull/5341)
194+
* Fix case where sublist context menu missed an update
195+
[\#5339](https://github.com/matrix-org/matrix-react-sdk/pull/5339)
196+
* Add analytics to VoIP
197+
[\#5340](https://github.com/matrix-org/matrix-react-sdk/pull/5340)
198+
* Fix Jitsi OpenIDC auth
199+
[\#5334](https://github.com/matrix-org/matrix-react-sdk/pull/5334)
200+
* Support rejecting calls
201+
[\#5324](https://github.com/matrix-org/matrix-react-sdk/pull/5324)
202+
* Don't show admin tooling if we're not in the room
203+
[\#5330](https://github.com/matrix-org/matrix-react-sdk/pull/5330)
204+
* Show Integrations error if iframe failed to load too
205+
[\#5328](https://github.com/matrix-org/matrix-react-sdk/pull/5328)
206+
* Add security customisation points
207+
[\#5327](https://github.com/matrix-org/matrix-react-sdk/pull/5327)
208+
* Discard all mx_fadable legacy cruft which is totally useless
209+
[\#5326](https://github.com/matrix-org/matrix-react-sdk/pull/5326)
210+
* Fix background-image: url(null) for backdrop filter
211+
[\#5319](https://github.com/matrix-org/matrix-react-sdk/pull/5319)
212+
* Make the ACL update message less noisy
213+
[\#5316](https://github.com/matrix-org/matrix-react-sdk/pull/5316)
214+
* Fix aspect ratio of avatar before clicking Save
215+
[\#5318](https://github.com/matrix-org/matrix-react-sdk/pull/5318)
216+
* Don't supply popout widgets with widget parameters
217+
[\#5323](https://github.com/matrix-org/matrix-react-sdk/pull/5323)
218+
* Changed rainbow algorithm
219+
[\#5301](https://github.com/matrix-org/matrix-react-sdk/pull/5301)
220+
* Renamed TagPanel and TagOrderStore
221+
[\#5309](https://github.com/matrix-org/matrix-react-sdk/pull/5309)
222+
* Fix/clarify boolean logic for reaction previews
223+
[\#5321](https://github.com/matrix-org/matrix-react-sdk/pull/5321)
224+
* Support glare for VoIP calls
225+
[\#5311](https://github.com/matrix-org/matrix-react-sdk/pull/5311)
226+
* Round of Typescript conversions
227+
[\#5314](https://github.com/matrix-org/matrix-react-sdk/pull/5314)
228+
* Fix broken rendering of Room Create when showHiddenEvents enabled
229+
[\#5317](https://github.com/matrix-org/matrix-react-sdk/pull/5317)
230+
* Improve LHS resize performance and tidy stale props&classes
231+
[\#5313](https://github.com/matrix-org/matrix-react-sdk/pull/5313)
232+
* event-index: Pass the user/device id pair when initializing the event index.
233+
[\#5312](https://github.com/matrix-org/matrix-react-sdk/pull/5312)
234+
* Fix various aspects of (jitsi) widgets
235+
[\#5315](https://github.com/matrix-org/matrix-react-sdk/pull/5315)
236+
* Fix rogue (partial) call bar
237+
[\#5310](https://github.com/matrix-org/matrix-react-sdk/pull/5310)
238+
* Rewrite call state machine
239+
[\#5308](https://github.com/matrix-org/matrix-react-sdk/pull/5308)
240+
* Convert `src/SecurityManager.js` to TypeScript
241+
[\#5307](https://github.com/matrix-org/matrix-react-sdk/pull/5307)
242+
* Fix templating for v1 jitsi widgets
243+
[\#5305](https://github.com/matrix-org/matrix-react-sdk/pull/5305)
244+
* Use new preparing event for widget communications
245+
[\#5303](https://github.com/matrix-org/matrix-react-sdk/pull/5303)
246+
* Fix parsing issue in event tile preview for appearance tab
247+
[\#5302](https://github.com/matrix-org/matrix-react-sdk/pull/5302)
248+
* Track replyToEvent along with Cider state & history
249+
[\#5284](https://github.com/matrix-org/matrix-react-sdk/pull/5284)
250+
* Roving Tab Index should not interfere with inputs
251+
[\#5299](https://github.com/matrix-org/matrix-react-sdk/pull/5299)
252+
* Visual tweaks from 2020-10-06 polishing
253+
[\#5298](https://github.com/matrix-org/matrix-react-sdk/pull/5298)
254+
* Convert auth lifecycle to TS, remove dead ILAG code
255+
[\#5296](https://github.com/matrix-org/matrix-react-sdk/pull/5296)
256+
257+
Changes in [3.6.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.6.1) (2020-10-20)
258+
===================================================================================================
259+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.6.0...v3.6.1)
260+
261+
* [Release] Adjust for new widget messaging APIs
262+
[\#5342](https://github.com/matrix-org/matrix-react-sdk/pull/5342)
263+
* [Release] Fix Jitsi OpenIDC auth
264+
[\#5335](https://github.com/matrix-org/matrix-react-sdk/pull/5335)
265+
1266
Changes in [3.6.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.6.0) (2020-10-12)
2267
===================================================================================================
3268
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.6.0-rc.1...v3.6.0)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ are currently filed against vector-im/element-web rather than this project).
1818

1919
Translation Status
2020
==================
21-
[![Translation status](https://translate.riot.im/widgets/element-web/-/multi-auto.svg)](https://translate.riot.im/engage/element-web/?utm_source=widget)
21+
[![Translation status](https://translate.element.io/widgets/element-web/-/multi-auto.svg)](https://translate.element.io/engage/element-web/?utm_source=widget)
2222

2323
Developer Guide
2424
===============

__test-utils__/environment.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const BaseEnvironment = require("jest-environment-jsdom-sixteen");
2+
3+
class Environment extends BaseEnvironment {
4+
constructor(config, options) {
5+
super(Object.assign({}, config, {
6+
globals: Object.assign({}, config.globals, {
7+
// Explicitly specify the correct globals to workaround Jest bug
8+
// https://github.com/facebook/jest/issues/7780
9+
Uint32Array: Uint32Array,
10+
Uint8Array: Uint8Array,
11+
ArrayBuffer: ArrayBuffer,
12+
}),
13+
}), options);
14+
}
15+
}
16+
17+
module.exports = Environment;

0 commit comments

Comments
 (0)