Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 11b4ffe

Browse files
author
Weblate
committed
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into develop
Conflicts: src/i18n/strings/cs.json src/i18n/strings/de_DE.json src/i18n/strings/fi.json src/i18n/strings/fr.json src/i18n/strings/it.json src/i18n/strings/nl.json src/i18n/strings/ru.json src/i18n/strings/th.json
2 parents 55cdbe6 + b73e28a commit 11b4ffe

File tree

235 files changed

+6672
-4363
lines changed

Some content is hidden

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

235 files changed

+6672
-4363
lines changed

.eslintignore.errorfiles

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

3-
src/async-components/views/dialogs/EncryptedEventDialog.js
43
src/autocomplete/AutocompleteProvider.js
54
src/autocomplete/Autocompleter.js
6-
src/autocomplete/Components.js
7-
src/autocomplete/DuckDuckGoProvider.js
85
src/autocomplete/EmojiProvider.js
96
src/autocomplete/UserProvider.js
107
src/CallHandler.js
118
src/component-index.js
129
src/components/structures/ContextualMenu.js
1310
src/components/structures/CreateRoom.js
1411
src/components/structures/FilePanel.js
15-
src/components/structures/InteractiveAuth.js
1612
src/components/structures/LoggedInView.js
1713
src/components/structures/login/ForgotPassword.js
1814
src/components/structures/login/Login.js
19-
src/components/structures/login/PostRegistration.js
2015
src/components/structures/login/Registration.js
2116
src/components/structures/MessagePanel.js
2217
src/components/structures/NotificationPanel.js
@@ -27,52 +22,32 @@ src/components/structures/TimelinePanel.js
2722
src/components/structures/UploadBar.js
2823
src/components/views/avatars/BaseAvatar.js
2924
src/components/views/avatars/MemberAvatar.js
30-
src/components/views/avatars/RoomAvatar.js
31-
src/components/views/create_room/CreateRoomButton.js
32-
src/components/views/create_room/Presets.js
3325
src/components/views/create_room/RoomAlias.js
3426
src/components/views/dialogs/ChatCreateOrReuseDialog.js
3527
src/components/views/dialogs/DeactivateAccountDialog.js
36-
src/components/views/dialogs/InteractiveAuthDialog.js
3728
src/components/views/dialogs/UnknownDeviceDialog.js
38-
src/components/views/elements/AccessibleButton.js
39-
src/components/views/elements/ActionButton.js
4029
src/components/views/elements/AddressSelector.js
41-
src/components/views/elements/AddressTile.js
4230
src/components/views/elements/CreateRoomButton.js
4331
src/components/views/elements/DeviceVerifyButtons.js
4432
src/components/views/elements/DirectorySearchBox.js
45-
src/components/views/elements/Dropdown.js
4633
src/components/views/elements/EditableText.js
47-
src/components/views/elements/EditableTextContainer.js
4834
src/components/views/elements/HomeButton.js
49-
src/components/views/elements/LanguageDropdown.js
5035
src/components/views/elements/MemberEventListSummary.js
5136
src/components/views/elements/PowerSelector.js
52-
src/components/views/elements/ProgressBar.js
5337
src/components/views/elements/RoomDirectoryButton.js
5438
src/components/views/elements/SettingsButton.js
5539
src/components/views/elements/StartChatButton.js
5640
src/components/views/elements/TintableSvg.js
57-
src/components/views/elements/TruncatedList.js
5841
src/components/views/elements/UserSelector.js
59-
src/components/views/login/CaptchaForm.js
60-
src/components/views/login/CasLogin.js
6142
src/components/views/login/CountryDropdown.js
62-
src/components/views/login/CustomServerDialog.js
6343
src/components/views/login/InteractiveAuthEntryComponents.js
64-
src/components/views/login/LoginHeader.js
6544
src/components/views/login/PasswordLogin.js
6645
src/components/views/login/RegistrationForm.js
6746
src/components/views/login/ServerConfig.js
68-
src/components/views/messages/MAudioBody.js
69-
src/components/views/messages/MessageEvent.js
7047
src/components/views/messages/MFileBody.js
7148
src/components/views/messages/MImageBody.js
72-
src/components/views/messages/MVideoBody.js
7349
src/components/views/messages/RoomAvatarEvent.js
7450
src/components/views/messages/TextualBody.js
75-
src/components/views/messages/TextualEvent.js
7651
src/components/views/room_settings/AliasSettings.js
7752
src/components/views/room_settings/ColorSettings.js
7853
src/components/views/room_settings/UrlPreviewSettings.js
@@ -87,14 +62,11 @@ src/components/views/rooms/MemberList.js
8762
src/components/views/rooms/MemberTile.js
8863
src/components/views/rooms/MessageComposer.js
8964
src/components/views/rooms/MessageComposerInput.js
90-
src/components/views/rooms/PresenceLabel.js
9165
src/components/views/rooms/ReadReceiptMarker.js
9266
src/components/views/rooms/RoomList.js
93-
src/components/views/rooms/RoomNameEditor.js
9467
src/components/views/rooms/RoomPreviewBar.js
9568
src/components/views/rooms/RoomSettings.js
9669
src/components/views/rooms/RoomTile.js
97-
src/components/views/rooms/RoomTopicEditor.js
9870
src/components/views/rooms/SearchableEntityList.js
9971
src/components/views/rooms/SearchResultTile.js
10072
src/components/views/rooms/TopUnreadMessagesBar.js
@@ -104,8 +76,6 @@ src/components/views/settings/ChangeAvatar.js
10476
src/components/views/settings/ChangeDisplayName.js
10577
src/components/views/settings/ChangePassword.js
10678
src/components/views/settings/DevicesPanel.js
107-
src/components/views/settings/DevicesPanelEntry.js
108-
src/components/views/settings/EnableNotificationsButton.js
10979
src/ContentMessages.js
11080
src/HtmlUtils.js
11181
src/ImageUtils.js
@@ -123,8 +93,6 @@ src/RichText.js
12393
src/Roles.js
12494
src/Rooms.js
12595
src/ScalarAuthClient.js
126-
src/ScalarMessaging.js
127-
src/TextForEvent.js
12896
src/Tinter.js
12997
src/UiEffects.js
13098
src/Unread.js
@@ -137,17 +105,13 @@ src/Velociraptor.js
137105
src/VelocityBounce.js
138106
src/WhoIsTyping.js
139107
src/wrappers/withMatrixClient.js
140-
test/all-tests.js
141108
test/components/structures/login/Registration-test.js
142109
test/components/structures/MessagePanel-test.js
143110
test/components/structures/ScrollPanel-test.js
144111
test/components/structures/TimelinePanel-test.js
145-
test/components/stub-component.js
146112
test/components/views/dialogs/InteractiveAuthDialog-test.js
147113
test/components/views/elements/MemberEventListSummary-test.js
148114
test/components/views/login/RegistrationForm-test.js
149115
test/components/views/rooms/MessageComposerInput-test.js
150116
test/mock-clock.js
151-
test/skinned-sdk.js
152117
test/stores/RoomViewStore-test.js
153-
test/test-utils.js

.eslintrc.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,19 @@ module.exports = {
4040
}],
4141
"react/jsx-key": ["error"],
4242

43+
// Assert no spacing in JSX curly brackets
44+
// <Element prop={ consideredError} prop={notConsideredError} />
45+
//
46+
// https://github.com/yannickcr/eslint-plugin-react/blob/HEAD/docs/rules/jsx-curly-spacing.md
47+
"react/jsx-curly-spacing": ["error", {"when": "never", "children": {"when": "always"}}],
48+
49+
// Assert spacing before self-closing JSX tags, and no spacing before or
50+
// after the closing slash, and no spacing after the opening bracket of
51+
// the opening tag or closing tag.
52+
//
53+
// https://github.com/yannickcr/eslint-plugin-react/blob/HEAD/docs/rules/jsx-tag-spacing.md
54+
"react/jsx-tag-spacing": ["error"],
55+
4356
/** flowtype **/
4457
"flowtype/require-parameter-type": ["warn", {
4558
"excludeArrowFunctions": true,

CHANGELOG.md

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,106 @@
1+
Changes in [0.10.6](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v0.10.6) (2017-09-21)
2+
=====================================================================================================
3+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v0.10.5...v0.10.6)
4+
5+
* New version of js-sdk with fixed build
6+
7+
Changes in [0.10.5](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v0.10.5) (2017-09-21)
8+
=====================================================================================================
9+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v0.10.4...v0.10.5)
10+
11+
* Fix build error (https://github.com/vector-im/riot-web/issues/5091)
12+
13+
Changes in [0.10.4](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v0.10.4) (2017-09-20)
14+
=====================================================================================================
15+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v0.10.4-rc.1...v0.10.4)
16+
17+
* No changes
18+
19+
Changes in [0.10.4-rc.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v0.10.4-rc.1) (2017-09-19)
20+
===============================================================================================================
21+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v0.10.3...v0.10.4-rc.1)
22+
23+
* Fix RoomView stuck in 'accept invite' state
24+
[\#1396](https://github.com/matrix-org/matrix-react-sdk/pull/1396)
25+
* Only show the integ management button if user is joined
26+
[\#1398](https://github.com/matrix-org/matrix-react-sdk/pull/1398)
27+
* suppressOnHover for member entity tiles which have no onClick
28+
[\#1273](https://github.com/matrix-org/matrix-react-sdk/pull/1273)
29+
* add /devtools command
30+
[\#1268](https://github.com/matrix-org/matrix-react-sdk/pull/1268)
31+
* Fix broken Link
32+
[\#1359](https://github.com/matrix-org/matrix-react-sdk/pull/1359)
33+
* Show who redacted an event on hover
34+
[\#1387](https://github.com/matrix-org/matrix-react-sdk/pull/1387)
35+
* start MELS expanded if it contains a highlighted/permalinked event.
36+
[\#1388](https://github.com/matrix-org/matrix-react-sdk/pull/1388)
37+
* Add ignore user API support
38+
[\#1389](https://github.com/matrix-org/matrix-react-sdk/pull/1389)
39+
* Add option to disable Emoji suggestions
40+
[\#1392](https://github.com/matrix-org/matrix-react-sdk/pull/1392)
41+
* sanitize the i18n for fn:textForHistoryVisibilityEvent
42+
[\#1397](https://github.com/matrix-org/matrix-react-sdk/pull/1397)
43+
* Don't check for only-emoji if there were none
44+
[\#1394](https://github.com/matrix-org/matrix-react-sdk/pull/1394)
45+
* Fix emojification of symbol characters
46+
[\#1393](https://github.com/matrix-org/matrix-react-sdk/pull/1393)
47+
* Update from Weblate.
48+
[\#1395](https://github.com/matrix-org/matrix-react-sdk/pull/1395)
49+
* Make /join join again
50+
[\#1391](https://github.com/matrix-org/matrix-react-sdk/pull/1391)
51+
* Display spinner not room preview after room create
52+
[\#1390](https://github.com/matrix-org/matrix-react-sdk/pull/1390)
53+
* Fix the avatar / room name in room preview
54+
[\#1384](https://github.com/matrix-org/matrix-react-sdk/pull/1384)
55+
* Remove spurious cancel button
56+
[\#1381](https://github.com/matrix-org/matrix-react-sdk/pull/1381)
57+
* Fix starting a chat by email address
58+
[\#1386](https://github.com/matrix-org/matrix-react-sdk/pull/1386)
59+
* respond on copy code block
60+
[\#1363](https://github.com/matrix-org/matrix-react-sdk/pull/1363)
61+
* fix DateUtils inconsistency with 12/24h
62+
[\#1383](https://github.com/matrix-org/matrix-react-sdk/pull/1383)
63+
* allow sending sub,sup and whitelist them on receive
64+
[\#1382](https://github.com/matrix-org/matrix-react-sdk/pull/1382)
65+
* Update roomlist when an event is decrypted
66+
[\#1380](https://github.com/matrix-org/matrix-react-sdk/pull/1380)
67+
* Update from Weblate.
68+
[\#1379](https://github.com/matrix-org/matrix-react-sdk/pull/1379)
69+
* fix radio for theme selection
70+
[\#1368](https://github.com/matrix-org/matrix-react-sdk/pull/1368)
71+
* fix some more zh_Hans - remove entirely broken lines
72+
[\#1378](https://github.com/matrix-org/matrix-react-sdk/pull/1378)
73+
* fix placeholder causing app to break when using zh
74+
[\#1377](https://github.com/matrix-org/matrix-react-sdk/pull/1377)
75+
* Avoid re-rendering RoomList on room switch
76+
[\#1375](https://github.com/matrix-org/matrix-react-sdk/pull/1375)
77+
* Fix 'Failed to load timeline position' regression
78+
[\#1376](https://github.com/matrix-org/matrix-react-sdk/pull/1376)
79+
* Fast path for emojifying strings
80+
[\#1372](https://github.com/matrix-org/matrix-react-sdk/pull/1372)
81+
* Consolidate the code copy button
82+
[\#1374](https://github.com/matrix-org/matrix-react-sdk/pull/1374)
83+
* Only add the code copy button for HTML messages
84+
[\#1373](https://github.com/matrix-org/matrix-react-sdk/pull/1373)
85+
* Don't re-render matrixchat unnecessarily
86+
[\#1371](https://github.com/matrix-org/matrix-react-sdk/pull/1371)
87+
* Don't wait for setState to run onHaveRoom
88+
[\#1370](https://github.com/matrix-org/matrix-react-sdk/pull/1370)
89+
* Introduce a RoomScrollStateStore
90+
[\#1367](https://github.com/matrix-org/matrix-react-sdk/pull/1367)
91+
* Don't always paginate when mounting a ScrollPanel
92+
[\#1369](https://github.com/matrix-org/matrix-react-sdk/pull/1369)
93+
* Remove unused scrollStateMap from LoggedinView
94+
[\#1366](https://github.com/matrix-org/matrix-react-sdk/pull/1366)
95+
* Revert "Implement sticky date separators"
96+
[\#1365](https://github.com/matrix-org/matrix-react-sdk/pull/1365)
97+
* Remove unused string "changing room on a RoomView is not supported"
98+
[\#1361](https://github.com/matrix-org/matrix-react-sdk/pull/1361)
99+
* Remove unused translation code translations
100+
[\#1360](https://github.com/matrix-org/matrix-react-sdk/pull/1360)
101+
* Implement sticky date separators
102+
[\#1353](https://github.com/matrix-org/matrix-react-sdk/pull/1353)
103+
1104
Changes in [0.10.3](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v0.10.3) (2017-09-06)
2105
=====================================================================================================
3106
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v0.10.3-rc.2...v0.10.3)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Please follow the standard Matrix contributor's guide:
4646
https://github.com/matrix-org/synapse/tree/master/CONTRIBUTING.rst
4747

4848
Please follow the Matrix JS/React code style as per:
49-
https://github.com/matrix-org/matrix-react-sdk/tree/master/code_style.rst
49+
https://github.com/matrix-org/matrix-react-sdk/blob/master/code_style.md
5050

5151
Whilst the layering separation between matrix-react-sdk and Riot is broken
5252
(as of July 2016), code should be committed as follows:

jenkins.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ npm run test -- --no-colors
2121
npm run lintall -- -f checkstyle -o eslint.xml || true
2222

2323
# re-run the linter, excluding any files known to have errors or warnings.
24-
./node_modules/.bin/eslint --max-warnings 0 \
25-
--ignore-path .eslintignore.errorfiles \
26-
src test
24+
npm run lintwithexclusions
2725

2826
# delete the old tarball, if it exists
2927
rm -f matrix-react-sdk-*.tgz

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "matrix-react-sdk",
3-
"version": "0.10.3",
3+
"version": "0.10.6",
44
"description": "SDK for matrix.org using React",
55
"author": "matrix.org",
66
"repository": {
@@ -39,8 +39,9 @@
3939
"start": "parallelshell \"npm run build:watch\" \"npm run reskindex:watch\"",
4040
"lint": "eslint src/",
4141
"lintall": "eslint src/ test/",
42+
"lintwithexclusions": "eslint --max-warnings 0 --ignore-path .eslintignore.errorfiles src test",
4243
"clean": "rimraf lib",
43-
"prepublish": "npm run build && git rev-parse HEAD > git-revision.txt",
44+
"prepublish": "npm run clean && npm run build && git rev-parse HEAD > git-revision.txt",
4445
"test": "karma start --single-run=true --browsers ChromeHeadless",
4546
"test-multi": "karma start"
4647
},
@@ -66,7 +67,7 @@
6667
"isomorphic-fetch": "^2.2.1",
6768
"linkifyjs": "^2.1.3",
6869
"lodash": "^4.13.1",
69-
"matrix-js-sdk": "0.8.2",
70+
"matrix-js-sdk": "0.8.4",
7071
"optimist": "^0.6.1",
7172
"prop-types": "^15.5.8",
7273
"react": "^15.4.0",
@@ -99,7 +100,7 @@
99100
"eslint-config-google": "^0.7.1",
100101
"eslint-plugin-babel": "^4.0.1",
101102
"eslint-plugin-flowtype": "^2.30.0",
102-
"eslint-plugin-react": "^6.9.0",
103+
"eslint-plugin-react": "^7.4.0",
103104
"expect": "^1.16.0",
104105
"json-loader": "^0.5.3",
105106
"karma": "^1.7.0",

scripts/travis.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@ npm run test
66
./.travis-test-riot.sh
77

88
# run the linter, but exclude any files known to have errors or warnings.
9-
./node_modules/.bin/eslint --max-warnings 0 \
10-
--ignore-path .eslintignore.errorfiles \
11-
src test
9+
npm run lintwithexclusions

src/BasePlatform.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ export default class BasePlatform {
107107

108108
isElectron(): boolean { return false; }
109109

110+
setupScreenSharingForIframe() {
111+
}
112+
110113
/**
111114
* Restarts the application, without neccessarily reloading
112115
* any application code

0 commit comments

Comments
 (0)