Commit graph

13851 commits

Author SHA1 Message Date
David Baker
d3f0af6fd1
Merge pull request #27803 from element-hq/dbkr/polyfill_intl_segmenter
Polyfill Intl.Segmenter for wider web browser compatibility
2024-07-23 10:25:16 +00:00
David Baker
9f27685a54 Polyfill Intl.Segmenter
This fixes Element on older versions of Firefox by adding a Polyfill
for Intl.Segmenter. The Polyfill is conditionally imported so it only
inflates the initial bundle size by about 100 bytes. On browsers that
need it, the polyfill is quite large at 317Kb.

Users on these browser will still see the 'unsupported browser' screen,
but will be able to click through to use the app anyway. This keeps the
Intl.Segmenter modernizr check but this would also happen due to
https://github.com/element-hq/element-web/pull/27674
2024-07-23 11:57:12 +02:00
David Baker
1f4006ac13
Merge pull request #27776 from element-hq/dbkr/add_wasm_check
Add a modernizr check for WebAssembly support
2024-07-18 12:34:08 +00:00
David Baker
36ff766be3 Add a modernizr check for WebAssembly support
We don't work at all without this now and currently fail in terrible
ways. This will cause us to display the 'unsupported browser' screen
if we don't have wasm.

Also comment the three different types of error page.

Playwright test coming for this in react-sdk.
2024-07-18 13:05:34 +02:00
Michael Telatynski
ab54cbc329
Merge pull request #27772 from element-hq/t3chguy/modernizr-webaudio
Enable audio/webaudio Modernizr rule
2024-07-17 20:23:51 +00:00
Michael Telatynski
f8701ee1fc
delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-17 20:00:11 +01:00
Michael Telatynski
1eea7fffbe
Merge branch 'develop' of https://github.com/vector-im/element-web into t3chguy/modernizr-webaudio
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

# Conflicts:
#	src/vector/modernizr.js
2024-07-17 19:58:43 +01:00
Michael Telatynski
8ecf47bce8
Enable audio/webaudio Modernizr rule
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-17 19:58:02 +01:00
David Baker
bc805d2989
Merge pull request #27767 from element-hq/dbkr/unminify_modernizr
Unminify modernizr
2024-07-17 15:09:07 +00:00
David Baker
4728503f66 Exclude modernizr from coverage 2024-07-17 16:51:40 +02:00
David Baker
419f37b31e
Merge pull request #27766 from element-hq/dbkr/comment_intl_check
Add comment on why we're adding a custom check
2024-07-17 14:45:37 +00:00
David Baker
a32aca434c
Typo
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-17 15:30:01 +01:00
David Baker
73a8aad088 Unminify modernizr
It will get minified by webpack anyway, we may as well have vaguely
sensible diffs if we change it.
2024-07-17 15:44:37 +02:00
David Baker
0273909a43 Add comment on why we're adding a custom check 2024-07-17 15:42:49 +02:00
Travis Ralston
dd685934a3
Merge pull request #27758 from element-hq/travis/add-serviceworker-debug
Add debugging for service worker version check
2024-07-16 20:25:00 +00:00
Travis Ralston
5eebd54baf Appease the linter 2024-07-16 13:54:02 -06:00
Travis Ralston
764654fffb Add debugging for service worker version check 2024-07-16 13:50:44 -06:00
Michael Telatynski
a10d2b1828
Merge pull request #27705 from element-hq/t3chguy/wi/220
Docs: Align `widget_build_url_ignore_dm` with call behaviour switch between 1:1 and Widget
2024-07-15 09:08:57 +00:00
Michael Telatynski
af3fb76ecf
Merge pull request #26486 from element-hq/renovate/lock-file-maintenance
Lock file maintenance
2024-07-10 16:31:35 +00:00
renovate[bot]
d030a7d86f
Lock file maintenance 2024-07-10 16:16:51 +00:00
David Langley
79163a1f16
Merge pull request #27706 from element-hq/langleyd/fix_triage_board_columns
Move needs info and flaky tests issues to the correct columns
2024-07-10 15:46:14 +00:00
David Langley
9d1c724402
Merge branch 'develop' into langleyd/fix_triage_board_columns 2024-07-10 16:33:58 +01:00
David Langley
493e7f7f3e Move needs info and flaky tests issues to the correct columns 2024-07-10 16:23:19 +01:00
Travis Ralston
39bdcafbe2
Merge pull request #27675 from element-hq/travis/authed-media-ipc
Add Electron IPC APIs for authenticated media
2024-07-10 13:41:40 +00:00
Michael Telatynski
df92294056
Update docs/config.md
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-07-10 10:16:50 +01:00
Michael Telatynski
7a45ca2614
Align widget_build_url_ignore_dm with call behaviour switch between 1:1 and Widget
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-10 08:58:26 +01:00
Michael Telatynski
6d84073bec
Merge pull request #27703 from element-hq/renovate/all-minor-patch
Update dependency matrix-web-i18n to v3.3.0
2024-07-09 17:39:48 +00:00
renovate[bot]
8e1561b1c7
Update dependency matrix-web-i18n to v3.3.0 2024-07-09 16:45:16 +00:00
renovate[bot]
0f01d7adbe
Merge pull request #27696 from element-hq/renovate/all-minor-patch
Update dependency katex to v0.16.11
2024-07-09 16:09:21 +00:00
renovate[bot]
579e9a3d3f
Update dependency katex to v0.16.11 2024-07-09 15:56:52 +00:00
Michael Telatynski
167bcdf9d9
Merge pull request #27700 from element-hq/renovate/rimraf-6.x
Update dependency rimraf to v6
2024-07-09 15:01:49 +00:00
Michael Telatynski
118f71ea3b
Merge pull request #27698 from element-hq/renovate/typescript
Update dependency typescript to v5.5.3
2024-07-09 14:50:05 +00:00
Michael Telatynski
7b4e00c72e
Merge branch 'develop' into renovate/rimraf-6.x 2024-07-09 15:50:05 +01:00
Michael Telatynski
35fdffb245
Specify Node 20 minimum 2024-07-09 15:49:50 +01:00
Michael Telatynski
67fd02dc4a
Merge pull request #27695 from element-hq/renovate/docker
Update docker
2024-07-09 14:48:48 +00:00
Michael Telatynski
b1d94de413
Merge pull request #27697 from element-hq/renovate/definitelytyped
Update dependency @types/lodash to v4.17.6
2024-07-09 14:47:38 +00:00
Michael Telatynski
a2589cab2e
Merge pull request #27699 from element-hq/renovate/typescript-eslint-monorepo
Update typescript-eslint monorepo to v7.15.0
2024-07-09 14:45:35 +00:00
Michael Telatynski
cfb800d916
Update docs.yml 2024-07-09 15:51:43 +01:00
renovate[bot]
4a25cc4b43
Update dependency rimraf to v6 2024-07-09 14:37:33 +00:00
renovate[bot]
fd65226b1a
Update typescript-eslint monorepo to v7.15.0 2024-07-09 14:37:22 +00:00
renovate[bot]
722923befd
Update dependency typescript to v5.5.3 2024-07-09 14:36:56 +00:00
renovate[bot]
fdefe624d2
Update dependency @types/lodash to v4.17.6 2024-07-09 14:36:45 +00:00
renovate[bot]
2443ae118a
Update docker 2024-07-09 14:36:23 +00:00
Michael Telatynski
3091db7bb1
Merge pull request #27685 from element-hq/t3chguy/fix-init-unsafe-code
Ensure we do not load matrix-react-sdk is a manner which can white-screen
2024-07-09 07:57:26 +00:00
Michael Telatynski
99553210be
Ensure we do not load matrix-react-sdk is a manner which can white-screen
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-08 15:52:53 +01:00
Richard van der Hoff
6452f27cb6
Merge pull request #27673 from frankenstein91/Libera.Chatbridge
remove Libera.Chat bridge from room_directory on `app.element.io` and `develop.element.io`
2024-07-08 12:17:04 +00:00
Richard van der Hoff
700886c0e2
Merge branch 'develop' into Libera.Chatbridge 2024-07-08 12:43:55 +01:00
Michael Telatynski
668450325c
Merge pull request #27677 from element-hq/t3chguy/intl-segmenter-modernizr
Add Modernizr rule for Intl.Segmenter
2024-07-05 11:56:08 +00:00
Richard van der Hoff
b4aa375619
Merge pull request #27650 from element-hq/rav/remove_olm
Remove code which loads legacy libolm
2024-07-05 10:54:08 +00:00
Michael Telatynski
be92e64458
Merge branch 'develop' of https://github.com/vector-im/element-web into t3chguy/intl-segmenter-modernizr
# Conflicts:
#	src/vector/index.ts
2024-07-05 11:27:03 +01:00