Skip to content

Commit 6c94cc9

Browse files
committed
Merge tag 'v1.10.2' into sc
* Support a config option to change the default device name ([\element-hq#20790](element-hq#20790)). * Capitalize "Privacy" in UserMenu ([\element-hq#7738](matrix-org/matrix-react-sdk#7738)). Contributed by @aaronraimist. * Move new search experience to a Beta ([\#7718](matrix-org/matrix-react-sdk#7718)). Fixes element-hq/element-meta#139 element-hq#20618 and element-hq#20339. * Auto select "Other homeserver" when user press "Edit" in homeserver field ([\element-hq#7337](matrix-org/matrix-react-sdk#7337)). Fixes element-hq#20125. Contributed by @SimonBrandner. * Add unread badges and avatar decorations to spotlight search ([\element-hq#7696](matrix-org/matrix-react-sdk#7696)). Fixes element-hq#20821. * Enable location sharing ([\element-hq#7703](matrix-org/matrix-react-sdk#7703)). * Simplify Composer buttons ([\element-hq#7678](matrix-org/matrix-react-sdk#7678)). * Add a warning to the console to discourage attacks and encourage contributing ([\element-hq#7673](matrix-org/matrix-react-sdk#7673)). Fixes element-hq#2803. Contributed by @SimonBrandner. * Don't show replaced calls in the timeline ([\element-hq#7452](matrix-org/matrix-react-sdk#7452)). Contributed by @SimonBrandner. * Tweak `/addwidget` widget names ([\element-hq#7681](matrix-org/matrix-react-sdk#7681)). * Chat export parameter customisation ([\element-hq#7647](matrix-org/matrix-react-sdk#7647)). * Put call on hold when transfer dialog is opened ([\element-hq#7669](matrix-org/matrix-react-sdk#7669)). * Share e2ee keys when using /invite SlashCommand ([\element-hq#7655](matrix-org/matrix-react-sdk#7655)). Fixes element-hq#20778 and element-hq#16982. * Tweak spotlight roving behaviour to reset when changing query ([\#7656](matrix-org/matrix-react-sdk#7656)). Fixes element-hq#20537 element-hq#20612 and element-hq#20184. * Look up tile server info in homeserver's .well-known area ([\element-hq#7623](matrix-org/matrix-react-sdk#7623)). * Add grouper for hidden events ([\element-hq#7649](matrix-org/matrix-react-sdk#7649)). * The keyboard shortcut is control (or cmd) shift h. ([\element-hq#7584](matrix-org/matrix-react-sdk#7584)). Contributed by @UwUnyaa. * [Release] Fix cutout misalignment on some decorated room avatars ([\element-hq#7785](matrix-org/matrix-react-sdk#7785)). * [Release] Fix add existing space not showing any spaces ([\element-hq#7756](matrix-org/matrix-react-sdk#7756)). * [Release] Inhibit Room List keyboard pass-thru when the search beta is enabled ([\element-hq#7754](matrix-org/matrix-react-sdk#7754)). * [Release] Fix space member list not opening ([\element-hq#7755](matrix-org/matrix-react-sdk#7755)). * Null-guard ELS from null summaryMembers ([\element-hq#7744](matrix-org/matrix-react-sdk#7744)). Fixes element-hq#20807. * Improve responsiveness of the layout switcher ([\element-hq#7736](matrix-org/matrix-react-sdk#7736)). * Tweak timeline card layout ([\element-hq#7743](matrix-org/matrix-react-sdk#7743)). Fixes element-hq#20846. * Ensure location bodies have a width in bubbles ([\element-hq#7742](matrix-org/matrix-react-sdk#7742)). Fixes element-hq#20916. * Tune aria-live regions around clocks/timers ([\element-hq#7735](matrix-org/matrix-react-sdk#7735)). Fixes element-hq#20967. * Fix instances of decorated room avatar wrongly having their own tabIndex ([\element-hq#7730](matrix-org/matrix-react-sdk#7730)). * Remove weird padding on stickers ([\element-hq#6271](matrix-org/matrix-react-sdk#6271)). Fixes element-hq#17787. Contributed by @SimonBrandner. * Fix width issue of the composer overflow menu items ([\element-hq#7731](matrix-org/matrix-react-sdk#7731)). Fixes element-hq#20898. * Properly handle persistent widgets when room is left ([\element-hq#7724](matrix-org/matrix-react-sdk#7724)). Fixes element-hq#20901. * Null guard space hierarchy ([\element-hq#7729](matrix-org/matrix-react-sdk#7729)). Fixes matrix-org/element-web-rageshakes#10433. * Fix add existing rooms button ([\element-hq#7728](matrix-org/matrix-react-sdk#7728)). Fixes element-hq#20924. Contributed by @SimonBrandner. * Truncate long server names on login/register screen ([\element-hq#7702](matrix-org/matrix-react-sdk#7702)). Fixes element-hq#18452. * Update PollCreateDialog-test to snapshot the html and not react tree ([\element-hq#7712](matrix-org/matrix-react-sdk#7712)). * Fix creating polls outside of threads ([\element-hq#7711](matrix-org/matrix-react-sdk#7711)). Fixes element-hq#20882. * Open native room when clicking notification from a virtual room ([\element-hq#7709](matrix-org/matrix-react-sdk#7709)). * Fix relative link handling in Element Desktop ([\element-hq#7708](matrix-org/matrix-react-sdk#7708)). Fixes element-hq#20783. * Reuse CopyableText component in all places it can be ([\element-hq#7701](matrix-org/matrix-react-sdk#7701)). Fixes element-hq#20855. * Fit location into the width of the container ([\element-hq#7705](matrix-org/matrix-react-sdk#7705)). Fixes element-hq#20861. * Make Spotlight Dialog roving reset more stable ([\element-hq#7698](matrix-org/matrix-react-sdk#7698)). Fixes element-hq#20826. * Fix incorrect sizing of DecoratedRoomAvatar in RoomHeader ([\element-hq#7697](matrix-org/matrix-react-sdk#7697)). Fixes element-hq#20090. * Use a more correct test for emoji ([\element-hq#7685](matrix-org/matrix-react-sdk#7685)). Fixes element-hq#20824. Contributed by @robintown. * Fix vertical spacing in `compact` `<ContextMenu>` ([\element-hq#7684](matrix-org/matrix-react-sdk#7684)). Fixes element-hq#20801. * Fix the sticker picker ([\element-hq#7692](matrix-org/matrix-react-sdk#7692)). Fixes element-hq#20797. * Fix publishing address wrongly demanding the alias be available ([\element-hq#7690](matrix-org/matrix-react-sdk#7690)). Fixes element-hq#12013 and element-hq#20833. * Prevent MemberAvatar soft-crashing when rendered with null member prop ([\element-hq#7691](matrix-org/matrix-react-sdk#7691)). Fixes element-hq#20714. * Ensure UserInfo can be rendered without a room ([\element-hq#7687](matrix-org/matrix-react-sdk#7687)). Fixes element-hq#20830. * Make polls fill column width in bubbles layout ([\#7661](matrix-org/matrix-react-sdk#7661)). Fixes element-hq#20712. * Add a background to expanded nick name in IRC layout to make it readable. ([\element-hq#7652](matrix-org/matrix-react-sdk#7652)). Fixes element-hq#20757. Contributed by @UwUnyaa. * Fix accessibility and consistency of MessageComposerButtons ([\element-hq#7679](matrix-org/matrix-react-sdk#7679)). Fixes element-hq#20814. * Don't show shield next to deleted messages ([\element-hq#7671](matrix-org/matrix-react-sdk#7671)). Fixes element-hq#20475. Contributed by @SimonBrandner. * Fix font size of spaces between big emoji ([\element-hq#7675](matrix-org/matrix-react-sdk#7675)). Contributed by @robintown. * Fix shift-enter repeating last character ([\element-hq#7665](matrix-org/matrix-react-sdk#7665)). Fixes element-hq#17215. Contributed by @SimonBrandner. * Remove Unpin option from maximised widget context menu ([\element-hq#7657](matrix-org/matrix-react-sdk#7657)). * Fix new call event grouper implementation for encrypted rooms ([\element-hq#7654](matrix-org/matrix-react-sdk#7654)). * Fix issue with tile error boundaries collapsing in bubbles layout ([\element-hq#7653](matrix-org/matrix-react-sdk#7653)). * Fix emojis getting cropped in irc & bubble layouts by anti-zalgo ([\element-hq#7637](matrix-org/matrix-react-sdk#7637)). Fixes element-hq#20744. * Fix space panel edge gradient not applying on load ([\element-hq#7644](matrix-org/matrix-react-sdk#7644)). Fixes element-hq#20756. * Fix search results view for layouts other than Group/Modern ([\element-hq#7648](matrix-org/matrix-react-sdk#7648)). Fixes element-hq#20745.
2 parents 1c5d04c + fd9016b commit 6c94cc9

File tree

33 files changed

+539
-320
lines changed

33 files changed

+539
-320
lines changed

.github/workflows/triage-labelled.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ jobs:
1212
contains(github.event.issue.labels.*.name, 'A-Maths') ||
1313
contains(github.event.issue.labels.*.name, 'A-Message-Pinning') ||
1414
contains(github.event.issue.labels.*.name, 'A-Threads') ||
15-
contains(github.event.issue.labels.*.name, 'A-Polls') ||
1615
contains(github.event.issue.labels.*.name, 'A-Location-Sharing') ||
17-
contains(github.event.issue.labels.*.name, 'A-Message-Bubbles') ||
1816
contains(github.event.issue.labels.*.name, 'Z-IA') ||
1917
contains(github.event.issue.labels.*.name, 'A-Themes-Custom') ||
2018
contains(github.event.issue.labels.*.name, 'A-E2EE-Dehydration') ||

CHANGELOG.md

Lines changed: 136 additions & 0 deletions
Large diffs are not rendered by default.

docs/config.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,20 @@ For a good example, see https://develop.element.io/config.json.
6363
https://github.com/matrix-org/rageshake server). Bug reports are sent when a user clicks
6464
"Send Logs" within the application. Bug reports can be disabled/hidden by leaving the
6565
`bug_report_endpoint_url` out of your config file.
66+
1. `uisi_autorageshake_app`: If users enable the Labs flag
67+
"Automatically send debug logs on decryption errors", rageshakes
68+
submitted by that feature can be given a custom app name so that
69+
the rageshake server can file them in a separate issue tracker. If
70+
this field is absent from the config, the app name for decryption
71+
error rageshakes will be `"element-web"` just like for
72+
manually-submitted rageshakes.
73+
74+
If `bug_report_endpoint_url` is set to Element's rageshake server,
75+
then this field should be set to `"element-auto-uisi"` as in
76+
`config.sample.json`. If `bug_report_endpoint_url` is left out,
77+
this field has no effect and can be left out as well. If you are
78+
using your own rageshake server, set this field in accordance with
79+
your rageshake server configuration.
6680
1. `roomDirectory`: config for the public room directory. This section is optional.
6781
1. `roomDirectory.servers`: List of other homeservers' directories to include in the drop
6882
down list. Optional.
@@ -107,7 +121,12 @@ For a good example, see https://develop.element.io/config.json.
107121
1. `preferredDomain`: The domain name of the preferred Jitsi instance. Defaults
108122
to `meet.element.io`. This is used whenever a user clicks on the voice/video
109123
call buttons - integration managers may use a different domain.
110-
12. `enable_presence_by_hs_url`: The property key should be the URL of the homeserver
124+
This setting is ignored if your homeserver provides
125+
`/.well-known/matrix/client` in its well-known location, and the JSON file
126+
at that location has a key `m.vector.riot.jitsi`. In this case, the
127+
configuration found in the well-known location is used instead.
128+
129+
1. `enable_presence_by_hs_url`: The property key should be the URL of the homeserver
111130
and its value defines whether to enable/disable the presence status display
112131
from that homeserver. If no options are configured, presence is shown for all
113132
homeservers.
@@ -156,8 +175,15 @@ For a good example, see https://develop.element.io/config.json.
156175
2. `environment`: (optional) The [Environment](https://docs.sentry.io/product/sentry-basics/environments/) to pass to sentry
157176
1. `map_style_url`: Map tile server style URL for location sharing. e.g.
158177
'https://api.maptiler.com/maps/streets/style.json?key=YOUR_KEY_GOES_HERE'
178+
This setting is ignored if your homeserver provides
179+
`/.well-known/matrix/client` in its well-known location, and the JSON file
180+
at that location has a key `m.tile_server` (or the unstable version
181+
`org.matrix.msc3488.tile_server`). In this case, the configuration found in
182+
the well-known location is used instead.
159183
1. `analyticsOwner`: The entity that analytics data is being sent to. Used in copy
160184
when explaining to the user where data is being sent. If not set, defaults to `brand`.
185+
1. `defaultDeviceDisplayName`: The default device display name to use for new logins
186+
and registrations. If not set then a calculated version will be used.
161187

162188
Note that `index.html` also has an og:image meta tag that is set to an image
163189
hosted on riot.im. This is the image used if links to your copy of Element

docs/labs.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,19 @@ Replaces the old spinner image with a new, svg-based one featuring a sleeker des
2525
Allows you to pin messages in the room. To pin a message, use the 3 dots to the right of the message
2626
and select "Pin".
2727

28+
## Jump to date (`feature_jump_to_date`)
29+
30+
Note: This labs feature is only visible when your homeserver has MSC3030 enabled
31+
(in Synapse, add `experimental_features` -> `msc3030_enabled` to your
32+
`homeserver.yaml`) which means `GET /_matrix/client/versions` responds with
33+
`org.matrix.msc3030` under the `unstable_features` key.
34+
35+
Adds a dropdown menu to the date separator headers in the timeline which allows
36+
you to jump to last week, last month, the beginning of the room, or choose a
37+
date from the calendar.
38+
39+
Also adds the `/jumptodate 2022-01-31` slash command.
40+
2841
## Custom status (`feature_custom_status`)
2942

3043
An experimental approach for supporting custom status messages across DMs. To set a status, click on
@@ -130,19 +143,6 @@ and notification noises are suppressed. Not perfect, but can help reduce noise.
130143

131144
Enables sending hidden read receipts as per [MSC2285](https://github.com/matrix-org/matrix-doc/pull/2285)
132145

133-
## Location sharing (`feature_location_share`) [In Development]
134-
135-
Allows users to send and display location data using [maplibre](https://maplibre.org).
136-
137-
The current implementation is a quick in-progress development spike to
138-
demonstrate viability and prove [MSC3488](https://github.com/matrix-org/matrix-doc/pull/3488)
139-
and [MSC3489](https://github.com/matrix-org/matrix-doc/pull/3489) - **the UI has not yet
140-
been designed, and it will not exit labs until it has**.
141-
142-
For this to work, you must specify the URL of a valid map tile server style file in
143-
the `map_style_url` setting in config.json.
144-
For example: "https://api.maptiler.com/maps/streets/style.json?key=YOUR_KEY_GOES_HERE"`
145-
146146
## Breadcrumbs v2 (`feature_breadcrumbs_v2`)
147147

148148
Instead of showing the horizontal list of breadcrumbs under the filter field, the new UX is an interactive context menu

element.io/develop/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
"projectApiKey": "phc_Jzsm6DTm6V2705zeU5dcNvQDlonOR68XvX2sh1sEOHO",
5959
"apiHost": "https://posthog.hss.element.io"
6060
},
61-
"features": {},
61+
"features": {
62+
"feature_spotlight": true
63+
},
6264
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
6365
}

nginx/conf.d/default.conf

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@ server {
66
root /usr/share/nginx/html;
77
index index.html;
88

9-
# Set no-cache for the index.html only so that browsers always check for a new copy of Element Web.
9+
# Set no-cache for the version, config and index.html
10+
# so that browsers always check for a new copy of Element Web.
11+
# NB http://your-domain/ and http://your-domain/? are also covered by this
12+
1013
location = /index.html {
1114
add_header Cache-Control "no-cache";
1215
}
13-
16+
location = /version {
17+
add_header Cache-Control "no-cache";
18+
}
19+
# covers config.json and config.hostname.json requests as it is prefix.
20+
location /config {
21+
add_header Cache-Control "no-cache";
22+
}
1423
# redirect server error pages to the static page /50x.html
1524
#
1625
error_page 500 502 503 504 /50x.html;

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "element-web",
3-
"version": "1.10.1",
3+
"version": "1.10.2",
44
"description": "A feature-rich client for Matrix.org",
55
"author": "New Vector Ltd.",
66
"repository": {
@@ -60,8 +60,8 @@
6060
"gfm.css": "^1.1.2",
6161
"jsrsasign": "^10.2.0",
6262
"katex": "^0.12.0",
63-
"matrix-js-sdk": "15.5.0",
64-
"matrix-react-sdk": "3.39.1",
63+
"matrix-js-sdk": "15.5.1",
64+
"matrix-react-sdk": "3.40.0",
6565
"matrix-widget-api": "^0.1.0-beta.18",
6666
"prop-types": "^15.7.2",
6767
"react": "17.0.2",

src/i18n/strings/ckb.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

src/i18n/strings/cs.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@
3434
"%(brand)s Desktop (%(platformName)s)": "%(brand)s pro desktopový počítač (%(platformName)s)",
3535
"Missing indexeddb worker script!": "Nenačetl se skript spravující indexdb!",
3636
"Use %(brand)s on mobile": "Používání %(brand)s v mobilních zařízeních",
37-
"Switch to space by number": "Přepnout na prostor podle čísla"
37+
"Switch to space by number": "Přepnout na prostor podle čísla",
38+
"Next recently visited room or community": "Další nedávno navštívená místnost nebo komunita",
39+
"Previous recently visited room or community": "Nedávno navštívená místnost nebo komunita"
3840
}

src/i18n/strings/da.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,9 @@
3232
"%(brand)s Desktop (%(platformName)s)": "%(brand)s Desktop %(platformName)s",
3333
"You can continue using your current browser, but some or all features may not work and the look and feel of the application may be incorrect.": "Du kan fortsætte med at bruge din nuværende browser, men du kan opleve at visse eller alle funktioner ikke vil fungere korrekt.",
3434
"Please install <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the best experience.": "Venligst installer <chromeLink>Chrome</chromeLink>,<firefoxLink>Firefox</firefoxLink> eller <safariLink>Safari</safariLink> for den bedste oplevelse.",
35-
"%(brand)s uses advanced browser features which aren't supported by your current browser.": "%(brand)s bruger avanceret browser funktioner som ikke er understøttet af din nuværende browser."
35+
"%(brand)s uses advanced browser features which aren't supported by your current browser.": "%(brand)s bruger avanceret browser funktioner som ikke er understøttet af din nuværende browser.",
36+
"Previous recently visited room or community": "Tidligere besøgt rum eller fællesskab",
37+
"Switch to space by number": "Skift til space med nummer",
38+
"Use %(brand)s on mobile": "Brug %(brand)s på mobil",
39+
"Next recently visited room or community": "Næste tidligere besøgt rum eller fællesskab"
3640
}

0 commit comments

Comments
 (0)