Travis Ralston
bcd5c838e8
Typescriptify & use service worker for MSC3916 authentication ( #27326 )
...
* Typescriptify & use service worker for MSC3916 authentication
* appease the linter
* appease jest
* appease linter
* Get the access token directly
* Add a bit of jitter
* Improve legibility, use factored-out functions for pickling
* Add docs
* Appease the linter
* Document risks of postMessage
* Split service worker post message handling out to function
* Move registration to async function
* Use more early returns
* Thanks(?), WebStorm
* Handle case of no access token for /versions
* Appease linter
* Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Remove spurious try/catch
* Factor out fetch config stuff
* Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Finish applying code review suggestions
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-05-14 13:17:38 -06:00
Benoit Marty
095c613b69
Fix deployment of file res/.well-known/assetlinks.json
2024-05-14 17:42:11 +02:00
Benoit Marty
9b988f70de
Add /.well-known/assetlinks.json to webpack.config.js
2024-05-07 14:09:42 +02:00
Michael Telatynski
28038cc53e
svgo prefixIds
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-12 22:22:36 +00:00
Michael Telatynski
97c3da3789
Fix svgo plugins
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-12 20:48:01 +00:00
Michael Telatynski
89e455e9a7
Iterate
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-12 19:07:08 +00:00
Michael Telatynski
c022ae2853
Update config
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-23 11:18:13 +00:00
Robin
7622dd35c5
Allow Element Web to use cascade layers
...
This upgrades a number of PostCSS dependencies so that we can make use of cascade layers, a feature which I plan to use for theming of Compound: https://compound.element.io/?path=/docs/develop-theming--docs
2024-02-09 00:59:36 -05:00
Michael Telatynski
0aed37a2e5
Merge branch 'develop' into t3chguy/add-webpack-sentry-workaround
2024-01-22 14:51:53 +00:00
Michael Telatynski
5dd1ed9aac
Update webpack.config.js
2024-01-22 08:49:32 +00:00
Michael Telatynski
3867576137
Add workaround for webpack builds on platforms unsupported by Sentry
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-19 19:55:19 +00:00
Michael Telatynski
e2371c0244
Remove webpack 4 hack
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-19 19:47:33 +00:00
Michael Telatynski
2d26c46c1c
Strip data-testid in production
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-05 10:46:39 +00:00
David Langley
855bb568b9
rename the GH org in links within documentation
2023-12-20 12:21:26 +00:00
Johannes Marbach
d3ef8ff658
Add license and copy it into bundle while making terser ignore the SDK
2023-11-22 21:04:39 +01:00
Johannes Marbach
b08f83b415
Add Jitsi SDK as a static resource and set up CI to update it on change
2023-11-21 20:24:38 +01:00
Johannes Marbach
6093cd8fe8
Move worklet rule up to where it used to be
2023-11-18 21:39:17 +01:00
Johannes Marbach
e2fdddaa1f
Add custom loader for recorder worklet
2023-11-18 21:37:30 +01:00
Johannes Marbach
8dbefcc589
Undo auto public path disablement as it doesn't work with workers
2023-11-16 19:39:39 +01:00
Johannes Marbach
a56a2268f0
Merge branch 'develop' into johannes/webpack-5
2023-11-16 19:20:22 +01:00
Johannes Marbach
710336208f
Allow config.json to be missing
2023-11-16 14:45:31 +01:00
Johannes Marbach
47b37c996d
Revert "Try explicitly relative path for config.json"
...
This reverts commit 46ecafa73b
.
2023-11-16 14:44:42 +01:00
Johannes Marbach
46ecafa73b
Try explicitly relative path for config.json
2023-11-16 14:42:19 +01:00
Johannes Marbach
d2fa827fad
Replace copy/watching of non-language assets with copy-webpack-plugin
2023-11-16 14:21:45 +01:00
Johannes Marbach
432c1d65e1
Squashed commit of the following:
...
commit 069c1bc833
Author: Johannes Marbach <johannesm@element.io>
Date: Sat Nov 11 16:08:30 2023 +0100
Replace worker-loader with built-in Webpack 5 support for web workers
2023-11-13 20:18:00 +01:00
Johannes Marbach
91f46cc8f4
Disable automatic publicPath to unbreak worklets
2023-11-12 12:23:36 +01:00
Johannes Marbach
0584c39a70
Add defaults and fix comment
2023-11-11 21:36:41 +01:00
Johannes Marbach
3e03b2ea29
Appease the linter
2023-11-09 17:05:41 +01:00
Johannes Marbach
37632d84c8
Eliminate worklet-loader
2023-11-09 16:47:01 +01:00
Johannes Marbach
42da986ed3
Only show overlay on build errors
2023-11-09 16:11:49 +01:00
Johannes Marbach
ae1d21f08e
Remove obsolete comment
2023-11-09 15:47:55 +01:00
Johannes Marbach
25bb2ae492
Replace optimize-css-assets-webpack-plugin with css-minimizer-webpack-plugin
2023-11-08 09:19:20 +01:00
Johannes Marbach
d8f46abd77
Appease the linter
2023-10-25 17:11:25 +02:00
Johannes Marbach
88666ee647
Also polyfill buffer and process/browser
2023-10-16 08:16:28 +02:00
Johannes Marbach
9b8d6e7607
Set context manually in NormalModuleReplacementPlugin to fix relative import paths
2023-09-29 22:02:38 +02:00
Johannes Marbach
af3659a90e
Update to webpack 5
2023-09-23 21:34:56 +02:00
Johannes Marbach
3d65ff06e9
Fix spaces
2023-09-22 21:03:33 +02:00
Johannes Marbach
e0954f330a
Update webpack-dev-server to 4.15.1
2023-09-22 20:57:00 +02:00
Johannes Marbach
218a3b478d
Update webpack to 4.47.0 / webpack-cli to 4.10.0
2023-09-21 20:47:58 +02:00
Michael Telatynski
c944a273d0
Convert copy-res to typescript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-08 10:33:57 +01:00
Richard van der Hoff
00803950bf
Move the unhomoglyph data to its own file ( #26095 )
...
This solves problems wherein the javascript debugger would get confused and
show the execution point two lines away from the source.
2023-09-01 15:37:09 +01:00
Germain
1ada110fed
Make SVGR icons use forward ref ( #26082 )
2023-08-30 13:09:29 -04:00
Germain
19b2eded16
Fix compound external assets path in bundle ( #26069 )
2023-08-30 12:47:49 +01:00
Dominik Henneke
65f7545ba5
Bump @matrix-org/react-sdk-module-api from 1.0.0 to 2.0.0 ( #25986 )
2023-08-18 12:03:28 +00:00
Germain
c026879237
Fix path separator for Windows based systems ( #25997 )
2023-08-18 11:56:07 +01:00
Germain
d9b4e531b0
Allow external assets loading ( #25998 )
2023-08-18 09:45:32 +01:00
Germain
c6756ea52a
Transpile @vector-im/compound-web with babel ( #25906 )
2023-08-02 10:07:40 +00:00
Michael Telatynski
048d8c417d
Remove redundant dependencies ( #25814 )
2023-07-17 13:15:03 +01:00
Michael Telatynski
bac0da3fe9
Deprecate customisations in favour of Module API ( #25736 )
2023-07-07 15:25:22 +01:00
renovate[bot]
945c0793b9
Update dependency @sentry/webpack-plugin to v2 ( #25507 )
...
* Update dependency @sentry/webpack-plugin to v2
* Follow migration guide
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-06-02 14:21:49 +01:00