Commit graph

39004 commits

Author SHA1 Message Date
Andy Balaam
d0bb6e0657
Unit tests for getEffectiveTheme (#7051)
* Unit tests for getEffectiveTheme

* Unit tests for choosing high-contrast theme
2021-10-29 09:11:55 +01:00
Travis Ralston
3f3e4ff674
Don't apply message bubble visual style to media messages (#7040)
* PSFD-457: Don't apply message bubble visual style to media messages

* Match corner rounding for images
2021-10-28 08:32:30 -06:00
Timo
5736fea5f3
Implement RequiresClient capability for widgets (#7005) 2021-10-28 13:17:04 +01:00
Andy Balaam
68b64564c0
Respect the system high contrast setting when using system theme (#7043)
* Respect the system high contrast setting when using system theme

* Restore correct behaviour of getEffectiveTheme
2021-10-28 13:01:50 +01:00
J. Ryan Stinnett
76254977d6 Upgrade widget API 2021-10-28 11:07:09 +01:00
Michael Telatynski
82807434b8
Remove redundant duplicate mimetype field which doesn't conform to spec (#7045) 2021-10-28 09:40:38 +01:00
Michael Telatynski
27e16362b6
Make join button on space hierarchy action in the background (#7041) 2021-10-27 15:24:31 +01:00
Travis Ralston
43cbb947b6
PSFD-454: Add padding between controls on edit form in message bubbles (#7039)
8px arbitrarily to make it not squishy
2021-10-27 08:17:52 -06:00
Andy Balaam
abbc39cdec
Add a high contrast theme (a variant of the light theme) (#7036)
* Enable choosing a high contrast variant of the Light theme

* Updates to high contrast theme to match design and show focus

* Adjust the outline-offset to match designs

* Don't draw an outline around the active tab

* Prevent cropping of outlines on buttons

* Use the correct colour for links

* Change light grey text to be darker in high contrast theme

* Use a darker text colour in admin panel

* Adjust background colours of back button and font slider
2021-10-27 14:31:54 +01:00
James Salter
8170697bbf
Add a global mxSendSentryReport so we can debug sentry from the console (#7042) 2021-10-27 13:05:58 +00:00
Paulo Pinto
6a3fb5cbb4
Add EmailField component for login, registration and password recovery screens (#7006)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-10-27 09:52:34 +01:00
Timo
82c2102ccb
Respect the roomState right container request for the Jitsi widget (#7033) 2021-10-26 17:36:42 +01:00
Michael Telatynski
a4e20c7b41
Improve timeline message for restricted join rule changes (#6984) 2021-10-26 15:28:22 +01:00
Andy Balaam
166fba6428
Improve the appearance of the font size slider (#7038) 2021-10-26 13:29:02 +01:00
Michael Telatynski
04c06b6aa8
Improve RovingTabIndex & Room List filtering performance (#6987) 2021-10-26 12:16:50 +01:00
Michael Telatynski
39e61c4fa3
Fix cannot read length of undefined for room upgrades (#7037) 2021-10-26 10:21:27 +01:00
Michael Telatynski
0fa9638681
Remove outdated Spaces restricted rooms warning (#6927) 2021-10-26 10:01:14 +01:00
Šimon Brandner
5c66bd6c7b
Add max-empty-lines and no-eol-whitespace to stylelint (#7034) 2021-10-26 08:23:23 +01:00
Germain
e649bf5541
Update Thread icon (#7031) 2021-10-26 07:53:36 +01:00
Rafael Gonçalves
a1029df901
Add history entry before completing emoji (#7007)
Signed-off-by: Rafael Goncalves <rafaelgoncalves@riseup.net>
2021-10-25 14:21:59 -06:00
Michael Telatynski
92df0a35a9
null-guard space store getParents relation lookup (#7029) 2021-10-25 13:55:08 +00:00
Michael Telatynski
be0fa6da7b
Fix removing a room from a Space and interaction with m.space.parent (#6944) 2021-10-25 14:06:00 +01:00
Šimon Brandner
c3ad8b4eed
Cleanup re-dispatching around timelines and composers (#7023)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-10-25 11:43:54 +00:00
Michael Telatynski
87dc2e8141
Fix ModalManager reRender racing with itself (#7027) 2021-10-25 12:37:59 +01:00
Šimon Brandner
64c3f0a9b1
Fix fullscreening a call while connecting (#7019) 2021-10-25 11:40:44 +01:00
Michael Telatynski
e3d1615169
Make /msg <message> param optional for more flexibility (#7028) 2021-10-25 11:40:33 +01:00
Michael Telatynski
ead2a5152f
Add decoration to space hierarchy for tiles which have already been j… (#6969) 2021-10-25 11:40:06 +01:00
RiotRobot
fabbf6c48a Reset matrix-js-sdk back to develop branch 2021-10-25 11:36:39 +01:00
RiotRobot
70963e3a21 Resetting package fields for development 2021-10-25 11:35:26 +01:00
RiotRobot
cecea8109b Merge branch 'master' into develop 2021-10-25 11:34:33 +01:00
Šimon Brandner
ceb4c7e368
Add insert link button to the format bar (#5879) 2021-10-25 10:56:55 +01:00
Šimon Brandner
75c7daa2c9
Handle no selected screen when screen-sharing (#7018) 2021-10-25 10:44:37 +01:00
Šimon Brandner
1256b1ef2a
Allow scrolling right in reply-quoted code block (#7024) 2021-10-25 10:42:32 +01:00
Andy Balaam
70606ffff6
Replace all uses of notice-primary-color with the correct alert colour (#7010) 2021-10-25 10:32:38 +01:00
CicadaCinema
1c3ad14b4e
Fix recent css regression (#7022) 2021-10-25 09:57:16 +01:00
Germain
e3946cc7de
Upgrade ua-parser-js (#7026) 2021-10-25 09:55:37 +01:00
Šimon Brandner
0ba24ec14f
I shall be murdered by design people for this (#6384)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-10-22 21:32:45 -06:00
Šimon Brandner
c5bd1fb32d
Convert /src/async-components/views/dialogs/security to TS (#6923)
* Convert RecoveryMethodRemovedDialog to TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Convert NewRecoveryMethodDialog to TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Convert ImportE2eKeysDialog to TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Convert ExportE2eKeysDialog to TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Convert CreateSecretStorageDialog to TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Convert CreateKeyBackupDialog to TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix types

This is somewhat hacky though I don't know of a better way to do this

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-10-22 21:32:16 -06:00
Travis Ralston
39e98b9d7f
Always render disabled settings as disabled (#7014)
This is to prevent user confusion about whether or not a setting exists, or even what its value is. By rendering it with `disabled=true` the user is at least aware that the setting is set to a specific value, though we could (and should) do better in the future to communicate *why* a setting is disabled.
2021-10-22 11:30:14 -06:00
James Salter
a1a19c7433
disable debug in Sentry (#7011) 2021-10-22 15:51:19 +00:00
Rafael Gonçalves
12ad01db51
Show passphrase input label (#6992) 2021-10-22 15:50:11 +01:00
Andy Balaam
1f5d8a95e6
First draft of light-high-contrast theme (#7009) 2021-10-22 15:18:49 +01:00
James Salter
a4e3c4090c
Use VERSION as sentry release (set by packaging scripts) (#7008)
This will be undefined for dev builds.
2021-10-22 15:06:01 +01:00
Germain
e20ac7bf1e
Implement deep-linking for threads (matrix.to) (#7003) 2021-10-22 09:30:36 +01:00
Travis Ralston
bc32f05fcb
Add config types and utility function for SSO redirect config (#6976)
* Add config types and utility function for SSO redirect config

* Appease the linter
2021-10-21 08:35:00 -06:00
Andy Balaam
c73127c35c
Remove unused code left from extracting ThemeChoicePanel (#7002) 2021-10-21 09:59:34 +01:00
Neeraj Sewani
7ab075fdfd
Change the "Security Phase" color (#6870) 2021-10-21 08:39:01 +01:00
Germain
35b5109c2a
Fix threads broken layout (#6997) 2021-10-20 18:14:24 +01:00
James Salter
115c6e8357
Sentry uses RELEASE from webpack to correspond with sourcemap uploader (#6996)
use RELEASE from webpack to correspond with sourcemap uploader
2021-10-20 16:20:50 +00:00
David Baker
7c50cfeab8
Fix direction override characters breaking member event text direction (#6999)
Strip RLO & LRO chars from display names when rendering text for
member events.

See https://github.com/matrix-org/matrix-js-sdk/pull/1992 - also
necessary here because we use the display name in the event content
rather than from the member object sanitised by the js-sdk.
2021-10-20 16:14:11 +00:00