Commit Graph

41218 Commits

Author SHA1 Message Date
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
David Baker
75eab660c2 Remove highlightjs CSS (#19483)
This was completely unnecessary: react-sdk includes appropriate CSS
for highlight.js in its themes. This was actually causing some of
those values to be overridden with silly ones that made text invisible
on the dark theme.

Fixes https://github.com/vector-im/element-web/issues/19476
2021-10-22 18:28:27 +01: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
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
004e8edcb2 Deprecate sso_immediate_redirect and add welcome-page only option (#19437)
* Deprecate `sso_immediate_redirect` and add welcome-page only option

The old `sso_immediate_redirect` option is kept in code for backwards compatibility, but is replaced by `sso_redirect_options.immediate`, where a new `on_welcome_page` option is also introduced to only target entry points to the app. 

The path matching is a bit brittle, but still ideal in the sense of not showing UI while the app realizes it needs to redirect.

The new welcome page-only option is fully intended to avoid breaking permalinks and such while still redirecting when needed. In future, other options might be added here to further tune the experience.

* Add note about guests
2021-10-21 08:35:05 -06: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
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
Robin Townsend
2ee732b84d Update style of composer format bar to match message action bar (#6351)
Signed-off-by: Robin Townsend <robin@robin.town>
2021-10-20 09:19:54 -06:00
Andy Balaam
4b903b9fbd Break ThemeChoicePanel into a separate component (#6998)
* Break ThemeChoicePanel into a separate component

* Tests for ThemeChoicePanel

* i18n fixes

* Fix copyright for ThemeChoicePanel
2021-10-20 14:58:27 +00:00
Travis Ralston
d188d32423 Add a developer mode flag and use it for accessing space timelines (#6994)
Fixes https://github.com/vector-im/element-web/issues/19416
2021-10-20 06:55:22 -06:00
Andy Balaam
96bd052ecf Improve visibility of font size chooser (#6988)
* Improve visibility of font size chooser

* Move slider dot sizes into variables

* Use a standard font size instead of percentage in Slider

* Use shorthand for padding in FontScalingPanel

* Change Slider text pos to px to be consistent when font changes

* Cleaner dot size for Slider selection
2021-10-20 13:41:27 +01:00
Rafael Gonçalves
1fa4c40db9 Remove redundant text in verification dialogs (#6993)
* Remove redundant text

Signed-off-by: Rafael Goncalves <rafaelgoncalves@riseup.net>

* Run yarn i18n

Signed-off-by: Rafael Goncalves <rafaelgoncalves@riseup.net>
2021-10-19 22:36:08 -06:00
CicadaCinema
23295718e3 Position toggle switch more clearly (#6914)
* Position toggle switch more clearly

* attempt to revert changes, align switch to title instead

* remove unused import, add missing property

Co-authored-by: ColonisationCaptain <52425971+ColonisationCaptain@users.noreply.github.com>
2021-10-19 15:28:11 -06:00
David Baker
01c4d3eede Fix conflicting CSS on syntax highlighted blocks (#6991)
Fixes https://github.com/vector-im/element-web/issues/19445
2021-10-19 18:43:29 +01:00
Michael Telatynski
427afc83aa Fix couple of Spaces regressions (#6989) 2021-10-19 10:10:34 -06:00
Michael Telatynski
a9c27e22b5 Handle and i18n M_THREEPID_IN_USE during registration (#6986) 2021-10-19 15:31:07 +00:00
Paulo Pinto
9c786717b8 Validate email address in forgot password dialog (#6983) 2021-10-19 16:22:27 +01:00
Michael Telatynski
9becc392dd For space invite previews, use room summary API to get the right member count (#6982) 2021-10-19 16:17:09 +01:00
Michael Telatynski
974f45930c Simplify Space Panel notification badge layout (#6977) 2021-10-19 16:11:53 +01:00
Germain
694ec946e2 Allow quote-reply in thread view element-web (#6959) 2021-10-19 16:05:34 +01:00
Andy Balaam
d39002338d Merge pull request #6985 from andybalaam/break-out-font-scaling-panel
Break out font size settings to a separate component
2021-10-19 15:51:09 +01:00
Andy Balaam
d70a706c15 i18n updates 2021-10-19 15:25:33 +01:00
Andy Balaam
79edceca89 Remove unused fields 2021-10-19 15:23:45 +01:00
Andy Balaam
4ad32b16ea Break out font size settings to a separate component 2021-10-19 14:50:09 +01:00
Travis Ralston
c0c5641181 Merge pull request #6975 from matrix-org/travis/runtime-errors
Fix runtime react errors for various parts of the app
2021-10-19 07:35:15 -06:00
Michael Telatynski
d743e3d1d6 Merge pull request #6980 from matrix-org/t3chguy/fix/19162 2021-10-19 11:14:16 +01:00
Weblate
71438121f1 Merge branch 'origin/develop' into Weblate. 2021-10-19 09:20:52 +00:00
waclaw66
0f64dbfac0 Translated using Weblate (Czech)
Currently translated at 100.0% (3232 of 3232 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-10-19 09:20:51 +00:00
sr093906
91a8cf93eb Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (3232 of 3232 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-10-19 09:20:50 +00:00
LinAGKar
e9a0c058b2 Translated using Weblate (Swedish)
Currently translated at 98.9% (3197 of 3232 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-10-19 09:20:48 +00:00
Szimszon
6ba1fa0eb4 Translated using Weblate (Hungarian)
Currently translated at 100.0% (3232 of 3232 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-10-19 09:20:40 +00:00
Michael Telatynski
e8b998c19c Use prettier hsName during 3pid registration where possible 2021-10-19 09:43:34 +01:00
Germain Souquet
df407ef3a8 Fix EventTileSummary layout for message bubbles 2021-10-19 09:31:28 +01:00
Germain Souquet
9319f07291 Revert "Fix threads with bubbles rendering (#6971)"
This reverts commit a2bc090607.
2021-10-19 09:16:40 +01:00
Weblate
ccd88ba087 Merge branch 'origin/develop' into Weblate. 2021-10-19 08:14:37 +00:00
Dariusz Niemczyk
e6993ca964 Expose logger instance for development purposes
Related https://github.com/vector-im/element-web/issues/18425
2021-10-19 10:14:31 +02:00
Dariusz Niemczyk
85a81af1da Replace console.warn with logger.warn
Related https://github.com/vector-im/element-web/issues/18425
2021-10-19 10:14:31 +02:00
Dariusz Niemczyk
dc9f77a509 Replace console.log with logger.log
Related https://github.com/vector-im/element-web/issues/18425
2021-10-19 10:14:31 +02:00
Dariusz Niemczyk
db01bfc0fd Replace console.error with logger.error
Related https://github.com/vector-im/element-web/issues/18425
2021-10-19 10:14:31 +02:00
Dariusz Niemczyk
515a8d2097 Fix wrong type call for window.location.reload 2021-10-19 10:14:31 +02:00
Weblate
95717d8f01 Merge branch 'origin/develop' into Weblate. 2021-10-19 07:16:23 +00:00
Michael Telatynski
37949efb61 Merge pull request #6967 from matrix-org/t3chguy/fix/18768 2021-10-19 08:16:19 +01:00
Weblate
b88417c2e4 Merge branch 'origin/develop' into Weblate. 2021-10-19 07:16:15 +00:00
Michael Telatynski
780f088c5d Merge pull request #6966 from matrix-org/t3chguy/rs/6600 2021-10-19 08:16:11 +01:00
Weblate
acfb7bc151 Merge branch 'origin/develop' into Weblate. 2021-10-19 07:16:07 +00:00