Commit Graph

128 Commits

Author SHA1 Message Date
David Baker
c519e13885 Version that does at least send some traces 2023-03-15 16:00:39 +00:00
Timo K
4c59638d00 otel for call start, end and mute
This is send over zipkin.
And it uses a posthog exporter to export events to posthog
using a _otel prefix
2023-03-10 10:33:54 +01:00
Robin Townsend
045103dbc9 Backfill the grid as people leave by moving tiles along paths 2023-01-25 02:30:52 -05:00
David Baker
785fa51e0c Use merged js-sdk commit 2023-01-20 13:12:03 +00:00
David Baker
47c2e9e101 Don't crash if we can't find our own member event 2023-01-20 12:10:58 +00:00
David Baker
860aff4958 Change rageshake persistence to throttled flushing
Rather than every 30 seconds. This way we'll save logs for sessions
lasting less than 30 seconds which we previously didn't. Also save
on window unload just in case that doesn't catch everything.

Plus remove some more unused params.
2023-01-16 17:27:49 +00:00
David Baker
6168109894 Use merged js-sdk commit 2023-01-13 21:41:21 +00:00
David Baker
a2a1a9032a Use js-sdk from branch 2023-01-13 18:33:58 +00:00
David Baker
30688715cd Revert f20fc78bd7 2023-01-12 13:20:11 +00:00
David Baker
f20fc78bd7 Use branch of js-sdk with Olm debugging
Pulls in changes from https://github.com/matrix-org/matrix-js-sdk/pull/3055

Not intended to stay long-term.
2023-01-12 11:28:15 +00:00
Robin Townsend
449c1c9d79 Try updating Olm to fix type errors 2023-01-09 10:49:01 -05:00
Robin Townsend
de5b58792e Update matrix-js-sdk 2023-01-09 10:32:05 -05:00
Robin Townsend
946f564f84 Update matrix-js-sdk 2023-01-06 10:39:29 -05: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
f35b50d89f Remove Olm from devDependencies
It was in devDependencies as well as dependencies for some reason
2022-12-21 18:49:49 +00:00
Robin Townsend
90ef5505bb Apply Prettier to the entire project
This ensures that our tests will be formatted by Prettier, among other things.
2022-12-09 14:34:25 -05:00
Šimon Brandner
357a3be90d
Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-12-05 18:45:04 +01:00
Šimon Brandner
be6f21c7e1
Upgrade js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-12-04 15:59:01 +01:00
Robin Townsend
aec034182b Update matrix-js-sdk 2022-11-28 16:34:50 -05:00
Robin Townsend
5ba7267164 Fix lints 2022-11-28 16:15:47 -05:00
Robin Townsend
13def24f7e Enable users to join calls from multiple devices 2022-11-21 12:39:48 -05:00
David Baker
80f07a5454 Add a 'waiting for video' state to media tiles
This will show if the call is waiting for media to connect (in practice
doesn't actually seem to happen all that often) but also show if the
media connection is lost, with the js-sdk change.

Requires https://github.com/matrix-org/matrix-js-sdk/pull/2880
Fixes: https://github.com/vector-im/element-call/issues/669
2022-11-15 16:13:33 +00:00
Robin Townsend
6498d2bd19 Update matrix-js-sdk 2022-11-08 16:11:19 -05:00
Robin Townsend
ba6c3fac7d Update matrix-js-sdk 2022-11-07 15:51:54 -05:00
Robin Townsend
667f902278 Switch to the develop branch of matrix-js-sdk 2022-11-07 12:50:59 -05:00
Timo
72503d0335
Add posthog Telemetry (Anonymity Logic + call duration telemetry) (#658)
Co-authored-by: Timo K <timok@element.io>
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-11-04 13:07:14 +01:00
Robin Townsend
806a9032e1 Update matrix-js-sdk 2022-11-03 14:41:14 -04:00
Robin Townsend
5b5c649b49 Update matrix-js-sdk 2022-11-01 19:56:30 -04:00
Robin
54d903933b
Merge pull request #688 from robintown/load-olm-once
Ensure that Olm is only loaded once
2022-10-31 14:44:33 -04:00
Robin Townsend
a3b8dfcdf2 Update matrix-js-sdk 2022-10-31 13:59:20 -04:00
Robin Townsend
d4caa1585b Ensure that Olm is only loaded once
React 18's strict mode intentionally mounts all components twice, which was causing Olm to get double-loaded. Also, it doesn't need to be loaded if the app is running as a widget.
2022-10-31 13:43:03 -04:00
Robin Townsend
31decc6577 Update matrix-js-sdk 2022-10-27 09:40:59 -04:00
Šimon Brandner
fcaa126147
Add jest
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-10-26 13:21:06 +02:00
Robin Townsend
d2a5baf403 Update matrix-js-sdk 2022-10-24 13:51:54 -04:00
Robin Townsend
fbf7b5d022 Add i18n CI 2022-10-24 10:53:55 -04:00
David Baker
54fe2aa7a3 Bump js-sdk for addTransceiver fix 2022-10-19 18:06:24 +01:00
David Baker
3ff201562b Bump js-sdk 2022-10-19 16:02:48 +01:00
Robin Townsend
004160b664 Update matrix-js-sdk 2022-10-13 20:24:48 -04:00
Robin Townsend
8524b9ecd6 Set up translation with i18next 2022-10-12 14:53:49 -04:00
Šimon Brandner
e7a94426c2
Update js-sdk (again)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-09-29 15:20:55 +02:00
Šimon Brandner
4b4c98066c
Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-09-28 18:15:34 +02:00
Robin Townsend
10c37d205a Update matrix-js-sdk and matrix-widget-api 2022-09-16 11:09:08 -04:00
Robin Townsend
a9e94c341c Update matrix-js-sdk 2022-09-16 10:27:56 -04:00
Robin Townsend
f0d7d8fac6 Enable strict mode checks with typescript-strict-plugin
No CI checks at this time, the only effect this will have is adding IDE errors.
2022-09-15 08:31:24 -04:00
David Baker
a2fdab8eb9 Update js-sdk for exception fix
For https://github.com/matrix-org/matrix-js-sdk/pull/2667
2022-09-14 09:47:53 +01:00
David Baker
b1c9e8c07a Bump js-sdk dependency
For https://github.com/matrix-org/matrix-js-sdk/pull/2662
2022-09-13 16:39:14 +01:00
Robin Townsend
e8bc22370b Upgrade matrix-js-sdk 2022-09-09 09:54:26 -04:00
David Baker
ca5ce7d468 Update to latest js-sdk group call branch 2022-09-08 11:25:21 +01:00
David Baker
22dd095ea9 Update js-sdk to latest on group-call branch 2022-09-06 13:55:32 +01:00
David Baker
30a270193f Use js-sdk branch 2022-09-06 12:14:24 +01:00