Commit Graph

35 Commits

Author SHA1 Message Date
Hugh Nimmo-Smith
10fe734c2e Don't produce compressed assets at build time and instead do it as part of the nginx build
The core vite build shouldn't be responsible for implementing optimisations that are specific to a particular distribution mechanism. e.g. static compressed files for nginx.

This way the core build is "clean".

Instead, the packager/distributor of the build should be responsible for it. e.g. the nginx docker distribution should do any optimisations that it chooses.
2025-02-06 10:44:05 +00:00
Hugh Nimmo-Smith
8c2844e0b5 Use documented @sentry/vite-plugin config options (#2925) 2025-01-07 10:21:56 -05:00
Hugh Nimmo-Smith
6d5dc0dfb7 Fix loading of matrix-sdk-crypto-wasm when running in local development mode (#2915)
Fixes problem loading rust crypto when using `yarn dev`
2024-12-18 17:03:29 +00:00
Hugh Nimmo-Smith
0469d8ef56 Add explicit code split on matrix-sdk-crypto-wasm to allow caching between deploys (#2823)
* Add explicit code split on matrix-sdk-crypto-wasm to allow caching between deploys

* Comment on removing once https://github.com/matrix-org/matrix-rust-sdk-crypto-wasm/pull/167 lands
2024-11-23 09:00:43 +00:00
fkwp
20840d901e Merge pull request #2786 from element-hq/quenting/docker-cache-headers
Precompress assets and set the right cache headers
2024-11-15 08:52:12 +01:00
Quentin Gliech
f022eb09a2 Precompress assets and set the right cache headers 2024-11-15 00:59:26 +01:00
Quentin Gliech
99d5886e32 Handles locales as Vite assets 2024-11-14 19:12:11 +01:00
Quentin Gliech
8f4b932c3c Enable Codecov bundle analysis plugin (#2774) 2024-11-14 10:07:21 +00:00
fkwp
9add3e52c4 Update file headers copyright and change licence to AGPL-3.0-only 2024-09-06 10:22:13 +02:00
Robin
b5f6343a5e Remove ResizeObserver polyfill
All major browsers support it out of the box, nowadays.
2024-08-23 15:07:40 -04:00
Robin
b2bc8edcc1 Refactor/redesign video tiles 2023-12-18 16:59:48 -05:00
Robin
614bc82402 Format code 2023-10-11 10:42:04 -04:00
Robin
882a0faf6c Fix the build 2023-09-18 12:02:35 -04:00
Robin
1445c42cc3 Implement new in-call header and footer designs 2023-09-08 16:41:23 -04:00
Šimon Brandner
62d4084dcf Add support for accessing the web server from other devices
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-12 13:55:21 +02:00
Robin Townsend
17450b4531 Fix big grid crashing due to missing React import
by fixing the cause rather than the symptom: this upgrades the code to use the new, recommended JSX transform mode of React 17+, which no longer requires you to import React manually just to write JSX.
2023-06-30 18:21:18 -04:00
David Baker
fef503c65d Upload source maps to sentry (#810)
* Pretend to upload source maps to sentry

* Build release not in docker so we can upload source maps sensibly

and also upload the release as a plain tarball while we're at it

* fix yaml

* Try specifying version this way

* test rebuild

* pass secrets through

* Too many sentries

* It's almost 2023 and we're still having BSD vs GNU tar issues

* Maybe get sensible tag name & release identifier

* Wrong plugin, and also try the 'release' option which might the right thing

* Try a different github action

see if github likes that any better

* add contents write permission

and switch to the asset upload plugin that had the helpful doc

* actually put release name in tarball path

* copy docker config to right path

* Prettify vite config

* Only activate sentry plugin if we have secrets

* Use env var for tag name

* Also spelling env correctly would likely help

* Fix variable syntax

* Put env var in correct place

One day maybe I will not find yaml syntax confusing
2023-01-03 10:48:48 +00:00
David Baker
850d6a40cc Simplify build process
* We don't need to check out the js-sdk separately anymore
 * Remove the vite proxying: there's no need since Matrix HSes allow
   cross origin requests. This will let us move the default homeserver
   config to the config file (in a separate PR...)
 * Remove the product name variable which just set it to the default anyway
2022-12-19 18:43:42 +00:00
Robin Townsend
b1083baacf Clean up remaining 'Matrix Video Chat' branding 2022-11-01 22:19:44 -04:00
Robin Townsend
8524b9ecd6 Set up translation with i18next 2022-10-12 14:53:49 -04:00
Robin Townsend
fc26bef80a Make Vite work with matrix-widget-api 2022-07-15 11:24:38 -04:00
Robert Long
dc75c1cfb4 Enable source-maps 2022-04-27 12:11:59 -07:00
Robert Long
72197c1a0a Remove dependency on matrix-react-sdk 2022-04-07 14:22:36 -07:00
Robert Long
a189f3ad98 Fix page titles 2022-02-02 21:48:44 -08:00
Robert Long
35c11660a3 Add configurable / dynamic page title 2022-02-02 15:02:40 -08:00
Robert Long
6032f6ba44 Fix avatar sizing 2022-01-21 13:21:23 -08:00
Robert Long
9163d5a25d Clean up vite warning messages about server.fs.strict 2022-01-18 15:16:34 -08:00
Robert Long
39d28a0488 Add configurable default homeserver 2021-12-17 16:30:10 -08:00
Robert Long
0c475d7bac Add screensharing support 2021-09-30 16:11:01 -07:00
Robert Long
373b412cae Fix vite config for matrix-react-sdk 2021-09-30 11:27:44 -07:00
Robert Long
5e4736eba5 Update to use matrix-react-sdk 2021-09-29 14:34:29 -07:00
Robert Long
cc59e42bba Styling for video room 2021-08-19 12:11:12 -07:00
Robert Long
8841784cae Add dev server 2021-07-26 14:31:01 -07:00
Robert Long
b85043eee2 Add license to files 2021-07-16 14:38:44 -07:00
Robert Long
7a601403e8 Initial commit 2021-07-16 14:22:03 -07:00