Commit Graph

69869 Commits

Author SHA1 Message Date
David Baker 9bb1feecca Merge pull request #3639 from matrix-org/matthew/nunito-ransom-fix
upgrade nunito from 3.500 to 3.504
2019-11-20 17:58:05 +00: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
David Baker 3409ad97d8 Merge remote-tracking branch 'origin/develop' into matthew/nunito-ransom-fix 2019-11-20 17:49:26 +00:00
David Baker 392de5a54f Merge pull request #11444 from vector-im/dbkr/doc_custom_themes
Add doc for custom themes
2019-11-20 17:43:42 +00:00
David Baker 9ed4a07b28 linewrap 2019-11-20 17:39:58 +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 1b0b3e1a44 Bump to Electron 7.1.2
Tested with electron 7 and appears to be fine
2019-11-20 17:33:32 +00:00
Bruno Windels 21781adb9e explain the internal name of custom themes 2019-11-20 18:27:25 +01:00
Matthew Hodgson 758dd4127f upgrade nunito from 3.500 to 3.504
fixes https://github.com/vector-im/riot-web/issues/8092 by way of https://github.com/google/fonts/issues/632
2019-11-20 16:36:27 +00:00
David Baker dc3cc37784 backticks to prevent infinitalic 2019-11-20 16: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 135d5f4cc7 Merge pull request #11442 from vector-im/dbkr/system_dark_mode
Use new theme API in react-sdk
2019-11-20 16:32:32 +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 e34c46c893 Dedup theming code
Following on from https://github.com/matrix-org/matrix-react-sdk/pull/3637
this removes the code dealing with themes in vector/index.js and uses the
code from react-sdk. The two did almost exactly the same thing but in
subtley different ways.

This code can be incredibly subtle though, so doing this a separate
PR.
2019-11-20 15:42:15 +00:00
David Baker 013e059ffc Add doc for custom themes
Mostly just c+ped from Bruno's PR: https://github.com/matrix-org/matrix-react-sdk/pull/3503
2019-11-20 15:40:44 +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 5e049efc87 Merge pull request #11441 from vector-im/bwindels/fix-roomstatus-e2e-icon
preload warning triangle
2019-11-20 14:36:41 +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 7294bec1c8 Use new theme API in react-sdk
A thesis presented in two parts. This part has the absolute minimum
logic changes to the themeing code in vector/index.js because I know
how subtle and fragile this code is. However, it also looks like it's
completely duplicated from react-sdk, so in the next part I'm going
to remove that logic and make it use the logic in react-sdk, then we
can see what breaks.

Requires https://github.com/matrix-org/matrix-react-sdk/pull/3637
2019-11-20 13:43:08 +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
Bruno Windels 0c9f0e52bd preload warning triangle 2019-11-20 12:42:31 +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
David Baker 0e15bf124a Merge pull request #11440 from RiotTranslateBot/weblate-riot-web-riot-web
Update from Weblate
2019-11-20 09:59:38 +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
Alexis a142a5a30c Translated using Weblate (Portuguese)
Currently translated at 87.0% (20 of 23 strings)

Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/pt/
2019-11-20 05:45: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
David Baker a5daa142eb Merge pull request #11435 from vector-im/dbkr/audio_video_entitlements_mac
Add entitlements file for mic & camera permissions on macOS
2019-11-19 20:52:21 +00:00
David Baker a34766bd05 Fix tabs 2019-11-19 20:38:06 +00:00
David Baker 312e1bab47 Add entitlements file for mic & camera permissions on macOS
Fixes https://github.com/vector-im/riot-web/issues/11151
2019-11-19 19:02:10 +00:00
J. Ryan Stinnett 9dea848927 Use div around buttons to fix React warning 2019-11-19 16:28:49 +00:00
David Baker 3cf4d15192 Merge pull request #11429 from vector-im/dbkr/aftersign_error_exception
Fix error/exception in electron signing script
2019-11-19 16:04:50 +00:00