David Baker
ee40c7891b
Merge pull request #3656 from matrix-org/dbkr/messagepanel_react_class
...
Convert MessagePanel to React class
2019-11-22 13:19:57 +00:00
David Baker
25ba4c5f71
Fix read markers
...
init code needs to be a constructor or its run too late
2019-11-22 13:11:36 +00:00
Weblate
7f11869444
Merge branch 'origin/develop' into Weblate.
2019-11-22 13:09:13 +00:00
Szimszon
fed1ed3b50
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1918 of 1918 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-22 13:09:12 +00:00
Kévin C
27c64db613
Translated using Weblate (French)
...
Currently translated at 100.0% (1918 of 1918 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-22 13:09:11 +00:00
Jeff Huang
936c36dd58
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1918 of 1918 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-22 13:09:08 +00:00
David Baker
3f5a8faf37
PropTypes should be static
2019-11-22 13:01:56 +00:00
David Baker
fd5a5e13ee
Make addEventListener conditional
...
Safari doesn't support addEventListener
2019-11-22 12:59:51 +00:00
David Baker
6d4abeef45
Convert MessagePanel to React class
...
I was about to add the getDerivedStateFromProps function to change
how read markers worked, but doing that in an old style class
means the statics object, so let;s just convert the thing.
2019-11-22 12:07:25 +00:00
Michael Telatynski
a02a285058
Show m.room.create event before the ELS on room upgrade
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-22 10:24:51 +00:00
Weblate
82ace51f90
Merge branch 'origin/develop' into Weblate.
2019-11-21 17:43:19 +00:00
David Baker
1a7d298319
Merge pull request #3654 from matrix-org/dbkr/call_crash_workaround
...
Workaround for soft-crash with calls on startup
2019-11-21 17:43:14 +00:00
David Baker
b239fde32d
Workaround for soft-crash with calls on startup
...
Fixes https://github.com/vector-im/riot-web/issues/11458
2019-11-21 17:31:57 +00:00
Weblate
c1aa5f16db
Merge branch 'origin/develop' into Weblate.
2019-11-21 17:29:30 +00:00
David Baker
53edbc743a
Merge pull request #3652 from matrix-org/dbkr/catch_play_failures
...
Catch exceptions when we can't play audio
2019-11-21 17:29:25 +00:00
Travis Ralston
812b0785bf
Fix i18n post-merge
2019-11-21 10:22:31 -07:00
Travis Ralston
72f0401589
Merge branch 'develop' into jryans/4s-new-key-backup
2019-11-21 10:22:13 -07:00
Weblate
785f00e6d0
Merge branch 'origin/develop' into Weblate.
2019-11-21 17:14:05 +00:00
Travis Ralston
9d5f3ce32d
Merge pull request #3650 from matrix-org/travis/widget-integration-copy
...
Rename section heading for integrations in settings
2019-11-21 10:13:59 -07:00
Weblate
f532d625f8
Merge branch 'origin/develop' into Weblate.
2019-11-21 17:13:52 +00:00
Travis Ralston
9089744f07
Merge pull request #3651 from matrix-org/travis/widget-encryption-copy
...
Update copy for widgets not using message encryption
2019-11-21 10:13:47 -07:00
David Baker
5d8476185f
Catch exceptions when we can't play audio
...
...or try to: the chrome debugger still breakpoints, even when we
catch the exception.
Related to, but probably does not fix https://github.com/vector-im/riot-web/issues/7657
2019-11-21 17:11:17 +00:00
Weblate
8819d5cf0c
Merge branch 'origin/develop' into Weblate.
2019-11-21 16:28:10 +00:00
Szimszon
08e08376a2
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1922 of 1922 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-21 16:28:10 +00:00
Travis Ralston
a55e5f7759
Update copy for widgets not using message encryption
...
Misc design update
2019-11-21 09:12:07 -07:00
David Baker
f0fbb20ee5
Detect support for mediaSession
...
Firefox doesn't support mediaSession so don't try setting handlers
2019-11-21 16:11:42 +00:00
Travis Ralston
f7f22444e8
Rename section heading for integrations in settings
...
Misc design update
2019-11-21 09:03:07 -07:00
David Baker
5c6ef10c6b
Ignore media actions
...
Hopefully the comment explains all
Fixes https://github.com/vector-im/riot-web/issues/11118
2019-11-21 15:55:30 +00:00
Weblate
41a820acdf
Merge branch 'origin/develop' into Weblate.
2019-11-21 15:11:04 +00:00
Travis Ralston
6597e0bd42
Merge pull request #3646 from matrix-org/travis/integration-manager-opt
...
Add an option to disable the use of integration managers for provisioning
2019-11-21 08:10:56 -07:00
Weblate
1e13cbb442
Merge branch 'origin/develop' into Weblate.
2019-11-21 15:10:35 +00:00
Travis Ralston
86783e4439
Merge pull request #3645 from matrix-org/travis/widget-menu
...
Move many widget options to a context menu
2019-11-21 08:10:28 -07:00
Weblate
f3ac2c2a1e
Merge branch 'origin/develop' into Weblate.
2019-11-21 15:05:12 +00:00
Edgars Voroboks
598901b483
Translated using Weblate (Latvian)
...
Currently translated at 47.8% (918 of 1919 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lv/
2019-11-21 15:05:11 +00:00
random
87167f42f8
Translated using Weblate (Italian)
...
Currently translated at 99.9% (1917 of 1919 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-11-21 15:05:11 +00:00
Szimszon
d786017d08
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1919 of 1919 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-21 15:05:10 +00:00
Kévin C
ad941b96e0
Translated using Weblate (French)
...
Currently translated at 100.0% (1919 of 1919 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-21 15:05:09 +00:00
Tuomas Hietala
670d44ecd8
Translated using Weblate (Finnish)
...
Currently translated at 96.1% (1845 of 1919 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-21 15:05:08 +00:00
Jeff Huang
5670a52469
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1919 of 1919 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-21 15:05:04 +00:00
Travis Ralston
5d612bb370
Merge pull request #3644 from matrix-org/travis/widget-encryption
...
Re-add encryption warning to widget permission prompt
2019-11-21 08:04:56 -07:00
Michael Telatynski
d3f872bf7a
Merge branches 'develop' and 't3chguy/remove_bluebird' of github.com:matrix-org/matrix-react-sdk into t3chguy/remove_bluebird
2019-11-21 11:15:32 +00:00
David Baker
04641a0f87
Merge pull request #3638 from matrix-org/dbkr/dedup_theming_code
...
Remove getBaseTheme
2019-11-21 09:44:37 +00:00
Travis Ralston
670c14b2e3
Circumvent the linter
2019-11-20 20:54:21 -07:00
Travis Ralston
a69d818a0d
Our linter is seriously picky.
2019-11-20 20:49:41 -07:00
Travis Ralston
560c0afae3
Appease the linter
2019-11-20 20:45:16 -07:00
Travis Ralston
94fed922cf
Intercept cases of disabled/no integration managers
...
We already intercepted most of the cases where no integration manager was present, though there was a bug in many components where openAll() would be called regardless of an integration manager being available.
The integration manager being disabled by the user is handled in the IntegrationManager classes rather than on click because we have quite a few calls to these functions. The StickerPicker is an exception because it does slightly different behaviour.
This also removes the old "no integration manager configured" state from the IntegrationManager component as it is now replaced by a dialog.
2019-11-20 20:40:39 -07:00
Travis Ralston
81c9bdd9f3
It's called an "Integration Manager" (singular)
...
Fixes https://github.com/vector-im/riot-web/issues/11256
This was finally annoying me enough to fix it.
2019-11-20 20:14:25 -07:00
Travis Ralston
3391cc0d90
Add the toggle switch for provisioning
2019-11-20 20:05:32 -07:00
Travis Ralston
0a0e952691
Update integration manager copy
2019-11-20 19:53:52 -07:00
Travis Ralston
b0eb54541c
Rip out options to change your integration manager
...
We are not supporting this due to the complexity involved in switching integration managers. We still support custom ones under the hood, just not to the common user. A later sprint on integrations will consider re-adding the option alongside fixing the various bugs out there.
2019-11-20 19:50:13 -07:00
Travis Ralston
fd12eb28e7
Move many widget options to a context menu
...
Part of https://github.com/vector-im/riot-web/issues/11262
2019-11-20 19:17:42 -07:00
bkil
a40194194d
ReactionsRowButtonTooltip: fix null dereference if emoji owner left room
...
Signed-off-by: bkil <b.K.il.h.u+tigbuh@gmail.com>
2019-11-21 01:50:18 +01:00
Travis Ralston
62a2c7a51a
Re-add encryption warning to widget permission prompt
2019-11-20 16:26:06 -07:00
Travis Ralston
8abc0953d5
Remove the import my IDE should have removed for me
2019-11-20 11:08:53 -07:00
Travis Ralston
93e4de9861
Fix positioning and sizing of e2e icon in the composer
...
This also removes the special case class for the composer because the input is now aligned regardless of icon.
2019-11-20 11:00:39 -07:00
J. Ryan Stinnett
e6dea37693
Add hidden button for bootstrapping SSSS
...
This adds an testing button to the key backup panel which bootstraps the Secure
Secret Storage system (and also cross-signing keys).
Fixes https://github.com/vector-im/riot-web/issues/11212
2019-11-20 17:56:44 +00:00
Travis Ralston
1c1b8cf6b9
Merge pull request #3630 from matrix-org/travis/widget-permission
...
Wire up the widget permission prompt to the cross-platform setting
2019-11-20 10:37:51 -07:00
J. Ryan Stinnett
c568c15186
In-memory keys need an object
2019-11-20 17:35:10 +00:00
David Baker
00241a8d0c
Merge pull request #3637 from matrix-org/dbkr/system_dark_mode
...
Get theme automatically from system setting
2019-11-20 16:32:37 +00:00
David Baker
e36f4375b0
Bugfix & clearer setting name
2019-11-20 16:12:14 +00:00
David Baker
b69cee0c67
Remove getBaseTheme
...
This was only used by vector/index.js, in the code removed by
https://github.com/vector-im/riot-web/pull/11445
React SDK does a very similar thing in setTheme but also gets the
rest of the custom theme name.
Requires https://github.com/vector-im/riot-web/pull/11445
2019-11-20 15:45:32 +00:00
David Baker
518130c912
add bug link
2019-11-20 15:37:48 +00:00
David Baker
a744415221
Add hack to work around mystery settings bug
2019-11-20 15:34:32 +00:00
Michael Telatynski
6121420113
Merge branch 'develop' into t3chguy/remove_bluebird
2019-11-20 15:21:23 +00:00
Bruno Windels
d1554977a8
Merge pull request #3633 from matrix-org/bwindels/fix-roomstatus-e2e-icon
...
use general warning icon instead of e2e one for room status
2019-11-20 14:36:30 +00:00
David Baker
71f5c8b2b0
Lint
2019-11-20 13:47:54 +00:00
David Baker
5a700b518a
Get theme automatically from system setting
...
Uses CSS `prefers-color-scheme` to get the user's preferred colour
scheme. Also bundles up some theme logic into its own class.
2019-11-20 13:41:06 +00:00
Damir Jelić
44b212bc4c
Merge branch 'poljar/seshat-pr' into develop
2019-11-20 13:33:03 +01:00
Damir Jelić
4bd46f9d69
EventIndex: Silence the linter complaining about missing docs.
2019-11-20 12:47:20 +01:00
Damir Jelić
0631faf902
Settings: Fix the supportedLevels for event indexing feature.
2019-11-20 12:31:07 +01:00
Damir Jelić
2f5b0a9652
EventIndex: Use property initializer style for the bound callbacks.
2019-11-20 12:30:03 +01:00
Weblate
52d542debe
Merge branch 'origin/develop' into Weblate.
2019-11-20 09:41:27 +00:00
Karol Kosek
d277a1946b
Translated using Weblate (Polish)
...
Currently translated at 76.0% (1456 of 1917 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-11-20 09:41:27 +00:00
fenuks
870def5d85
Translated using Weblate (Polish)
...
Currently translated at 76.0% (1456 of 1917 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-11-20 09:41:26 +00:00
송태섭
f25236c3fb
Translated using Weblate (Korean)
...
Currently translated at 100.0% (1917 of 1917 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-20 09:41:20 +00:00
Szimszon
8df0aee12b
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1917 of 1917 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-20 09:41:18 +00:00
Kévin C
df868a6b09
Translated using Weblate (French)
...
Currently translated at 100.0% (1917 of 1917 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-20 09:41:18 +00:00
Jeff Huang
ab8a9dd0e9
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1917 of 1917 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-20 09:41:16 +00:00
David Baker
a31d222570
Add catch handler for theme setting
2019-11-19 23:00:54 +00:00
David Baker
80ee68a42f
Use a settings watcher to set the theme
...
Rather than listening for account data updates manually
2019-11-19 22:36:55 +00:00
J. Ryan Stinnett
9dea848927
Use div around buttons to fix React warning
2019-11-19 16:28:49 +00:00
Bruno Windels
de0287213e
use general warning icon instead of e2e one for room status
2019-11-19 15:06:09 +01:00
Weblate
95e1b58e0d
Merge branch 'origin/develop' into Weblate.
2019-11-19 13:34:29 +00:00
Alexis
0eedab4154
Translated using Weblate (Portuguese)
...
Currently translated at 33.3% (638 of 1918 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt/
2019-11-19 13:24:31 +00:00
fenuks
afeab31ce6
Translated using Weblate (Polish)
...
Currently translated at 73.8% (1415 of 1918 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-11-19 13:24:29 +00:00
random
dbee3a1215
Translated using Weblate (Italian)
...
Currently translated at 99.9% (1916 of 1918 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-11-19 13:24:23 +00:00
Kévin C
0c0437ebf5
Translated using Weblate (French)
...
Currently translated at 100.0% (1918 of 1918 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-19 13:24:20 +00:00
Besnik Bleta
da2665f4a3
Translated using Weblate (Albanian)
...
Currently translated at 99.7% (1913 of 1918 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-11-19 13:24:17 +00:00
Damir Jelić
27d1e4fbbe
Fix the translations en_EN file by regenerating it.
2019-11-19 14:18:56 +01:00
Bruno Windels
43884923e8
merge the feature_user_info_panel flag into feature_dm_verification
2019-11-19 14:18:12 +01:00
Damir Jelić
e9df973c82
EventIndex: Move the event indexing files into a separate folder.
2019-11-19 14:05:00 +01:00
Damir Jelić
f776bdcc8b
EventIndex: Hide the feature behind a labs flag.
2019-11-19 14:05:00 +01:00
Damir Jelić
979803797f
Lifecycle: Make the clear storage method async.
2019-11-19 14:05:00 +01:00
Damir Jelić
6017473caf
EventIndex: Move the event listener registration into the EventIndex class.
2019-11-19 14:05:00 +01:00
Damir Jelić
d2a9918359
EventIndex: Remove some unused variables and some trailing whitespace.
2019-11-19 09:26:46 +01:00
Travis Ralston
5b6ace2558
Appease the linter
2019-11-18 18:02:47 -07:00
Travis Ralston
b185eed462
Wire up the widget permission prompt to the cross-platform setting
...
This doesn't have any backwards compatibility with anyone who has already clicked "Allow". We kinda want everyone to read the new prompt, so what better way to do it than effectively revoke all widget permissions?
Part of https://github.com/vector-im/riot-web/issues/11262
2019-11-18 17:56:33 -07:00
Weblate
2bc98c1bb8
Merge branch 'origin/develop' into Weblate.
2019-11-18 21:35:53 +00:00
Travis Ralston
2f89f28496
Remove extraneous paranoia
...
The value is nullchecked later on.
2019-11-18 14:25:04 -07:00
Travis Ralston
8d25952dbb
Add a bit more safety around breadcrumbs
...
Fixes https://github.com/vector-im/riot-web/issues/11420
2019-11-18 14:17:31 -07:00
Weblate
a142ee1267
Merge branch 'origin/develop' into Weblate.
2019-11-18 20:30:02 +00:00
Travis Ralston
f5ec9eb8f4
Ensure widgets always have a sender associated with them
...
Fixes https://github.com/vector-im/riot-web/issues/11419
2019-11-18 13:16:36 -07:00
Weblate
c6b1835884
Merge branch 'origin/develop' into Weblate.
2019-11-18 19:53:49 +00:00
Szimszon
6f8129419b
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1918 of 1918 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-18 19:53:49 +00:00
Michael Telatynski
f9d1fed74a
re-add missing case of codepath
2019-11-18 19:00:22 +00:00
Weblate
402e8047c7
Merge branch 'origin/develop' into Weblate.
2019-11-18 17:45:24 +00:00
Travis Ralston
ef1c575bff
Merge pull request #3622 from matrix-org/travis/new-widget-prompt
...
Implement the bulk of the new widget permission prompt design
2019-11-18 10:45:18 -07:00
J. Ryan Stinnett
cf26f14644
Switch to function properties to avoid manual binding in KeyBackupPanel
2019-11-18 17:43:34 +00:00
J. Ryan Stinnett
af2302265a
Convert CreateKeyBackupDialog to class
2019-11-18 17:43:34 +00:00
Weblate
bca03c981c
Merge branch 'origin/develop' into Weblate.
2019-11-18 17:09:14 +00:00
J. Ryan Stinnett
d5d2f7f936
Merge pull request #3588 from matrix-org/jryans/identity-disco-opt
...
Relax identity server discovery error handling
2019-11-18 17:09:08 +00:00
Weblate
e52f554acf
Merge branch 'origin/develop' into Weblate.
2019-11-18 16:52:08 +00:00
Walter
fd5e239885
Translated using Weblate (Russian)
...
Currently translated at 97.2% (1855 of 1908 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-11-18 16:52:08 +00:00
random
52e7d35050
Translated using Weblate (Italian)
...
Currently translated at 99.9% (1906 of 1908 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-11-18 16:52:05 +00:00
J. Ryan Stinnett
31b2d263f2
Merge pull request #3626 from matrix-org/jryans/cross-signing-flag
...
Add cross-signing feature flag
2019-11-18 16:51:58 +00:00
Michael Telatynski
050761d339
Merge pull request #3624 from matrix-org/t3chguy/remove_bluebird_2
...
Attempt number two at ripping out Bluebird from rageshake.js
2019-11-18 16:39:23 +00:00
J. Ryan Stinnett
b8c0a0fe72
Reload automatically when changing cross-signing flag
2019-11-18 16:06:00 +00:00
J. Ryan Stinnett
50cccd3212
Add cross-signing feature flag
...
Fixes https://github.com/vector-im/riot-web/issues/11407
2019-11-18 16:06:00 +00:00
Damir Jelić
21f00aaeb1
EventIndex: Fix some spelling errors.
2019-11-18 17:00:30 +01:00
Damir Jelić
4a6623bc00
EventIndex: Rework the crawler cancellation.
2019-11-18 17:00:30 +01:00
Damir Jelić
8d7e7d0cc4
EventIndex: Remove the unused deleteEventIndex method.
...
We need to support the deletion of the event index even if it's not
currently initialized, therefore the deletion ended up in the
EventIndexPeg class.
2019-11-18 14:40:38 +01:00
Damir Jelić
c48ccf9761
EventIndex: Remove some unnecessary checks if event indexing is supported.
2019-11-18 14:40:04 +01:00
Damir Jelić
b983eaa3f9
EventIndex: Rename the file to be consistent with the class.
2019-11-18 14:36:08 +01:00
Damir Jelić
45e7aab41e
EventIndexing: Rename our EventIndexer class.
2019-11-18 14:30:07 +01:00
Damir Jelić
579cbef7b0
EventIndexPeg: Rewrite the module documentation.
2019-11-18 14:29:03 +01:00
Michael Telatynski
e144f1c368
remove Promise.config
2019-11-18 10:37:29 +00:00
Michael Telatynski
5c172a383d
Merge branch 't3chguy/remove_bluebird_2' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/remove_bluebird
...
Conflicts:
src/components/views/right_panel/UserInfo.js
2019-11-18 10:36:43 +00:00
Michael Telatynski
2fe764a3e9
Merge branches 'develop' and 't3chguy/remove_bluebird_2' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/remove_bluebird_2
2019-11-18 10:24:14 +00:00
Michael Telatynski
d4d51dc61f
Rip out the remainder of Bluebird
2019-11-18 10:03:05 +00:00
Damir Jelić
2bb331cdf0
Searching: Fix a typo.
2019-11-18 10:58:57 +01:00
Damir Jelić
0e3a0008df
Searching: Remove the func suffix from our search functions.
2019-11-18 10:58:54 +01:00
Damir Jelić
a4ad8151f8
Searching: Use the short form to build the search arguments object.
2019-11-18 10:58:53 +01:00
Damir Jelić
b4a6123295
Searching: Move a comment to the correct place.
2019-11-18 10:58:50 +01:00
Damir Jelić
3b06c684d2
EventIndexing: Don't capitalize homeserver.
2019-11-18 10:58:47 +01:00
Damir Jelić
050e52ce46
EventIndexPeg: Treat both cases of unavailable platform support the same.
2019-11-18 10:58:45 +01:00
Damir Jelić
ddb536e94a
EventIndexPeg: Move a docstring to the correct place.
2019-11-18 10:58:44 +01:00
Damir Jelić
910c3ac08d
BaseEventIndexManager: Fix some type annotations.
2019-11-18 10:58:42 +01:00
Damir Jelić
5149164010
MatrixChat: Revert the unnecessary changes in the MatrixChat class.
2019-11-18 10:58:40 +01:00
Damir Jelić
9fa8e8238a
BaseEventIndexManager: Fix a typo.
2019-11-18 10:58:38 +01:00
Damir Jelić
ab93745460
Fix the copyright headers from New Vector to The Matrix Foundation.
2019-11-18 10:58:36 +01:00
Damir Jelić
30d4dd36a7
BaseEventIndexManager: Remove the flow annotation.
2019-11-18 10:58:31 +01:00
Michael Telatynski
47948812b0
Attempt number two at ripping out Bluebird from rageshake.js
2019-11-18 09:47:37 +00:00
Weblate
32fc1458d1
Merge branch 'origin/develop' into Weblate.
2019-11-18 09:29:24 +00:00
Nobbele
5d3a84db85
Translated using Weblate (Swedish)
...
Currently translated at 76.4% (1457 of 1908 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-11-18 09:29:23 +00:00
송태섭
20dd731ed0
Translated using Weblate (Korean)
...
Currently translated at 100.0% (1908 of 1908 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-18 09:29:22 +00:00
Szimszon
16a107a163
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1908 of 1908 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-18 09:29:18 +00:00
Kévin C
78c36e5936
Translated using Weblate (French)
...
Currently translated at 100.0% (1908 of 1908 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-18 09:29:17 +00:00
Jeff Huang
a9ef6bde63
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1908 of 1908 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-18 09:29:15 +00:00
Besnik Bleta
d56ae70287
Translated using Weblate (Albanian)
...
Currently translated at 99.8% (1904 of 1908 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-11-18 09:29:14 +00:00
Michael Telatynski
1ab9b82c25
Merge pull request #3618 from matrix-org/t3chguy/remove_bluebird_2
...
Remove Bluebird: phase 2.1
2019-11-18 09:29:04 +00:00
Travis Ralston
6b726a8e13
Implement the bulk of the new widget permission prompt design
...
Part 1 of https://github.com/vector-im/riot-web/issues/11262
This is all the visual changes - the actual wiring of the UI to the right places is for another PR (though this PR still works independently).
The help icon is known to be weird here - it's a bug in the svg we have. The tooltip also goes right instead of up because making the tooltip go up is not easy work for this PR - maybe a future one if we *really* want it to go up.
2019-11-15 14:26:16 -07:00
Weblate
e46a8c92d0
Merge branch 'origin/develop' into Weblate.
2019-11-15 17:54:24 +00:00
Travis Ralston
61454bcf32
Fix i18n after merge
2019-11-15 10:25:58 -07:00
Travis Ralston
616a5ab55d
Merge branch 'develop' into travis/deactivate-2
2019-11-15 10:24:20 -07:00
Weblate
e6ffec948e
Merge branch 'origin/develop' into Weblate.
2019-11-15 16:38:02 +00:00
Volodymyr Kostyrko
9a92f3d38e
Translated using Weblate (Ukrainian)
...
Currently translated at 29.0% (551 of 1898 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/uk/
2019-11-15 16:38:01 +00:00
Tuomas Hietala
21dc9b9f25
Translated using Weblate (Finnish)
...
Currently translated at 96.4% (1830 of 1898 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-15 16:37:53 +00:00
Victor Grousset
5f31efadb6
Translated using Weblate (Esperanto)
...
Currently translated at 98.1% (1862 of 1898 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-11-15 16:37:49 +00:00
Bruno Windels
0f39a9f72d
fix pr feedback
2019-11-15 17:29:38 +01:00
Bruno Windels
d416ba2c0c
add verify button while we don't have the verification in right panel
2019-11-15 16:14:18 +01:00
Bruno Windels
3a399e18fc
prevent https://github.com/vector-im/riot-web/issues/11338
2019-11-15 16:14:18 +01:00
Bruno Windels
53019c5e91
don't show devices section when not encrypted, as it just shows spinner
2019-11-15 16:14:18 +01:00
Bruno Windels
92237f1045
cleanup
2019-11-15 16:14:18 +01:00
Bruno Windels
264c8181c2
add canEdit to permission state, more explicit than maxLevel >= 0
2019-11-15 16:14:18 +01:00
Bruno Windels
48b1207c6e
split up PowerLevelEditor into two components
...
one while editing (PowerLevelEditor) and one
while not editing (PowerLevelSection).
Also save when pressing the button, not when changing the
power dropdown.
Also show the spinner next to the dropdown when saving,
not at the bottom of the component.
2019-11-15 16:14:18 +01:00
Bruno Windels
e86ceb986f
pass powerlevels state to power level section and admin section
2019-11-15 16:14:18 +01:00
Bruno Windels
bd853b3102
listen for RoomState.members instead of RoomState.events
...
as the powerlevel on the member is not yet updated at the time
RoomState.events is emitted.
Also listen on the client for this event as the currentState
object can change when the timeline is reset.
2019-11-15 16:14:18 +01:00
Bruno Windels
6db162a3a7
add PL edit mode, don't show selector by default
...
still saves when changing the selector though
2019-11-15 16:14:18 +01:00
Bruno Windels
91e02aa623
hide PL numbers on labels
2019-11-15 16:14:18 +01:00
Bruno Windels
d0914f9208
allow label to be empty on power selector
2019-11-15 16:14:18 +01:00
Bruno Windels
b278531f2f
add IconButton as in design
2019-11-15 16:14:18 +01:00
Bruno Windels
ca12e6c010
don't render unverified state on bubbles
...
as they are only used for verification right now,
and verification events will be unverified by definition,
so no need to alarm users needlessly.
Also, this breaks the bubble layout on hover due to e2e icons
and verified left border style.
2019-11-15 16:14:18 +01:00
Bruno Windels
9e8a2eda1f
small fixes
2019-11-15 16:14:18 +01:00
Bruno Windels
030827f77d
mark destructive actions in red
2019-11-15 16:14:18 +01:00
Bruno Windels
0bd1e7112d
style security section as per design
2019-11-15 16:14:18 +01:00
Bruno Windels
04731d0ae3
RoomState.events fired on RoomState object, not room
2019-11-15 16:14:18 +01:00
Bruno Windels
6afeeddb36
hide verified devices by default with expand button
2019-11-15 16:14:18 +01:00
Bruno Windels
4a1dc55673
fixup: rearrange openDMForUser
2019-11-15 16:14:18 +01:00
Bruno Windels
e32a948d5d
add "unverify user" action to user info
2019-11-15 16:14:18 +01:00
Bruno Windels
29216ef668
update when room encryption is turned on
...
also don't download devices as long as room is not encrypted
2019-11-15 16:14:18 +01:00
Bruno Windels
bd2bf4500a
remove direct message list from UserInfo
2019-11-15 16:14:18 +01:00
Bruno Windels
238555f4ec
fixup: isMe
2019-11-15 16:14:18 +01:00
Bruno Windels
8dd7d8e5c0
fixup: don't consider left DM rooms
2019-11-15 16:14:18 +01:00
Bruno Windels
b475bc9e91
Add direct message button
...
While we don't have canonical DMs yet,
it takes you to the most recently active DM room
2019-11-15 16:14:18 +01:00
Bruno Windels
3e356756aa
style profile info
2019-11-15 16:14:18 +01:00
Bruno Windels
f4988392f9
restyle e2e icons
2019-11-15 16:14:18 +01:00
Bruno Windels
af4ad488bd
Restyle Avatar
...
Make it a circle with the profile picture centered,
with a max height/width of 30vh
2019-11-15 16:14:18 +01:00
Weblate
e144ef0fb1
Merge branch 'origin/develop' into Weblate.
2019-11-14 20:29:39 +00:00
J. Ryan Stinnett
854b5a7af5
Merge pull request #3617 from matrix-org/jryans/login-server-details-when-dead
...
Show server details on login for unreachable homeserver
2019-11-14 20:29:32 +00:00
Travis Ralston
0f2f500a16
i18n update
2019-11-14 12:08:04 -07:00
Travis Ralston
b05dabe2b7
Add better error handling to Synapse user deactivation
...
Also clearly flag it as a Synapse user deactivation in the analytics, so we don't get confused.
Fixes https://github.com/vector-im/riot-web/issues/10986
2019-11-14 12:02:43 -07:00
Weblate
fc23098246
Merge branch 'origin/develop' into Weblate.
2019-11-14 16:25:18 +00:00
Travis Ralston
4258a824df
Merge pull request #3615 from matrix-org/travis/base-theme
...
Add a function to get the "base" theme for a theme
2019-11-14 09:25:12 -07:00
Michael Telatynski
84f78ae726
Revert ripping bluebird out of rageshake.js for time being
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-14 16:05:09 +00:00
J. Ryan Stinnett
413b90328f
Show server details on login for unreachable homeserver
...
This fixes the login page to be more helpful when the current homeserver is
unreachable: it reveals the server change field, so you have some chance to
progress forward.
Fixes https://github.com/vector-im/riot-web/issues/11077
2019-11-14 15:23:04 +00:00
Damir Jelić
eb0b0a400f
EventIndexPeg: Remove the now unused import of MatrixClientPeg.
2019-11-14 16:18:36 +01:00
Damir Jelić
d82d4246e9
BaseEventIndexManager: Remove a return from a docstring.
2019-11-14 16:17:50 +01:00
Damir Jelić
7516f2724a
EventIndexing: Rework the index initialization and deletion.
2019-11-14 16:13:22 +01:00
Damir Jelić
448c9a8290
EventIndexPeg: Add a missing return statement.
2019-11-14 16:01:14 +01:00
Weblate
b871b3cefb
Merge branch 'origin/develop' into Weblate.
2019-11-14 14:52:47 +00:00
andriusign
bcb7ec0814
Translated using Weblate (Lithuanian)
...
Currently translated at 49.2% (934 of 1898 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2019-11-14 14:52:46 +00:00
송태섭
154fb7ecac
Translated using Weblate (Korean)
...
Currently translated at 99.4% (1887 of 1898 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-14 14:52:46 +00:00
random
51a65f388b
Translated using Weblate (Italian)
...
Currently translated at 99.9% (1896 of 1898 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-11-14 14:52:43 +00:00
Michael Telatynski
58d15acf19
Merge pull request #3612 from matrix-org/t3chguy/remove_bluebird_1
...
Remove Bluebird: phase 1
2019-11-14 14:52:30 +00:00
Michael Telatynski
54dcaf1302
Replace bluebird specific promise things. Fix uses of sync promise code.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-14 13:52:17 +00:00
Damir Jelić
28d2e658a4
EventIndexing: Don't scope the event index per user.
2019-11-14 14:13:49 +01:00
Michael Telatynski
5c24547ef5
re-add and actually use promise timeout util
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-14 09:37:26 +00:00
Michael Telatynski
bc90789c71
Remove unused promise utils method
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-14 00:39:48 +00:00
Travis Ralston
56ad164c69
Add a function to get the "base" theme for a theme
...
Useful for trying to load the right assets first.
See https://github.com/vector-im/riot-web/pull/11381
2019-11-13 14:01:07 -07:00
Damir Jelić
9b32ec10b4
EventIndexing: Use the correct timeout value.
2019-11-13 16:47:21 +01:00
Weblate
9a9fbe926d
Merge branch 'origin/develop' into Weblate.
2019-11-13 15:40:38 +00:00
Travis Ralston
eeebb0ee2f
Merge pull request #3613 from matrix-org/travis/count-in-front
...
Move notification count to in front of the room name in the page title
2019-11-13 08:40:32 -07:00
Damir Jelić
d4b31cb7e0
EventIndexing: Move the max events per crawl constant into the class.
2019-11-13 16:35:26 +01:00
Damir Jelić
368a77ec3e
EventIndexing: Fix a style issue.
2019-11-13 16:35:04 +01:00
Damir Jelić
cc2ee53824
EventIndex: Add some more docs and fix some lint issues.
2019-11-13 16:21:26 +01:00
Weblate
589ae5c80f
Merge branch 'origin/develop' into Weblate.
2019-11-13 15:16:51 +00:00
송태섭
f0696dcc3f
Translated using Weblate (Korean)
...
Currently translated at 98.4% (1868 of 1898 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-13 15:16:51 +00:00
Kévin C
95b8e83cd3
Translated using Weblate (French)
...
Currently translated at 100.0% (1898 of 1898 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-13 15:16:50 +00:00
Jeff Huang
f2f8a82876
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1898 of 1898 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-13 15:16:45 +00:00
Damir Jelić
c26df9d9ef
EventIndexing: Fix a typo.
2019-11-13 15:57:12 +01:00
Damir Jelić
bf558b46c3
EventIndexPeg: Clean up the event index initialization.
2019-11-13 15:39:39 +01:00
Damir Jelić
c33f5ba0ca
BaseEventIndexManager: Add a method to perform runtime checks for indexing support.
2019-11-13 15:39:06 +01:00
Damir Jelić
ab7f34b45a
EventIndexing: Don't mention Seshat in the logs.
2019-11-13 15:26:27 +01:00
Damir Jelić
1316e04776
EventIndexing: Check if there is a room when resetting the timeline.
2019-11-13 15:23:08 +01:00
Damir Jelić
f453fea24a
BasePlatform: Move the event indexing methods into a separate class.
2019-11-13 14:46:17 +01:00
Damir Jelić
80b28004e1
Searching: Define the room id in the const object.
2019-11-13 11:02:54 +01:00
Damir Jelić
54b352f69c
MatrixChat: Fix the limited timeline checkpoint adding.
2019-11-13 10:37:20 +01:00
Damir Jelić
1df28c7526
Fix some lint errors.
2019-11-13 10:30:38 +01:00
Damir Jelić
1cc64f2426
Searching: Move the small helper functions out of the eventIndexSearch function.
2019-11-13 10:10:35 +01:00
Damir Jelić
008554463d
Lifecycle: Move the event index deletion into the clear storage method.
2019-11-13 09:52:59 +01:00
Travis Ralston
3dcc92b79d
Add some logging/recovery for lost rooms
...
Zero inserts is not normal, so we apply the same recovery technique from the categorization logic above this block: insert it to be the very first room and hope that someone complains that the room is ordered incorrectly.
There's some additional logging to try and identify what went wrong because it should definitely be inserted. The `!== 1` check is not supposed to be called, ever.
Logging for https://github.com/vector-im/riot-web/issues/11303
2019-11-12 15:39:03 -07:00
Weblate
799851ab54
Merge branch 'origin/develop' into Weblate.
2019-11-12 22:38:54 +00:00
Weblate
3d7131569e
Merge branch 'origin/develop' into Weblate.
2019-11-12 22:38:50 +00:00
Szimszon
a0ff1e9e9b
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1898 of 1898 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-12 22:38:50 +00:00
Jiri Grönroos
6b8d8d13f2
Translated using Weblate (Finnish)
...
Currently translated at 95.6% (1814 of 1898 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-12 22:38:46 +00:00
Besnik Bleta
651098b2ca
Translated using Weblate (Albanian)
...
Currently translated at 99.8% (1894 of 1898 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-11-12 22:38:46 +00:00
Travis Ralston
fa6e02fafb
Revert "Add some logging/recovery for lost rooms"
...
This reverts commit 1aa0ab13e6
.
2019-11-12 15:38:45 -07:00
Travis Ralston
1aa0ab13e6
Add some logging/recovery for lost rooms
...
Zero inserts is not normal, so we apply the same recovery technique from the categorization logic above this block: insert it to be the very first room and hope that someone complains that the room is ordered incorrectly.
There's some additional logging to try and identify what went wrong because it should definitely be inserted. The `!== 1` check is not supposed to be called, ever.
Logging for https://github.com/vector-im/riot-web/issues/11303
2019-11-12 15:38:29 -07:00
Travis Ralston
fd28cf7a4c
Move notification count to in front of the room name in the page title
...
Fixes https://github.com/vector-im/riot-web/issues/10943
2019-11-12 15:12:54 -07:00
Michael Telatynski
79ebb9091c
Merge branch 'develop' into t3chguy/remove_bluebird_1
2019-11-12 18:16:34 +00:00
Weblate
67ffc1c8f3
Merge branch 'origin/develop' into Weblate.
2019-11-12 17:02:09 +00:00
송태섭
523e17838d
Translated using Weblate (Korean)
...
Currently translated at 100.0% (1864 of 1864 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-12 17:02:08 +00:00
shuji narazaki
5fa4bc7192
Translated using Weblate (Japanese)
...
Currently translated at 62.7% (1168 of 1864 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-11-12 17:02:04 +00:00
take100yen
87f9e0d565
Translated using Weblate (Japanese)
...
Currently translated at 62.7% (1168 of 1864 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-11-12 17:02:03 +00:00
Travis Ralston
6d0b388fa2
Merge branch 'develop' into travis/mjolnir
2019-11-12 10:00:01 -07:00
Damir Jelić
3502454c61
LifeCycle: Stop the crawler and delete the index when whe log out.
2019-11-12 15:58:38 +01:00
Damir Jelić
d69eb78b66
EventIndexing: Add a missing platform getting.
2019-11-12 15:41:14 +01:00
Damir Jelić
ecbc47c548
EventIndexing: Rename the stop method.
2019-11-12 15:40:49 +01:00
Damir Jelić
d911055f5d
MatrixChat: Move the indexing limited room logic to a different event.
2019-11-12 15:39:54 +01:00
Damir Jelić
e296fd05c0
RoomView: Move the search logic into a separate module.
2019-11-12 15:39:26 +01:00
J. Ryan Stinnett
3f2b77189e
Simplify dispatch blocks
2019-11-12 13:29:01 +00:00
Michael Telatynski
b73d0ca92a
delint and run i18n
2019-11-12 12:37:47 +00:00
Michael Telatynski
c3df2f941d
attach promise utils atop bluebird
2019-11-12 12:30:05 +00:00
Damir Jelić
cfdcf45ac6
MatrixChat: Move the event indexing logic into separate modules.
2019-11-12 13:29:07 +01:00
Michael Telatynski
f5d467b391
delint
2019-11-12 12:26:07 +00:00
Michael Telatynski
2b34cf4362
Replace Promise.delay with promise utils sleep
...
(cherry picked from commit 0a21957b2c
)
2019-11-12 12:07:56 +00:00
Michael Telatynski
2ea239d192
Replace rest of defer usages using small shim. Add homebrew promise utils
...
(cherry picked from commit 6850c14739
)
2019-11-12 12:07:56 +00:00
Michael Telatynski
217dfc3eed
Replace all trivial Promise.defer usages with regular Promises
...
(cherry picked from commit 44401d73b4
)
2019-11-12 12:07:56 +00:00
Michael Telatynski
548e38cba9
Revert "Replace all trivial Promise.defer usages with regular Promises"
...
This reverts commit 44401d73
2019-11-12 11:56:53 +00:00
Michael Telatynski
7a512f7299
Revert "Replace rest of defer usages using small shim. Add homebrew promise utils"
...
This reverts commit 6850c147
2019-11-12 11:56:43 +00:00
Michael Telatynski
f9d6ed63f0
Revert "Replace Promise.delay with promise utils sleep"
...
This reverts commit 0a21957b
2019-11-12 11:56:32 +00:00
Michael Telatynski
168b1b68bb
Revert "s/.done(/.then(/ since modern es6 track unhandled promise exceptions"
...
This reverts commit 09a8fec2
2019-11-12 11:56:21 +00:00
J. Ryan Stinnett
d72dedb0ce
Cache room alias to room ID mapping in memory
...
This adds very basic cache (literally just a `Map` for now) to store room alias
to room ID mappings. The improves the perceived performance of Riot when
switching rooms via browser navigation (back / forward), as we no longer try to
resolve the room alias every time.
The cache is only in memory, so reloading manually or as part of the clear cache
process will start afresh.
Fixes https://github.com/vector-im/riot-web/issues/10020
2019-11-12 11:54:41 +00:00
Michael Telatynski
09a8fec261
s/.done(/.then(/ since modern es6 track unhandled promise exceptions
2019-11-12 11:51:23 +00:00
Michael Telatynski
0a21957b2c
Replace Promise.delay with promise utils sleep
2019-11-12 11:46:58 +00:00
Michael Telatynski
6850c14739
Replace rest of defer usages using small shim. Add homebrew promise utils
2019-11-12 11:45:28 +00:00
Michael Telatynski
44401d73b4
Replace all trivial Promise.defer usages with regular Promises
2019-11-12 11:40:38 +00:00
Michael Telatynski
2eddb6ca01
DRY context menu placement algorithms
2019-11-12 11:24:14 +00:00
Michael Telatynski
1c4d89f2d7
Migrate all standard Context Menus over to new custom framework
2019-11-11 17:53:17 +00:00
Travis Ralston
df1d5055c0
Merge pull request #3606 from matrix-org/travis/edit-history
...
Use a ternary operator instead of relying on AND semantics in EditHistoryDialog
2019-11-11 08:24:07 -07:00
Damir Jelić
2c5565e502
MatrixChat: Add some missing semicolons.
2019-11-11 15:08:00 +01:00
Elwyn Malethan
ab9f378019
Translated using Weblate (Welsh)
...
Currently translated at 0.5% (9 of 1864 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cy/
2019-11-11 10:06:36 +00:00
Szimszon
d545a1e0b2
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1864 of 1864 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-11 10:06:35 +00:00
Tirifto
0bfbf34c39
Translated using Weblate (Esperanto)
...
Currently translated at 99.9% (1862 of 1864 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-11-11 10:06:33 +00:00
Stanislav Lukeš
163f9f057f
Translated using Weblate (Czech)
...
Currently translated at 99.9% (1863 of 1864 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2019-11-11 10:06:16 +00:00
Jeff Huang
d8ea25403a
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1864 of 1864 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-11 10:05:53 +00:00
Slavi Pantaleev
a4a0dc9c2d
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1864 of 1864 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-11-11 10:05:50 +00:00
Osoitz
eaac3fe3b8
Translated using Weblate (Basque)
...
Currently translated at 100.0% (1864 of 1864 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-11-11 10:05:49 +00:00
Besnik Bleta
def4f90257
Translated using Weblate (Albanian)
...
Currently translated at 99.8% (1860 of 1864 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-11-11 10:05:47 +00:00
Elwyn Malethan
949ba89b4a
Added translation using Weblate (Welsh)
2019-11-09 19:00:34 +00:00
Weblate
767c42ea05
Merge branch 'origin/develop' into Weblate.
2019-11-08 23:15:45 +00:00
Kévin C
c46a3764c3
Translated using Weblate (French)
...
Currently translated at 100.0% (1864 of 1864 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-08 23:15:44 +00:00
Travis Ralston
bdcf3890a5
Fix HTML fallback in replies
...
Correctly encode the `body` to avoid problems down the line. We also convert newlines to `<br/>` to better represent the message as a fallback.
Fixes https://github.com/vector-im/riot-web/issues/9413
2019-11-08 16:07:11 -07:00
Travis Ralston
c4d45e87ea
Use a ternary operator instead of relying on AND semantics in EditHIstoryDialog
...
Fixes https://github.com/vector-im/riot-web/issues/11334 (probably).
`allEvents` should never have a boolean in it, so given the stack trace and the code this is my best estimate for what the problem could be. I can't reproduce the problem.
2019-11-08 15:54:48 -07:00
Weblate
2a2a52bd19
Merge branch 'origin/develop' into Weblate.
2019-11-08 17:50:07 +00:00
Travis Ralston
5a5ebee918
Check for a message type before assuming it is a room message
...
Redacted messages do not have message types, despite being room messages.
Fixes https://github.com/vector-im/riot-web/issues/11352
Regressed in https://github.com/matrix-org/matrix-react-sdk/pull/3601
Click-to-ping being broken (as mentioned by https://github.com/vector-im/riot-web/issues/11353 ) is a side effect of the react stack falling over. Once one room crashes, click-to-ping is broken everywhere.
2019-11-08 10:39:38 -07:00
Weblate
d4fa570bee
Merge branch 'origin/develop' into Weblate.
2019-11-08 16:20:49 +00:00
Walter
4fe95b0075
Translated using Weblate (Russian)
...
Currently translated at 99.8% (1849 of 1853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-11-08 16:20:48 +00:00
fenuks
bb5f532eeb
Translated using Weblate (Polish)
...
Currently translated at 74.6% (1382 of 1853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-11-08 16:20:47 +00:00
MamasLT
824a265496
Translated using Weblate (Lithuanian)
...
Currently translated at 50.4% (933 of 1853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2019-11-08 16:20:46 +00:00
송태섭
defe3fb5f8
Translated using Weblate (Korean)
...
Currently translated at 100.0% (1853 of 1853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-08 16:20:29 +00:00
shuji narazaki
8b3844f83b
Translated using Weblate (Japanese)
...
Currently translated at 60.8% (1126 of 1853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-11-08 16:20:28 +00:00
Szimszon
84d23676d6
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1853 of 1853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-08 16:20:23 +00:00
dreamerchris
4eb39190b4
Translated using Weblate (Greek)
...
Currently translated at 39.7% (735 of 1853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/el/
2019-11-08 16:20:23 +00:00
Kévin C
6d4971c29e
Translated using Weblate (French)
...
Currently translated at 100.0% (1853 of 1853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-08 16:20:15 +00:00
Jeff Huang
dc5abbe380
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1853 of 1853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-08 16:20:15 +00:00
Slavi Pantaleev
06ab9efed6
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (1853 of 1853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-11-08 16:20:14 +00:00
David Baker
43c6298bea
Merge pull request #3601 from matrix-org/bwindels/verification-over-dm
...
Show verification requests in the timeline
2019-11-08 16:20:01 +00:00
Travis Ralston
f0e02f59b4
Appease the linter
2019-11-07 15:12:55 -07:00
Travis Ralston
cf80cb559e
Match identity server registration to the IS r0.3.0 spec
...
The returned field is `token` for the spec, but we somehow got through with `access_token` on Sydent.
2019-11-07 15:09:23 -07:00
J. Ryan Stinnett
3645e4a822
Merge pull request #3600 from matrix-org/jryans/thumb-variation-again
...
Restore thumbs after variation selector removal
2019-11-07 22:47:15 +02:00
Bruno Windels
d83f3632f6
make the linter happy
2019-11-07 20:04:36 +01:00
Bruno Windels
ddd6713e7e
string has moved in i18n apparently
2019-11-07 20:01:33 +01:00
Bruno Windels
805c83779a
support bubble tile style for verification tiles
2019-11-07 19:56:21 +01:00
Bruno Windels
d7f5252f9a
render done and cancel event as conclusion tile
...
don't render any done events not sent by us, as
done events are sent by both parties and we don't want
to render two conclusion tiles.
cancel events should be only sent by one party.
2019-11-07 19:55:18 +01:00
Bruno Windels
9d67fa9fa1
render verification request with correct tile
...
only if the request was send by or to us, otherwise ignore.
2019-11-07 19:55:18 +01:00
Bruno Windels
e8c21a341c
add key verification conclusion tile
2019-11-07 19:54:56 +01:00
Bruno Windels
0d2f9c4215
add verification request tile + styling
2019-11-07 19:54:56 +01:00
Bruno Windels
5c9e80a0ba
add feature flag and send verification using DM from dialog if enabled
2019-11-07 19:54:56 +01:00
Bruno Windels
9c4470e599
helper class to track the state of the verification
...
as we will have 2 tiles, and both need to track
the status of the verification request, I've put
the logic for tracking the state in this helper class
to use from both tiles.
2019-11-07 19:54:56 +01:00
J. Ryan Stinnett
3d1a1121b9
Restore thumbs after variation selector removal
...
This more thorough change adjusts emoji processing to deal with variation
selectors appropriately and revives the missing thumbs.
Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/3598
Fixes https://github.com/vector-im/riot-web/issues/11344
2019-11-07 17:49:25 +00:00
Marco Zehe
ec2f3d36ea
Fix breadcrumbs so the bar is a toolbar and the buttons are buttons.
...
Signed-off-by: Marco Zehe <marco.zehe@gmail.com>
2019-11-07 14:41:01 +01:00
J. Ryan Stinnett
6cd2b55c23
Merge pull request #3598 from matrix-org/jryans/rm-variation-sels
...
Remove variation selectors from quick reactions
2019-11-07 12:34:11 +02:00
J. Ryan Stinnett
03c93b5f38
Merge pull request #3595 from N-Pex/linkify-fix
...
Fix linkify imports
2019-11-07 12:28:57 +02:00
J. Ryan Stinnett
91f3b75d41
Remove variation selectors from quick reactions
...
This fixes a regression introduced by the full emoji picker which inserted empty
variation selectors in the thumbs up / down quick reactions. Since this makes
them different characters, it would cause us to not aggregate thumbs from web
vs. mobile together.
Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/3554
Fixes https://github.com/vector-im/riot-web/issues/11335
2019-11-07 10:19:35 +00:00
Travis Ralston
86be607e92
onTileUpdate -> onMessageAllowed
...
We keep onTileUpdate in MessgeEvent because it's a generic thing for the class to handle. onMessageAllowed is slightly different than onShowAllowed because "show allowed" doesn't quite make sense on its own, imo.
2019-11-06 10:52:00 -07:00
David Baker
0464b094a6
Fix softcrash if editing silly events
...
If you sent an event with a body of the empty json object, riot
would then softcrash when you pressed the up arrow because it
would try to treat a json object as a string and run split on it.
2019-11-06 11:44:32 +00:00
David Baker
d14c0c342d
Merge pull request #3594 from matrix-org/bwindels/fixfilenotifpanel
...
Fix: file and notifications panel back-paginating forever.
2019-11-06 10:52:15 +00:00
N-Pex
d403ed7513
Fix linkify imports
...
VECTOR_URL_PATTERN was 'undefined' inside Permalinks.tryTransformPermalinkToLocalHref()
2019-11-06 10:41:14 +01:00
Bruno Windels
842bf77409
prevent error when nextProps is null, cleanup
...
As the FilePanel is now rendered as part of the RoomView,
we don't need to respond to room changes, as RoomView has
a key of the roomId, so the whole subtree would be recreated.
2019-11-06 10:34:22 +01:00
Bruno Windels
9fa7990996
prevent error for empty list
2019-11-06 10:34:22 +01:00
sha-265
bc924bbd82
Support RTL language in message composer
2019-11-04 17:37:36 +00:00
David Baker
2a1f26a44f
Translated using Weblate (Bulgarian)
...
Currently translated at 97.6% (1808 of 1853 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-11-04 11:54:55 +00:00
Weblate
f5ceb36a96
Merge branch 'origin/develop' into Weblate.
2019-11-04 10:33:22 +00:00
Michael Telatynski
92ee50fb77
Merge pull request #3587 from matrix-org/t3chguy/a11y_message_actions_bar
...
Improve A11Y of timeline. Show timestamp & Actions on focus-within
2019-11-04 10:33:16 +00:00
Michael Telatynski
6d3b563119
Add comments regarding tab-index=-1
2019-11-04 10:16:16 +00:00
Philip Johansson
2fc1c3235b
Translated using Weblate (Swedish)
...
Currently translated at 77.8% (1441 of 1852 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-11-04 08:44:35 +00:00
송태섭
8b63a37cdd
Translated using Weblate (Korean)
...
Currently translated at 100.0% (1852 of 1852 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-04 08:44:33 +00:00
shuji narazaki
3a44cf2191
Translated using Weblate (Japanese)
...
Currently translated at 58.8% (1089 of 1852 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-11-04 08:44:33 +00:00
Kévin C
d6d2505346
Translated using Weblate (French)
...
Currently translated at 100.0% (1852 of 1852 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-04 08:44:26 +00:00
Jeff Huang
9783127724
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1852 of 1852 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-04 08:44:26 +00:00
Slavi Pantaleev
d3dd0cb91a
Translated using Weblate (Bulgarian)
...
Currently translated at 97.6% (1808 of 1852 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-11-04 08:44:24 +00:00
Weblate
0da421e073
Merge branch 'origin/develop' into Weblate.
2019-11-01 18:06:05 +00:00
Szimszon
661c77cfd9
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1852 of 1852 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-01 18:06:05 +00:00
Travis Ralston
bb6ae14a03
Merge pull request #3577 from matrix-org/travis/riot-settings
...
Handle breadcrumbs, integration manager provisioning, and allowed widgets Riot settings
2019-11-01 12:05:57 -06:00
Weblate
d96ed5b12d
Merge branch 'origin/develop' into Weblate.
2019-11-01 17:02:08 +00:00
송태섭
b877b81041
Translated using Weblate (Korean)
...
Currently translated at 100.0% (1850 of 1850 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-01 17:02:08 +00:00
Jeff Huang
aaf86b1985
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (1850 of 1850 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-01 17:02:07 +00:00
Osoitz
a8b89840a3
Translated using Weblate (Basque)
...
Currently translated at 100.0% (1850 of 1850 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-11-01 17:02:06 +00:00
J. Ryan Stinnett
dd5702fc40
Merge pull request #3582 from matrix-org/jryans/prompt-when-no-terms
...
Add a prompt when interacting with an identity server without terms
2019-11-01 19:01:54 +02:00
J. Ryan Stinnett
0c82d9e7e0
Align start and end tags
2019-11-01 16:35:16 +00:00
J. Ryan Stinnett
446e21c2e1
Relax identity server discovery error handling
...
If discovery results in a warning for the identity server (as in can't be found
or is malformed), this allows you to continue signing in and shows the warning
above the form.
Fixes https://github.com/vector-im/riot-web/issues/11102
2019-11-01 12:27:56 +00:00
Michael Telatynski
fd4cdd0dec
Improve A11Y of timeline. Show TS & Actions on focus-within
2019-11-01 10:50:58 +00:00
MamasLT
28d72840ec
Translated using Weblate (Lithuanian)
...
Currently translated at 44.0% (814 of 1850 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2019-11-01 05:24:03 +00:00
Travis Ralston
07b8e128d2
Bypass the tests being weird
...
They run kinda-but-not-really async, which can lead to early/late calls to `stop()`
2019-10-31 16:43:03 -06:00
Travis Ralston
3e4a721111
Appease the linter
2019-10-31 16:27:45 -06:00
Travis Ralston
11068d189c
Hide messages blocked by ban lists
2019-10-31 16:19:42 -06:00
Travis Ralston
b420fd6758
Add a view rules dialog
2019-10-31 16:00:31 -06:00
Travis Ralston
39b657ce7c
Add basic structure for (un)subscribing from lists
2019-10-31 15:54:22 -06:00
Weblate
9c58d60ead
Merge branch 'origin/develop' into Weblate.
2019-10-31 21:09:46 +00:00