Commit graph

19756 commits

Author SHA1 Message Date
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
J. Ryan Stinnett
1e6472723a
Merge pull request #3636 from matrix-org/jryans/90-chars
Update code style for our 90 char life
2019-11-20 15:03:02 +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
J. Ryan Stinnett
8f79661725 Update code style for our 90 char life
We've been using 90 chars for JS code for quite a while now, but for some
reason, the code style guide hasn't admitted that, so this adjusts it to match
ESLint settings.
2019-11-20 10:30:42 +00:00
David Baker
55e5e63199
Merge pull request #3635 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate
2019-11-20 10:14:02 +00: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
d3730175a2
Merge pull request #3634 from matrix-org/dbkr/theme_use_watcher
Use a settings watcher to set the theme
2019-11-20 09:41:07 +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
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
Bruno Windels
a0dbd5f62c
Merge pull request #3632 from matrix-org/bwindels/merge-userinfo-flag
Merge the `feature_user_info_panel` flag into `feature_dm_verification`
2019-11-19 13:34:23 +00:00
Weblate
f14d7a7759 Merge branch 'origin/develop' into Weblate. 2019-11-19 13:24:31 +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
Bruno Windels
f9b5678b06
Merge pull request #3631 from matrix-org/bwindels/userinfo-css-fixes
Fix some styling regressions in member panel
2019-11-19 13:24:06 +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
Bruno Windels
5f7b0fef33 scale (new) icons to fit available size
fixes https://github.com/vector-im/riot-web/issues/11399
2019-11-19 12:55:28 +01:00
Bruno Windels
39939de04f remove white background on ! and so it looks better on dark theme 2019-11-19 12:51:46 +01:00
Bruno Windels
de15965c4a improve device list layout 2019-11-19 12:51:37 +01:00
Bruno Windels
92292003c8 make shield on verification request scale correctly
by not overriding `mask-size` using `mask` for `mask-image`
2019-11-19 12:51:02 +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
fea8737632
Merge pull request #3629 from matrix-org/travis/breadcrumbs-fix
Add a bit more safety around breadcrumbs
2019-11-18 14:35:46 -07:00
Travis Ralston
2f89f28496 Remove extraneous paranoia
The value is nullchecked later on.
2019-11-18 14:25:04 -07:00