Commit Graph

41296 Commits (bfdfae4e4bca181ee06fb535edbaca0bc548f0c9)

Author SHA1 Message Date
Michael Telatynski 760d269671
Fix relative link handling in Element Desktop (#7708) 2022-02-03 08:55:49 +00:00
Weblate 6c46c7566a Merge branch 'origin/develop' into Weblate. 2022-02-02 17:55:54 +00:00
Priit Jõerüüt 02012229bd Translated using Weblate (Estonian)
Currently translated at 99.9% (3427 of 3430 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2022-02-02 17:55:54 +00:00
Ihor Hordiichuk f0d5c6799a Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3430 of 3430 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2022-02-02 17:55:51 +00:00
Germain f0446a23d5
Fix poll creation from a thread (#7706) 2022-02-02 17:55:41 +00:00
Weblate 2b832184ac Merge branch 'origin/develop' into Weblate. 2022-02-02 12:16:06 +00:00
Michael Telatynski 75b03ca101
Reuse CopyableText component in all places it can be (#7701) 2022-02-02 12:16:00 +00:00
Weblate 6a0113c12a Merge branch 'origin/develop' into Weblate. 2022-02-02 12:02:23 +00:00
Kerry 292971dd0e
Upgrade to jest 27 (#7699)
* use jest@27.4.0, replace jest-environment-jsdom-sixteen with jest-environment-jsdom

Signed-off-by: Kerry Archibald <kerrya@element.io>

* polyfill setImmediate

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove done from async test cases

* useRealTimers in test relying on promise flushing

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove jest environment file

Signed-off-by: Kerry Archibald <kerrya@element.io>

* replace ts-jest mocked with jest utils mocked

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-02 13:02:17 +01:00
Weblate 38e1e9cc7f Merge branch 'origin/develop' into Weblate. 2022-02-02 11:44:22 +00:00
Andy Balaam 70a44a8cd6
Enable location sharing (#7703) 2022-02-02 11:44:17 +00:00
Weblate 7ad7d7fefe Merge branch 'origin/develop' into Weblate. 2022-02-02 11:41:39 +00:00
Andy Balaam afbc843157
Fit location into the width of the container (#7705) 2022-02-02 11:41:33 +00:00
Weblate eae4b43505 Merge branch 'origin/develop' into Weblate. 2022-02-02 11:19:06 +00:00
Besnik Bleta a0c1e8a337 Translated using Weblate (Albanian)
Currently translated at 99.8% (3426 of 3432 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2022-02-02 11:19:06 +00:00
waclaw66 e56b877528 Translated using Weblate (Czech)
Currently translated at 100.0% (3432 of 3432 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2022-02-02 11:19:03 +00:00
Kerry cb1c94dd2b
Fix leaks in Login unit tests (#7704)
* make Login-test tsx, fix leaks

Signed-off-by: Kerry Archibald <kerrya@element.io>

* missed lint

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-02 11:18:55 +00:00
Weblate 9b55ea0225 Merge branch 'origin/develop' into Weblate. 2022-02-02 09:31:10 +00:00
Michael Telatynski fce19d763a
Make Spotlight Dialog roving reset more stable (#7698) 2022-02-02 09:31:05 +00:00
Weblate c5e5223ecf Merge branch 'origin/develop' into Weblate. 2022-02-02 09:30:56 +00:00
Andy Balaam f5226f9d5b
Simplify Composer buttons (#7678)
* Render a CollapsibleButton's children (needed by UploadButton)

* Make UploadButton ready to live inside an overflow menu

* Always show overflow menu in composer: main buttons are emoji and attach

* Re-order composer buttons as per design

* Re-word composer button captions to be simple nouns

* Don't rotate More options button when clicked

* Move the composer menu and dialogs 16px in from right

* Reduce shadow on composer More menu

* From review: remove else clause

* From review: take input out of button

* Update test snapshots

* Update snapshots
2022-02-02 09:30:53 +00:00
Weblate bbbb8e0ecf Merge branch 'origin/develop' into Weblate. 2022-02-02 09:22:50 +00:00
Priit Jõerüüt 2ba3a6dffb Translated using Weblate (Estonian)
Currently translated at 99.9% (3430 of 3433 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2022-02-02 09:22:50 +00:00
Besnik Bleta 3da68f87c1 Translated using Weblate (Albanian)
Currently translated at 99.8% (3427 of 3433 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2022-02-02 09:22:47 +00:00
Ihor Hordiichuk ac3071f3bf Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3433 of 3433 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2022-02-02 09:22:45 +00:00
Johan Smits a1b7c20982 Translated using Weblate (Dutch)
Currently translated at 100.0% (3433 of 3433 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2022-02-02 09:22:41 +00:00
libexus 3fb1302a9c Translated using Weblate (German)
Currently translated at 99.8% (3429 of 3433 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2022-02-02 09:22:36 +00:00
Michael Telatynski c011fb7475
Fix incorrect sizing of DecoratedRoomAvatar in RoomHeader (#7697) 2022-02-02 09:22:27 +00:00
Weblate cc92ac895f Merge branch 'origin/develop' into Weblate. 2022-02-01 17:24:22 +00:00
Šimon Brandner bb03298e6d
Add a warning to the console to discourage attacks and encourage contributing (#7673) 2022-02-01 17:24:17 +00:00
Weblate ac1b10a10e Merge branch 'origin/develop' into Weblate. 2022-02-01 17:23:35 +00:00
Besnik Bleta 06ce1c165b Translated using Weblate (Albanian)
Currently translated at 99.8% (3424 of 3430 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2022-02-01 17:23:34 +00:00
Ihor Hordiichuk fde89d22d0 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3430 of 3430 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2022-02-01 17:23:32 +00:00
Eric Eastwood 9b0da552e7
Fix vertical spacing in `compact` `<ContextMenu>` (#7684)
Fix https://github.com/vector-im/element-web/issues/20801

Regressed in https://github.com/matrix-org/matrix-react-sdk/pull/7339

Relevant styles were first added in https://github.com/matrix-org/matrix-react-sdk/pull/4858
(context behind why the original styles were added)

---

## Cause

Battling CSS specificity between the default and compact styles, https://specificity.keegan.st/

Known good (On `app.element.io` (expected)):
```css
// 0 3 0
.mx_IconizedContextMenu .mx_IconizedContextMenu_optionList .mx_AccessibleButton {
    padding-top: 12px;
    padding-bottom: 12px;
}

// Compact styles override our default rules because they come
// after the other styles (source order) and have the same specificity
// 0 3 0
.mx_IconizedContextMenu.mx_IconizedContextMenu_compact .mx_IconizedContextMenu_optionList > * {
    padding: 8px 16px 8px 11px;
}
```

Bad (On `develop` (broken)):
```css
// Default rules always override because they have higher specificity.
// The `:not()` selector doesn't add any extra specificity but the selectors inside the `:not(...)` do.
// 0 4 0
.mx_IconizedContextMenu .mx_IconizedContextMenu_optionList .mx_AccessibleButton:not(.mx_AccessibleButton_hasKind) {
    padding-top: 12px;
    padding-bottom: 12px;
}

// 0 3 0
.mx_IconizedContextMenu.mx_IconizedContextMenu_compact .mx_IconizedContextMenu_optionList > * {
    padding: 8px 16px 8px 11px;
}
```
2022-02-01 11:23:21 -06:00
Weblate 5b9222d636 Merge branch 'origin/develop' into Weblate. 2022-02-01 15:52:35 +00:00
RiotRobot 82f3888cee Reset matrix-js-sdk back to develop branch 2022-02-01 15:52:28 +00:00
Weblate d48f1b6d83 Merge branch 'origin/develop' into Weblate. 2022-02-01 15:52:18 +00:00
RiotRobot e90885dd9d Merge branch 'master' into develop 2022-02-01 15:52:12 +00:00
RiotRobot 34a95f4d27 v3.39.1 2022-02-01 15:50:26 +00:00
RiotRobot 710c4b77f2 Prepare changelog for v3.39.1 2022-02-01 15:50:25 +00:00
Weblate 38f02a994c Merge branch 'origin/develop' into Weblate. 2022-02-01 15:49:55 +00:00
Michael Telatynski 8dd0722e04
Update eventName=Screen to $screen to match PostHog's special behaviour (#7667) 2022-02-01 15:49:49 +00:00
David Baker 806cd264df
Fix the sticker picker (#7692) (#7695)
* Fix the sticker picker

Don't stop user widgets on room change: they're not room-specific.

Fixes https://github.com/vector-im/element-web/issues/20797

* Use 'userWidget' prop rather than roomId being defined
2022-02-01 15:40:50 +00:00
David Baker 6c16a2c9dd
Fix publishing address wrongly demanding the alias be available (#7690) (#7693)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-02-01 15:40:37 +00:00
David Baker b7c8ce6920
Ensure UserInfo can be rendered without a room (#7687) (#7694)
Co-authored-by: David Baker <dave@matrix.org>

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-02-01 15:40:27 +00:00
Weblate 6ce2f50464 Merge branch 'origin/develop' into Weblate. 2022-02-01 15:34:27 +00:00
David Baker 5b999300b2
Fix the sticker picker (#7692)
* Fix the sticker picker

Don't stop user widgets on room change: they're not room-specific.

Fixes https://github.com/vector-im/element-web/issues/20797

* Use 'userWidget' prop rather than roomId being defined
2022-02-01 15:34:22 +00:00
Weblate f9ebf6cdf0 Merge branch 'origin/develop' into Weblate. 2022-02-01 15:06:31 +00:00
Michael Telatynski 98c5f50f36
Fix publishing address wrongly demanding the alias be available (#7690) 2022-02-01 15:06:26 +00:00
Weblate 58073b8bb5 Merge branch 'origin/develop' into Weblate. 2022-02-01 15:06:22 +00:00