Skip to content

Commit fa61e51

Browse files
committed
Merge tag 'v1.8.5' into deploy-auto
* Add bubble highlight styling ([\element-hq#6582](matrix-org/matrix-react-sdk#6582)). Fixes element-hq#18295 and element-hq#18295. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Create narrow mode for Composer ([\#6682](matrix-org/matrix-react-sdk#6682)). Fixes element-hq#18533 and element-hq#18533. * Prefer matrix.to alias links over room id in spaces & share ([\element-hq#6745](matrix-org/matrix-react-sdk#6745)). Fixes element-hq#18796 and element-hq#18796. * Stop automatic playback of voice messages if a non-voice message is encountered ([\element-hq#6728](matrix-org/matrix-react-sdk#6728)). Fixes element-hq#18850 and element-hq#18850. * Show call length during a call ([\element-hq#6700](matrix-org/matrix-react-sdk#6700)). Fixes element-hq#18566 and element-hq#18566. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Serialize and retry mass-leave when leaving space ([\element-hq#6737](matrix-org/matrix-react-sdk#6737)). Fixes element-hq#18789 and element-hq#18789. * Improve form handling in and around space creation ([\#6739](matrix-org/matrix-react-sdk#6739)). Fixes element-hq#18775 and element-hq#18775. * Split autoplay GIFs and videos into different settings ([\element-hq#6726](matrix-org/matrix-react-sdk#6726)). Fixes element-hq#5771 and element-hq#5771. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Add autoplay for voice messages ([\element-hq#6710](matrix-org/matrix-react-sdk#6710)). Fixes element-hq#18804, element-hq#18715, element-hq#18714 element-hq#17961 and element-hq#18804. * Allow to use basic html to format invite messages ([\#6703](matrix-org/matrix-react-sdk#6703)). Fixes element-hq#15738 and element-hq#15738. Contributed by [skolmer](https://github.com/skolmer). * Allow widgets, when eligible, to interact with more rooms as per MSC2762 ([\element-hq#6684](matrix-org/matrix-react-sdk#6684)). * Remove arbitrary limits from send/receive events for widgets ([\element-hq#6719](matrix-org/matrix-react-sdk#6719)). Fixes element-hq#17994 and element-hq#17994. * Reload suggested rooms if we see the state change down /sync ([\element-hq#6715](matrix-org/matrix-react-sdk#6715)). Fixes element-hq#18761 and element-hq#18761. * When creating private spaces, make the initial rooms restricted if supported ([\element-hq#6721](matrix-org/matrix-react-sdk#6721)). Fixes element-hq#18722 and element-hq#18722. * Threading exploration work ([\element-hq#6658](matrix-org/matrix-react-sdk#6658)). Fixes element-hq#18532 and element-hq#18532. * Default to `Don't leave any` when leaving a space ([\element-hq#6697](matrix-org/matrix-react-sdk#6697)). Fixes element-hq#18592 and element-hq#18592. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Special case redaction event sending from widgets per MSC2762 ([\element-hq#6686](matrix-org/matrix-react-sdk#6686)). Fixes element-hq#18573 and element-hq#18573. * Add active speaker indicators ([\element-hq#6639](matrix-org/matrix-react-sdk#6639)). Fixes element-hq#17627 and element-hq#17627. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Increase general app performance by optimizing layers ([\element-hq#6644](matrix-org/matrix-react-sdk#6644)). Fixes element-hq#18730 and element-hq#18730. Contributed by [Palid](https://github.com/Palid). * Fix autocomplete not having y-scroll ([\element-hq#6802](matrix-org/matrix-react-sdk#6802)). * Fix emoji picker and stickerpicker not appearing correctly when opened ([\element-hq#6801](matrix-org/matrix-react-sdk#6801)). * Debounce read marker update on scroll ([\element-hq#6774](matrix-org/matrix-react-sdk#6774)). * Fix Space creation wizard go to my first room button behaviour ([\element-hq#6748](matrix-org/matrix-react-sdk#6748)). Fixes element-hq#18764 and element-hq#18764. * Fix scroll being stuck at bottom ([\element-hq#6751](matrix-org/matrix-react-sdk#6751)). Fixes element-hq#18903 and element-hq#18903. * Fix widgets not remembering identity verification when asked to. ([\element-hq#6742](matrix-org/matrix-react-sdk#6742)). Fixes element-hq#15631 and element-hq#15631. * Add missing pluralisation i18n strings for Spaces ([\element-hq#6738](matrix-org/matrix-react-sdk#6738)). Fixes element-hq#18780 and element-hq#18780. * Make ForgotPassword UX slightly more user friendly ([\#6636](matrix-org/matrix-react-sdk#6636)). Fixes element-hq#11531 and element-hq#11531. Contributed by [Palid](https://github.com/Palid). * Don't context switch room on SpaceStore ready as it can break permalinks ([\element-hq#6730](matrix-org/matrix-react-sdk#6730)). Fixes element-hq#17974 and element-hq#17974. * Fix explore rooms button not working during space creation wizard ([\element-hq#6729](matrix-org/matrix-react-sdk#6729)). Fixes element-hq#18762 and element-hq#18762. * Fix bug where one party's media would sometimes not be shown ([\element-hq#6731](matrix-org/matrix-react-sdk#6731)). * Only make the initial space rooms suggested by default ([\element-hq#6714](matrix-org/matrix-react-sdk#6714)). Fixes element-hq#18760 and element-hq#18760. * Replace fake username in EventTilePreview with a proper loading state ([\element-hq#6702](matrix-org/matrix-react-sdk#6702)). Fixes element-hq#15897 and element-hq#15897. Contributed by [skolmer](https://github.com/skolmer). * Don't send prehistorical events to widgets during decryption at startup ([\element-hq#6695](matrix-org/matrix-react-sdk#6695)). Fixes element-hq#18060 and element-hq#18060. * When creating subspaces properly set restricted join rule ([\element-hq#6725](matrix-org/matrix-react-sdk#6725)). Fixes element-hq#18797 and element-hq#18797. * Fix the Image View not openning for some pinned messages ([\element-hq#6723](matrix-org/matrix-react-sdk#6723)). Fixes element-hq#18422 and element-hq#18422. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Show autocomplete sections vertically ([\element-hq#6722](matrix-org/matrix-react-sdk#6722)). Fixes element-hq#18860 and element-hq#18860. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Fix EmojiPicker filtering to lower case emojibase data strings ([\element-hq#6717](matrix-org/matrix-react-sdk#6717)). Fixes element-hq#18686 and element-hq#18686. * Clear currentRoomId when viewing home page, fixing document title ([\element-hq#6716](matrix-org/matrix-react-sdk#6716)). Fixes element-hq#18668 and element-hq#18668. * Fix membership updates to Spaces not applying in real-time ([\element-hq#6713](matrix-org/matrix-react-sdk#6713)). Fixes element-hq#18737 and element-hq#18737. * Don't show a double stacked invite modals when inviting to Spaces ([\element-hq#6698](matrix-org/matrix-react-sdk#6698)). Fixes element-hq#18745 and element-hq#18745. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Remove non-functional DuckDuckGo Autocomplete Provider ([\element-hq#6712](matrix-org/matrix-react-sdk#6712)). Fixes element-hq#18778 and element-hq#18778. * Filter members on `MemberList` load ([\element-hq#6708](matrix-org/matrix-react-sdk#6708)). Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Fix improper voice messages being produced in Firefox and sometimes other browsers. ([\element-hq#6696](matrix-org/matrix-react-sdk#6696)). Fixes element-hq#18587 and element-hq#18587. * Fix client forgetting which capabilities a widget was approved for ([\element-hq#6685](matrix-org/matrix-react-sdk#6685)). Fixes element-hq#18786 and element-hq#18786. * Fix left panel widgets not remembering collapsed state ([\element-hq#6687](matrix-org/matrix-react-sdk#6687)). Fixes element-hq#17803 and element-hq#17803. * Fix changelog link colour back to blue ([\element-hq#6692](matrix-org/matrix-react-sdk#6692)). Fixes element-hq#18726 and element-hq#18726. * Soften codeblock border color ([\element-hq#6564](matrix-org/matrix-react-sdk#6564)). Fixes element-hq#18367 and element-hq#18367. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Pause ringing more aggressively ([\element-hq#6691](matrix-org/matrix-react-sdk#6691)). Fixes element-hq#18588 and element-hq#18588. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Fix command autocomplete ([\element-hq#6680](matrix-org/matrix-react-sdk#6680)). Fixes element-hq#18670 and element-hq#18670. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Don't re-sort the room-list based on profile/status changes ([\element-hq#6595](matrix-org/matrix-react-sdk#6595)). Fixes #110 and #110. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Fix codeblock formatting with syntax highlighting on ([\element-hq#6681](matrix-org/matrix-react-sdk#6681)). Fixes element-hq#18739 element-hq#18365 and element-hq#18739. Contributed by [SimonBrandner](https://github.com/SimonBrandner). * Add padding to the Add button in the notification settings ([\element-hq#6665](matrix-org/matrix-react-sdk#6665)). Fixes element-hq#18706 and element-hq#18706. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
2 parents dc94c23 + 7a72547 commit fa61e51

File tree

101 files changed

+4492
-3444
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+4492
-3444
lines changed

.env.example

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# To enable CSS hot-reload, set the following variable to 1.
2+
CSS_HOT_RELOAD=1
3+
# To use the annoying and inconsistent full page error dialog, set this to 1.
4+
FULL_PAGE_ERRORS=0
5+
# To use a single theme, uncomment the line with the theme you want to hot-reload.
6+
MATRIX_THEMES='light'
7+
#MATRIX_THEMES='dark'
8+
#MATRIX_THEMES='legacy-light'
9+
#MATRIX_THEMES='legacy-dark'
10+
#MATRIX_THEMES='light-custom'
11+
#MATRIX_THEMES='dark-custom'
12+
# You can also enable multiple themes by using a comma-separated list.
13+
# When multiple themes are enabled, switching between them may require a full page reload.
14+
# Note that compilation times are proportional to the number of enabled themes.
15+
#MATRIX_THEMES='light,dark'

.eslintrc.js

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
11
module.exports = {
2-
"extends": ["matrix-org", "matrix-org/react"],
3-
"env": {
4-
"browser": true,
5-
"node": true,
2+
plugins: ["matrix-org"],
3+
extends: [
4+
"plugin:matrix-org/babel",
5+
"plugin:matrix-org/react",
6+
],
7+
env: {
8+
browser: true,
9+
node: true,
610
},
7-
"rules": {
11+
rules: {
12+
// Things we do that break the ideal style
813
"quotes": "off",
914
},
10-
"overrides": [{
11-
"files": ["src/**/*.{ts,tsx}"],
12-
"extends": ["matrix-org/ts", "matrix-org/react"],
13-
"env": {
14-
"browser": true,
15-
},
16-
"rules": {
15+
overrides: [{
16+
files: ["src/**/*.{ts,tsx}"],
17+
extends: [
18+
"plugin:matrix-org/typescript",
19+
"plugin:matrix-org/react",
20+
],
21+
rules: {
22+
// Things we do that break the ideal style
23+
"prefer-promise-reject-errors": "off",
1724
"quotes": "off",
18-
// While converting to ts we allow this
25+
26+
// We disable this while we're transitioning
1927
"@typescript-eslint/no-explicit-any": "off",
20-
"prefer-promise-reject-errors": "off",
2128
},
2229
}],
2330
};

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @vector-im/element-web

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 48 deletions
This file was deleted.
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: Bug report for the Element desktop app (not in a browser)
2+
description: File a bug report if you are using the desktop Element application.
3+
labels: [T-Defect]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
10+
Please report security issues by email to [email protected]
11+
- type: textarea
12+
id: reproduction-steps
13+
attributes:
14+
label: Steps to reproduce
15+
description: Please attach screenshots, videos or logs if you can.
16+
placeholder: Tell us what you see!
17+
value: |
18+
1. Where are you starting? What can you see?
19+
2. What do you click?
20+
3. More steps…
21+
validations:
22+
required: true
23+
- type: textarea
24+
id: result
25+
attributes:
26+
label: What happened?
27+
placeholder: Tell us what went wrong
28+
value: |
29+
### What did you expect?
30+
31+
### What happened?
32+
validations:
33+
required: true
34+
- type: input
35+
id: os
36+
attributes:
37+
label: Operating system
38+
placeholder: Windows, macOS, Ubuntu, Arch Linux…
39+
validations:
40+
required: false
41+
- type: input
42+
id: version
43+
attributes:
44+
label: Application version
45+
description: You can find the version information in Settings -> Help & About.
46+
placeholder: e.g. Element version 1.7.34, olm version 3.2.3
47+
validations:
48+
required: false
49+
- type: input
50+
id: source
51+
attributes:
52+
label: How did you install the app?
53+
description: Where did you install the app from? Please give a link or a description.
54+
placeholder: e.g. From https://element.io/get-started
55+
validations:
56+
required: false
57+
- type: input
58+
id: homeserver
59+
attributes:
60+
label: Homeserver
61+
description: Which server is your account registered on?
62+
placeholder: e.g. matrix.org
63+
validations:
64+
required: false
65+
- type: dropdown
66+
id: rageshake
67+
attributes:
68+
label: Have you submitted a rageshake?
69+
description: |
70+
Did you know that you can send a /rageshake command from your application to submit logs for this issue? Trigger the defect, then type /rageshake into the message entry area followed by a description of the problem and send the command. This will automatically submit anonymous logs to the developers.
71+
options:
72+
- 'Yes'
73+
- 'No'
74+
validations:
75+
required: true

.github/ISSUE_TEMPLATE/bug-web.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: Bug report for Element Web (in browser)
2+
description: File a bug report if you are using Element in a web browser like Firefox, Chrome, Edge, and so on.
3+
labels: [T-Defect]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
10+
Please report security issues by email to [email protected]
11+
- type: textarea
12+
id: reproduction-steps
13+
attributes:
14+
label: Steps to reproduce
15+
description: Please attach screenshots, videos or logs if you can.
16+
placeholder: Tell us what you see!
17+
value: |
18+
1. Where are you starting? What can you see?
19+
2. What do you click?
20+
3. More steps…
21+
validations:
22+
required: true
23+
- type: textarea
24+
id: result
25+
attributes:
26+
label: What happened?
27+
placeholder: Tell us what went wrong
28+
value: |
29+
### What did you expect?
30+
31+
### What happened?
32+
validations:
33+
required: true
34+
- type: input
35+
id: os
36+
attributes:
37+
label: Operating system
38+
placeholder: Windows, macOS, Ubuntu, Arch Linux…
39+
validations:
40+
required: false
41+
- type: input
42+
id: browser
43+
attributes:
44+
label: Browser information
45+
description: Which browser are you using? Which version?
46+
placeholder: e.g. Chromium Version 92.0.4515.131
47+
validations:
48+
required: false
49+
- type: input
50+
id: webapp-url
51+
attributes:
52+
label: URL for webapp
53+
description: Which URL are you using to access the webapp? If a private server, tell us what version of Element Web you are using.
54+
placeholder: e.g. develop.element.io, app.element.io
55+
validations:
56+
required: false
57+
- type: input
58+
id: homeserver
59+
attributes:
60+
label: Homeserver
61+
description: Which server is your account registered on?
62+
placeholder: e.g. matrix.org
63+
validations:
64+
required: false
65+
- type: dropdown
66+
id: rageshake
67+
attributes:
68+
label: Have you submitted a rageshake?
69+
description: |
70+
Did you know that you can send a /rageshake command from the web applicaiton to submit logs for this issue? Trigger the defect, then type /rageshake into the message entry area followed by a description of the problem and send the command. This will automatically submit anonymous logs to the developers.
71+
options:
72+
- 'Yes'
73+
- 'No'
74+
validations:
75+
required: true

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 58 deletions
This file was deleted.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Enhancement request
2+
description: Do you have a suggestion or feature request?
3+
labels: [T-Enhancement]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thank you for taking the time to propose a new feature or make a suggestion.
9+
- type: textarea
10+
id: usecase
11+
attributes:
12+
label: Your use case
13+
description: What would you like to be able to do? Please feel welcome to include screenshots or mock ups.
14+
placeholder: Tell us what you would like to do!
15+
value: |
16+
#### What would you like to do?
17+
18+
#### Why would you like to do it?
19+
20+
#### How would you like to achieve it?
21+
validations:
22+
required: true
23+
- type: textarea
24+
id: alternative
25+
attributes:
26+
label: Have you considered any alternatives?
27+
placeholder: A clear and concise description of any alternative solutions or features you've considered.
28+
validations:
29+
required: false
30+
- type: textarea
31+
id: additional-context
32+
attributes:
33+
label: Additional context
34+
placeholder: Is there anything else you'd like to add?
35+
validations:
36+
required: false

.github/ISSUE_TEMPLATE/suggestion-or-feature-request.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1-
<!-- Please read CONTRIBUTING.md before submitting your pull request -->
1+
<!-- Please read https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md before submitting your pull request -->
22

3-
<!-- Include a Sign-Off at the end of your Pull Request (as described in CONTRIBUTING.md), or on every commit -->
3+
<!-- Include a Sign-Off as described in https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md#sign-off -->
4+
5+
<!-- To specify text for the changelog entry (otherwise the PR title will be used):
6+
Notes:
7+
8+
Changelog entries will also appear in element-desktop. For PRs that *only* affect the desktop version:
9+
Notes: none
10+
element-desktop notes: <notes>
11+
-->

0 commit comments

Comments
 (0)